/* ============================================
   AKASH UNIVERSE — Design System Tokens
   ============================================ */

:root {
  /* ── Color System: Dark Mode (Default) ── */
  --color-bg-primary: #05070a;
  --color-bg-secondary: #0a0e17;
  --color-bg-tertiary: #0f1520;
  --color-bg-elevated: #141b2a;
  --color-bg-glass: rgba(10, 14, 23, 0.7);
  --color-bg-glass-hover: rgba(20, 27, 42, 0.8);

  --color-text-primary: #e8eaf0;
  --color-text-secondary: #8b92a8;
  --color-text-tertiary: #565e78;
  --color-text-accent: #00e5ff;

  --color-accent-blue: #00e5ff;
  --color-accent-cyan: #00ffd5;
  --color-accent-purple: #a855f7;
  --color-accent-purple-glow: #7c3aed;
  --color-accent-white: #ffffff;
  --color-accent-gradient-1: linear-gradient(135deg, #00e5ff 0%, #a855f7 100%);
  --color-accent-gradient-2: linear-gradient(135deg, #00ffd5 0%, #00e5ff 100%);
  --color-accent-gradient-3: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);

  --color-glow-blue: 0 0 30px rgba(0, 229, 255, 0.3), 0 0 60px rgba(0, 229, 255, 0.1);
  --color-glow-purple: 0 0 30px rgba(168, 85, 247, 0.3), 0 0 60px rgba(168, 85, 247, 0.1);
  --color-glow-cyan: 0 0 30px rgba(0, 255, 213, 0.3), 0 0 60px rgba(0, 255, 213, 0.1);

  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-hover: rgba(0, 229, 255, 0.3);
  --color-border-active: rgba(0, 229, 255, 0.6);

  /* ── Typography ── */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.3vw, 0.9rem);
  --text-base: clamp(0.9rem, 0.85rem + 0.3vw, 1rem);
  --text-lg: clamp(1.1rem, 1rem + 0.4vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --text-3xl: clamp(2rem, 1.5rem + 2vw, 3rem);
  --text-4xl: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  --text-5xl: clamp(3rem, 2rem + 4vw, 6rem);
  --text-hero: clamp(4rem, 3rem + 6vw, 10rem);

  --leading-tight: 0.9;
  --leading-snug: 1.1;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;

  --tracking-tight: -0.03em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.1em;
  --tracking-widest: 0.2em;

  /* ── Spacing ── */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  --space-section: clamp(6rem, 5rem + 5vw, 12rem);

  /* ── Layout ── */
  --max-width: 1400px;
  --max-width-narrow: 900px;
  --max-width-wide: 1600px;
  --gutter: clamp(1.5rem, 1rem + 2vw, 4rem);

  /* ── Animation ── */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-cubic: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-magnetic: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);

  --duration-fast: 0.15s;
  --duration-normal: 0.3s;
  --duration-slow: 0.6s;
  --duration-slower: 1s;
  --duration-cinematic: 2s;

  /* ── Glass Effects ── */
  --glass-blur: blur(20px);
  --glass-blur-heavy: blur(40px);
  --glass-bg: rgba(10, 14, 23, 0.6);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);

  /* ── Borders ── */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  /* ── Z-Index ── */
  --z-behind: -1;
  --z-base: 1;
  --z-float: 10;
  --z-nav: 100;
  --z-overlay: 500;
  --z-modal: 1000;
  --z-cursor: 9000;
  --z-loader: 9999;
}

/* ── Light Mode ── */
[data-theme="light"] {
  --color-bg-primary: #f8f9fc;
  --color-bg-secondary: #eef0f5;
  --color-bg-tertiary: #e4e7ee;
  --color-bg-elevated: #ffffff;
  --color-bg-glass: rgba(255, 255, 255, 0.7);
  --color-bg-glass-hover: rgba(255, 255, 255, 0.85);

  --color-text-primary: #0f1520;
  --color-text-secondary: #4a5068;
  --color-text-tertiary: #7a8098;
  --color-text-accent: #0077b6;

  --color-accent-blue: #0077b6;
  --color-accent-cyan: #00a896;
  --color-accent-purple: #7c3aed;
  --color-accent-purple-glow: #6d28d9;
  --color-accent-gradient-1: linear-gradient(135deg, #0077b6 0%, #7c3aed 100%);
  --color-accent-gradient-2: linear-gradient(135deg, #00a896 0%, #0077b6 100%);
  --color-accent-gradient-3: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);

  --color-glow-blue: 0 0 30px rgba(0, 119, 182, 0.15), 0 0 60px rgba(0, 119, 182, 0.05);
  --color-glow-purple: 0 0 30px rgba(124, 58, 237, 0.15), 0 0 60px rgba(124, 58, 237, 0.05);
  --color-glow-cyan: 0 0 30px rgba(0, 168, 150, 0.15), 0 0 60px rgba(0, 168, 150, 0.05);

  --color-border: rgba(0, 0, 0, 0.08);
  --color-border-hover: rgba(0, 119, 182, 0.3);
  --color-border-active: rgba(0, 119, 182, 0.6);

  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: 1px solid rgba(0, 0, 0, 0.06);
}
