/* CSS Custom Properties - Design Tokens */
:root {
    /* Primary Brand Colors */
    --color-primary: #FF7F50;        /* Coral/Salmon - Primary brand */
    --color-primary-dark: #E06C3D;   /* Darker shade for hover */
    --color-primary-light: #FFA07A;  /* Lighter shade for accents */
    --color-secondary: #1A1A1B;      /* Matte Black - Secondary brand */
    
    /* Neutral Apple-inspired Palette */
    --color-gray-50: #fafafa;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #e5e5e5;
    --color-gray-300: #d4d4d4;
    --color-gray-400: #a3a3a3;
    --color-gray-500: #737373;
    --color-gray-600: #525252;
    --color-gray-700: #404040;
    --color-gray-800: #262626;
    --color-gray-900: #171717;
    
    /* Semantic Colors */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-info: #3b82f6;
    
    /* Background Colors */
    --bg-light: #F5F5F7;    /* Light gray sections */
    --bg-white: #FFFFFF;    /* White sections */
    --bg-dark: #1A1A1B;     /* Dark sections */
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-secondary: 'Plus Jakarta Sans', var(--font-primary);
    
    /* Mobile-First Typography Scale (Base: 16px = 1rem) */
    --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: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */
    --text-6xl: 3.75rem;   /* 60px */
    
    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.6;
    --leading-relaxed: 1.75;
    --leading-loose: 2;
    
    /* Letter Spacing */
    --tracking-tighter: -0.05em;
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;
    
    /* Spacing System (8px base unit) */
    --space-unit: 0.5rem;
    --space-0: 0;
    --space-1: calc(0.25 * var(--space-unit));  /* 2px */
    --space-2: calc(0.5 * var(--space-unit));   /* 4px */
    --space-3: calc(0.75 * var(--space-unit));  /* 6px */
    --space-4: var(--space-unit);               /* 8px */
    --space-5: calc(1.25 * var(--space-unit));  /* 10px */
    --space-6: calc(1.5 * var(--space-unit));   /* 12px */
    --space-8: calc(2 * var(--space-unit));     /* 16px */
    --space-10: calc(2.5 * var(--space-unit));  /* 20px */
    --space-12: calc(3 * var(--space-unit));    /* 24px */
    --space-16: calc(4 * var(--space-unit));    /* 32px */
    --space-20: calc(5 * var(--space-unit));    /* 40px */
    --space-24: calc(6 * var(--space-unit));    /* 48px */
    --space-32: calc(8 * var(--space-unit));    /* 64px */
    --space-40: calc(10 * var(--space-unit));   /* 80px */
    --space-48: calc(12 * var(--space-unit));   /* 96px */
    --space-56: calc(14 * var(--space-unit));   /* 112px */
    --space-64: calc(16 * var(--space-unit));   /* 128px */
    
    /* Breakpoints (Mobile-First) */
    --breakpoint-xs: 320px;
    --breakpoint-sm: 375px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-xxl: 1440px;
    
    /* Container Max Widths */
    --container-xs: 100%;
    --container-sm: 540px;
    --container-md: 720px;
    --container-lg: 960px;
    --container-xl: 1140px;
    --container-xxl: 1320px;
    
    /* Border Radius */
    --radius-none: 0;
    --radius-sm: 0.125rem;   /* 2px */
    --radius: 0.25rem;       /* 4px */
    --radius-md: 0.375rem;   /* 6px */
    --radius-lg: 0.5rem;     /* 8px */
    --radius-xl: 0.75rem;    /* 12px */
    --radius-2xl: 1rem;      /* 16px */
    --radius-3xl: 1.5rem;    /* 24px */
    --radius-full: 9999px;
    
    /* Border Widths */
    --border-none: 0;
    --border-thin: 1px;
    --border: 2px;
    --border-thick: 4px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
    --shadow-none: 0 0 #0000;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-Index Scale */
    --z-negative: -1;
    --z-0: 0;
    --z-10: 10;
    --z-20: 20;
    --z-30: 30;
    --z-40: 40;
    --z-50: 50;
    --z-auto: auto;
    
    /* Opacity */
    --opacity-0: 0;
    --opacity-5: 0.05;
    --opacity-10: 0.1;
    --opacity-20: 0.2;
    --opacity-25: 0.25;
    --opacity-30: 0.3;
    --opacity-40: 0.4;
    --opacity-50: 0.5;
    --opacity-60: 0.6;
    --opacity-70: 0.7;
    --opacity-75: 0.75;
    --opacity-80: 0.8;
    --opacity-90: 0.9;
    --opacity-95: 0.95;
    --opacity-100: 1;
    
    /* Animation */
    --animation-spin: spin 1s linear infinite;
    --animation-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
    --animation-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    --animation-bounce: bounce 1s infinite;
}

/* Dark Mode Variables (Future Enhancement) */
@media (prefers-color-scheme: dark) {
    :root {
        --color-gray-50: #171717;
        --color-gray-100: #262626;
        --color-gray-200: #404040;
        --color-gray-300: #525252;
        --color-gray-400: #737373;
        --color-gray-500: #a3a3a3;
        --color-gray-600: #d4d4d4;
        --color-gray-700: #e5e5e5;
        --color-gray-800: #f5f5f5;
        --color-gray-900: #fafafa;
        
        --bg-light: #1A1A1B;
        --bg-white: #262626;
        --bg-dark: #0A0A0A;
    }
}

/* Print Variables */
@media print {
    :root {
        --color-primary: #000000;
        --color-secondary: #333333;
        --bg-light: #ffffff;
        --bg-white: #ffffff;
        --shadow-none: 0 0 #0000;
    }
}