// Neurasea for Business — mock data (supplier console + consumer plans)
// Exports to window: BIZ_DATA

const BIZ_DATA = {
  stats: { suppliers: 1240, models: 38, tokensPerDay: '92B', saving: 41, uptime: 99.95 },

  supplier: {
    activeAccounts: 348,
    totalAccounts: 412,
    kwhToday: 1840,
    revenue7d: 12480,
    fillRate: 96.4,
    available: 4820,
    nextSettlement: 'in 6h 12m',
    loadSeries: [42, 55, 48, 63, 71, 66, 78, 72, 85, 80, 92, 88, 76, 83],
  },

  // account pool rows
  accounts: [
    { id: 'a1', provider: 'Claude', label: 'CL', bg: '#e7ddd0', fg: '#5a3b22', plan: 'Max 20×', status: 'live', load: 78, quality: 99.4, sold: 142 },
    { id: 'a2', provider: 'ChatGPT', label: 'GP', bg: '#d6e7df', fg: '#1d5c45', plan: 'Pro', status: 'live', load: 64, quality: 99.1, sold: 118 },
    { id: 'a3', provider: 'Gemini', label: 'GM', bg: '#dbe3f4', fg: '#2b4a8a', plan: 'Advanced', status: 'live', load: 52, quality: 99.6, sold: 96 },
    { id: 'a4', provider: 'Claude', label: 'CL', bg: '#e7ddd0', fg: '#5a3b22', plan: 'Max 5×', status: 'cooling', load: 12, quality: 97.2, sold: 0 },
    { id: 'a5', provider: 'ChatGPT', label: 'GP', bg: '#d6e7df', fg: '#1d5c45', plan: 'Plus', status: 'live', load: 71, quality: 98.8, sold: 74 },
    { id: 'a6', provider: 'Grok', label: 'GR', bg: '#e6e2dd', fg: '#2a2a2a', plan: 'SuperGrok', status: 'live', load: 45, quality: 98.5, sold: 61 },
    { id: 'a7', provider: 'Gemini', label: 'GM', bg: '#dbe3f4', fg: '#2b4a8a', plan: 'Advanced', status: 'banned', load: 0, quality: 0, sold: 0 },
    { id: 'a8', provider: 'Copilot', label: 'CP', bg: '#e5e2ee', fg: '#4a3d7a', plan: 'Pro+', status: 'live', load: 58, quality: 98.9, sold: 53 },
  ],

  importJobs: [
    { id: 'j1', method: 'via CLI', label: 'keys-batch-0612.csv', count: 240, status: 'completed', t: '9m ago' },
    { id: 'j2', method: 'via cloud browser', label: 'claude-max-pool', count: 36, status: 'running', t: 'now' },
    { id: 'j3', method: 'via sandbox', label: 'gpt-pro-sandbox-3', count: 120, status: 'running', t: 'now' },
    { id: 'j4', method: 'via CLI', label: 'gemini-keys.csv', count: 88, status: 'queued', t: 'queued' },
  ],

  // consumer subscription plans
  plans: [
    { id: 'starter', name: 'Starter', price: 0, unit: '/ week', included: 50, popular: false,
      features: ['All frontier & fast models', 'Quality-guaranteed routing', 'One OpenAI-compatible endpoint'],
      cta: 'Start free' },
    { id: 'growth', name: 'Growth', price: 99, unit: '/ week', included: 400, popular: true,
      features: ['All frontier & fast models', 'Quality-guaranteed routing', 'One OpenAI-compatible endpoint', 'Priority supply & SLA'],
      cta: 'Choose plan' },
    { id: 'scale', name: 'Scale', price: 399, unit: '/ week', included: 2000, popular: false,
      features: ['Quality-guaranteed routing', 'Priority supply & SLA', 'Dedicated capacity pools', 'Volume discounts & invoicing'],
      cta: 'Choose plan' },
    { id: 'enterprise', name: 'Enterprise', price: null, unit: 'Custom', included: null, popular: false,
      features: ['Dedicated capacity pools', 'Volume discounts & invoicing', 'Priority supply & SLA', 'Custom SLAs & support'],
      cta: 'Contact sales' },
  ],

  // price comparison (kWh/Mtok ~ $/Mtok shown as illustrative)
  compare: [
    { model: 'Claude Opus 4.1', bg: '#e7ddd0', fg: '#5a3b22', direct: 15.0, ours: 9.2 },
    { model: 'GPT-5', bg: '#d6e7df', fg: '#1d5c45', direct: 12.5, ours: 8.4 },
    { model: 'Gemini 2.5 Pro', bg: '#dbe3f4', fg: '#2b4a8a', direct: 3.5, ours: 2.6 },
    { model: 'GPT-5 mini', bg: '#d6e7df', fg: '#1d5c45', direct: 2.0, ours: 1.4 },
  ],
};

Object.assign(window, { BIZ_DATA });
