/* ========================================
   DESIGN SYSTEM - CSS CUSTOM PROPERTIES
   ======================================== */

:root {
  /* ===== COLOR PALETTE ===== */

  /* Primary Backgrounds */
  --color-bg-dark: #0B0C15;
  --color-card: #151725;
  --color-card-hover: #1a1d2e;

  /* Accent Colors */
  --color-accent-primary: #6366f1;
  --color-accent-secondary: #818cf8;
  --color-accent-tertiary: #4f46e5;

  /* Text Colors */
  --color-text-primary: #ffffff;
  --color-text-secondary: #cbd5e1;
  --color-text-muted: #94a3b8;

  /* Borders & Overlays */
  --color-border: rgba(255, 255, 255, 0.1);
  --color-overlay: rgba(255, 255, 255, 0.05);
  --color-glow: rgba(99, 102, 241, 0.15);

  /* ===== TYPOGRAPHY ===== */

  /* Font Families */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Fluid Font Sizes */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.5rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.875rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --text-4xl: clamp(2.5rem, 2rem + 2.5vw, 4.5rem);

  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Line Heights */
  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;

  /* ===== SPACING ===== */

  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */

  /* Container Widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1400px;

  /* ===== EFFECTS & SHADOWS ===== */

  /* Glass-morphism */
  --glass-bg: rgba(21, 23, 37, 0.7);
  --glass-blur: blur(12px);
  --glass-border: 1px solid rgba(255, 255, 255, 0.1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 10px 40px -10px rgba(99, 102, 241, 0.2);
  --shadow-glow-hover: 0 20px 60px -10px rgba(99, 102, 241, 0.4);

  /* Border Radius */
  --radius-sm: 0.375rem;  /* 6px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-2xl: 1.5rem;   /* 24px */

  /* ===== TRANSITIONS ===== */

  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  /* ===== BREAKPOINTS (for reference in media queries) ===== */

  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;
}
