/* ============================================
   DESIGN TOKENS — CSS Custom Properties
   Premium Dark Theme
   ============================================ */

:root {
  /* ---- Colors: Backgrounds ---- */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-tertiary: #1a1a28;
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);
  --bg-glass-border: rgba(255, 255, 255, 0.08);

  /* ---- Colors: Accents (Lime Green Theme) ---- */
  --accent-primary: #eeffa8;
  --accent-primary-hover: #f4ffcc;
  --accent-primary-glow: rgba(238, 255, 168, 0.2);
  --accent-secondary: #c8e06a;
  --accent-secondary-hover: #d5eb82;
  --accent-secondary-glow: rgba(200, 224, 106, 0.15);
  --accent-dark: #0a0a0f;

  /* ---- Colors: Text ---- */
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b0;
  --text-tertiary: #55556a;
  --text-accent: var(--accent-primary);

  /* ---- Gradients ---- */
  --gradient-hero: linear-gradient(135deg, #eeffa8 0%, #c8e06a 100%);
  --gradient-hero-reverse: linear-gradient(135deg, #c8e06a 0%, #eeffa8 100%);
  --gradient-subtle: linear-gradient(180deg, rgba(238, 255, 168, 0.06) 0%, transparent 60%);
  --gradient-card: linear-gradient(145deg, rgba(238, 255, 168, 0.03) 0%, rgba(200, 224, 106, 0.02) 100%);

  /* ---- Typography ---- */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --fs-display: clamp(2.8rem, 6vw, 5rem);
  --fs-h1: clamp(2.2rem, 4vw, 3.5rem);
  --fs-h2: clamp(1.8rem, 3vw, 2.5rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.5rem);
  --fs-body: 1rem;
  --fs-body-lg: 1.125rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --lh-tight: 1.2;
  --lh-normal: 1.6;
  --lh-relaxed: 1.8;

  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.05em;
  --ls-wider: 0.1em;

  /* ---- Spacing ---- */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* ---- Layout ---- */
  --container-max: 1200px;
  --container-padding: var(--space-lg);
  --navbar-height: 150px;

  /* ---- Borders ---- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* ---- Shadows ---- */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow-primary: 0 0 20px var(--accent-primary-glow);
  --shadow-glow-secondary: 0 0 20px var(--accent-secondary-glow);

  /* ---- Transitions ---- */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* ---- Z-Index Scale ---- */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-navbar: 1000;
  --z-modal: 2000;
  --z-toast: 3000;
}

/* --- Mobile overrides --- */
@media (max-width: 768px) {
  :root {
    --navbar-height: 70px;
    --space-4xl: 4rem;
    --space-5xl: 5rem;
    --container-padding: var(--space-md);
  }
}

@media (max-width: 480px) {
  :root {
    --navbar-height: 60px;
    --space-3xl: 3rem;
    --space-4xl: 3.5rem;
    --space-5xl: 4rem;
  }
}
