/* ============================================
   JAMWEB.SPACE - Design Tokens & Variables
   Space/Futuristic Dark Mode Theme
   ============================================ */

:root {
  /* ─────────────────────────────────────────
     COLOR PALETTE - Neon Space Theme
     ───────────────────────────────────────── */
  
  /* Primary Neon Accent */
  --color-neon: #00e2b7;
  --color-neon-light: #33e9c5;
  --color-neon-dark: #00b896;
  --color-neon-glow: rgba(0, 226, 183, 0.4);
  --color-neon-glow-strong: rgba(0, 226, 183, 0.6);
  --color-neon-subtle: rgba(0, 226, 183, 0.1);
  
  /* Dark Backgrounds - Deep Space */
  --color-bg-primary: #0a0a0f;
  --color-bg-secondary: #111116;
  --color-bg-tertiary: #16161d;
  --color-bg-card: #1a1a22;
  --color-bg-card-hover: #1f1f28;
  --color-bg-elevated: #222230;
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0a0a0f 0%, #111116 50%, #0d0d14 100%);
  --gradient-card: linear-gradient(145deg, #1a1a22 0%, #151520 100%);
  --gradient-neon: linear-gradient(135deg, #00e2b7 0%, #00b896 100%);
  --gradient-space: radial-gradient(ellipse at 50% 0%, rgba(0, 226, 183, 0.05) 0%, transparent 60%);
  
  /* Text Colors */
  --color-text-primary: #ffffff;
  --color-text-secondary: #a0a0b0;
  --color-text-muted: #6a6a78;
  --color-text-inverse: #0a0a0f;
  
  /* Borders */
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-light: rgba(255, 255, 255, 0.12);
  --color-border-neon: rgba(0, 226, 183, 0.3);
  
  /* States */
  --color-success: #00e2b7;
  --color-error: #ff4d6a;
  --color-warning: #ffb84d;
  --color-info: #4db8ff;
  
  /* ─────────────────────────────────────────
     TYPOGRAPHY
     ───────────────────────────────────────── */
  
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Font Sizes - Fluid Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
  --text-5xl: clamp(3rem, 2rem + 5vw, 4.5rem);
  
  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* Line Heights */
  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  
  /* Letter Spacing */
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  
  /* ─────────────────────────────────────────
     SPACING
     ───────────────────────────────────────── */
  
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */
  
  /* Container */
  --container-xs: 480px;
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1440px;
  
  /* ─────────────────────────────────────────
     BORDERS & RADIUS
     ───────────────────────────────────────── */
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  
  /* ─────────────────────────────────────────
     SHADOWS & EFFECTS
     ───────────────────────────────────────── */
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  
  /* Neon Glow Shadows */
  --shadow-neon-sm: 0 0 10px var(--color-neon-glow);
  --shadow-neon-md: 0 0 20px var(--color-neon-glow), 0 0 40px rgba(0, 226, 183, 0.2);
  --shadow-neon-lg: 0 0 30px var(--color-neon-glow-strong), 0 0 60px var(--color-neon-glow);
  
  /* Card Shadows */
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--color-neon-glow);
  
  /* ─────────────────────────────────────────
     TRANSITIONS
     ───────────────────────────────────────── */
  
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* ─────────────────────────────────────────
     Z-INDEX SCALE
     ───────────────────────────────────────── */
  
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-tooltip: 600;
  --z-toast: 700;
}
