/**
 * CSS VARIABLES - DESIGN TOKENS
 * Premium color system, typography, spacing
 * Robby Lee - iamrobbyblee.com
 */

:root {
    /* ============================================
       COLORS - Minimal premium palette
       ============================================ */
    
    /* Primary */
    --black: #000000;
    --white: #FFFFFF;
    --orange: #E64A19;
    
    /* Backgrounds */
    --bg-black: #000000;
    --bg-white: #FFFFFF;
    --bg-dark-gray: #1a1a1a;
    --bg-light-gray: #f5f5f5;
    --bg-orange: #E64A19;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 10px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(255, 87, 34, 0.4);
    --shadow-glow-hover: 0 0 60px rgba(255, 87, 34, 0.8);
    
    /* ============================================
       TYPOGRAPHY - Hybrid system
       ============================================ */
    
    /* Font Families */
    --font-display: 'Space Grotesk', sans-serif;  /* Hero, Coolerize, CTAs */
    --font-heading: 'Bebas Neue', cursive;        /* Think Nice Now sections only */
    --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    
    /* Font Sizes - Desktop */
    --text-hero: clamp(60px, 12vw, 140px);
    --text-xxl: clamp(48px, 8vw, 96px);
    --text-xl: clamp(36px, 6vw, 72px);
    --text-lg: clamp(24px, 4vw, 48px);
    --text-md: clamp(20px, 3vw, 32px);
    --text-base: 18px;
    --text-sm: 16px;
    --text-xs: 14px;
    --text-tiny: 12px;
    
    /* Font Weights */
    --weight-light: 300;
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-bold: 700;
    
    /* Line Heights */
    --leading-tight: 0.9;
    --leading-snug: 1.1;
    --leading-normal: 1.5;
    --leading-relaxed: 1.8;
    
    /* Letter Spacing */
    --tracking-tight: -0.03em;
    --tracking-normal: 0;
    --tracking-wide: 0.05em;
    --tracking-wider: 0.1em;
    
    /* ============================================
       SPACING - Fibonacci sequence
       ============================================ */
    
    --space-1: 8px;
    --space-2: 13px;
    --space-3: 21px;
    --space-4: 34px;
    --space-5: 55px;
    --space-6: 89px;
    --space-7: 144px;
    
    /* Section Padding */
    --section-padding-y: 120px;
    --section-padding-y-mobile: 80px;
    --section-padding-x: 20px;
    
    /* Container */
    --container-max: 1200px;
    --container-padding: 20px;
    
    /* ============================================
       TIMING - Animation durations
       ============================================ */
    
    --duration-fast: 0.2s;
    --duration-medium: 0.4s;
    --duration-slow: 0.8s;
    --duration-cinematic: 1.2s;
    
    /* Easing Functions */
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-custom: cubic-bezier(0.16, 1, 0.3, 1);
    
    /* ============================================
       Z-INDEX LAYERS
       ============================================ */
    
    --z-base: 1;
    --z-nav: 100;
    --z-modal: 1000;
    --z-cursor: 9999;
    --z-loading: 10000;
    
    /* ============================================
       BORDERS & RADIUS
       ============================================ */
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    --border-width: 1px;
    --border-width-thick: 2px;
    
    /* ============================================
       GRID & LAYOUT
       ============================================ */
    
    --grid-gap: var(--space-4);
    --grid-gap-lg: var(--space-5);
    
    /* ============================================
       BREAKPOINTS (for reference in JS)
       ============================================ */
    
    --bp-mobile: 768px;
    --bp-tablet: 1024px;
    --bp-desktop: 1280px;
}

/* ============================================
   DARK MODE SUPPORT (if needed)
   ============================================ */

@media (prefers-color-scheme: dark) {
    :root {
        /* Already dark by default, no changes needed */
    }
}

/* ============================================
   REDUCED MOTION SUPPORT
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    :root {
        --duration-fast: 0.01s;
        --duration-medium: 0.01s;
        --duration-slow: 0.01s;
        --duration-cinematic: 0.01s;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01s !important;
    }
}