/* ============================================================
   ORBIX LABS — Design Tokens
   Single source of truth for all design values.
   Never use hardcoded values outside this file.
   ============================================================ */

:root {
  /* ── Background Layers ── */
  --color-bg-primary:   #0A0B0F;
  --color-bg-surface:   #111318;
  --color-bg-elevated:  #1A1D26;
  --color-border:       #252836;
  --color-border-light: rgba(37, 40, 54, 0.6);

  /* ── Accent Colors ── */
  --color-accent:       #4F8EF7;
  --color-accent-hover: #6BA3FF;
  --color-accent-glow:  rgba(79, 142, 247, 0.15);
  --color-accent-2:     #8B5CF6;
  --color-gradient:     linear-gradient(135deg, #4F8EF7 0%, #8B5CF6 100%);
  --color-gradient-subtle: linear-gradient(135deg, rgba(79,142,247,0.08) 0%, rgba(139,92,246,0.08) 100%);

  /* ── Text ── */
  --color-text-primary: #F0F2F8;
  --color-text-body:    #9CA3B8;
  --color-text-muted:   #555E78;

  /* ── Feedback ── */
  --color-success: #22C55E;
  --color-error:   #EF4444;
  --color-error-glow: rgba(239, 68, 68, 0.10);

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

  /* ── Type 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:  clamp(1.875rem, 3vw, 2.25rem);
  --text-4xl:  clamp(2.25rem, 4vw, 3rem);
  --text-hero: clamp(2.5rem, 5vw, 3.75rem);

  /* ── Font Weights ── */
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  /* ── Line Heights ── */
  --lh-tight:  1.1;
  --lh-snug:   1.3;
  --lh-normal: 1.5;
  --lh-relaxed: 1.65;
  --lh-loose:  1.8;

  /* ── Spacing Scale (8-point) ── */
  --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;

  /* Responsive section padding */
  --space-section: clamp(4rem, 8vw, 7rem);

  /* ── Border Radius ── */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   20px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-card:  0 1px 3px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.3);
  --shadow-hover: 0 8px 32px rgba(79, 142, 247, 0.18);
  --shadow-glow:  0 0 40px rgba(79, 142, 247, 0.12);
  --shadow-btn:   0 4px 24px rgba(79, 142, 247, 0.30);

  /* ── Transitions ── */
  --transition-fast:   0.15s ease;
  --transition-base:   0.2s ease;
  --transition-slow:   0.3s ease;
  --transition-card:   transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;

  /* ── Layout ── */
  --container-max:  1200px;
  --container-pad:  var(--space-6);
  --nav-height:     72px;
}
