/* =============================================
   MATRIX MISSIONS - Design System Variables
   Premium Fintech Trading Website
   ============================================= */

:root {
  /* ========== Dark Theme Colors ========== */
  --dark-primary: #0a0f1c;
  --dark-secondary: #0f1629;
  --dark-tertiary: #1a2035;
  --dark-elevated: #1e2642;
  --dark-border: rgba(255, 255, 255, 0.08);
  
  /* ========== Light Theme Colors ========== */
  --light-primary: #ffffff;
  --light-secondary: #f8f9fc;
  --light-tertiary: #f0f2f7;
  --light-elevated: #ffffff;
  --light-border: rgba(0, 0, 0, 0.08);
  
  /* ========== Accent Colors - Gold/Amber ========== */
  --accent-primary: #d4a853;
  --accent-secondary: #c9952c;
  --accent-tertiary: #b8860b;
  --accent-glow: rgba(212, 168, 83, 0.4);
  --accent-subtle: rgba(212, 168, 83, 0.1);
  
  /* ========== Gradient Definitions ========== */
  --gradient-dark: linear-gradient(135deg, #0a0f1c 0%, #0f1629 50%, #1a2035 100%);
  --gradient-hero: linear-gradient(180deg, #0a0f1c 0%, #0f1629 60%, #1a2035 100%);
  --gradient-light: linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%);
  --gradient-accent: linear-gradient(135deg, #d4a853 0%, #c9952c 50%, #b8860b 100%);
  --gradient-accent-subtle: linear-gradient(135deg, rgba(212, 168, 83, 0.2) 0%, rgba(184, 134, 11, 0.1) 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(212, 168, 83, 0.15) 0%, transparent 70%);
  
  /* ========== Text Colors ========== */
  --text-dark-primary: #ffffff;
  --text-dark-secondary: rgba(255, 255, 255, 0.75);
  --text-dark-muted: rgba(255, 255, 255, 0.5);
  --text-light-primary: #0a0f1c;
  --text-light-secondary: #3a4055;
  --text-light-muted: #6b7280;
  
  /* ========== Typography ========== */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Outfit', var(--font-primary);
  
  /* Font Sizes - Fluid Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.925rem + 0.375vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.375rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
  --text-5xl: clamp(3rem, 2rem + 5vw, 5rem);
  
  /* Font Weights */
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  
  /* Line Heights */
  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;
  
  /* Letter Spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.02em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;
  
  /* ========== Spacing Scale ========== */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */
  
  /* ========== Layout ========== */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;
  --container-2xl: 1400px;
  
  /* ========== Borders & Radius ========== */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* ========== Shadows ========== */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 40px rgba(212, 168, 83, 0.3);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
  
  /* ========== Transitions ========== */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-slower: 700ms ease;
  --transition-smooth: 600ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* ========== Z-Index Scale ========== */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-overlay: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
}

/* ========== Reduced Motion ========== */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-base: 0ms;
    --transition-slow: 0ms;
    --transition-slower: 0ms;
    --transition-smooth: 0ms;
    --transition-bounce: 0ms;
  }
}
