/* Design Tokens - Premium Dark Theme */

:root {
    /* ===== COLORS ===== */
    /* Backgrounds */
    --bg-primary: #06061E;
    --bg-secondary: #0A0A2E;
    --bg-tertiary: #0E0E3A;
    --bg-card: rgba(14, 14, 58, 0.6);
    --bg-card-hover: rgba(20, 20, 80, 0.8);

    /* Accent Colors - Legacy (kept for backward compat) */
    --accent-blue: #0047FF;
    --accent-blue-light: #3366FF;
    --accent-blue-dark: #0033CC;
    --accent-cyan: #00D4FF;
    --accent-purple: #8B5CF6;
    
    /* Accent Colors - New Theme System */
    --accent-primary: #0047FF;
    --accent-primary-light: #3366FF;
    --accent-primary-dark: #0033CC;
    --accent-secondary: #00D4FF;
    --accent-tertiary: #8B5CF6;

    /* Glows - Legacy */
    --glow-blue: rgba(0, 71, 255, 0.4);
    --glow-blue-strong: rgba(0, 71, 255, 0.6);
    --glow-cyan: rgba(0, 212, 255, 0.3);
    --glow-purple: rgba(139, 92, 246, 0.3);
    
    /* Glows - New Theme System */
    --glow-primary: rgba(0, 71, 255, 0.4);
    --glow-primary-strong: rgba(0, 71, 255, 0.6);
    --glow-secondary: rgba(0, 212, 255, 0.3);
    --glow-tertiary: rgba(139, 92, 246, 0.3);

    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0B8;
    --text-tertiary: #6B6B80;
    --text-accent: var(--accent-secondary);

    /* Status */
    --success-green: #00FF88;
    --success-green-glow: rgba(0, 255, 136, 0.3);
    --success-color: #00FF88;
    --success-glow: rgba(0, 255, 136, 0.3);
    --error-red: #FF4444;
    --warning-yellow: #FFB800;

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(0, 71, 255, 0.3);
    
    /* Theme System Defaults */
    --font-heading: 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --heading-weight: 700;
    --heading-style: normal;
    --card-blur: blur(16px);
    --border-radius-base: 20px;
    --button-radius: 100px;
    --theme-gradient: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 50%, var(--accent-tertiary) 100%);
    --hero-accent-font: 'Playfair Display', Georgia, serif;
    --hero-accent-style: italic;
    --hero-accent-weight: 400;

    /* ===== TYPOGRAPHY ===== */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Playfair Display', Georgia, 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: 1.875rem;
    /* 30px */
    --text-4xl: 2.25rem;
    /* 36px */
    --text-5xl: 3rem;
    /* 48px */
    --text-6xl: 3.75rem;
    /* 60px */
    --text-7xl: 4.5rem;
    /* 72px */

    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Line Heights */
    --leading-tight: 1.1;
    --leading-snug: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;

    /* Letter Spacing */
    --tracking-tight: -0.02em;
    --tracking-normal: 0;
    --tracking-wide: 0.02em;
    --tracking-wider: 0.05em;

    /* ===== SPACING ===== */
    --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 */

    /* Section Spacing */
    --section-padding-y: var(--space-24);
    --section-padding-y-lg: var(--space-32);

    /* ===== LAYOUT ===== */
    --container-max: 1280px;
    --container-padding: var(--space-6);

    /* ===== EFFECTS ===== */
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-2xl: 40px;
    --radius-pill: 100px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow-blue: 0 0 40px var(--glow-blue);
    --shadow-glow-cyan: 0 0 30px var(--glow-cyan);

    /* Backdrop Blur */
    --blur-sm: 8px;
    --blur-md: 16px;
    --blur-lg: 24px;

    /* ===== TRANSITIONS ===== */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* ===== Z-INDEX ===== */
    --z-base: 0;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-tooltip: 600;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    :root {
        --text-5xl: 2.25rem;
        --text-6xl: 2.75rem;
        --text-7xl: 3.25rem;
        --section-padding-y: var(--space-16);
        --section-padding-y-lg: var(--space-20);
    }
}