/* ==========================================================================
   ccse Design Tokens — Cyber-Dark Neon (React Bits inspired)
   Single source of truth for colors, typography, elevations, and spring easings
   ========================================================================== */

:root {
  /* Surfaces & Canvas */
  --bg-base: #070709;
  --bg-subtle: #0d0e12;
  --bg-surface: #13141a;
  --bg-surface-elevated: #1a1b24;
  --bg-surface-glass: rgba(19, 20, 26, 0.65);
  --bg-pill-glass: rgba(255, 255, 255, 0.04);

  /* Borders & Rules */
  --rule-subtle: rgba(255, 255, 255, 0.07);
  --rule-strong: rgba(255, 255, 255, 0.14);
  --rule-highlight: rgba(255, 255, 255, 0.25);
  --rule-cyan: rgba(0, 242, 254, 0.35);
  --rule-purple: rgba(139, 92, 246, 0.35);

  /* Neon Glow Accents */
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --cyan-glow: #00f2fe;
  --violet-400: #a78bfa;
  --violet-500: #8b5cf6;
  --violet-glow: #7c3aed;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --amber-400: #fbbf24;
  --rose-400: #fb7185;

  /* Gradients */
  --grad-cyan-violet: linear-gradient(135deg, #00f2fe 0%, #4facfe 35%, #8b5cf6 100%);
  --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.005) 100%);
  --grad-card-glow: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 242, 254, 0.15) 0%, rgba(139, 92, 246, 0.06) 40%, transparent 70%);
  --grad-border-glow: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 242, 254, 0.5) 0%, rgba(139, 92, 246, 0.3) 30%, transparent 65%);

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  --text-invert: #070709;
  --text-cyan: #38bdf8;
  --text-emerald: #34d399;
  --text-amber: #fbbf24;

  /* Fonts */
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, Menlo, Monaco, Consolas, monospace;

  /* Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.35rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.25rem;
  --text-3xl: 3rem;
  --text-hero: clamp(2.5rem, 6vw + 1rem, 4.8rem);
  --text-stat: clamp(3.5rem, 9vw, 5.5rem);

  /* Spacing */
  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 9999px;

  /* Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 48px -12px rgba(0, 0, 0, 0.6);
  --shadow-cyan-glow: 0 0 25px rgba(0, 242, 254, 0.25);
  --shadow-violet-glow: 0 0 35px rgba(139, 92, 246, 0.25);

  /* Motion & Spring Timings */
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 150ms;
  --dur-normal: 260ms;
  --dur-slow: 500ms;

  /* Z-Index */
  --z-bg: 0;
  --z-content: 10;
  --z-nav: 100;
  --z-toast: 999;
}
