/* CR2IQ v2 — Neural Design System Variables */
:root {
  /* Core Colors - Dark Neural Theme */
  --color-bg-primary: #0a0e1a;
  --color-bg-secondary: #0f1525;
  --color-bg-tertiary: #151d2e;
  --color-bg-panel: rgba(15, 21, 37, 0.85);
  --color-bg-glass: rgba(20, 28, 48, 0.6);
  
  /* Neon Accents */
  --color-accent-cyan: #00f0ff;
  --color-accent-cyan-dim: rgba(0, 240, 255, 0.3);
  --color-accent-magenta: #ff00aa;
  --color-accent-magenta-dim: rgba(255, 0, 170, 0.3);
  --color-accent-purple: #9d4edd;
  --color-accent-gold: #ffd700;
  --color-accent-green: #00ff88;
  --color-accent-red: #ff3860;
  --color-accent-orange: #ff9500;
  
  /* Risk Level Colors */
  --risk-extreme: #ff0040;
  --risk-high: #ff3860;
  --risk-elevated: #ff9500;
  --risk-moderate: #ffd700;
  --risk-low: #00ff88;
  --risk-minimal: #00f0ff;
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-tertiary: rgba(255, 255, 255, 0.5);
  --text-muted: rgba(255, 255, 255, 0.3);
  
  /* Border & Separator */
  --border-color: rgba(0, 240, 255, 0.15);
  --border-color-hover: rgba(0, 240, 255, 0.4);
  --separator-color: rgba(255, 255, 255, 0.08);
  
  /* Shadows & Glows */
  --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.4);
  --glow-cyan-strong: 0 0 40px rgba(0, 240, 255, 0.6);
  --glow-magenta: 0 0 20px rgba(255, 0, 170, 0.4);
  --shadow-panel: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-elevated: 0 12px 48px rgba(0, 0, 0, 0.6);
  
  /* Typography */
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
  --z-tooltip: 400;
  --z-toast: 500;
  --z-overlay: 600;
  --z-boot: 1000;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --border-color: rgba(0, 240, 255, 0.5);
    --text-secondary: rgba(255, 255, 255, 0.9);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-base: 0ms;
    --transition-slow: 0ms;
  }
}
