/* Design System Tokens */
:root {
    --bg-color: #050505;
    --bg-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cdefs%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='5' seed='8' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0.086 0 0 0 0 0.086 0 0 0 0 0.086 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3C/defs%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    --text-color: #FFFFFF;
    --text-muted: #A0A0A0;
    --accent-color: #2E2E2E;

    --header-bg-scrolled: rgba(5, 5, 5, 0.8);
    --header-border-scrolled: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);

    /* Neutral Scale (Professional Utility) */
    --gray-100: #141414;
    --gray-200: #1C1C1C;
    --gray-300: #262626;
    --gray-400: #3E3E3E;
    --gray-500: #5A5A5A;
    --gray-600: #757575;
    --gray-700: #9E9E9E;
    --gray-800: #D4D4D4;
    --gray-900: #FAFAFA;

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Outfit', sans-serif;
    --font-outfit: 'Outfit', sans-serif;

    --spacing-unit: 1rem;
    --container-width: 1400px;

    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;
    
    /* Layout & Grid Grid vars */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --grid-gutter: 1.5rem;
    --grid-columns: 12;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Semantic Colors */
    --success-color: #10B981;
    --danger-color: #EF4444;
    --warning-color: #F59E0B;
    --info-color: #3B82F6;

    /* Elevation / Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --glow-soft: 0 0 20px rgba(255, 255, 255, 0.05);
}

/* Light Mode Overrides */
body.light-mode {
    --bg-color: #FFFFFF;
    --text-color: #141414;
    --text-muted: #666666;
    --accent-color: #EDEDED;
    --header-bg-scrolled: rgba(250, 250, 250, 0.8);
    --header-border-scrolled: rgba(0, 0, 0, 0.05);
    --border-color: rgba(0, 0, 0, 0.08);

    /* Light Mode Neutral Scale */
    --gray-100: #FAFAFA;
    --gray-200: #F5F5F5;
    --gray-300: #EDEDED;
    --gray-400: #E0E0E0;
    --gray-500: #BDBDBD;
    --gray-600: #9E9E9E;
    --gray-700: #757575;
    --gray-800: #424242;
    --gray-900: #1A1A1A;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --glow-soft: 0 0 20px rgba(0, 0, 0, 0.03);
    --bg-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cdefs%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='5' seed='8' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0.025 0 0 0 0 0.025 0 0 0 0 0.025 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3C/defs%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}
