/* ============================================
   IEFYX DESIGN TOKENS
   Derived from primary brand login surface
   ============================================ */

:root {
  /* ---- Color: Surfaces ---- */
  --color-bg: #0A0E1B;
  --color-bg-elevated: #0F1424;
  --color-bg-panel: #11172B;
  --color-glass: rgba(255, 255, 255, 0.035);
  --color-glass-border: rgba(255, 255, 255, 0.08);
  --color-glass-hover: rgba(255, 255, 255, 0.06);

  /* ---- Color: Brand ---- */
  --color-primary: #7C5CFF;
  --color-primary-light: #9B82FF;
  --color-primary-dark: #5B3FE0;
  --color-lime: #A3E635;
  --color-cyan: #22D3EE;

  /* ---- Color: Text ---- */
  --color-text: #F8FAFC;
  --color-text-muted: #94A3B8;
  --color-text-faint: #5B6478;

  /* ---- Color: Semantic ---- */
  --color-success: #34D399;
  --color-warning: #FBBF24;
  --color-danger: #F87171;

  /* ---- Gradients ---- */
  --gradient-primary: linear-gradient(135deg, #7C5CFF 0%, #5B3FE0 100%);
  --gradient-accent: linear-gradient(135deg, #7C5CFF 0%, #22D3EE 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(124, 92, 255, 0.25), transparent 60%);
  --gradient-glow-soft: radial-gradient(circle, rgba(124, 92, 255, 0.18), transparent 70%);
  --gradient-text: linear-gradient(135deg, #F8FAFC 0%, #C4B5FD 100%);

  /* ---- Typography ---- */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --fs-display-xl: clamp(2.75rem, 5.5vw, 5rem);
  --fs-display-lg: clamp(2.25rem, 4.2vw, 3.5rem);
  --fs-display-md: clamp(1.75rem, 3vw, 2.5rem);
  --fs-display-sm: clamp(1.375rem, 2vw, 1.75rem);
  --fs-body-lg: 1.125rem;
  --fs-body: 1rem;
  --fs-body-sm: 0.9375rem;
  --fs-caption: 0.8125rem;

  --lh-tight: 1.1;
  --lh-snug: 1.3;
  --lh-normal: 1.6;
  --lh-relaxed: 1.75;

  /* ---- Spacing ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --space-16: 7rem;
  --space-20: 9rem;

  /* ---- Radius ---- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 999px;

  /* ---- Shadows ---- */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 8px 32px rgba(124, 92, 255, 0.25);
  --shadow-glow-lg: 0 16px 64px rgba(124, 92, 255, 0.3);

  /* ---- Transitions ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 0.18s var(--ease-out);
  --transition-base: 0.32s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);

  /* ---- Layout ---- */
  --container-max: 1280px;
  --header-height: 80px;
  --blur-glass: blur(20px);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
