// Tool data — fictional names with realistic categorizations to avoid recreating branded UI
// Each tool is a "fighter" in the bracket
const TOOLS = [
  // CODING
  { id: 'codeforge',    name: 'CodeForge',    cat: 'coding',   tag: 'pair-programmer',     elo: 2412, owner: 'Forge Labs',    price: '$20/mo',  free: true,  oss: false, local: false, hot: 92, color: '#00f0ff', emoji: '◆' },
  { id: 'pairwise',     name: 'Pairwise',     cat: 'coding',   tag: 'in-IDE agent',        elo: 2388, owner: 'Pairwise Inc',  price: '$15/mo',  free: false, oss: false, local: false, hot: 88, color: '#ff2bd6', emoji: '▲' },
  { id: 'shellsmith',   name: 'Shellsmith',   cat: 'coding',   tag: 'CLI agent',           elo: 2201, owner: 'Anvil',         price: '$0',      free: true,  oss: true,  local: true,  hot: 71, color: '#c6ff3d', emoji: '⬢' },
  { id: 'devstream',    name: 'Devstream',    cat: 'coding',   tag: 'review + refactor',   elo: 2104, owner: 'Devstream',     price: '$25/mo',  free: false, oss: false, local: false, hot: 64, color: '#a78bff', emoji: '◇' },

  // MEETING NOTES
  { id: 'transcribr',   name: 'Transcribr',   cat: 'meetings', tag: 'live captions',       elo: 2289, owner: 'Transcribr',    price: '$12/mo',  free: true,  oss: false, local: false, hot: 81, color: '#00f0ff', emoji: '◆' },
  { id: 'minutemate',   name: 'MinuteMate',   cat: 'meetings', tag: 'action items',        elo: 2342, owner: 'MinuteMate',    price: '$18/mo',  free: false, oss: false, local: false, hot: 86, color: '#ff2bd6', emoji: '▲' },
  { id: 'scribed',      name: 'Scribed',      cat: 'meetings', tag: 'on-device notes',     elo: 2098, owner: 'Scribed',       price: '$0',      free: true,  oss: true,  local: true,  hot: 69, color: '#c6ff3d', emoji: '⬢' },

  // LOCAL LLMs
  { id: 'hearthlm',     name: 'HearthLLM',    cat: 'local',    tag: 'desktop runner',      elo: 2356, owner: 'Hearth',        price: '$0',      free: true,  oss: true,  local: true,  hot: 90, color: '#c6ff3d', emoji: '⬢' },
  { id: 'orbit7b',      name: 'Orbit-7B',     cat: 'local',    tag: 'open weights',        elo: 2278, owner: 'Orbit AI',      price: '$0',      free: true,  oss: true,  local: true,  hot: 78, color: '#c6ff3d', emoji: '⬢' },
  { id: 'privacypod',   name: 'PrivacyPod',   cat: 'local',    tag: 'self-hosted UI',      elo: 2155, owner: 'PrivacyPod',    price: '$0',      free: true,  oss: true,  local: true,  hot: 73, color: '#a78bff', emoji: '◇' },

  // VIDEO
  { id: 'reelweaver',   name: 'ReelWeaver',   cat: 'video',    tag: 'text-to-video',       elo: 2401, owner: 'Reel Labs',     price: '$30/mo',  free: false, oss: false, local: false, hot: 94, color: '#ff2bd6', emoji: '▲' },
  { id: 'frameforge',   name: 'FrameForge',   cat: 'video',    tag: 'avatar video',        elo: 2287, owner: 'FrameForge',    price: '$24/mo',  free: true,  oss: false, local: false, hot: 80, color: '#00f0ff', emoji: '◆' },
  { id: 'cuttr',        name: 'Cuttr',        cat: 'video',    tag: 'auto-edit + b-roll',  elo: 2199, owner: 'Cuttr',         price: '$15/mo',  free: true,  oss: false, local: false, hot: 75, color: '#a78bff', emoji: '◇' },

  // LEGAL
  { id: 'lexreader',    name: 'LexReader',    cat: 'legal',    tag: 'doc review',          elo: 2334, owner: 'Lex Systems',   price: '$80/mo',  free: false, oss: false, local: false, hot: 70, color: '#00f0ff', emoji: '◆' },
  { id: 'briefly',      name: 'Briefly',      cat: 'legal',    tag: 'contract redlines',   elo: 2266, owner: 'Briefly',       price: '$60/mo',  free: false, oss: false, local: false, hot: 68, color: '#ff2bd6', emoji: '▲' },

  // GENERALIST CHAT
  { id: 'aurora',       name: 'Aurora',       cat: 'chat',     tag: 'generalist chat',     elo: 2455, owner: 'Aurora Labs',   price: '$20/mo',  free: true,  oss: false, local: false, hot: 96, color: '#00f0ff', emoji: '◆' },
  { id: 'sable',        name: 'Sable',        cat: 'chat',     tag: 'long-context chat',   elo: 2447, owner: 'Sable',         price: '$20/mo',  free: true,  oss: false, local: false, hot: 95, color: '#ff2bd6', emoji: '▲' },
  { id: 'pollen',       name: 'Pollen',       cat: 'chat',     tag: 'multimodal chat',     elo: 2398, owner: 'Pollen',        price: '$22/mo',  free: true,  oss: false, local: false, hot: 89, color: '#c6ff3d', emoji: '⬢' },
];

// Use-case → tools mapping
const USE_CASES = [
  { q: 'help me code',                 cat: 'coding',   title: 'AI Coding Tools',         subtitle: '4 tools compared. Pros, cons, pricing, our pick.' },
  { q: 'automate meeting notes',       cat: 'meetings', title: 'Meeting Note-Takers',     subtitle: '3 contenders, side-by-side. Privacy, accuracy, integrations.' },
  { q: 'private local llm',            cat: 'local',    title: 'Local + Private LLMs',    subtitle: 'No cloud. No telemetry. Compared on setup, speed, ecosystem.' },
  { q: 'generate marketing videos',    cat: 'video',    title: 'AI Video Generators',     subtitle: '3 tools, scored on motion quality, price, licensing.' },
  { q: 'legal document review',        cat: 'legal',    title: 'Legal Doc Review Tools',  subtitle: 'Compared on accuracy, jurisdiction coverage, and price.' },
  { q: 'chat assistant',               cat: 'chat',     title: 'Generalist AI Chats',     subtitle: 'The big three, compared on reasoning, context, and cost.' },
];

// Live ticker updates
const UPDATES = [
  { tool: 'Aurora',     when: '2h ago',  what: 'released a 1M-token context mode',           heat: 'hot' },
  { tool: 'ReelWeaver', when: '5h ago',  what: 'cut subscription price by 30%',               heat: 'hot' },
  { tool: 'HearthLLM',  when: '8h ago',  what: 'shipped Apple Silicon optimizations',         heat: 'mid' },
  { tool: 'CodeForge',  when: '11h ago', what: 'added agentic refactor across repos',         heat: 'hot' },
  { tool: 'Sable',      when: '1d ago',  what: 'opened API to free tier users',               heat: 'mid' },
  { tool: 'MinuteMate', when: '1d ago',  what: 'integrates with 14 calendar tools',           heat: 'cold' },
  { tool: 'Orbit-7B',   when: '2d ago',  what: 'beats prior bench by 4 points',               heat: 'mid' },
  { tool: 'LexReader',  when: '2d ago',  what: 'SOC2 Type II completed',                      heat: 'cold' },
  { tool: 'Pollen',     when: '3d ago',  what: 'video understanding rolling out',             heat: 'hot' },
  { tool: 'Pairwise',   when: '3d ago',  what: 'JetBrains plugin in beta',                    heat: 'mid' },
];

// Verdicts of the day (rotating opinionated takes)
const VERDICTS = [
  { headline: 'You don\'t need 7 coding agents.',     sub: 'Pick one. Stop tab-hopping.' },
  { headline: 'The local LLM gap closed this month.',  sub: 'Run it on your laptop. We\'re serious.' },
  { headline: 'Stop paying for 4 video tools.',        sub: 'Two of them do the same thing.' },
];

window.TOOLS = TOOLS;
window.USE_CASES = USE_CASES;
window.UPDATES = UPDATES;
window.VERDICTS = VERDICTS;
