/* ========================================
   DESIGN TOKENS - Single Source of Truth
   ========================================
   All color, typography, spacing, and effect values.
   Import this file FIRST in every HTML page.
   
   HOW TO USE:
   - Reference tokens as var(--token-name)
   - Never hardcode hex values in other CSS files
   - Add new tokens here, not in page-specific files
   
   ORGANIZATION:
   - Brand Colors: Primary orange, secondary teal
   - Surface Colors: Backgrounds for different contexts
   - Text Colors: Hierarchy from primary to muted
   - Border Colors: Subtle to strong opacity levels
   - Status Colors: Success, warning, danger, info
   - Typography: Fonts, sizes, weights
   - Spacing: Consistent scale from 4px to 96px
   - Effects: Shadows, transitions, z-index
*/

:root {
  /* ==========================================
     BRAND COLORS
     ========================================== */
  --color-primary: #ff4d00;           /* Main orange - buttons, highlights */
  --color-primary-hover: #ff6b2b;     /* Hover state */
  --color-primary-light: #ff8c42;     /* Light variant */
  --color-secondary: #1a2f35;         /* Dark teal - backgrounds */
  --color-accent: #7fd1c7;            /* Light teal - accents */
  
  /* ==========================================
     SURFACE COLORS (Backgrounds)
     ========================================== */
  --surface-dark: #0a0a0a;            /* Darkest background */
  --surface-card: #141414;            /* Card backgrounds */
  --surface-panel: #0e1014;           /* Panel backgrounds */
  --surface-input: #0d0f13;           /* Input backgrounds */
  --surface-overlay: rgba(10, 10, 10, 0.95);  /* Modal/nav overlays */
  
  /* ==========================================
     TEXT COLORS
     ========================================== */
  --text-primary: #ffffff;            /* Headings, important text */
  --text-secondary: #e8e8e8;          /* Body text */
  --text-muted: #a0a0a0;              /* Captions, hints */
  --text-inverse: #1a2f35;            /* Text on light backgrounds */
  
  /* ==========================================
     BORDER COLORS
     ========================================== */
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-strong: rgba(255, 255, 255, 0.2);
  --border-accent: rgba(255, 77, 0, 0.3);
  
  /* ==========================================
     STATUS COLORS
     ========================================== */
  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-info: #3b82f6;
  
  /* ==========================================
     TYPOGRAPHY
     ========================================== */
  --font-title: 'Cinzel', serif;
  --font-body: 'Montserrat', sans-serif;
  --font-nav: 'Montserrat', sans-serif;
  
  /* Font Sizes */
  --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: 3rem;       /* 48px */
  
  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* ==========================================
     SPACING SCALE
     ========================================== */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  
  /* ==========================================
     BORDER RADIUS
     ========================================== */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  
  /* ==========================================
     SHADOWS
     ========================================== */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(255, 77, 0, 0.3);
  
  /* ==========================================
     Z-INDEX SCALE
     ========================================== */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 500;
  --z-header: 1000;
  --z-modal: 1100;
  --z-tooltip: 1200;
  
  /* ==========================================
     TRANSITIONS
     ========================================== */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;
  
  /* ==========================================
     LAYOUT
     ========================================== */
  --header-height: 60px;
  --container-max: 1200px;
  --container-wide: 1400px;
}
