/* =====================================================
   iHQmail — Antigravity Design System
   CSS Custom Properties (Design Tokens)
   ===================================================== */

:root {
  /* ─────────────────────────────────────────────────────
     COLOR PALETTE — Cyber Cyan / Deep Space
     ───────────────────────────────────────────────────── */
  
  /* Primary Background Gradient */
  --color-bg-primary: #0a0a0f;
  --color-bg-secondary: #0d0d14;
  --color-bg-tertiary: #12121a;
  --color-bg-elevated: #1a1a24;
  
  /* Neon Cyan Spectrum */
  --color-cyan-400: #00f0ff;
  --color-cyan-500: #00d4e6;
  --color-cyan-600: #00b8cc;
  --color-cyan-glow: rgba(0, 240, 255, 0.4);
  --color-cyan-subtle: rgba(0, 240, 255, 0.1);
  
  /* Accent Blues */
  --color-blue-400: #7b9fff;
  --color-blue-500: #4d7cff;
  --color-blue-600: #3366ff;
  --color-blue-glow: rgba(77, 124, 255, 0.3);
  
  /* Text Colors */
  --color-text-primary: #ffffff;
  --color-text-secondary: #a0a0b0;
  --color-text-muted: #6b6b7b;
  --color-text-inverse: #0a0a0f;
  
  /* Semantic Colors */
  --color-success: #00e676;
  --color-warning: #ffab00;
  --color-error: #ff5252;
  
  /* Glassmorphism */
  --glass-bg: rgba(18, 18, 26, 0.7);
  --glass-border: rgba(0, 240, 255, 0.15);
  --glass-blur: 20px;
  
  /* ─────────────────────────────────────────────────────
     TYPOGRAPHY
     ───────────────────────────────────────────────────── */
  
  /* Font Families */
  --font-heading: 'Space Grotesk', -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: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --text-4xl: clamp(2.5rem, 2rem + 3vw, 4rem);
  --text-5xl: clamp(3rem, 2.5rem + 4vw, 5rem);
  
  /* Font Weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  
  /* Line Heights */
  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;
  
  /* Letter Spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.1em;
  
  /* ─────────────────────────────────────────────────────
     SPACING — 8px Base Grid
     ───────────────────────────────────────────────────── */
  
  --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 */
  
  /* ─────────────────────────────────────────────────────
     BORDERS & RADIUS
     ───────────────────────────────────────────────────── */
  
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  --border-thin: 1px;
  --border-medium: 2px;
  
  /* ─────────────────────────────────────────────────────
     SHADOWS & EFFECTS
     ───────────────────────────────────────────────────── */
  
  --shadow-sm: 0 2px 4px 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-cyan: 0 0 20px var(--color-cyan-glow), 0 0 40px rgba(0, 240, 255, 0.2);
  --shadow-glow-blue: 0 0 20px var(--color-blue-glow), 0 0 40px rgba(77, 124, 255, 0.15);
  
  /* ─────────────────────────────────────────────────────
     TRANSITIONS
     ───────────────────────────────────────────────────── */
  
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-float: 3000ms ease-in-out;
  
  /* ─────────────────────────────────────────────────────
     Z-INDEX SCALE
     ───────────────────────────────────────────────────── */
  
  --z-base: 0;
  --z-elevated: 10;
  --z-sticky: 100;
  --z-modal: 1000;
  --z-tooltip: 1100;
  
  /* ─────────────────────────────────────────────────────
     LAYOUT
     ───────────────────────────────────────────────────── */
  
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1440px;
  
  --header-height: 80px;
}
