/* ===================================================================
   GIRIUS EU - DESIGN SYSTEM TOKENS
   Theme: High-Performance Cyber-European Black & Neon Green
   =================================================================== */

:root {
  /* Core Colors (Pure Obsidian Cyber aesthetic - Zero murky blue/grey) */
  --bg: #05070c;
  --bg-elevated: #070b10;
  --surface: rgba(8, 12, 18, 0.85);
  --surface-2: rgba(10, 16, 24, 0.9);
  --surface-3: #0a1018;
  --border: rgba(0, 255, 102, 0.12);
  --border-hover: rgba(0, 255, 102, 0.35);
  --border-focus: #00ff66;

  /* Accent Colors (Locked to Signature Emerald Cyber-Green) */
  --accent: #00ff66;
  --accent-strong: #00e65c;
  --accent-dim: #059669;
  --accent-glow: rgba(0, 255, 102, 0.4);
  --accent-glow-subtle: rgba(0, 255, 102, 0.12);
  --accent-glow-strong: rgba(0, 255, 102, 0.75);

  /* Signature Green Token Aliases */
  --theme-emerald: #00ff66;
  --theme-matrix: #00ff41;

  /* Typography Colors */
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-on-accent: #000000;

  /* Status Colors */
  --danger: #ef4444;
  --danger-glow: rgba(239, 68, 68, 0.35);
  --warning: #f59e0b;
  --warning-glow: rgba(245, 158, 11, 0.35);
  --success: #00ff66;

  /* Typography Scale */
  --font-sans: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  --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: 2rem;      /* 32px */
  --text-4xl: 2.75rem;   /* 44px */
  --text-5xl: 3.5rem;    /* 56px */

  /* Spacing Scale (4 / 8 / 12 / 16 / 24 / 32 / 48 / 64) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* Corner Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions & Animation Timings */
  --dur-instant: 75ms;
  --dur-fast: 150ms;
  --dur-med: 250ms;
  --dur-slow: 400ms;
  --dur-reveal: 600ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.85);
  --glow-accent: 0 0 20px var(--accent-glow);
  --glow-accent-lg: 0 0 35px var(--accent-glow);
  --glow-subtle: 0 0 12px var(--accent-glow-subtle);

  /* Glassmorphism (Cyber Obsidian & Neon Emerald) */
  --glass-bg: rgba(6, 10, 15, 0.88);
  --glass-bg-hover: rgba(9, 15, 23, 0.94);
  --glass-blur: blur(20px);
  --glass-border: 1px solid rgba(0, 255, 102, 0.18);

  /* Layout */
  --max-width: 1320px;
  --nav-height: 64px;
  --toolbar-height: 52px;
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-instant: 0ms !important;
    --dur-fast: 0ms !important;
    --dur-med: 0ms !important;
    --dur-slow: 0ms !important;
    --dur-reveal: 0ms !important;
  }
}

/* Data Attribute Overrides for Settings */
[data-animations="reduced"] {
  --dur-fast: 80ms;
  --dur-med: 120ms;
  --dur-slow: 150ms;
  --dur-reveal: 150ms;
}

[data-animations="off"] * {
  animation: none !important;
  transition: none !important;
}
