:root {
  /* ==========================================================================
     EXECUTIVE DARK THEME ("Quantum Obsidian & Sovereign Gold")
     Designed for high-stakes enterprise credibility, mathematical precision & depth.
     ========================================================================== */
  --bg-primary: #090d16;
  --bg-secondary: #0f172a;
  --bg-tertiary: #1e293b;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.88);
  --bg-glass: rgba(9, 13, 22, 0.8);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #38bdf8;

  --accent-cyan: #38bdf8;
  --accent-blue: #2563eb;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-gold: #fbbf24;
  --accent-rose: #f43f5e;
  --accent-violet: #818cf8;

  --gradient-brand: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  --gradient-gold: linear-gradient(135deg, #d97706 0%, #fbbf24 100%);
  --gradient-hero: radial-gradient(circle at 50% 18%, rgba(56, 189, 248, 0.12) 0%, rgba(9, 13, 22, 0) 70%);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(56, 189, 248, 0.4);

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 24px rgba(56, 189, 248, 0.22);

  /* Button Explicit Controls (Separated Font, Background, Border & Shadow) */
  --btn-primary-bg: #00fffb;
  --btn-primary-text: #080c14;
  --btn-primary-border: #00eeff;
  --btn-primary-shadow: 0 4px 14px rgba(0, 255, 251, 0.4);

  --btn-secondary-bg: rgba(8, 21, 43, 0.85);
  --btn-secondary-text: #ffffff;
  --btn-secondary-border: #89d2b6;
  --btn-secondary-hover-bg: rgba(30, 41, 59, 0.88);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  /* ==========================================================================
     EXECUTIVE LIGHT THEME ("Architectural Alabaster & Royal Navy")
     Engineered for boardroom presentations, high readability, and WCAG AAA contrast.
     ========================================================================== */
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-tertiary: #e2e8f0;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(248, 250, 252, 0.88);

  --text-primary: #090d16;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-accent: #1d4ed8;

  --accent-cyan: #0284c7;
  --accent-blue: #1d4ed8;
  --accent-emerald: #059669;
  --accent-amber: #d97706;
  --accent-gold: #b45309;
  --accent-rose: #e11d48;
  --accent-violet: #6366f1;

  --gradient-brand: linear-gradient(135deg, #0284c7 0%, #1d4ed8 100%);
  --gradient-gold: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  --gradient-hero: radial-gradient(circle at 50% 18%, rgba(2, 132, 199, 0.08) 0%, rgba(248, 250, 252, 0) 70%);

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.16);
  --border-accent: rgba(2, 132, 199, 0.45);

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 48px -8px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 24px rgba(2, 132, 199, 0.16);

  /* Button Explicit Controls (Separated Font, Background, Border & Shadow) */
  --btn-primary-bg: #0284c7;
  --btn-primary-text: #ffffff;
  --btn-primary-border: #1d4ed8;
  --btn-primary-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);

  --btn-secondary-bg: rgba(255, 255, 255, 0.95);
  --btn-secondary-text: #090d16;
  --btn-secondary-border: rgba(15, 23, 42, 0.16);
  --btn-secondary-hover-bg: #ffffff;
}
