/* ═══════════════════════════════════════════════════
   XOS DESIGN TOKENS
   
   This is the ONLY file you change to rebrand for a client.
   Every color, font, spacing value, and animation timing
   flows from these variables into every component.
   
   For client projects:
   1. Duplicate this file
   2. Replace values with client brand
   3. Everything else updates automatically
   ═══════════════════════════════════════════════════ */

:root {
  /* ── Brand Colors ── */
  --color-primary: #D4A843;          /* Gold - XOS brand accent */
  --color-primary-light: #E8C76A;
  --color-primary-dark: #B08A2E;
  
  --color-secondary: #1A1A2E;        /* Deep navy - XOS background tone */
  --color-secondary-light: #2A2A4E;
  
  --color-accent: #C0392B;           /* Action red - CTAs, urgency */
  --color-accent-hover: #E74C3C;

  /* ── Neutrals ── */
  --color-bg: #0D0D0D;              /* Page background */
  --color-bg-elevated: #141420;      /* Cards, sections with depth */
  --color-bg-surface: #1E1E30;       /* Input fields, subtle containers */
  
  --color-text: #F2F2F2;            /* Primary text */
  --color-text-muted: #999999;       /* Secondary text, captions */
  --color-text-inverse: #0D0D0D;     /* Text on light backgrounds */
  
  --color-border: #2A2A3E;           /* Subtle borders */
  --color-border-strong: #444466;    /* Emphasized borders */
  
  /* ── Semantic Colors ── */
  --color-success: #2D7D46;
  --color-warning: #E67E22;
  --color-error: #C0392B;
  --color-info: #2E75B6;

  /* ── Typography ── */
  --font-display: 'Space Grotesk', sans-serif;    /* Headings, hero text */
  --font-body: 'DM Sans', sans-serif;              /* Body copy */
  --font-mono: 'JetBrains Mono', monospace;        /* Code, technical text */
  
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 2rem;        /* 32px */
  --text-4xl: 2.5rem;      /* 40px */
  --text-5xl: 3.5rem;      /* 56px */
  --text-hero: 4.5rem;     /* 72px */

  --leading-tight: 1.1;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;

  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 900;

  /* ── Spacing Scale ── */
  --space-xs: 0.25rem;     /* 4px */
  --space-sm: 0.5rem;      /* 8px */
  --space-md: 1rem;        /* 16px */
  --space-lg: 1.5rem;      /* 24px */
  --space-xl: 2rem;        /* 32px */
  --space-2xl: 3rem;       /* 48px */
  --space-3xl: 4rem;       /* 64px */
  --space-4xl: 6rem;       /* 96px */
  --space-section: 8rem;   /* 128px - between major sections */

  /* ── Layout ── */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-wide: 1400px;
  --container-padding: var(--space-lg);
  
  /* ── Borders & Radius ── */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(212, 168, 67, 0.15);

  /* ── Transitions ── */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Z-Index Scale ── */
  --z-base: 0;
  --z-elevated: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
}

/* ── Responsive Overrides ── */
@media (max-width: 768px) {
  :root {
    --text-hero: 2.5rem;
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
    --text-3xl: 1.5rem;
    --space-section: 4rem;
    --container-padding: var(--space-md);
  }
}

@media (max-width: 480px) {
  :root {
    --text-hero: 2rem;
    --text-5xl: 1.75rem;
    --text-4xl: 1.5rem;
    --space-section: 3rem;
  }
}
