/* ============================================
   AuthLN Design System — CSS Custom Properties
   ============================================ */

:root {
  /* ---- Backgrounds ---- */
  --bg-primary: #0a0e1a;
  --bg-secondary: #1a1f2e;
  --bg-tertiary: #242a3d;
  --bg-surface: #2d3548;
  --bg-elevated: #353d52;

  /* ---- Accent Colors ---- */
  --accent-orange: #f7931a;
  --accent-orange-hover: #ff9f2f;
  --accent-orange-glow: rgba(247, 147, 26, 0.25);
  --accent-cyan: #00d4ff;
  --accent-cyan-hover: #33ddff;
  --accent-cyan-glow: rgba(0, 212, 255, 0.2);

  /* ---- Text ---- */
  --text-primary: #f0f0f5;
  --text-secondary: #a0a8c0;
  --text-tertiary: #6b7280;
  --text-inverse: #0a0e1a;

  /* ---- Status ---- */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  /* ---- Borders ---- */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-accent: var(--accent-cyan);

  /* ---- Spacing Scale (8px base) ---- */
  --space-2xs: 0.125rem;  /* 2px  */
  --space-xs: 0.25rem;    /* 4px  */
  --space-sm: 0.5rem;     /* 8px  */
  --space-md: 1rem;       /* 16px */
  --space-lg: 1.5rem;     /* 24px */
  --space-xl: 2rem;       /* 32px */
  --space-2xl: 3rem;      /* 48px */
  --space-3xl: 4rem;      /* 64px */
  --space-4xl: 6rem;      /* 96px */
  --space-5xl: 8rem;      /* 128px */

  /* ---- Typography ---- */
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
  --text-5xl: 3rem;       /* 48px */
  --text-6xl: 3.75rem;    /* 60px */
  --text-7xl: 4.5rem;     /* 72px */

  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.1em;

  /* ---- Layout ---- */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;
  --container-2xl: 1400px;

  /* ---- Borders & Radius ---- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* ---- Shadows ---- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow-orange: 0 0 20px var(--accent-orange-glow);
  --shadow-glow-cyan: 0 0 20px var(--accent-cyan-glow);

  /* ---- Transitions ---- */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* ---- Z-Index Scale ---- */
  --z-below: -1;
  --z-base: 0;
  --z-above: 10;
  --z-nav: 100;
  --z-modal-backdrop: 200;
  --z-modal: 300;
  --z-toast: 400;
}
