/* ==========================================================================
   CSS VARIABLES - DANIEL WOŹNIAK DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Colors - Primary */
    --primary-dark: #0a192f;
    --primary-medium: #172a45;
    --primary-light: #233554;

    /* Colors - Accent */
    --accent-blue: #007acc;
    --accent-blue-light: #4f96d8;
    --accent-blue-dark: #005a99;
    --accent-orange: #f7931e;
    --accent-orange-light: #ffb366;

    /* Colors - Text */
    --text-primary: #ffffff;
    --text-primary-light: #ffffff;
    --text-primary-dark: #0a192f;
    --text-secondary: #8892b0;
    --text-muted: #495670;
    --text-light: #cbd5e1;

    /* Colors - Surface */
    --white: #ffffff;
    --surface-card: rgba(255, 255, 255, 0.05);
    --surface-card-hover: rgba(255, 255, 255, 0.1);
    --surface-dark: #0f1419;
    --surface-overlay: rgba(0, 0, 0, 0.4);

    /* Colors - Border */
    --card-border: rgba(255, 255, 255, 0.1);
    --card-border-hover: rgba(0, 122, 204, 0.3);

    /* Spacing Scale */
    --space-xs: 0.25rem;    /* 4px */
    --space-sm: 0.5rem;     /* 8px */
    --space-md: 1rem;       /* 16px */
    --space-lg: 1.5rem;     /* 24px */
    --space-xl: 2rem;       /* 32px */
    --space-2xl: 3rem;      /* 48px */
    --space-3xl: 4rem;      /* 64px */
    --space-4xl: 6rem;      /* 96px */

    /* Typography */
    --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-family-mono: 'SF Mono', 'Monaco', 'Inconsolata', monospace;

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --line-height-tight: 1.2;
    --line-height-normal: 1.4;
    --line-height-relaxed: 1.6;

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

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow-blue: 0 16px 48px rgba(0, 122, 204, 0.2);
    --shadow-glow-orange: 0 16px 48px rgba(247, 147, 30, 0.2);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-Index Scale */
    --z-negative: -1;
    --z-normal: 1;
    --z-elevated: 10;
    --z-sticky: 100;
    --z-modal: 1000;
    --z-tooltip: 1100;

    /* Container Sizes */
    --container-width: 1200px;
    --container-width-narrow: 1000px;
    --container-width-wide: 1600px;
    --container-padding: 2rem;

    /* Breakpoints (for reference in media queries) */
    --breakpoint-sm: 480px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(10px);

    /* Grid */
    --grid-gap: var(--space-lg);
    --grid-gap-sm: var(--space-md);
    --grid-gap-lg: var(--space-2xl);
}

/* Dark theme adjustments for accessibility */
@media (prefers-color-scheme: dark) {
    :root {
        --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.6);
        --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.7);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    :root {
        --transition-fast: none;
        --transition-normal: none;
        --transition-slow: none;
    }

    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}