:root {
  /* Colors — Dark theme (default) */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a28;
  --bg-card-hover: #222236;
  --bg-input: #16162266;
  --border: rgba(255,255,255,0.06);
  --border-active: rgba(99,102,241,0.4);

  --text-primary: #f0f0f5;
  --text-secondary: rgba(240,240,245,0.6);
  --text-muted: rgba(240,240,245,0.35);

  --accent: #6366f1;
  --accent-glow: rgba(99,102,241,0.25);
  --accent-text: #818cf8;

  --green: #22c55e;
  --yellow: #eab308;
  --orange: #f97316;
  --red: #ef4444;
  --darkred: #991b1b;

  --green-bg: rgba(34,197,94,0.12);
  --yellow-bg: rgba(234,179,8,0.12);
  --orange-bg: rgba(249,115,22,0.12);
  --red-bg: rgba(239,68,68,0.12);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  --fs-xs: 0.7rem;
  --fs-sm: 0.8rem;
  --fs-base: 0.9rem;
  --fs-lg: 1.1rem;
  --fs-xl: 1.4rem;
  --fs-2xl: 2rem;
  --fs-hero: 3.5rem;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-card: 0 2px 12px rgba(0,0,0,0.3), 0 0 0 1px var(--border);
  --shadow-glow: 0 0 20px var(--accent-glow);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 200ms;
  --duration-slow: 400ms;

  /* Layout */
  --max-width: 480px;
  --nav-height: 64px;
  --header-height: 52px;
}

[data-theme="light"] {
  --bg-primary: #f5f5f7;
  --bg-secondary: #ebebf0;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f0f5;
  --bg-input: rgba(0,0,0,0.04);
  --border: rgba(0,0,0,0.08);
  --border-active: rgba(99,102,241,0.5);

  --text-primary: #1a1a2e;
  --text-secondary: rgba(26,26,46,0.6);
  --text-muted: rgba(26,26,46,0.35);

  --shadow-card: 0 2px 12px rgba(0,0,0,0.08), 0 0 0 1px var(--border);
}
