/* ============================================
   FITIVA PRO, SHARED STYLES
   Apple-inspired design system
   ============================================ */

:root {
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-50: #eef2ff;
  --purple-600: #7c3aed;
  --purple-500: #a855f7;
  --solid-fallback: #5b3fd6;
  --cyan-500: #06b6d4;
  --emerald-500: #10b981;
  --emerald-50: #ecfdf5;
  --amber-500: #f59e0b;
  --red-500: #ef4444;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --hero-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
  --soft-shadow: 0 20px 50px -20px rgba(99, 102, 241, 0.25);
  --card-shadow: 0 4px 24px -8px rgba(99, 102, 241, 0.15);
  --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--font-stack);
  color: var(--slate-900);
  background: var(--white);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   NAVIGATION (Apple-style sticky blur)
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  /* Solid white so the nav is visually distinct from the purple hero
     below — no more blending into a tall lavender band. */
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
  transition: background 0.3s ease;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;             /* original height — no thicker */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo + Private-Beta badge grouped as one left-hand unit */
.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Desktop: 3-zone grid so the menu is truly centered
   (logo left · menu centered · balanced empty zone right).
   Below 1100px the mobile hamburger takes over, so this is desktop-only. */
@media (min-width: 1101px) {
  .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .nav-collapse { display: contents; }   /* wrapper dissolves -> 3 real grid zones */
  .nav-left    { justify-self: start; }
  .nav-links   { justify-self: center; }  /* page links: truly centered */
  .nav-actions { justify-self: end; }     /* language + sign in + CTA: right */
}

/* Right-hand action group (language · sign in · CTA) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-actions a:not(.nav-cta) {
  font-size: 13px;
  color: var(--slate-900);
  font-weight: 400;
  transition: opacity 0.2s;
}
.nav-actions a:not(.nav-cta):hover { opacity: 0.6; }
.nav-actions .lang-switch { margin-right: 0; }

/* Nav items — simple, flat, no height:100% magic.
   Each link is its own flex container, vertically centered with the nav. */
.nav-links li,
.nav-links a {
  display: flex;
  align-items: center;
  line-height: 1.2;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: var(--slate-900);
  line-height: 1.2;
}

.nav-brand-pro { color: var(--purple-600); font-weight: 500; margin-left: 2px; }

.logo-mark {
  width: 28px; height: 28px;
  background: var(--white);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  color: var(--slate-900);
  font-weight: 400;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 0.6; }
.nav-links a.current { color: var(--purple-600); font-weight: 500; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background: var(--slate-900);
  color: var(--white) !important;
  border-radius: 980px;
  font-weight: 500;
  font-size: 13px;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }
.nav-cta.current { color: var(--white) !important; }

/* Language switcher pills */
.lang-switch {
  display: inline-flex;
  background: var(--slate-100);
  border-radius: 999px;
  padding: 3px;
  margin-right: 8px;
}
.lang-pill {
  padding: 4px 10px;
  border: none;
  background: transparent;
  color: var(--slate-500);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 999px;
  font-family: inherit;
  transition: all 0.2s;
}
.lang-pill:hover { color: var(--slate-900); }
.lang-pill.active {
  background: var(--white);
  color: var(--slate-900);
  box-shadow: 0 1px 3px rgba(15,23,42,0.1);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-align: center;
  font-family: inherit;
}

.btn-primary { background: var(--white); color: var(--purple-600); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0,0,0,0.15); }

.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-secondary:hover { background: rgba(255,255,255,0.22); }

.btn-dark { background: var(--slate-900); color: var(--white); }
.btn-dark:hover { background: #1e293b; transform: translateY(-1px); }

.btn-gradient {
  background: var(--hero-gradient);
  background-color: var(--solid-fallback);
  color: var(--white);
}
.btn-gradient:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(99,102,241,0.3); }

.btn-outline {
  background: transparent;
  color: var(--purple-600);
  border: 1.5px solid var(--purple-600);
}
.btn-outline:hover { background: var(--purple-600); color: var(--white); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: var(--hero-gradient);
  background-color: var(--solid-fallback);
  color: var(--white);
  padding: 160px 24px 100px;
  overflow: hidden;
  text-align: center;
}

.hero.full { min-height: 100vh; display: flex; align-items: center; justify-content: center; }

.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  filter: blur(40px);
}
.hero::before { width: 500px; height: 500px; top: -200px; right: -150px; }
.hero::after { width: 400px; height: 400px; bottom: -150px; left: -100px; }

.hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }

.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero h1.small { font-size: clamp(40px, 6vw, 68px); }

.hero-sub {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 auto 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}
.hero-trust span { display: flex; align-items: center; gap: 8px; }

/* ============================================
   SECTION GENERIC
   ============================================ */
section { padding: 120px 24px; }

.section-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-600);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--slate-900);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 19px;
  color: var(--slate-600);
  max-width: 640px;
  line-height: 1.5;
}

.section-head { text-align: center; margin: 0 auto 64px; max-width: 800px; }
.section-head .section-sub { margin: 0 auto; }

/* ============================================
   TRUST STRIP
   ============================================ */
.trust {
  padding: 56px 24px;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--slate-500);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-item svg { color: var(--purple-600); }

/* ============================================
   TABS (Apple pill toggle)
   ============================================ */
.tabs {
  display: inline-flex;
  background: var(--slate-100);
  border-radius: 999px;
  padding: 4px;
  margin: 0 auto 64px;
}
.tab-wrap { text-align: center; }

.tab {
  padding: 10px 28px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--slate-600);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.tab.active {
  background: var(--white);
  color: var(--slate-900);
  box-shadow: 0 2px 8px rgba(15,23,42,0.08);
}

/* ============================================
   STEPS
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step { text-align: center; padding: 32px; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--indigo-50);
  color: var(--purple-600);
  border-radius: 16px;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}

.step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.step p { color: var(--slate-600); font-size: 15px; }

/* ============================================
   FEATURE GRID
   ============================================ */
.features { background: var(--slate-50); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  background: var(--white);
  padding: 32px;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--soft-shadow);
}

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--indigo-50);
  color: var(--purple-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.feature h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature p {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.5;
}

.clients-section { background: var(--white); }
.clients-section .feature-icon { background: var(--emerald-50); color: var(--emerald-500); }
.clients-section .section-eyebrow { color: var(--emerald-500); }

/* ============================================
   AI / AVA
   ============================================ */
.ai-section { background: linear-gradient(180deg, var(--white) 0%, var(--slate-50) 100%); }

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ai-content h2 { margin-bottom: 24px; }
.ai-content p { font-size: 18px; color: var(--slate-600); margin-bottom: 32px; }

.ai-features { list-style: none; display: grid; gap: 16px; }
.ai-features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--slate-700);
}
.ai-features svg {
  flex-shrink: 0;
  color: var(--purple-600);
  margin-top: 2px;
}

.chat-mockup {
  background: var(--white);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--soft-shadow);
  border: 1px solid var(--slate-100);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-100);
  margin-bottom: 20px;
}

.ava-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--hero-gradient);
  background-color: var(--solid-fallback);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
}

.chat-name { font-weight: 600; font-size: 14px; }
.chat-status { font-size: 12px; color: var(--emerald-500); display: flex; align-items: center; gap: 6px; }
.chat-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald-500);
}

.chat-messages { display: flex; flex-direction: column; gap: 12px; }
.bubble {
  padding: 12px 16px;
  border-radius: 18px;
  max-width: 85%;
  font-size: 14px;
  line-height: 1.4;
}
.bubble.from {
  background: var(--slate-100);
  color: var(--slate-900);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.bubble.to {
  background: var(--hero-gradient);
  background-color: var(--solid-fallback);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* ============================================
   PRICING
   ============================================ */
.pricing { background: var(--white); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 24px;
  padding: 40px 32px;
  position: relative;
  transition: all 0.3s ease;
}
.price-card:hover {
  border-color: var(--indigo-500);
  transform: translateY(-4px);
  box-shadow: var(--soft-shadow);
}

.price-card.featured {
  background: var(--hero-gradient);
  background-color: var(--solid-fallback);
  color: var(--white);
  border: none;
  transform: scale(1.03);
}
.price-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 30px 60px rgba(124,58,237,0.3);
}

.price-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.price-card .price-desc { font-size: 14px; opacity: 0.8; margin-bottom: 24px; }
.price-card.featured .price-desc { color: rgba(255,255,255,0.8); }

.price-amount {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.price-amount span { font-size: 17px; font-weight: 500; opacity: 0.7; }
.price-note { font-size: 13px; opacity: 0.7; margin-bottom: 28px; }

.price-features { list-style: none; margin-bottom: 28px; display: grid; gap: 12px; }
.price-features li {
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.price-features svg { flex-shrink: 0; margin-top: 2px; }
.price-card:not(.featured) .price-features svg { color: var(--emerald-500); }
.price-card.featured .price-features svg { color: var(--white); }

.price-btn {
  display: inline-flex;            /* works for both <button> and <a> */
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s;
  white-space: nowrap;             /* keep CTA on a single line */
}
/* Responsive: allow wrap on narrow viewports so text doesn't clip */
@media (max-width: 480px) {
  .price-btn { white-space: normal; padding: 14px 16px; }
}
.price-card:not(.featured) .price-btn {
  background: var(--slate-900);
  color: var(--white);
}
.price-card:not(.featured) .price-btn:hover { background: var(--slate-700); }
.price-card.featured .price-btn { background: var(--white); color: var(--purple-600); }
.price-card.featured .price-btn:hover { background: var(--slate-100); }

/* ============================================
   FAQ
   ============================================ */
.faq { background: var(--slate-50); }

.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--slate-200);
  padding: 24px 0;
  cursor: pointer;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  color: var(--slate-900);
  letter-spacing: -0.01em;
}

.faq-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--indigo-50);
  color: var(--purple-600);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding-top 0.3s ease;
  color: var(--slate-600);
  font-size: 15px;
  line-height: 1.6;
}

.faq-item.open .faq-a { max-height: 400px; padding-top: 16px; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  background: var(--hero-gradient);
  background-color: var(--solid-fallback);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  top: -300px; left: 50%; transform: translateX(-50%);
  filter: blur(60px);
}
.final-cta .section-title { color: var(--white); position: relative; z-index: 2; }
.final-cta .section-sub { color: rgba(255,255,255,0.85); position: relative; z-index: 2; }
.final-cta .hero-ctas { position: relative; z-index: 2; margin-top: 40px; }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--slate-900);
  color: rgba(255,255,255,0.7);
  padding: 80px 24px 32px;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 48px;
}

.footer-brand {
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
}
.footer-tag {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  line-height: 1.5;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.footer-meta { display: flex; gap: 24px; flex-wrap: wrap; }

/* ============================================
   PAGE HEADER (for subpages)
   ============================================ */
.page-header {
  padding: 140px 24px 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%);
}
.page-header h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--slate-900);
}
.page-header .page-sub {
  font-size: 20px;
  color: var(--slate-600);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}
.page-header .section-eyebrow { display: inline-block; margin-bottom: 16px; }

/* ============================================
   STATS
   ============================================ */
.stats {
  background: var(--white);
  padding: 80px 24px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.stat-num {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--hero-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label { color: var(--slate-600); font-size: 15px; }

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial-section {
  background: var(--slate-50);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--white);
  padding: 32px;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}
.testimonial-stars { color: var(--amber-500); margin-bottom: 16px; display: flex; gap: 2px; }
.testimonial-quote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-700);
  margin-bottom: 24px;
  font-weight: 500;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--hero-gradient);
  background-color: var(--solid-fallback);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
}
.testimonial-name { font-weight: 600; font-size: 14px; }
.testimonial-role { font-size: 13px; color: var(--slate-500); }

/* ============================================
   MAP PAGE
   ============================================ */
.map-page {
  background: var(--white);
  padding: 0;
  position: relative;
}

.map-controls {
  position: relative;
  z-index: 10;
  background: var(--white);
  padding: 24px;
  border-bottom: 1px solid var(--slate-100);
}

.map-controls-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--slate-100);
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-700);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.filter-chip:hover { background: var(--slate-200); }
.filter-chip.active {
  background: var(--indigo-50);
  border-color: var(--purple-600);
  color: var(--purple-600);
}

.filter-chip .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.filter-chip[data-type="gym"] .dot { background: var(--purple-600); }
.filter-chip[data-type="hyrox"] .dot { background: var(--red-500); }
.filter-chip[data-type="pilates"] .dot { background: var(--emerald-500); }
.filter-chip[data-type="padel"] .dot { background: var(--cyan-500); }
.filter-chip[data-type="runclub"] .dot { background: #ec4899; }
.filter-chip[data-type="event"] .dot { background: var(--amber-500); }

.map-search {
  flex: 1;
  min-width: 240px;
  position: relative;
}
.map-search input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.map-search input:focus { border-color: var(--purple-600); }
.map-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-400);
}

.map-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: 720px;
}

.map-sidebar {
  background: var(--slate-50);
  border-right: 1px solid var(--slate-100);
  overflow-y: auto;
  max-height: 720px;
}

.sidebar-header {
  padding: 16px 24px;
  background: var(--white);
  border-bottom: 1px solid var(--slate-100);
  font-size: 13px;
  color: var(--slate-500);
  font-weight: 500;
  position: sticky;
  top: 0;
  z-index: 5;
}
.sidebar-header strong { color: var(--slate-900); font-weight: 600; }

.location-card {
  padding: 16px 24px;
  border-bottom: 1px solid var(--slate-100);
  cursor: pointer;
  transition: background 0.2s;
}
.location-card:hover { background: var(--white); }
.location-card.active { background: var(--white); border-left: 3px solid var(--purple-600); padding-left: 21px; }

.location-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
}
.location-type[data-type="gym"] { background: rgba(124,58,237,0.1); color: var(--purple-600); }
.location-type[data-type="hyrox"] { background: rgba(239,68,68,0.1); color: var(--red-500); }
.location-type[data-type="pilates"] { background: rgba(16,185,129,0.1); color: var(--emerald-500); }
.location-type[data-type="padel"] { background: rgba(6,182,212,0.1); color: var(--cyan-500); }
.location-type[data-type="runclub"] { background: rgba(236,72,153,0.1); color: #ec4899; }
.location-type[data-type="event"] { background: rgba(245,158,11,0.1); color: var(--amber-500); }

.location-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.location-addr {
  font-size: 13px;
  color: var(--slate-500);
  margin-bottom: 8px;
}
.location-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--slate-600);
  align-items: center;
}
.location-rating { color: var(--amber-500); font-weight: 600; }

#map { width: 100%; height: 720px; }

/* Custom Leaflet marker styles */
.custom-marker {
  width: 32px; height: 32px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.custom-marker:hover { transform: rotate(-45deg) scale(1.1); }
.custom-marker.gym { background: var(--purple-600); }
.custom-marker.hyrox { background: var(--red-500); }
.custom-marker.pilates { background: var(--emerald-500); }
.custom-marker.padel { background: var(--cyan-500); }
.custom-marker.runclub { background: #ec4899; }
.custom-marker.event { background: var(--amber-500); }
.custom-marker svg { color: white; transform: rotate(45deg); }

.leaflet-popup-content-wrapper {
  border-radius: 14px !important;
  padding: 4px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
}
.leaflet-popup-content { margin: 12px 16px !important; font-family: var(--font-stack) !important; }
.popup-title { font-weight: 600; font-size: 14px; margin-bottom: 4px; color: var(--slate-900); }
.popup-addr { font-size: 12px; color: var(--slate-500); margin-bottom: 8px; }
.popup-meta { display: flex; gap: 12px; font-size: 12px; }
.popup-cta {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  background: var(--purple-600);
  color: white !important;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

/* ============================================
   FORMS
   ============================================ */
.form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 8px;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  background: var(--white);
  color: var(--slate-900);
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus { border-color: var(--purple-600); }
.form-row textarea { resize: vertical; min-height: 120px; }

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   ABOUT / TEAM
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.team-card { text-align: center; }
.team-photo {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--hero-gradient);
  background-color: var(--solid-fallback);
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 48px;
  font-weight: 700;
  box-shadow: var(--soft-shadow);
}
.team-name { font-size: 20px; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.01em; }
.team-role { color: var(--purple-600); font-size: 14px; margin-bottom: 12px; font-weight: 500; }
.team-bio { color: var(--slate-600); font-size: 14px; line-height: 1.5; max-width: 280px; margin: 0 auto; }

/* ============================================
   COMPARE TABLE
   ============================================ */
.compare {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.compare table { width: 100%; border-collapse: collapse; }
.compare th,
.compare td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--slate-100);
  font-size: 14px;
}
.compare th {
  background: var(--slate-50);
  font-weight: 600;
  color: var(--slate-900);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.compare td:not(:first-child) { text-align: center; }
.compare .check { color: var(--emerald-500); }
.compare .x { color: var(--slate-400); }

/* ============================================
   RESPONSIVE
   ============================================ */
/* Below 1100px the slide-out drawer (.nav-collapse) takes over —
   handled in the mobile block further down. */
@media (max-width: 900px) {
  section { padding: 80px 24px; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .ai-grid { grid-template-columns: 1fr; gap: 40px; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .map-layout { grid-template-columns: 1fr; }
  .map-sidebar { max-height: 320px; }
  #map { height: 500px; }
}

@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero { padding: 100px 20px 60px; }
  .hero h1 { font-size: 44px; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-inner { gap: 24px; flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-num { font-size: 40px; }
  .form { padding: 24px; }
}

/* ============================================
   STICKY DOWNLOAD BAR
   ============================================ */
.download-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .35s ease, transform .35s ease;
}
.download-bar.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.download-bar-inner {
  max-width: 920px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.92);
  color: var(--white);
  border-radius: 18px;
  padding: 12px 16px 12px 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.55);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}
.download-bar-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.download-bar-close:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.download-bar-qr {
  flex: 0 0 auto;
  background: var(--white);
  padding: 4px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.download-bar-qr img {
  width: 64px;
  height: 64px;
  display: block;
  border-radius: 6px;
}
.download-bar-text {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
  min-width: 0;
}
.download-bar-text > strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}
.download-bar-text > span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}
.download-bar-badges {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--slate-900);
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.store-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.3);
}
.store-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.store-badge-text small {
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--slate-500);
}
.store-badge-text b {
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 760px) {
  .download-bar { left: 12px; right: 12px; bottom: 12px; }
  .download-bar-inner { padding: 10px 12px; gap: 12px; border-radius: 14px; }
  .download-bar-qr { display: none; }          /* hide QR on mobile (they're already on phone) */
  .download-bar-text > strong { font-size: 14px; }
  .download-bar-text > span { font-size: 12px; }
  .store-badge { padding: 7px 10px; }
  .store-badge-text small { display: none; }   /* compact badges on mobile */
}
@media (max-width: 480px) {
  .download-bar-text > span { display: none; } /* very narrow: keep only headline */
  .store-badge-text b { font-size: 13px; }
}

/* ============================================
   ROLE SWITCH inside the download bar
   ============================================ */
.role-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 3px;
  margin-top: 6px;
  gap: 2px;
  width: fit-content;
}
.role-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .12s ease;
  white-space: nowrap;
}
.role-pill svg { opacity: 0.8; }
.role-pill:hover {
  color: var(--white);
}
.role-pill.active {
  background: var(--white);
  color: var(--slate-900);
  font-weight: 600;
  box-shadow: 0 2px 6px -2px rgba(0, 0, 0, 0.3);
}
.role-pill.active svg { opacity: 1; }

@media (max-width: 760px) {
  .role-switch { margin-top: 4px; padding: 2px; }
  .role-pill { padding: 3px 8px; font-size: 11px; }
  .role-pill svg { width: 11px; height: 11px; }
}
@media (max-width: 480px) {
  /* On very narrow screens, hide the icons to save space */
  .role-pill svg { display: none; }
}

/* ============================================
   APP SHOWCASE / iPhone MOCKUP
   ============================================ */
.showcase {
  padding-top: 120px;
  padding-bottom: 120px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.showcase-copy .section-title {
  text-align: left;
  margin: 14px 0 16px;
}
.showcase-copy .section-eyebrow {
  display: inline-block;
}
.showcase-bullets {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 28px 0 32px;
}
.showcase-bullets li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 16px;
  color: var(--slate-700);
}
.showcase-bullets li svg {
  color: var(--emerald-500);
  flex-shrink: 0;
}
.showcase-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
/* dark store-badge variant for use on light backgrounds */
.showcase-ctas .store-badge {
  background: var(--slate-900);
  color: var(--white);
}
.showcase-ctas .store-badge .store-badge-text small { color: rgba(255, 255, 255, 0.6); }
.showcase-ctas .store-badge .store-badge-text b { color: var(--white); }

/* ============================================
   iPhone FRAME
   ============================================ */
.showcase-phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.iphone-frame {
  position: relative;
  width: 280px;
  height: 580px;
  background: #0f172a;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 30px 80px -20px rgba(15, 23, 42, 0.45),
    0 0 0 2px rgba(255, 255, 255, 0.04) inset,
    0 0 0 8px rgba(15, 23, 42, 0.05);
  flex-shrink: 0;
}
.iphone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #0f172a;
  border-radius: 14px;
  z-index: 10;
}
.iphone-home {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  z-index: 10;
}
.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--slate-50);
  border-radius: 34px;
  overflow: hidden;
  isolation: isolate;
}

/* Slides — all stacked, only .active visible */
.phone-slide {
  position: absolute;
  inset: 0;
  padding: 44px 18px 24px;
  opacity: 0;
  transition: opacity .6s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--slate-50);
}
.phone-slide.active {
  opacity: 1;
  z-index: 2;
}
/* When an image is set (real screenshot), let it fill */
.phone-slide.has-image { padding: 0; }
.phone-slide.has-image img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  border-radius: 34px;
}

/* Status bar inside the phone */
.ps-statusbar {
  position: absolute;
  top: 14px;
  left: 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-900);
  z-index: 5;
}

/* Greeting */
.ps-greeting { margin-top: 4px; }
.ps-greeting-small { font-size: 11px; color: var(--slate-500); }
.ps-greeting-name { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--slate-900); }

/* Hero card (workout) */
.ps-card {
  background: var(--white);
  border-radius: 16px;
  padding: 14px;
}
.ps-card-hero {
  background: var(--hero-gradient);
  background-color: var(--solid-fallback);
  color: var(--white);
}
.ps-card-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.9;
  margin-bottom: 6px;
}
.ps-card-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.ps-card-meta {
  font-size: 11px;
  opacity: 0.85;
  margin-bottom: 12px;
}
.ps-card-btn {
  background: var(--white);
  color: var(--purple-600);
  border: 0;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
  font-family: inherit;
}

/* 2-col mini stat grid */
.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ps-mini {
  background: var(--white);
  border-radius: 12px;
  padding: 10px 12px;
}
.ps-mini-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.ps-mini-value {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}

/* Section heads inside phone */
.ps-section-head { margin-top: 4px; }
.ps-section-eyebrow {
  font-size: 10px;
  font-weight: 600;
  color: var(--purple-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.ps-section-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}

/* Progress ring */
.ps-progress-ring {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto;
}
.ps-progress-num {
  position: absolute;
  font-size: 22px;
  font-weight: 700;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}

/* Chat */
.ps-chat-header {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 6px 4px 8px;
  border-bottom: 1px solid var(--slate-200);
  margin-bottom: 4px;
}
.ps-chat-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--hero-gradient);
  background-color: var(--solid-fallback);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
}
.ps-chat-name { font-size: 13px; font-weight: 600; color: var(--slate-900); }
.ps-chat-status { font-size: 10px; color: var(--emerald-500); }
.ps-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.ps-bubble {
  max-width: 78%;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 14px;
  line-height: 1.35;
}
.ps-bubble-from {
  align-self: flex-end;
  background: var(--indigo-500);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.ps-bubble-to {
  align-self: flex-start;
  background: var(--white);
  color: var(--slate-900);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

/* Map preview */
.ps-map {
  position: relative;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(99,102,241,0.08), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(124,58,237,0.08), transparent 50%),
    repeating-linear-gradient(0deg, transparent, transparent 18px, rgba(15,23,42,0.04) 18px, rgba(15,23,42,0.04) 19px),
    repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(15,23,42,0.04) 18px, rgba(15,23,42,0.04) 19px),
    var(--slate-100);
}
.ps-pin {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.ps-pin-you {
  width: 14px; height: 14px;
  background: var(--cyan-500);
  box-shadow: 0 0 0 6px rgba(6,182,212,0.25), 0 2px 4px rgba(0,0,0,0.15);
  animation: ps-pulse 2.2s ease-in-out infinite;
}
@keyframes ps-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(6,182,212,0.25), 0 2px 4px rgba(0,0,0,0.15); }
  50%      { box-shadow: 0 0 0 12px rgba(6,182,212,0.0),  0 2px 4px rgba(0,0,0,0.15); }
}
.ps-coach-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 10px 12px;
  border-radius: 14px;
  margin-top: -4px;
}
.ps-coach-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--hero-gradient);
  background-color: var(--solid-fallback);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}
.ps-coach-info { flex: 1; min-width: 0; }
.ps-coach-name { font-size: 13px; font-weight: 600; color: var(--slate-900); }
.ps-coach-meta { font-size: 11px; color: var(--slate-500); }
.ps-coach-btn {
  background: var(--slate-900);
  color: var(--white);
  border: 0;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
  font-family: inherit;
}

/* Caption + dots */
.showcase-caption {
  font-size: 14px;
  color: var(--slate-600);
  font-weight: 500;
  text-align: center;
  min-height: 22px;
  transition: opacity .3s ease;
}
.showcase-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: var(--slate-300, #cbd5e1);
  padding: 0;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease, width .25s ease;
}
.showcase-dot:hover { background: var(--slate-400); }
.showcase-dot.active {
  width: 22px;
  border-radius: 999px;
  background: var(--purple-600);
}

/* Responsive */
@media (max-width: 900px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .showcase-copy { order: 1; text-align: center; }
  .showcase-copy .section-title { text-align: center; }
  .showcase-copy .section-sub { text-align: center !important; }
  .showcase-bullets { max-width: 320px; margin-left: auto; margin-right: auto; }
  .showcase-ctas { justify-content: center; }
  .showcase-phone-wrap { order: 2; }
}
@media (max-width: 480px) {
  .iphone-frame { width: 240px; height: 500px; border-radius: 38px; padding: 10px; }
  .iphone-screen { border-radius: 28px; }
  .phone-slide.has-image img { border-radius: 28px; }
}

/* ============================================
   COACH-FINDER QUIZ
   ============================================ */
.quiz-section {
  padding: 120px 24px 80px;
  background: linear-gradient(180deg, var(--slate-50) 0%, #ffffff 60%);
  min-height: 100vh;
}
.quiz-shell {
  max-width: 720px;
  margin: 0 auto;
}

/* Top bar: back + progress + step */
.quiz-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}
.quiz-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  color: var(--slate-600);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.quiz-back:hover { color: var(--slate-900); background: var(--slate-100); }

.quiz-progress {
  flex: 1;
  height: 6px;
  background: var(--slate-200);
  border-radius: 999px;
  overflow: hidden;
}
.quiz-progress-bar {
  height: 100%;
  background: var(--hero-gradient);
  background-color: var(--solid-fallback);
  border-radius: 999px;
  transition: width .4s cubic-bezier(.4,0,.2,1);
}
.quiz-step-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-500);
  white-space: nowrap;
}

/* Question */
.quiz-question {
  text-align: center;
  animation: quizFadeIn .35s ease;
}
@keyframes quizFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.quiz-question-icon {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 18px;
}
.quiz-question-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  margin-bottom: 8px;
}
.quiz-question-sub {
  font-size: 16px;
  color: var(--slate-600);
  max-width: 480px;
  margin: 0 auto 36px;
}

/* Options */
.quiz-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
}
.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: var(--white);
  border: 2px solid var(--slate-200);
  border-radius: 16px;
  padding: 16px 18px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--slate-900);
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, transform .12s ease, box-shadow .15s ease, background .15s ease;
}
.quiz-option:hover {
  border-color: var(--purple-600);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -10px rgba(124, 58, 237, 0.25);
}
.quiz-option.selected {
  border-color: var(--purple-600);
  background: var(--indigo-50);
}
.quiz-option-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}
.quiz-option-label {
  flex: 1;
}
.quiz-option-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--purple-600);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity .2s, transform .2s;
}
.quiz-option.selected .quiz-option-check {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   QUIZ RESULT
   ============================================ */
.quiz-result {
  animation: quizFadeIn .4s ease;
}
.quiz-result-head {
  text-align: center;
  margin-bottom: 40px;
}
.quiz-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.quiz-result-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  margin-bottom: 8px;
}
.quiz-result-sub {
  font-size: 16px;
  color: var(--slate-600);
  max-width: 520px;
  margin: 0 auto;
}

.quiz-coach-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 40px;
}
.quiz-coach-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 4px 16px -8px rgba(15, 23, 42, 0.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.quiz-coach-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -12px rgba(15, 23, 42, 0.15);
}
.quiz-coach-card.top {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 8px 24px -10px rgba(124, 58, 237, 0.25);
}
.quiz-coach-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--hero-gradient);
  background-color: var(--solid-fallback);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 999px;
}
.quiz-coach-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.quiz-coach-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--hero-gradient);
  background-color: var(--solid-fallback);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.quiz-coach-meta { flex: 1; min-width: 0; }
.quiz-coach-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--slate-900);
}
.quiz-coach-role {
  font-size: 13px;
  color: var(--slate-500);
}
.quiz-coach-rating {
  text-align: right;
  font-size: 13px;
  color: var(--slate-700);
  white-space: nowrap;
}
.quiz-coach-rating strong { color: var(--slate-900); font-weight: 700; }
.quiz-coach-rating span { color: var(--slate-500); margin-left: 4px; }
.quiz-coach-blurb {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.45;
  margin: 8px 0 14px;
}
.quiz-coach-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.quiz-coach-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-900);
}
.quiz-coach-price small {
  font-weight: 500;
  color: var(--slate-500);
  font-size: 12px;
}
.quiz-coach-tags { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.quiz-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--purple-600);
  background: var(--indigo-50);
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: capitalize;
}

/* Download CTA at bottom of result */
.quiz-download-cta {
  background: var(--slate-900);
  color: var(--white);
  border-radius: 20px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}
.quiz-download-text h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.quiz-download-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
  line-height: 1.5;
}
.quiz-download-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
/* Override store-badge bg inside dark CTA */
.quiz-download-cta .store-badge {
  background: var(--white);
  color: var(--slate-900);
}
.quiz-download-cta .store-badge .store-badge-text small { color: var(--slate-500); }
.quiz-download-cta .store-badge .store-badge-text b { color: var(--slate-900); }

.quiz-download-qr {
  background: var(--white);
  padding: 8px;
  border-radius: 14px;
  flex-shrink: 0;
}
.quiz-download-qr img {
  display: block;
  width: 120px; height: 120px;
  border-radius: 6px;
}

.quiz-result-actions {
  text-align: center;
}
.quiz-link {
  background: transparent;
  border: 0;
  color: var(--slate-600);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.quiz-link:hover { color: var(--purple-600); background: var(--slate-100); }

/* Responsive */
@media (max-width: 600px) {
  .quiz-section { padding: 100px 16px 60px; }
  .quiz-question-icon { font-size: 36px; }
  .quiz-option { padding: 14px 16px; font-size: 15px; }
  .quiz-option-icon { font-size: 22px; width: 30px; }
  .quiz-coach-card { padding: 18px; }
  .quiz-coach-head { gap: 12px; }
  .quiz-coach-avatar { width: 42px; height: 42px; font-size: 14px; }
  .quiz-coach-name { font-size: 16px; }
  .quiz-coach-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
  .quiz-download-cta {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 20px;
  }
  .quiz-download-qr { justify-self: center; }
  .quiz-download-badges { justify-content: center; }
}

/* Quiz CTA strip (on homepage) */
.quiz-cta-strip {
  background: var(--slate-900);
  color: var(--white);
  border-radius: 24px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  overflow: hidden;
}
.quiz-cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(124,58,237,0.35), transparent 55%);
  pointer-events: none;
}
.quiz-cta-text { position: relative; z-index: 1; max-width: 560px; }
.quiz-cta-text h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 8px 0;
}
.quiz-cta-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}
.quiz-cta-btn { position: relative; z-index: 1; flex-shrink: 0; }
@media (max-width: 760px) {
  .quiz-cta-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    text-align: left;
  }
  .quiz-cta-btn { width: 100%; }
}

/* ============================================
   AUTH PAGES (login / signup / forgot) — Split layout
   ============================================ */
body.auth-body {
  background: var(--white);
  overflow-x: hidden;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

/* === LEFT: brand / marketing panel === */
.auth-hero {
  position: relative;
  padding: 56px 56px 40px;
  background:
    radial-gradient(circle at 15% 10%, rgba(255,255,255,0.18), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(6,182,212,0.20), transparent 50%),
    var(--hero-gradient);
  background-color: var(--solid-fallback);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.auth-hero::after {
  /* floating blob */
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 60%);
  top: -200px;
  right: -200px;
  pointer-events: none;
}

.auth-hero-top { display: flex; align-items: center; justify-content: space-between; }
.auth-hero-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  text-decoration: none;
}
.auth-hero-brand .logo-mark { box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
.auth-hero-brand-pro { color: rgba(255,255,255,0.7); font-weight: 500; margin-left: 2px; }
.auth-hero-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  transition: background .15s, color .15s;
}
.auth-hero-back:hover { background: rgba(255,255,255,0.18); color: var(--white); }

.auth-hero-middle {
  position: relative;
  z-index: 2;
  max-width: 460px;
  margin: 48px 0;
}
.auth-hero-eyebrow {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  color: var(--white);
}
.auth-hero-title {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.auth-hero-sub {
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}
.auth-hero-bullets {
  list-style: none;
  display: grid;
  gap: 14px;
}
.auth-hero-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.95);
}
.auth-hero-bullets li svg {
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  padding: 4px;
  flex-shrink: 0;
}

.auth-hero-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}
.auth-hero-avatars { display: flex; }
.auth-hero-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.85);
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--white);
  background: var(--purple-600);
}
.auth-hero-avatar:first-child { margin-left: 0; background: var(--indigo-500); }
.auth-hero-avatar:nth-child(2) { background: var(--purple-600); }
.auth-hero-avatar:nth-child(3) { background: var(--cyan-500); }
.auth-hero-avatar:nth-child(4) { background: var(--emerald-500); }

/* === RIGHT: form panel === */
.auth-pane {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
  background: var(--white);
}
.auth-form-wrap {
  width: 100%;
  max-width: 380px;
}
.auth-form-wrap.wide { max-width: 420px; }

.auth-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--purple-600);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 10px;
}
.auth-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--slate-900);
  margin-bottom: 10px;
  line-height: 1.1;
}
.auth-sub {
  font-size: 15px;
  color: var(--slate-600);
  margin-bottom: 30px;
  line-height: 1.5;
}

.auth-form { display: grid; gap: 16px; }
.auth-field { display: grid; gap: 6px; }
.auth-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
}
.auth-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  color: var(--slate-900);
  background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.auth-input::placeholder { color: var(--slate-400); }
.auth-input:hover { border-color: var(--slate-300, #cbd5e1); }
.auth-input:focus {
  outline: none;
  border-color: var(--purple-600);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
  background: var(--white);
}
.auth-submit {
  margin-top: 6px;
  background: var(--slate-900);
  color: var(--white);
  border: 0;
  padding: 14px 20px;
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.auth-submit:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -10px rgba(15, 23, 42, 0.4);
}
.auth-submit:active { transform: translateY(0); }

.auth-error {
  background: rgba(239, 68, 68, 0.08);
  color: var(--red-500);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  display: none;
  margin-bottom: 4px;
}
.auth-error.visible { display: block; }

.auth-links {
  margin-top: 24px;
  font-size: 13px;
  color: var(--slate-600);
  display: grid;
  gap: 10px;
  text-align: center;
}
.auth-links a {
  color: var(--purple-600);
  font-weight: 600;
  text-decoration: none;
}
.auth-links a:hover { text-decoration: underline; }

/* Role chooser on signup */
.auth-role {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.auth-role-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px;
  border: 1.5px solid var(--slate-200);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .12s, box-shadow .15s;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
}
.auth-role-pill svg { color: var(--slate-500); transition: color .15s; }
.auth-role-pill:hover {
  border-color: var(--purple-600);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -8px rgba(124, 58, 237, 0.2);
}
.auth-role-pill.active {
  border-color: var(--purple-600);
  background: var(--indigo-50);
  color: var(--slate-900);
}
.auth-role-pill.active svg { color: var(--purple-600); }

/* Demo banner — refined */
.demo-banner {
  position: relative;
  z-index: 5;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.12), rgba(249, 115, 22, 0.12));
  color: #b45309;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(245, 158, 11, 0.25);
}
body.auth-body .demo-banner { position: relative; top: auto; }

/* === Mobile: stack === */
@media (max-width: 900px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-hero {
    padding: 32px 28px;
    min-height: auto;
  }
  .auth-hero-middle { margin: 28px 0; }
  .auth-hero-title { font-size: clamp(28px, 7vw, 38px); }
  .auth-hero-sub { font-size: 15px; margin-bottom: 22px; }
  .auth-hero-bullets li { font-size: 14px; }
  .auth-pane { padding: 40px 22px; }
}
@media (max-width: 480px) {
  .auth-hero { padding: 24px 22px; }
  .auth-hero-middle { margin: 20px 0; }
  .auth-hero-bullets { gap: 10px; }
  .auth-title { font-size: 26px; }
}

/* ============================================
   DASHBOARD (web app demo)
   ============================================ */
.dashboard-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
body.has-demo-banner .dashboard-shell { padding-top: 32px; }

.dash-sidebar {
  background: var(--white);
  border-right: 1px solid var(--slate-200);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.dash-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  color: var(--slate-900);
  padding: 4px 8px;
  margin-bottom: 24px;
}
.dash-nav { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-700);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.dash-nav-item svg { color: var(--slate-500); flex-shrink: 0; }
.dash-nav-item:hover { background: var(--slate-100); color: var(--slate-900); }
.dash-nav-item.active {
  background: var(--indigo-50);
  color: var(--purple-600);
  font-weight: 600;
}
.dash-nav-item.active svg { color: var(--purple-600); }

.dash-bottom {
  border-top: 1px solid var(--slate-200);
  padding-top: 16px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dash-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
}
.dash-user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--hero-gradient);
  background-color: var(--solid-fallback);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.dash-user-meta { min-width: 0; }
.dash-user-name { font-size: 13px; font-weight: 600; color: var(--slate-900); }
.dash-user-role { font-size: 11px; color: var(--slate-500); }
.dash-logout {
  background: transparent;
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  padding: 8px 12px;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.dash-logout:hover { background: var(--slate-100); color: var(--slate-900); border-color: var(--slate-300); }

.dash-main {
  padding: 32px 40px 60px;
  background: var(--slate-50);
  min-width: 0;
}
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.dash-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}
.dash-header-meta { display: flex; gap: 8px; }
.dash-header-pill {
  background: var(--white);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-600);
  border: 1px solid var(--slate-200);
}

.dash-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.dash-stat-card {
  background: var(--white);
  border-radius: 16px;
  padding: 18px 20px;
  border: 1px solid var(--slate-200);
}
.dash-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.dash-stat-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  margin-bottom: 4px;
}
.dash-stat-sub { font-size: 12px; color: var(--slate-500); }

.dash-grid-2 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.dash-panel {
  background: var(--white);
  border-radius: 16px;
  padding: 20px 22px;
  border: 1px solid var(--slate-200);
  margin-bottom: 16px;
}
.dash-panel-hero {
  background: var(--hero-gradient);
  background-color: var(--solid-fallback);
  color: var(--white);
  border: 0;
}
.dash-panel-hero .dash-eyebrow { color: rgba(255,255,255,0.85); }
.dash-hero-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 8px 0 4px;
}
.dash-hero-meta { font-size: 13px; opacity: 0.85; margin-bottom: 16px; }
.dash-hero-bar { display: flex; gap: 8px; flex-wrap: wrap; }

.dash-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.dash-panel-head h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-900);
}
.dash-panel-hero .dash-panel-head h2 { color: var(--white); }
.dash-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--purple-600);
  text-decoration: none;
}
.dash-link:hover { text-decoration: underline; }
.dash-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--purple-600);
}

.dash-session-list { list-style: none; display: grid; gap: 12px; }
.dash-session {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--slate-50);
  border-radius: 12px;
}
.dash-session-time {
  font-weight: 700;
  color: var(--slate-900);
  font-size: 14px;
  flex-shrink: 0;
  min-width: 48px;
}
.dash-session-info { flex: 1; min-width: 0; }
.dash-session-title { font-size: 14px; font-weight: 600; color: var(--slate-900); }
.dash-session-meta { font-size: 12px; color: var(--slate-500); margin-top: 2px; }
.dash-mini-btn {
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 6px 12px;
  border-radius: 8px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-700);
  cursor: pointer;
  transition: background .12s, color .12s;
}
.dash-mini-btn:hover { background: var(--slate-100); color: var(--slate-900); }

.dash-cta {
  background: var(--white);
  color: var(--purple-600);
  border: 0;
  padding: 10px 22px;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s, box-shadow .15s;
}
.dash-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(0,0,0,0.3); }

.dash-payout-amount {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}
.dash-payout-meta { font-size: 13px; color: var(--slate-500); margin: 4px 0 16px; }
.dash-payout-breakdown { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--slate-200); }
.dash-payout-breakdown > div {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--slate-700);
}
.dash-payout-breakdown strong { font-weight: 600; color: var(--slate-900); }
.dash-payout-fee { color: var(--slate-500); }
.dash-payout-fee strong { color: var(--slate-500); }

/* Trainee streak */
.dash-streak {
  text-align: center;
  margin: 12px 0 18px;
}
.dash-streak-num {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}
.dash-streak-sub {
  font-size: 13px;
  color: var(--slate-500);
}
.dash-streak-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.dash-streak-week span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: 8px;
  background: var(--slate-100);
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 600;
}
.dash-streak-week .ok { background: var(--emerald-50); color: var(--emerald-500); }
.dash-streak-week .today {
  background: var(--hero-gradient);
  background-color: var(--solid-fallback);
  color: var(--white);
}

/* Trainee chat */
.dash-chat {
  background: var(--slate-50);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 120px;
}
.dash-bubble {
  max-width: 78%;
  font-size: 13px;
  padding: 9px 14px;
  border-radius: 14px;
  line-height: 1.4;
}
.dash-bubble.from {
  align-self: flex-end;
  background: var(--indigo-500);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.dash-bubble.to {
  align-self: flex-start;
  background: var(--white);
  color: var(--slate-900);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.05);
}
.dash-chat-input {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.dash-chat-input input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  background: var(--white);
}
.dash-chat-input input:focus { outline: none; border-color: var(--purple-600); }

/* Responsive */
@media (max-width: 900px) {
  .dashboard-shell { grid-template-columns: 1fr; }
  .dash-sidebar { position: relative; height: auto; flex-direction: row; flex-wrap: wrap; padding: 12px; }
  .dash-brand { width: 100%; margin-bottom: 8px; }
  .dash-nav { flex-direction: row; gap: 4px; overflow-x: auto; padding-bottom: 4px; flex: 1; }
  .dash-nav-item { white-space: nowrap; padding: 8px 14px; }
  .dash-nav-item span { display: none; }
  .dash-bottom { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 8px; }
  .dash-main { padding: 24px 20px 40px; }
  .dash-stat-row { grid-template-columns: 1fr 1fr; }
  .dash-grid-2 { grid-template-columns: 1fr; }
}

/* ============================================
   LAPTOP MOCKUP (web preview on homepage)
   ============================================ */
.web-preview {
  padding: 120px 24px;
  background: linear-gradient(180deg, #ffffff 0%, var(--slate-50) 100%);
}
.web-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.web-preview-copy .section-title {
  text-align: left;
  margin: 14px 0 16px;
}
.web-preview-bullets {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 28px 0 32px;
}
.web-preview-bullets li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 16px;
  color: var(--slate-700);
}
.web-preview-bullets svg { color: var(--emerald-500); flex-shrink: 0; }

/* Laptop frame */
.laptop-frame {
  position: relative;
  background: #1e293b;
  padding: 14px 14px 20px;
  border-radius: 14px 14px 28px 28px;
  box-shadow: 0 30px 80px -20px rgba(15, 23, 42, 0.35);
}
.laptop-frame::after {
  /* base / bottom edge */
  content: '';
  position: absolute;
  bottom: -8px;
  left: -6%;
  width: 112%;
  height: 16px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 60%);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 12px 24px -10px rgba(15,23,42,0.4);
}
.laptop-screen {
  position: relative;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
/* Browser chrome */
.laptop-chrome {
  background: var(--slate-100);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--slate-200);
}
.laptop-dots { display: flex; gap: 6px; }
.laptop-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--slate-300, #cbd5e1);
}
.laptop-dots span:nth-child(1) { background: #ff5f57; }
.laptop-dots span:nth-child(2) { background: #ffbd2e; }
.laptop-dots span:nth-child(3) { background: #28ca41; }
.laptop-url {
  flex: 1;
  background: var(--white);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--slate-600);
  display: flex;
  align-items: center;
  gap: 6px;
}
.laptop-url svg { color: var(--emerald-500); }

/* Inside-laptop content: realistic dashboard preview */
.laptop-body {
  display: grid;
  grid-template-columns: 110px 1fr;
  min-height: 280px;
}

/* ---- Sidebar ---- */
.lap-sidebar {
  background: var(--slate-50);
  padding: 10px 8px;
  border-right: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lap-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--slate-900);
  padding: 6px 8px;
  margin-bottom: 8px;
}
.lap-brand em {
  color: var(--purple-600);
  font-style: normal;
  font-weight: 500;
}
.lap-nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 500;
  color: var(--slate-600);
  text-decoration: none;
}
.lap-nav-item svg { opacity: 0.6; }
.lap-nav-item.active {
  background: var(--indigo-50);
  color: var(--purple-600);
  font-weight: 600;
}
.lap-nav-item.active svg { opacity: 1; }
.lap-user {
  margin-top: auto;
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--slate-200);
}
.lap-user > div { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.lap-user strong { font-size: 10px; font-weight: 600; color: var(--slate-900); }
.lap-user em { font-size: 9px; font-style: normal; color: var(--slate-500); }
.lap-avatar {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--hero-gradient);
  background-color: var(--solid-fallback);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700;
  flex-shrink: 0;
}

/* ---- Main content ---- */
.lap-main {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
}
.lap-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.lap-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--slate-900);
}
.lap-sub {
  font-size: 10px;
  color: var(--slate-500);
  margin-top: 1px;
}
.lap-pill {
  background: var(--indigo-50);
  color: var(--purple-600);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}

.lap-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.lap-stat {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 7px 9px;
}
.lap-stat-l {
  font-size: 9px;
  font-weight: 600;
  color: var(--slate-500);
  margin-bottom: 2px;
}
.lap-stat-v {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--slate-900);
}

.lap-hero {
  background: var(--hero-gradient);
  background-color: var(--solid-fallback);
  color: var(--white);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lap-hero-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.9;
}
.lap-hero-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.lap-hero-meta {
  font-size: 10px;
  opacity: 0.85;
}

.lap-list {
  display: grid;
  gap: 4px;
}
.lap-row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 8px;
  background: var(--slate-50);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 10px;
}
.lap-row-time {
  font-weight: 700;
  color: var(--slate-900);
  font-size: 10px;
}
.lap-row-title {
  color: var(--slate-700);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lap-row-meta {
  color: var(--slate-500);
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .web-preview-grid { grid-template-columns: 1fr; gap: 48px; }
  .web-preview-copy { order: 1; text-align: center; }
  .web-preview-copy .section-title { text-align: center; }
  .web-preview-bullets { max-width: 320px; margin-left: auto; margin-right: auto; }
  .web-preview-cta-row { justify-content: center; }
}

/* Web/Browser badge in download bar */
.store-badge-web svg { color: var(--purple-600); }
.store-badge-web .store-badge-text small { color: var(--slate-500); }
.store-badge-web .store-badge-text b { color: var(--slate-900); }
@media (max-width: 480px) {
  /* Hide the 3rd badge (browser) on very small screens to avoid wrapping */
  .download-bar-badges .store-badge-web { display: none; }
}

/* ============================================
   ANDROID SMART BANNER
   (mimics iOS native smart-app-banner UI)
   ============================================ */
.smart-banner {
  position: fixed;
  top: 0;
  left: 0; right: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 6px;
  background: rgba(241, 245, 249, 0.98);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: translateY(-100%);
  transition: transform .25s ease;
  font-size: 13px;
}
.smart-banner.visible { transform: translateY(0); }
.smart-banner.out     { transform: translateY(-100%); }

.smart-banner-close {
  background: transparent;
  border: 0;
  color: var(--slate-500);
  font-size: 22px;
  line-height: 1;
  padding: 4px 6px;
  cursor: pointer;
  flex-shrink: 0;
}
.smart-banner-icon {
  width: 44px; height: 44px;
  background: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.smart-banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.smart-banner-text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-900);
}
.smart-banner-text span {
  font-size: 11px;
  color: var(--slate-500);
}
.smart-banner-cta {
  background: transparent;
  border: 0;
  color: var(--purple-600);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 14px;
  cursor: pointer;
  flex-shrink: 0;
}

/* Push the nav down when the banner is shown */
body.has-smart-banner .nav { top: 60px; }
body.has-smart-banner { padding-top: 0; } /* nav handles spacing */

/* Open-in-app button on coach result cards */
.quiz-coach-open {
  background: var(--slate-900);
  color: var(--white);
  border: 0;
  padding: 8px 16px;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, transform .12s, box-shadow .15s;
}
.quiz-coach-open:hover {
  background: var(--purple-600);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -8px rgba(124, 58, 237, 0.4);
}

/* ============================================
   DASHBOARD — ENHANCED MULTI-VIEW
   ============================================ */

/* Header polish */
.dash-subtitle {
  font-size: 14px;
  color: var(--slate-500);
  margin-top: 4px;
}
.dash-header { align-items: flex-start; }
.dash-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 8px 12px;
  width: 280px;
}
.dash-search.compact { padding: 6px 10px; width: 220px; }
.dash-search svg { color: var(--slate-400); flex-shrink: 0; }
.dash-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  color: var(--slate-900);
  min-width: 0;
}
.dash-search input::placeholder { color: var(--slate-400); }
.dash-search kbd {
  background: var(--slate-100);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 11px;
  font-family: inherit;
  font-weight: 600;
  color: var(--slate-500);
}
.dash-icon-btn {
  position: relative;
  width: 38px; height: 38px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-700);
  transition: background .15s, color .15s;
}
.dash-icon-btn:hover { background: var(--slate-100); color: var(--slate-900); }
.dash-notif-dot {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--red-500);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 6px;
  border: 2px solid var(--white);
}

/* View fade animation */
.dash-view {
  animation: dashFadeIn .3s ease;
}
@keyframes dashFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* Toolbar */
.dash-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.dash-toolbar-left, .dash-toolbar-right {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
}
.dash-toolbar-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-900);
}
.dash-pill {
  background: var(--slate-100);
  border: 0;
  padding: 6px 12px;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-600);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.dash-pill:hover { background: var(--slate-200); color: var(--slate-900); }
.dash-pill.active { background: var(--slate-900); color: var(--white); }
.dash-pill.ok    { background: rgba(16,185,129,0.12); color: var(--emerald-500); }
.dash-pill.warn  { background: rgba(245,158,11,0.14); color: #b45309; }
.dash-pill.new   { background: rgba(99,102,241,0.12); color: var(--indigo-600); }
.dash-cta-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 999px;
}

/* Activity list (Today) */
.dash-activity {
  list-style: none;
  display: grid;
  gap: 12px;
}
.dash-activity li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--slate-700);
  line-height: 1.5;
}
.dash-activity .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.dash-activity .dot.ok    { background: var(--emerald-500); }
.dash-activity .dot.blue  { background: var(--indigo-500); }
.dash-activity .dot.orange{ background: var(--amber-500); }
.dash-activity strong { color: var(--slate-900); font-weight: 600; }
.dash-activity em { color: var(--slate-400); font-style: normal; font-size: 12px; }

/* Calendar */
.dash-cal-summary {
  display: flex;
  gap: 24px;
  margin-bottom: 14px;
  padding: 0 4px;
  font-size: 13px;
  color: var(--slate-600);
}
.dash-cal-summary strong { color: var(--slate-900); font-weight: 700; }
.dash-cal-grid {
  display: grid;
  grid-template-columns: 50px repeat(7, 1fr);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  overflow: hidden;
}
.dash-cal-corner {
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  border-right: 1px solid var(--slate-200);
}
.dash-cal-day {
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  border-right: 1px solid var(--slate-200);
  padding: 10px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dash-cal-day:last-child { border-right: 0; }
.dash-cal-day span { font-size: 11px; color: var(--slate-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.dash-cal-day strong { font-size: 18px; font-weight: 700; color: var(--slate-900); letter-spacing: -0.01em; }
.dash-cal-day.today strong { color: var(--purple-600); }
.dash-cal-day.today { background: rgba(124,58,237,0.05); }

.dash-cal-time {
  background: var(--slate-50);
  border-right: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  padding: 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--slate-500);
}
.dash-cal-col {
  position: relative;
  border-right: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  min-height: 70px;
}
.dash-cal-col:nth-last-child(-n+7) { border-bottom: 0; }
.dash-cal-col:last-child, .dash-cal-grid > div:nth-child(8n) { border-right: 0; }
.dash-cal-col.now { background: rgba(124,58,237,0.04); }
.dash-cal-event {
  position: absolute;
  left: 4px; right: 4px;
  border-radius: 8px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  min-height: 28px;
}
.dash-cal-event:hover { transform: scale(1.03); box-shadow: 0 4px 12px -4px rgba(0,0,0,0.15); z-index: 5; }
.dash-cal-event strong { font-size: 11px; font-weight: 700; letter-spacing: -0.005em; }
.dash-cal-event span  { font-size: 10px; opacity: 0.85; }
.ev-strength { background: rgba(99,102,241,0.16);  color: var(--indigo-600); border-left: 3px solid var(--indigo-500); }
.ev-mobility { background: rgba(16,185,129,0.14);  color: var(--emerald-500); border-left: 3px solid var(--emerald-500); }
.ev-group    { background: rgba(124,58,237,0.16);  color: var(--purple-600); border-left: 3px solid var(--purple-600); }
.ev-hyrox    { background: rgba(6,182,212,0.16);   color: #0891b2;            border-left: 3px solid var(--cyan-500); }
.dash-cal-legend {
  display: flex;
  gap: 18px;
  padding: 14px 4px 0;
  font-size: 12px;
  color: var(--slate-600);
}
.dash-cal-legend span { display: flex; align-items: center; gap: 6px; }
.dash-cal-legend i {
  width: 12px; height: 12px;
  border-radius: 3px;
  display: inline-block;
}

/* Trainee grid */
.dash-trainee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.dash-trainee-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 16px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  cursor: pointer;
}
.dash-trainee-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124,58,237,0.3);
  box-shadow: 0 12px 28px -12px rgba(124,58,237,0.2);
}
.dash-trainee-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.dash-trainee-head > div:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dash-trainee-head strong { font-size: 15px; font-weight: 700; color: var(--slate-900); }
.dash-trainee-meta { font-size: 12px; color: var(--slate-500); }
.dash-trainee-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  flex-shrink: 0;
}
.gradient-1 { background: linear-gradient(135deg, #6366f1, #06b6d4); }
.gradient-2 { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.gradient-3 { background: linear-gradient(135deg, #10b981, #06b6d4); }
.gradient-4 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.gradient-5 { background: linear-gradient(135deg, #06b6d4, #6366f1); }
.gradient-6 { background: linear-gradient(135deg, #64748b, #475569); }
.dash-trainee-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
  background: var(--slate-50);
  border-radius: 10px;
  margin-bottom: 12px;
}
.dash-trainee-stats > div { text-align: center; }
.dash-trainee-stats strong { display: block; font-size: 16px; font-weight: 700; color: var(--slate-900); }
.dash-trainee-stats span  { font-size: 10px; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.05em; }
.dash-trainee-foot { font-size: 12px; color: var(--slate-600); }

/* Payments table */
.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.dash-table thead th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 12px;
  border-bottom: 1px solid var(--slate-200);
  background: var(--slate-50);
}
.dash-table th.num, .dash-table td.num { text-align: right; }
.dash-table td {
  padding: 12px;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-700);
}
.dash-table tbody tr:hover { background: var(--slate-50); }
.dash-table .num.strong { color: var(--slate-900); font-weight: 700; }
.dash-table .num.muted  { color: var(--slate-400); font-size: 12px; }

/* Workout week */
.dash-workout-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.dash-workout-day {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 130px;
}
.dash-workout-day.done { background: var(--slate-50); }
.dash-workout-day.today {
  background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(124,58,237,0.04));
  border-color: rgba(124,58,237,0.3);
  box-shadow: 0 4px 14px -6px rgba(124,58,237,0.2);
}
.dash-workout-day.rest { opacity: 0.6; }
.dash-workout-day-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.dash-workout-day-head span { font-size: 11px; color: var(--slate-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.dash-workout-day-head strong { font-size: 18px; font-weight: 700; color: var(--slate-900); }
.dash-workout-day.today .dash-workout-day-head strong { color: var(--purple-600); }
.dash-workout-title { font-size: 13px; font-weight: 700; color: var(--slate-900); line-height: 1.3; }
.dash-workout-meta { font-size: 11px; color: var(--slate-500); margin-top: -4px; }

.dash-exercise-list {
  list-style: none;
  display: grid;
  gap: 10px;
}
.dash-exercise-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--slate-50);
  border-radius: 10px;
}
.dash-ex-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--white);
  color: var(--slate-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  border: 1px solid var(--slate-200);
}
.dash-exercise-list li > div:nth-child(2) { flex: 1; }
.dash-exercise-list strong { display: block; font-size: 14px; font-weight: 600; color: var(--slate-900); }
.dash-exercise-list span  { display: block; font-size: 12px; color: var(--slate-500); margin-top: 2px; }
.dash-ex-rest { font-size: 11px; color: var(--slate-400); font-weight: 500; }

/* Charts */
.dash-chart {
  width: 100%;
  height: 240px;
  display: block;
}
.dash-chart-axis {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--slate-400);
  padding: 0 4px;
  margin-top: 4px;
}

/* PR list */
.dash-pr-list { list-style: none; display: grid; gap: 12px; }
.dash-pr-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--slate-50);
  border-radius: 10px;
}
.dash-pr-list strong { display: block; font-size: 14px; font-weight: 600; color: var(--slate-900); }
.dash-pr-list span  { display: block; font-size: 11px; color: var(--slate-500); margin-top: 2px; }
.dash-pr-val { font-size: 15px; font-weight: 700; color: var(--slate-900); }
.dash-pr-val em { font-size: 12px; font-style: normal; margin-left: 4px; }

/* Photo grid */
.dash-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash-photo { display: flex; flex-direction: column; gap: 6px; }
.dash-photo-thumb {
  aspect-ratio: 3/4;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.dash-photo span { font-size: 11px; color: var(--slate-500); text-align: center; }

/* Coach profile */
.dash-coach-profile { display: flex; align-items: center; gap: 16px; }
.dash-coach-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 22px;
  color: var(--white);
  flex-shrink: 0;
}

/* Settings */
.dash-settings-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--slate-100);
}
.dash-settings-row:last-child { border-bottom: 0; }
.dash-settings-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
  flex: 0 0 130px;
}
.dash-settings-row .auth-input { flex: 1; padding: 9px 12px; font-size: 14px; }
.dash-setting-value { display: flex; flex-direction: column; gap: 4px; flex: 1; font-size: 14px; color: var(--slate-900); }

/* iOS-style switch */
.dash-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  color: var(--slate-700);
}
.dash-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.dash-switch input { opacity: 0; width: 0; height: 0; }
.dash-switch span {
  position: absolute;
  inset: 0;
  background: var(--slate-200);
  border-radius: 999px;
  transition: background .2s;
  cursor: pointer;
}
.dash-switch span::before {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: var(--white);
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.dash-switch input:checked + span { background: var(--purple-600); }
.dash-switch input:checked + span::before { transform: translateX(18px); }

/* Responsive */
@media (max-width: 1200px) {
  .dash-search { width: 220px; }
}
@media (max-width: 900px) {
  .dash-search { display: none; }
  .dash-workout-week { grid-template-columns: repeat(3, 1fr); }
  .dash-cal-grid { font-size: 11px; }
  .dash-trainee-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .dash-workout-week { grid-template-columns: 1fr 1fr; }
  .dash-toolbar { padding: 10px 12px; }
  .dash-cal-grid { overflow-x: auto; min-width: 600px; }
}

/* ============================================
   CONSENT BANNER (cookies / privacy)
   ============================================ */
#consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.25);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .35s ease, transform .35s ease;
  max-width: 920px;
  margin: 0 auto;
}
#consent-banner.visible { opacity: 1; transform: translateY(0); }

/* When the sticky download bar is also up, push consent banner above it */
body.has-consent-banner #download-bar { bottom: 110px; }

.consent-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
}
.consent-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--indigo-50);
  color: var(--purple-600);
  display: flex;
  align-items: center;
  justify-content: center;
}
.consent-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.4;
  min-width: 0;
}
.consent-text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-900);
}
.consent-text span {
  font-size: 13px;
  color: var(--slate-600);
}
.consent-text a {
  font-size: 12px;
  font-weight: 600;
  color: var(--purple-600);
  margin-top: 4px;
  text-decoration: none;
}
.consent-text a:hover { text-decoration: underline; }

.consent-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.consent-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  transition: background .15s, color .15s, transform .12s;
  text-decoration: none;
  white-space: nowrap;
}
.consent-btn-primary {
  background: var(--slate-900);
  color: var(--white);
}
.consent-btn-primary:hover { background: #1e293b; transform: translateY(-1px); }
.consent-btn-secondary {
  background: var(--slate-100);
  color: var(--slate-700);
}
.consent-btn-secondary:hover { background: var(--slate-200); color: var(--slate-900); }
.consent-btn-link {
  background: transparent;
  color: var(--slate-600);
  padding: 8px 10px;
}
.consent-btn-link:hover { color: var(--slate-900); }

/* Detail panel (customize) */
.consent-detail {
  padding: 0 20px 18px;
  border-top: 1px solid var(--slate-200);
  margin-top: -4px;
}
.consent-category {
  padding: 14px 0;
  border-bottom: 1px solid var(--slate-100);
}
.consent-category:last-child { border-bottom: 0; }
.consent-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.consent-cat-head strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-900);
}
.consent-category p {
  font-size: 12px;
  color: var(--slate-500);
  line-height: 1.5;
  margin: 0;
}
/* Reuse the iOS-style switch */
.consent-toggle {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.consent-toggle input { opacity: 0; width: 0; height: 0; }
.consent-toggle span {
  position: absolute;
  inset: 0;
  background: var(--slate-200);
  border-radius: 999px;
  transition: background .2s;
  cursor: pointer;
}
.consent-toggle span::before {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: var(--white);
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.consent-toggle input:checked + span { background: var(--purple-600); }
.consent-toggle input:checked + span::before { transform: translateX(16px); }
.consent-toggle.locked span { background: var(--slate-300, #cbd5e1); cursor: not-allowed; }

/* Footer cookie-settings link */
.cookie-link {
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 13px;
  color: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}
.cookie-link:hover { opacity: 0.7; }

@media (max-width: 760px) {
  #consent-banner { left: 10px; right: 10px; bottom: 10px; border-radius: 14px; }
  .consent-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
  }
  .consent-icon { display: none; }
  .consent-actions {
    width: 100%;
    justify-content: flex-end;
  }
  body.has-consent-banner #download-bar { bottom: 200px; }
}

/* ============================================
   MOBILE NAVIGATION (hamburger + slide-out)
   ============================================ */

/* Hamburger button — hidden on desktop, shown ≤ 900px */
.menu-toggle-btn {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 10px;
  position: relative;
  margin-left: 8px;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle-btn:hover { background: var(--slate-100); }
.menu-toggle-bar {
  position: absolute;
  left: 10px;
  width: 20px;
  height: 2px;
  background: var(--slate-900);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.menu-toggle-bar:nth-child(1) { top: 13px; }
.menu-toggle-bar:nth-child(2) { top: 19px; }
.menu-toggle-bar:nth-child(3) { top: 25px; }
.menu-toggle-btn.is-open .menu-toggle-bar:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-toggle-btn.is-open .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-toggle-btn.is-open .menu-toggle-bar:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* Backdrop — only visible when menu is open */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  z-index: 998;
  transition: opacity .25s ease;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
body.mobile-nav-open .mobile-nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* ≤ 1100px: slide-out drawer — the whole .nav-collapse (links + actions) slides in */
@media (max-width: 1100px) {
  .menu-toggle-btn { display: block; }

  .nav .nav-collapse {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 360px);
    height: 100vh;
    height: 100dvh;
    padding: 80px 24px 32px;
    background: var(--white);
    box-shadow: -20px 0 40px -20px rgba(15, 23, 42, 0.25);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.32, .72, 0, 1);
    z-index: 999;
    overflow-y: auto;
  }
  body.mobile-nav-open .nav .nav-collapse {
    transform: translateX(0);
  }

  /* page links stacked */
  .nav .nav-collapse .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    list-style: none;
  }
  .nav .nav-collapse li { width: 100%; }
  .nav .nav-collapse a {
    display: block;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 12px;
    transition: background .15s, color .15s;
  }
  .nav .nav-collapse a:hover,
  .nav .nav-collapse a:focus {
    background: var(--slate-100);
    opacity: 1;
  }
  .nav .nav-collapse a.current {
    background: var(--indigo-50);
  }

  /* actions: sign in, CTA, then language — stacked below the links */
  .nav .nav-collapse .nav-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-top: 12px;
  }
  .nav .nav-collapse .nav-cta {
    text-align: center;
    margin-top: 8px;
    padding: 14px 16px;
    background: var(--slate-900);
    color: var(--white) !important;
    border-radius: 12px;
  }
  .nav .nav-collapse .lang-switch {
    order: 99;
    align-self: center;
    margin: 20px 0 0;
    margin-right: 0;
  }

  /* Prevent body scroll when drawer is open */
  body.mobile-nav-open {
    overflow: hidden;
  }
}

/* iOS safe-area inset (notch) */
@supports (padding: env(safe-area-inset-bottom)) {
  .nav .nav-collapse {
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
  }
  #download-bar { bottom: max(16px, env(safe-area-inset-bottom)); }
  #consent-banner { bottom: max(16px, env(safe-area-inset-bottom)); }
}

/* ============================================
   TRUST STRIP (badge-style)
   ============================================ */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 24px 24px;
}
.trust-strip-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 4px;
}
.trust-badge-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-badge-icon-stripe { background: rgba(99,102,241,0.10); color: var(--indigo-600); }
.trust-badge-icon-eu     { background: rgba(16,185,129,0.10); color: var(--emerald-500); }
.trust-badge-icon-ai     { background: rgba(124,58,237,0.10); color: var(--purple-600); }
.trust-badge-icon-noads  { background: rgba(245,158,11,0.10); color: #b45309; }
.trust-badge-icon-cancel { background: rgba(6,182,212,0.10);  color: #0891b2; }

.trust-badge-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.3;
  min-width: 0;
}
.trust-badge-text strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-900);
}
.trust-badge-text span {
  font-size: 12px;
  color: var(--slate-500);
}

@media (max-width: 900px) {
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .trust-strip { padding: 18px 16px; }
  .trust-strip-inner { grid-template-columns: 1fr; gap: 10px; }
  .trust-badge-icon { width: 36px; height: 36px; }
}

/* ============================================
   VS TABLE (Fitiva vs the usual stack)
   ============================================ */
.vs-table-wrap {
  max-width: 980px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: 0 8px 24px -16px rgba(15, 23, 42, 0.08);
}
.vs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.vs-table thead th {
  text-align: center;
  font-weight: 600;
  color: var(--slate-500);
  padding: 18px 12px 14px;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  font-size: 13px;
}
.vs-table thead th.vs-mine {
  background: linear-gradient(180deg, rgba(124,58,237,0.10), rgba(99,102,241,0.04));
}
.vs-table td {
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-600);
}
.vs-table tbody tr:last-child td { border-bottom: 0; }
.vs-table td.vs-feat {
  text-align: left;
  color: var(--slate-900);
  font-weight: 500;
  width: 38%;
}
.vs-table td.vs-mine {
  background: rgba(124,58,237,0.04);
}
.vs-table tr.vs-cost td { font-size: 15px; background: var(--slate-50); color: var(--slate-700); }
.vs-table tr.vs-cost td.vs-mine { background: rgba(124,58,237,0.10); color: var(--slate-900); }

.vs-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--slate-900);
  font-weight: 700;
  font-size: 14px;
}
.vs-logo-stack {
  font-weight: 600;
  color: var(--slate-700);
}

.vs-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(16,185,129,0.15);
  color: var(--emerald-500);
  font-weight: 800;
}
.vs-no {
  color: var(--slate-300, #cbd5e1);
  font-weight: 700;
}
.vs-partial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(245,158,11,0.15);
  color: #b45309;
  font-weight: 700;
}

.vs-footnote {
  max-width: 720px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--slate-500);
  line-height: 1.5;
}

@media (max-width: 760px) {
  .vs-table-wrap { overflow-x: auto; }
  .vs-table { min-width: 640px; }
  .vs-table td.vs-feat { width: auto; min-width: 200px; }
}

/* ============================================
   EXIT-INTENT MODAL
   ============================================ */
.exit-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.exit-modal.visible {
  opacity: 1;
  pointer-events: auto;
}
.exit-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.exit-modal-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border-radius: 22px;
  padding: 36px 32px 28px;
  box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.45);
  text-align: center;
  transform: scale(0.96);
  transition: transform .25s ease;
}
.exit-modal.visible .exit-modal-card { transform: scale(1); }

.exit-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: 0;
  font-size: 26px;
  color: var(--slate-400);
  cursor: pointer;
  line-height: 1;
  padding: 4px 10px;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.exit-modal-close:hover { color: var(--slate-900); background: var(--slate-100); }

.exit-modal-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--purple-600);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 10px;
}
.exit-modal-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  line-height: 1.15;
  margin-bottom: 10px;
}
.exit-modal-sub {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.5;
  margin-bottom: 22px;
}
.exit-modal-form {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}
.exit-modal-foot {
  font-size: 11px;
  color: var(--slate-400);
  margin-top: 4px;
}
.exit-modal-link {
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 12px;
  color: var(--slate-500);
  cursor: pointer;
  margin-top: 10px;
  text-decoration: underline;
}
.exit-modal-link:hover { color: var(--slate-700); }

@media (max-width: 480px) {
  .exit-modal-card { padding: 28px 22px 22px; border-radius: 18px; }
  .exit-modal-title { font-size: 22px; }
}

/* ============================================
   FLOATING CHAT BUTTON
   ============================================ */
.chat-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 990;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 12px 14px;
  background: var(--slate-900);
  color: var(--white);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 30px -12px rgba(15, 23, 42, 0.45);
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
  -webkit-tap-highlight-color: transparent;
}
.chat-fab:hover {
  transform: translateY(-2px);
  background: #1e293b;
  box-shadow: 0 20px 40px -14px rgba(15, 23, 42, 0.55);
}
.chat-fab svg { color: rgba(255,255,255,0.95); }

/* Hide above the download bar + consent banner */
body.has-consent-banner .chat-fab { bottom: 130px; }

@media (max-width: 600px) {
  .chat-fab { right: 14px; bottom: 14px; padding: 10px 14px 10px 12px; font-size: 13px; }
  .chat-fab-label { display: none; }            /* icon-only on mobile */
}
@supports (padding: env(safe-area-inset-bottom)) {
  .chat-fab { bottom: max(22px, calc(env(safe-area-inset-bottom) + 14px)); }
}

/* Mobile drawer close (X) button */
.mobile-nav-close {
  display: none;                      /* hidden on desktop */
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--slate-100);
  border: 0;
  border-radius: 10px;
  color: var(--slate-700);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
  z-index: 2;
}
.mobile-nav-close:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}
@media (max-width: 1100px) {
  .mobile-nav-close { display: flex; }
  /* a bit more top padding inside the drawer so the close button doesn't
     overlap the first menu item */
  .nav .nav-collapse { padding-top: 72px !important; }
}

/* Private Beta badge — subtle live indicator in the nav */
.beta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 8px;
  background: rgba(124, 58, 237, 0.10);
  color: var(--purple-600);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: default;
}
.beta-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple-600);
  box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.45);
  animation: betaPulse 2s ease-in-out infinite;
}
@keyframes betaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.45); }
  50%      { box-shadow: 0 0 0 6px rgba(124, 58, 237, 0); }
}
@media (max-width: 1100px) {
  .beta-badge { display: none; }   /* hide in nav on mobile to save space */
}
