/* ─────────────────────────────────────────────────────────────────────────────
   PrestigeListens — Global Design System v2
   Ultra-premium dark mode | Glassmorphism | Custom everything
───────────────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&family=Space+Grotesk:wght@400;500;600;700;800&display=swap');

/* ── CSS Variables ─────────────────────────────────────────────────────────── */
:root {
  --bg-primary:       #03050f;
  --bg-secondary:     #060a18;
  --bg-card:          rgba(10, 15, 30, 0.9);
  --bg-glass:         rgba(255, 255, 255, 0.035);
  --bg-glass-hover:   rgba(255, 255, 255, 0.065);
  --bg-glass-active:  rgba(255, 255, 255, 0.09);

  --accent-blue:      #4f8ef7;
  --accent-purple:    #9d6ffe;
  --accent-cyan:      #22d3ee;
  --accent-emerald:   #10b981;
  --accent-red:       #f43f5e;
  --accent-amber:     #fbbf24;
  --accent-gold:      #f0b429;

  --dovish:           #10b981;
  --dovish-glow:      rgba(16, 185, 129, 0.25);
  --hawkish:          #f43f5e;
  --hawkish-glow:     rgba(244, 63, 94, 0.25);
  --neutral:          #fbbf24;
  --neutral-glow:     rgba(251, 191, 36, 0.2);

  --pump:             #10b981;
  --dump:             #f43f5e;
  --watch:            #fbbf24;

  --text-primary:     #eef2ff;
  --text-secondary:   rgba(180, 200, 255, 0.65);
  --text-muted:       rgba(130, 155, 215, 0.45);
  --text-accent:      #c4b5fd;

  --border:           rgba(255, 255, 255, 0.07);
  --border-glow:      rgba(157, 111, 254, 0.4);
  --border-hover:     rgba(255, 255, 255, 0.14);

  --gradient-brand:   linear-gradient(135deg, #4f8ef7 0%, #9d6ffe 50%, #22d3ee 100%);
  --gradient-brand-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-dark:    linear-gradient(180deg, #060a18 0%, #03050f 100%);
  --gradient-dovish:  linear-gradient(135deg, #059669 0%, #10b981 100%);
  --gradient-hawkish: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%);
  --gradient-card:    linear-gradient(135deg, rgba(79,142,247,0.06) 0%, rgba(157,111,254,0.06) 100%);
  --gradient-gold:    linear-gradient(135deg, #f0b429 0%, #fbbf24 100%);

  --shadow-glow:      0 0 60px rgba(157, 111, 254, 0.12);
  --shadow-card:      0 8px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.06);
  --shadow-card-hover:0 16px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.1), 0 0 40px rgba(157,111,254,0.1);
  --shadow-btn:       0 4px 24px rgba(157, 111, 254, 0.45);
  --shadow-btn-hover: 0 8px 36px rgba(157, 111, 254, 0.65);
  --shadow-inset:     inset 0 1px 0 rgba(255,255,255,0.06);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 36px;
  --radius-full: 9999px;

  --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  --font-main: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Animated background ─────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 15% -15%, rgba(157,111,254,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 70% 50% at 85% 115%, rgba(79,142,247,0.1) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 50% 60%, rgba(34,211,238,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.025) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ── Scrollbar ────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(157,111,254,0.35); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: rgba(157,111,254,0.6); }

/* ── Typography ───────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted { color: var(--text-secondary); }
.text-xs { font-size: 0.72rem; }
.text-sm { font-size: 0.875rem; }
.text-mono { font-family: var(--font-mono); }

/* ── Layout ───────────────────────────────────────────────────────────────── */
.container { max-width: 1300px; margin: 0 auto; padding: 0 28px; }
.page-wrapper { position: relative; z-index: 1; }

/* ── Glass Card ───────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-card), var(--shadow-inset);
  transition: var(--transition);
}
.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card-hover);
}
.card-glow {
  box-shadow: var(--shadow-card), 0 0 60px rgba(157,111,254,0.15), var(--shadow-inset);
}

/* ── Custom Unique Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  user-select: none;
  z-index: 1;
}

/* Dynamic light sheen sweep on hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  transition: left 0.65s cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: none;
  z-index: 2;
}

.btn:hover::before {
  left: 170%;
}

.btn:active {
  transform: scale(0.97) translateY(1px);
}

/* Primary — Multilayer glowing gradient brand button */
.btn-primary {
  background: linear-gradient(135deg, #4f8ef7 0%, #8b5cf6 50%, #d946ef 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 
    0 4px 20px -2px rgba(99, 102, 241, 0.5),
    0 0 16px rgba(139, 92, 246, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #60a5fa 0%, #9333ea 50%, #ec4899 100%);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 8px 30px -4px rgba(99, 102, 241, 0.7),
    0 0 28px rgba(168, 85, 247, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

/* Ghost / Crystal Glass */
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(167, 139, 250, 0.5);
  color: #ffffff;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 6px 24px rgba(139, 92, 246, 0.2);
  transform: translateY(-2px);
}

/* Outline — Neon Accent */
.btn-outline {
  background: transparent;
  color: #c4b5fd;
  border: 1px solid rgba(167, 139, 250, 0.45);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.12);
}

.btn-outline:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(167, 139, 250, 0.85);
  color: #ffffff;
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.35);
  transform: translateY(-2px);
}

/* Danger — Ruby Flame */
.btn-danger {
  background: linear-gradient(135deg, #e11d48 0%, #f43f5e 50%, #fb7185 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 4px 20px rgba(244, 63, 94, 0.4),
    0 0 18px rgba(225, 29, 72, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-danger:hover {
  background: linear-gradient(135deg, #be123c 0%, #e11d48 50%, #f43f5e 100%);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 
    0 8px 30px rgba(244, 63, 94, 0.65),
    0 0 26px rgba(244, 63, 94, 0.45);
  transform: translateY(-2px);
}

/* Success / Dovish — Emerald Neon */
.btn-success {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 
    0 4px 20px rgba(16, 185, 129, 0.35),
    0 0 18px rgba(16, 185, 129, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-success:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 50%, #10b981 100%);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 8px 30px rgba(16, 185, 129, 0.55),
    0 0 28px rgba(52, 211, 153, 0.4);
  transform: translateY(-2px);
}

/* Gold / VIP / Admin Button */
.btn-gold {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);
  color: #1a0f00;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 4px 20px rgba(245, 158, 11, 0.45),
    0 0 18px rgba(251, 191, 36, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #f59e0b 100%);
  color: #ffffff;
  box-shadow: 
    0 8px 30px rgba(245, 158, 11, 0.65),
    0 0 28px rgba(251, 191, 36, 0.5);
  transform: translateY(-2px);
}

/* Cyber Pulse Button */
.btn-cyber {
  background: rgba(15, 23, 42, 0.85);
  color: #38bdf8;
  border: 1px solid #38bdf8;
  position: relative;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25), inset 0 0 10px rgba(56, 189, 248, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.82rem;
}

.btn-cyber:hover {
  background: #38bdf8;
  color: #030712;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.65);
  transform: translateY(-2px);
}

/* Sizes */
.btn-sm { padding: 8px 16px; font-size: 0.8rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 15px 34px; font-size: 1.02rem; border-radius: var(--radius-lg); }
.btn-xl { padding: 19px 44px; font-size: 1.15rem; border-radius: var(--radius-lg); }
.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-icon.btn-sm { width: 32px; height: 32px; border-radius: var(--radius-sm); }
.btn-icon.btn-lg { width: 48px; height: 48px; border-radius: var(--radius-lg); }

/* Loading state */
.btn-loading {
  pointer-events: none;
  opacity: 0.75;
}
.btn-loading::before {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  flex-shrink: 0;
}

/* ── Forms ────────────────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.form-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-input:focus {
  border-color: rgba(157,111,254,0.6);
  box-shadow: 0 0 0 3px rgba(157,111,254,0.12), inset 0 0 0 1px rgba(157,111,254,0.1);
  background: rgba(255,255,255,0.07);
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:hover:not(:focus) { border-color: var(--border-hover); background: rgba(255,255,255,0.05); }

/* ── Navigation ───────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 28px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(3, 5, 15, 0.8);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(79, 142, 247, 0.6)) drop-shadow(0 0 20px rgba(157, 111, 254, 0.45));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  flex-shrink: 0;
}

.nav-logo:hover .logo-img {
  transform: scale(1.1) rotate(-3deg);
  filter: drop-shadow(0 0 16px rgba(79, 142, 247, 0.85)) drop-shadow(0 0 28px rgba(157, 111, 254, 0.65));
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--gradient-brand);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(157,111,254,0.4);
}
.logo-icon svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: var(--bg-glass);
}

/* ── Badges ───────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-main);
}
.badge-dovish { background: rgba(16,185,129,0.12); color: var(--dovish); border: 1px solid rgba(16,185,129,0.28); }
.badge-hawkish { background: rgba(244,63,94,0.12); color: var(--hawkish); border: 1px solid rgba(244,63,94,0.28); }
.badge-neutral { background: rgba(251,191,36,0.12); color: var(--neutral); border: 1px solid rgba(251,191,36,0.28); }
.badge-pump { background: rgba(16,185,129,0.15); color: var(--dovish); border: 1px solid rgba(16,185,129,0.35); }
.badge-dump { background: rgba(244,63,94,0.15); color: var(--hawkish); border: 1px solid rgba(244,63,94,0.35); }
.badge-watch { background: rgba(251,191,36,0.15); color: var(--neutral); border: 1px solid rgba(251,191,36,0.35); }
.badge-live { background: rgba(244,63,94,0.12); color: #fb7185; border: 1px solid rgba(244,63,94,0.28); animation: pulse-badge 2s infinite; }
.badge-pro { background: linear-gradient(135deg, rgba(157,111,254,0.35), rgba(79,142,247,0.35)); color: #ffffff; border: 1px solid rgba(157,111,254,0.5); }

/* Universal Button Reset */
button {
  font-family: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

/* Most Popular Plan Badge - Opaque to prevent card border line interference */
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 18px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  background: #0d1226 !important;
  background-image: linear-gradient(135deg, #7c3aed, #3b82f6) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.5), 0 0 0 3px #070b19 !important;
}

.hero-mode-btn {
  -webkit-appearance: none !important;
  appearance: none !important;
  outline: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 22px !important;
  border-radius: 9999px !important;
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #94a3b8 !important;
  font-family: var(--font-main) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  backdrop-filter: blur(14px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.hero-mode-btn:hover {
  background: rgba(30, 41, 69, 0.85) !important;
  color: #ffffff !important;
  border-color: rgba(157, 111, 254, 0.5) !important;
  transform: translateY(-2px) !important;
}

.hero-mode-btn.active {
  background: linear-gradient(135deg, rgba(79, 142, 247, 0.35) 0%, rgba(157, 111, 254, 0.45) 100%) !important;
  border-color: #a855f7 !important;
  color: #ffffff !important;
  box-shadow: 0 0 25px rgba(157, 111, 254, 0.5), 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.usecase-tab-btn {
  -webkit-appearance: none !important;
  appearance: none !important;
  outline: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 12px 24px !important;
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 9999px !important;
  color: #94a3b8 !important;
  font-family: var(--font-main) !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  backdrop-filter: blur(14px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.usecase-tab-btn:hover {
  color: #ffffff !important;
  background: rgba(30, 41, 69, 0.85) !important;
  border-color: rgba(157, 111, 254, 0.5) !important;
  transform: translateY(-2px) !important;
}

.usecase-tab-btn.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(79, 142, 247, 0.35) 0%, rgba(157, 111, 254, 0.45) 100%) !important;
  border-color: #a855f7 !important;
  box-shadow: 0 0 28px rgba(157, 111, 254, 0.5), 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* ── Animations ───────────────────────────────────────────────────────────── */
@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
}
@keyframes slide-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slide-down {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes shimmer {
  0% { background-position: -300% center; }
  100% { background-position: 300% center; }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(157,111,254,0.25); }
  50% { box-shadow: 0 0 50px rgba(157,111,254,0.55), 0 0 90px rgba(157,111,254,0.15); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes scan-line {
  0% { top: 0; }
  100% { top: 100%; }
}
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.animate-slide-up { animation: slide-up 0.4s ease forwards; }
.animate-fade-in { animation: fade-in 0.3s ease forwards; }
.animate-float { animation: float 4s ease-in-out infinite; }

/* ── Live indicator ────────────────────────────────────────────────────────── */
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f43f5e;
  display: inline-block;
  animation: pulse-dot 1.5s infinite;
  flex-shrink: 0;
}
.live-dot-green {
  background: #10b981;
  animation: pulse-dot 2s infinite;
}

/* ── Loading skeleton ──────────────────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 300% 100%;
  animation: shimmer 1.8s infinite;
  border-radius: var(--radius-sm);
}

/* ── Toast notifications ───────────────────────────────────────────────────── */
#toast-container {
  position: fixed;
  top: 80px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  background: rgba(10, 15, 35, 0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(24px);
  animation: slide-up 0.3s ease, fade-in 0.3s ease;
  pointer-events: all;
  min-width: 280px;
  max-width: 380px;
  box-shadow: var(--shadow-card);
  font-family: var(--font-body);
  font-size: 0.875rem;
}
.toast-success { border-left: 3px solid var(--dovish); }
.toast-error { border-left: 3px solid var(--hawkish); }
.toast-warning { border-left: 3px solid var(--neutral); }
.toast-info { border-left: 3px solid var(--accent-blue); }

/* ── Modal ────────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 15, 0.8);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  animation: fade-in 0.2s ease;
}
.modal {
  background: rgba(8, 12, 28, 0.97);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 540px;
  width: 92%;
  box-shadow: var(--shadow-card), 0 0 100px rgba(157,111,254,0.15);
  animation: slide-up 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-title { font-family: var(--font-main); font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 0.85rem;
}
.modal-close:hover { color: var(--text-primary); background: var(--bg-glass-hover); border-color: var(--border-hover); }

/* ── Divider ──────────────────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

/* ── Utility ──────────────────────────────────────────────────────────────── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.relative { position: relative; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.text-center { text-align: center; }

/* ── Pricing Page & Billing Toggle ────────────────────────────────────────── */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 28px auto 44px auto;
  user-select: none;
  cursor: pointer;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
  width: fit-content;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}
.pricing-toggle:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}
.toggle-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
}
.toggle-label.active {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}
.toggle-switch {
  width: 54px;
  height: 28px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}
.toggle-switch:hover {
  border-color: rgba(255, 255, 255, 0.3);
}
.toggle-switch.active {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.45);
}
.toggle-thumb {
  width: 22px;
  height: 22px;
  background: #ffffff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 3px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
.toggle-switch.active .toggle-thumb {
  transform: translateX(26px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 10px rgba(255, 255, 255, 0.5);
}
.save-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 9999px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.25s ease;
}
.save-badge:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .nav-links .nav-link:not(.btn) { display: none; }
  .hide-mobile { display: none; }
}
