/* ==========================================================================
   DESIGN TOKENS - BETTER STACK AESTHETIC SYSTEM
   CodeCurious Redesign System (v2.0)
   ========================================================================== */

:root {
  /* Color Palette - Dark Obsidian Theme (Default) */
  --bg-base: #06070a;
  --bg-subtle: #0b0d13;
  --bg-surface: #10121b;
  --bg-surface-hover: #161924;
  --bg-surface-active: #1c202e;
  --bg-glass: rgba(11, 13, 19, 0.75);
  --bg-card: rgba(16, 18, 27, 0.65);

  /* Border Tokens */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-bright: rgba(255, 255, 255, 0.22);
  --border-glass: rgba(255, 255, 255, 0.08);

  /* Text & Content Tokens */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-faint: #475569;
  --text-inverse: #020617;

  /* Brand Logo Color Palette */
  --brand-navy: #0B2545;
  --brand-blue: #1864AB;
  --brand-cerulean: #2B82C9;
  --brand-cyan: #38BDF8;
  --brand-glow: rgba(24, 100, 171, 0.35);

  /* Accent & Telemetry Colors */
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --cyan-400: #38bdf8;
  --cyan-500: #2B82C9;
  --cyan-glow: rgba(43, 130, 201, 0.35);
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-glow: rgba(168, 85, 247, 0.25);
  --amber-400: #fbbf24;
  --rose-400: #fb7185;

  /* Brand Accents */
  --accent-primary: #1864AB;
  --accent-secondary: #38BDF8;
  --accent-gradient: linear-gradient(135deg, #1864AB 0%, #38BDF8 100%);
  --accent-gradient-brand: linear-gradient(135deg, #0B2545 0%, #1864AB 50%, #38BDF8 100%);
  --accent-gradient-text: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Shadows & Glows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -2px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -4px rgba(0, 0, 0, 0.6);
  --shadow-glow-emerald: 0 0 40px -10px rgba(16, 185, 129, 0.35);
  --shadow-glow-cyan: 0 0 40px -10px rgba(43, 130, 201, 0.35);
  --shadow-glow-brand: 0 0 40px -10px rgba(24, 100, 171, 0.45);
  --shadow-glow-card: 0 0 30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);

  /* Layout Spacing */
  --container-max: 1560px;
  --header-height: 72px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --bg-base: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f8fafc;
  --bg-surface-active: #e2e8f0;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-card: rgba(255, 255, 255, 0.9);

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-medium: rgba(0, 0, 0, 0.14);
  --border-bright: rgba(0, 0, 0, 0.25);
  --border-glass: rgba(0, 0, 0, 0.08);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-faint: #94a3b8;
  --text-inverse: #f8fafc;

  --shadow-glow-card: 0 4px 20px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 1);
  --accent-gradient-text: linear-gradient(135deg, #0f172a 30%, #475569 100%);
}
