/* =============================================
   ZERØCRAFT — Design Tokens
   Premium dark theme. Minimal color. Maximum impact.
   ============================================= */

:root {
  /* ===== COLOR SYSTEM ===== */
  --black: #000000;
  --white: #ffffff;

  /* Neutral Scale */
  --gray-50:  #f7f7f8;
  --gray-100: #ececf0;
  --gray-200: #d5d5de;
  --gray-300: #a8a8b9;
  --gray-400: #7c7c94;
  --gray-500: #56566d;
  --gray-600: #3d3d52;
  --gray-700: #2a2a3a;
  --gray-800: #1a1a24;
  --gray-900: #0f0f15;
  --gray-950: #08080c;

  /* Accent — Subtle sky-blue, used sparingly */
  --accent: #38bdf8;
  --accent-hover: #7dd3fc;
  --accent-soft: rgba(56, 189, 248, 0.06);
  --accent-medium: rgba(56, 189, 248, 0.10);
  --accent-glow: rgba(56, 189, 248, 0.15);
  --accent-strong: rgba(56, 189, 248, 0.30);

  /* Semantic */
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;

  /* Backgrounds */
  --bg: #000000;
  --bg-elevated: #07070d;
  --bg-card: #0e0e16;
  --bg-card-hover: #14141e;
  --bg-glass: rgba(8, 8, 14, 0.85);
  --bg-glass-heavy: rgba(8, 8, 14, 0.95);

  /* Text */
  --text: #ffffff;
  --text-secondary: #a8a8b9;
  --text-muted: #56566d;
  --text-inverse: #000000;

  /* Borders */
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.20);
  --border-accent: rgba(56, 189, 248, 0.20);

  /* ===== TYPOGRAPHY ===== */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Font Sizes — Fluid scale */
  --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;
  --text-5xl:  3.5rem;
  --text-6xl:  4.5rem;

  /* Fluid display sizes */
  --text-hero:    clamp(3rem, 9vw, 7.5rem);
  --text-display: clamp(2rem, 5vw, 4rem);
  --text-section: clamp(1.75rem, 4vw, 3rem);

  /* Line Heights */
  --leading-none:    1;
  --leading-tight:   1.1;
  --leading-snug:    1.25;
  --leading-normal:  1.5;
  --leading-relaxed: 1.7;

  /* Letter Spacing */
  --tracking-tighter: -0.04em;
  --tracking-tight:   -0.02em;
  --tracking-normal:  0;
  --tracking-wide:    0.05em;
  --tracking-wider:   0.1em;
  --tracking-widest:  0.2em;

  /* ===== 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;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-40: 10rem;
  --space-48: 12rem;

  /* ===== BORDERS ===== */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-2xl:  32px;
  --radius-full: 9999px;

  /* ===== SHADOWS ===== */
  --shadow-sm:   0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md:   0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg:   0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-xl:   0 24px 80px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 40px var(--accent-glow);
  --shadow-glow-strong: 0 0 80px var(--accent-strong);
  --shadow-product: 0 40px 100px rgba(0, 0, 0, 0.8);

  /* ===== TRANSITIONS ===== */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --duration-fast:   150ms;
  --duration-normal: 300ms;
  --duration-slow:   500ms;
  --duration-slower: 800ms;

  /* ===== Z-INDEX ===== */
  --z-base:     1;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-navbar:   1000;
  --z-overlay:  1500;
  --z-modal:    2000;
  --z-toast:    3000;

  /* ===== LAYOUT ===== */
  --navbar-h: 72px;
  --container-max:    1200px;
  --container-wide:   1400px;
  --container-narrow: 800px;
  --section-gap: clamp(6rem, 12vh, 10rem);
}
