/* ==========================================================================
   WOD Tracker — Creator-store inspired design system
   Light, friendly, bold sans. Vivid indigo hero, mint CTA, navy buttons,
   lavender / gray alternating sections, big rounded white cards.
   ========================================================================== */

:root {
  /* App palette: midnight navy surfaces, periwinkle accent, amber & red micro-accents */
  --indigo: #0F1423;
  --indigo-deep: #161D2E;
  --navy: #161D2E;
  --navy-hover: #242F4B;
  --mint: #84ADFF;
  --mint-hover: #9BBDFF;
  --accent: #84ADFF;
  --amber: #F59E0B;
  --yellow: #F59E0B;
  --pink-soft: #FFF0D9;
  --yellow-soft: #E3ECFF;
  --lavender: #EEF2FA;
  --lavender-soft: #DCE7FF;
  --gray-bg: #F6F8FC;
  --white: #FFFFFF;
  --text: #0F1423;
  --text-muted: #5B6478;
  --text-subtle: #8A93A8;
  --line: #E6EAF3;
  --shadow-sm: 0 2px 8px rgba(15, 20, 35, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 20, 35, 0.10);
  --shadow-lg: 0 28px 60px rgba(15, 20, 35, 0.18);
  --radius: 20px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { min-height: 100vh; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Layout */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.br-desktop { display: none; }
@media (min-width: 900px) { .br-desktop { display: inline; } }

.section { padding: 5.5rem 0; }
.section-white { background: var(--white); }
.section-lavender { background: var(--lavender); }
.section-gray { background: var(--gray-bg); }
.feature-overview-section { background: linear-gradient(145deg, #fff 0%, #fafbfe 42%, #f1f3f7 100%); }

/* Type */
.h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.h2-left {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 1.1rem;
}
.lead {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0.6rem auto 0;
  max-width: 560px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.9rem 1.9rem;
  font-size: 1rem;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-arrow { width: 18px; height: 18px; }

.btn-mint { background: var(--accent); color: #0F1423; box-shadow: 0 10px 24px rgba(132, 173, 255, 0.35); }
.btn-mint:hover { background: var(--mint-hover); }

.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 12px 28px rgba(15, 20, 35, 0.28); }
.btn-navy:hover { background: var(--navy-hover); }

.btn-white { background: var(--accent); color: #0F1423; }
.btn-white:hover { background: var(--mint-hover); }

.btn-store { padding: 0.75rem 1.4rem; gap: 0.75rem; min-width: 190px; }
.store-icon { width: 24px; height: 24px; flex-shrink: 0; }
.store-text { display: flex; flex-direction: column; text-align: left; line-height: 1.1; }
.store-text small { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.08em; opacity: 0.8; }
.store-text b { font-size: 1rem; font-weight: 800; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--indigo);
  color: #fff;
  padding-bottom: 7rem;
  clip-path: polygon(0 0, 100% 0, 100% 91%, 0 100%);
  overflow: hidden;
}
@media (max-width: 767px) {
  .hero { clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%); padding-bottom: 4rem; }
}

.site-header { position: relative; z-index: 20; }
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.55rem; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }

.nav-links { display: none; gap: 2rem; margin-left: 1.5rem; flex: 1; }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-link { font-weight: 600; font-size: 0.95rem; color: rgba(255, 255, 255, 0.72); transition: color 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.nav-text-btn { display: none; font-weight: 700; font-size: 0.95rem; color: #fff; }
@media (min-width: 640px) { .nav-text-btn { display: inline; } }

.mobile-toggle { display: flex; flex-direction: column; justify-content: space-between; width: 24px; height: 17px; }
@media (min-width: 900px) { .mobile-toggle { display: none; } }
.mobile-toggle .bar { height: 2px; width: 100%; background: #fff; border-radius: 2px; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1rem 1.5rem 1.5rem;
  background: var(--indigo-deep);
}
.mobile-menu.open { display: flex; }
.mobile-nav-link { font-weight: 700; font-size: 1.05rem; color: #fff; padding: 0.35rem 0; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 3rem;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; padding-top: 4.5rem; gap: 2rem; }
}

.hero-title {
  font-size: clamp(2.6rem, 5.4vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.hero-title .dot { margin: 0 0.08em; }
.hero-sub {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
}
.hero-sub em { font-style: italic; color: var(--accent); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; margin-top: 2.25rem; }
.hero-note { font-size: 0.85rem; font-weight: 600; color: rgba(255, 255, 255, 0.72); }

/* Hero stage: composed app visual */
.hero-stage {
  position: relative;
  max-width: 660px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
}
.hero-composition {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55));
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
@media (max-width: 899px) { .hero-stage { max-width: 440px; } }

/* Floating cards (used in feature rows) */
.float-card {
  position: absolute;
  background: #fff;
  color: var(--text);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: max-content;
  max-width: 280px;
}
.float-card strong { display: block; font-size: 0.85rem; font-weight: 800; letter-spacing: -0.01em; }
.float-card small { display: block; font-size: 0.72rem; color: var(--text-muted); margin-top: 1px; line-height: 1.35; }
.float-emoji { font-size: 1.35rem; line-height: 1; }
.float-card-top { display: flex; align-items: center; gap: 0.7rem; }
.float-cta {
  background: var(--accent);
  color: #0F1423;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  display: flex;
  justify-content: space-between;
}

/* ==========================================================================
   Athletes carousel
   ========================================================================== */
.athletes-section { padding-bottom: 2rem; }
.athletes-track {
  display: flex;
  gap: 2.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 3rem max(1.5rem, calc((100vw - 1180px) / 2 + 1.5rem)) 2.5rem;
  scrollbar-width: none;
}
.athletes-track::-webkit-scrollbar { display: none; }

.athlete-card {
  position: relative;
  flex: 0 0 auto;
  width: min(330px, calc(100vw - 7.5rem));
  height: 330px;
  border-radius: 24px;
  overflow: visible;
  scroll-snap-align: center;
  color: #fff;
  margin-right: 70px;
}
.athlete-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}
.athlete-shade {
  position: absolute; inset: 0;
  border-radius: 24px;
  background: linear-gradient(to top, rgba(10, 10, 30, 0.85) 0%, rgba(10, 10, 30, 0.2) 55%, transparent 100%);
}
.athlete-meta {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  right: 40%;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.athlete-meta h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.athlete-meta span { font-size: 0.78rem; opacity: 0.85; }
.athlete-followers { font-weight: 600; }
.tag-pill {
  margin-top: 0.6rem;
  align-self: flex-start;
  background: #fff;
  color: var(--text) !important;
  opacity: 1 !important;
  font-weight: 700 !important;
  font-size: 0.72rem !important;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
.athlete-phone {
  position: absolute;
  right: -70px;
  top: 30px;
  width: 150px;
  background: #05070F;
  border-radius: 26px;
  padding: 6px;
  box-shadow: var(--shadow-lg);
}
.athlete-phone img { border-radius: 20px; aspect-ratio: 9 / 20; object-fit: cover; width: 100%; }

/* ==========================================================================
   Zero ads
   ========================================================================== */
.zero-section { padding: 3rem 0 6rem; }
.zero-row { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.zero-circle { position: relative; width: 220px; height: 160px; display: flex; align-items: center; justify-content: center; }
.zero-scribble { position: absolute; inset: 0; width: 100%; height: 100%; }
.zero-circle span { font-size: 3.4rem; font-weight: 800; letter-spacing: -0.04em; }
.zero-title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }

/* ==========================================================================
   Feature orbit (real app screen + drifting feature cards)
   ========================================================================== */
.infographic {
  --orbit-x: 0px;
  --orbit-y: 0px;
  --phone-x: 0px;
  --phone-y: 0px;
  position: relative;
  isolation: isolate;
  margin: 3.5rem auto 0;
  max-width: 1040px;
  height: 660px;
  border-radius: 48px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(132, 173, 255, 0.25) 0, rgba(132, 173, 255, 0.08) 31%, transparent 57%),
    linear-gradient(145deg, #f9fbff 0%, #f3f6fd 48%, #fbfcff 100%);
  border: 1px solid rgba(132, 173, 255, 0.22);
  box-shadow: inset 0 1px 0 #fff, 0 26px 70px rgba(15, 20, 35, 0.08);
}
.infographic::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.45;
  background-image: radial-gradient(rgba(93, 113, 154, 0.24) 1px, transparent 1px);
  background-size: 27px 27px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
}
.orbit-glow {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: 390px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(132, 173, 255, 0.7), rgba(184, 205, 255, 0.2));
  filter: blur(2px);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 90px rgba(132, 173, 255, 0.35);
}
.orbit-ring {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  border: 1px dashed rgba(59, 111, 224, 0.24);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
}
.orbit-ring::after {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  top: 12%;
  left: 16%;
  background: #6f9cff;
  box-shadow: 0 0 0 7px rgba(132, 173, 255, 0.16);
}
.orbit-ring-outer { width: 760px; height: 510px; animation: orbit-spin 70s linear infinite; }
.orbit-ring-inner { width: 510px; height: 410px; transform: translate(-50%, -50%) rotate(24deg); animation: orbit-spin-reverse 55s linear infinite; }
.orbit-ring-inner::after { top: auto; left: auto; right: 3%; bottom: 30%; width: 7px; height: 7px; background: #f59e0b; }
.orbit-star { position: absolute; z-index: 1; color: #84adff; font-size: 1.6rem; line-height: 1; animation: twinkle 4s ease-in-out infinite; }
.star-one { left: 27%; top: 27%; }
.star-two { right: 25%; bottom: 22%; color: #f59e0b; animation-delay: -1.5s; }
.orbit-dot { position: absolute; z-index: 1; width: 8px; height: 8px; border-radius: 50%; background: #ff6678; box-shadow: 0 0 0 7px rgba(255, 102, 120, 0.11); }
.dot-one { right: 15%; top: 41%; }
.dot-two { left: 17%; bottom: 35%; background: #84adff; box-shadow: 0 0 0 7px rgba(132, 173, 255, 0.13); }

.infographic > .bubble {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 178px;
  padding: 0.82rem 1rem 0.82rem 0.8rem;
  border: 1px solid rgba(132, 173, 255, 0.28);
  border-radius: 20px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 35px rgba(15, 20, 35, 0.1), inset 0 1px 0 #fff;
  animation: bubble-drift 11s ease-in-out infinite;
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s ease;
  cursor: pointer;
  outline: none;
}
.infographic > .bubble:hover,
.infographic > .bubble:focus-visible,
.infographic > .bubble.screen-active {
  border-color: rgba(84, 137, 255, 0.7);
  box-shadow: 0 22px 44px rgba(15, 20, 35, 0.15), 0 0 0 4px rgba(132, 173, 255, 0.12), inset 0 1px 0 #fff;
}
.infographic .bubble-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: linear-gradient(145deg, #eaf1ff, #dce7ff);
  font-size: 1.55rem;
  line-height: 1;
  box-shadow: inset 0 1px 0 #fff;
}
.infographic > .bubble div { display: flex; flex-direction: column; gap: 0.12rem; }
.infographic > .bubble em { font-style: normal; font-weight: 800; font-size: 0.7rem; letter-spacing: 0.055em; white-space: nowrap; }
.infographic > .bubble small { color: var(--text-subtle); font-size: 0.63rem; font-weight: 600; white-space: nowrap; }
.b1 { left: 5%; top: 11%; animation-delay: -1s; }
.b2 { left: 2%; bottom: 16%; animation-delay: -6s; animation-duration: 13s; }
.b3 { left: 39%; top: 4%; animation-delay: -3s; animation-duration: 12s; }
.b4 { right: 4%; top: 13%; animation-delay: -8s; animation-duration: 14s; }
.b5 { right: 2%; bottom: 14%; animation-delay: -4s; animation-duration: 12.5s; }
.b6 { left: 30%; bottom: 5%; animation-delay: -9s; animation-duration: 15s; }

.phone-aura {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 48px;
  width: 310px;
  height: 70px;
  border-radius: 50%;
  background: rgba(15, 20, 35, 0.24);
  filter: blur(24px);
  transform: translateX(-50%);
}
.info-phone {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 226px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 39px;
  background: #05070f;
  box-shadow: 0 34px 70px rgba(15, 20, 35, 0.3), 0 0 0 7px rgba(255, 255, 255, 0.6);
  transform: translate(calc(-50% + var(--phone-x)), calc(-50% + var(--phone-y))) rotate(2deg);
  transition: transform 0.55s cubic-bezier(.2,.8,.2,1);
}
.info-phone::before {
  content: '';
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 50%;
  width: 34%;
  height: 18px;
  border-radius: 0 0 13px 13px;
  background: #05070f;
  transform: translateX(-50%);
}
.info-phone-screen { border-radius: 31px; overflow: hidden; aspect-ratio: 9 / 20; background: #0f1423; }
.info-phone-screen img { width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: opacity 0.28s ease, scale 0.45s ease; }
.info-phone-screen img.is-changing { opacity: 0.15; scale: 0.985; }
.phone-live {
  position: absolute;
  z-index: 5;
  top: 34px;
  right: -67px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.62rem;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 20, 35, 0.9);
  box-shadow: 0 9px 24px rgba(15,20,35,0.22);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.phone-live i { width: 6px; height: 6px; border-radius: 50%; background: #70e3a2; box-shadow: 0 0 0 4px rgba(112,227,162,0.15); animation: live-pulse 2s ease-out infinite; }
.orbit-toast {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.8rem;
  border-radius: 15px;
  color: #fff;
  background: rgba(15, 20, 35, 0.93);
  box-shadow: 0 16px 32px rgba(15, 20, 35, 0.22);
  animation: toast-float 9s ease-in-out infinite;
}
.orbit-toast > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: #0f1423; background: #84adff; font-weight: 800; }
.orbit-toast div { display: flex; flex-direction: column; }
.orbit-toast strong { font-size: 0.67rem; }
.orbit-toast small { color: rgba(255,255,255,0.58); font-size: 0.57rem; }
.toast-scan { left: 25%; top: 39%; animation-delay: -2s; }
.toast-stats { right: 24%; bottom: 34%; animation-delay: -6s; }
.toast-stats > span { background: #f8c65e; }

@keyframes bubble-drift {
  0%, 100% { translate: var(--orbit-x) var(--orbit-y); rotate: -0.6deg; }
  50% { translate: calc(var(--orbit-x) + 5px) calc(var(--orbit-y) - 10px); rotate: 0.8deg; }
}
@keyframes toast-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes orbit-spin { to { transform: translate(-50%, -50%) rotate(352deg); } }
@keyframes orbit-spin-reverse { to { transform: translate(-50%, -50%) rotate(-336deg); } }
@keyframes twinkle { 0%, 100% { scale: 0.75; opacity: 0.45; rotate: 0; } 50% { scale: 1.15; opacity: 1; rotate: 18deg; } }
@keyframes live-pulse { 70%, 100% { box-shadow: 0 0 0 8px rgba(112,227,162,0); } }

@media (max-width: 767px) {
  .infographic { height: 690px; border-radius: 34px; margin-top: 2.5rem; }
  .orbit-ring-outer { width: 580px; height: 480px; }
  .orbit-ring-inner { width: 380px; height: 380px; }
  .orbit-glow { width: 320px; }
  .info-phone { width: 202px; }
  .infographic > .bubble { min-width: 0; padding: 0.55rem; border-radius: 17px; }
  .infographic .bubble-icon { width: 40px; height: 40px; font-size: 1.3rem; }
  .infographic > .bubble div { display: none; }
  .b1 { left: 6%; top: 10%; }
  .b2 { left: 5%; bottom: 12%; }
  .b3 { left: 42%; top: 3%; }
  .b4 { right: 6%; top: 13%; }
  .b5 { right: 4%; bottom: 11%; }
  .b6 { left: 40%; bottom: 3%; }
  .toast-scan { left: 3%; top: 34%; }
  .toast-stats { right: 2%; bottom: 31%; }
  .phone-live { right: -34px; }
}
@media (max-width: 420px) {
  .orbit-toast { padding: 0.5rem; }
  .orbit-toast div { display: none; }
  .phone-live { right: -18px; }
}
@media (prefers-reduced-motion: reduce) {
  .infographic > .bubble, .orbit-ring, .orbit-star, .orbit-toast, .phone-live i { animation: none !important; }
  .info-phone, .infographic > .bubble, .info-phone-screen img { transition: none; }
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-section { position: relative; overflow: hidden; }
.pricing-section::before,
.pricing-section::after {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}
.pricing-section::before { left: -230px; top: 8%; background: rgba(132, 173, 255, 0.13); }
.pricing-section::after { right: -260px; bottom: -140px; border: 1px dashed rgba(59, 111, 224, 0.22); }
.pricing-section .container { position: relative; z-index: 1; }
.pricing-heading { max-width: 650px; margin: 0 auto; }
.pricing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  padding: 0.42rem 0.78rem;
  border: 1px solid rgba(59, 111, 224, 0.18);
  border-radius: 999px;
  color: #3b6fe0;
  background: rgba(132, 173, 255, 0.12);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1180px;
  margin: 3.5rem auto 0;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: 1.65rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  text-align: left;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 36px rgba(15, 20, 35, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(15, 20, 35, 0.12); }
.pricing-card.featured {
  border-color: #84adff;
  background: linear-gradient(155deg, #151d30 0%, #0f1423 100%);
  color: #fff;
  box-shadow: 0 25px 55px rgba(15, 20, 35, 0.24), 0 0 0 5px rgba(132, 173, 255, 0.1);
  transform: translateY(-10px);
}
.pricing-card.featured:hover { transform: translateY(-16px); box-shadow: 0 31px 64px rgba(15, 20, 35, 0.3), 0 0 0 5px rgba(132, 173, 255, 0.14); }
.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  padding: 0.42rem 0.9rem;
  border-radius: 0 0 12px 12px;
  color: #0f1423;
  background: #84adff;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transform: translateX(-50%);
}
.pricing-card-top { display: flex; align-items: center; gap: 0.8rem; margin: 0.5rem 0 1.5rem; }
.plan-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #2f63d4;
  background: #eaf1ff;
  font-size: 1.25rem;
  font-weight: 800;
}
.featured .plan-icon { color: #0f1423; background: #84adff; }
.pricing-card h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; }
.pricing-card-top p { margin-top: 0.12rem; color: var(--text-subtle); font-size: 0.7rem; }
.featured .pricing-card-top p { color: rgba(255, 255, 255, 0.55); }
.plan-price { display: flex; align-items: flex-start; min-height: 64px; font-variant-numeric: tabular-nums; }
.plan-price .currency { margin: 0.35rem 0.15rem 0 0; color: #3b6fe0; font-size: 1rem; font-weight: 800; }
.plan-price strong { font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; font-weight: 800; letter-spacing: -0.055em; }
.plan-price .period { align-self: flex-end; margin: 0 0 0.38rem 0.45rem; color: var(--text-subtle); font-size: 0.68rem; font-weight: 700; }
.free-price strong { letter-spacing: -0.045em; }
.free-plan .plan-icon { color: #0f1423; background: #eef2fa; }
.free-plan .plan-features li span { color: #526078; background: #eef2fa; }
.free-button { color: #0f1423; border: 1px solid #d9e1f0; background: #eef2fa; }
.free-button:hover { background: #dfe7f5; }
.featured .plan-price .currency { color: #84adff; }
.featured .plan-price .period { color: rgba(255, 255, 255, 0.5); }
.plan-note { min-height: 44px; margin: 0.8rem 0 1.15rem; color: var(--text-muted); font-size: 0.76rem; line-height: 1.55; }
.featured .plan-note { color: rgba(255, 255, 255, 0.64); }
.featured .plan-note b { color: #84adff; }
.plan-features { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.5rem; list-style: none; }
.plan-features li { display: flex; align-items: center; gap: 0.55rem; color: var(--text-muted); font-size: 0.76rem; font-weight: 600; }
.plan-features li span { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; color: #2f63d4; background: #eaf1ff; font-size: 0.65rem; font-weight: 800; }
.featured .plan-features li { color: rgba(255, 255, 255, 0.72); }
.featured .plan-features li span { color: #0f1423; background: #84adff; }
.plan-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 0.83rem 1rem;
  border-radius: 13px;
  color: #fff;
  background: #0f1423;
  font-size: 0.76rem;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease;
}
.plan-button:hover { transform: translateY(-1px); background: #242f4b; }
.featured .plan-button { color: #0f1423; background: #84adff; }
.featured .plan-button:hover { background: #9bbdff; }
.plan-button span { font-size: 1rem; }
.pricing-includes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  max-width: 920px;
  margin: 2.4rem auto 0;
  color: var(--text-muted);
  font-size: 0.73rem;
  font-weight: 700;
}
.pricing-includes span { display: flex; align-items: center; gap: 0.35rem; }
.pricing-includes i { color: #3b6fe0; font-style: normal; }
.pricing-disclaimer { margin-top: 1rem; color: var(--text-subtle); font-size: 0.65rem; }
@media (max-width: 1050px) and (min-width: 851px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; gap: 1.25rem; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-6px); }
}
@media (max-width: 850px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; gap: 1.25rem; }
  .pricing-card { min-height: 0; }
  .pricing-card.featured, .pricing-card.featured:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pricing-card, .plan-button { transition: none; }
}

/* ==========================================================================
   Feature rows
   ========================================================================== */
.feature-row {
  padding: 4rem 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: #fff;
}
.feature-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .feature-inner { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .feature-inner.visual-left .feature-visual { grid-column: 1; grid-row: 1; }
  .feature-inner.visual-left .feature-text { grid-column: 2; grid-row: 1; }
  .feature-inner.visual-right .feature-text { grid-column: 1; grid-row: 1; text-align: right; }
  .feature-inner.visual-right .feature-visual { grid-column: 2; grid-row: 1; }
  .feature-inner.visual-right .hyrox-pills { margin-left: auto; }
}
.feature-text p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }
.feature-text em { font-style: italic; color: var(--text); }

.feature-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 380px; }
.feature-visual::before {
  content: '';
  position: absolute;
  inset: 8% -10% 8% -10%;
  border-radius: 50% 40% 45% 50%;
  z-index: 0;
}
.blob-pink::before { background: var(--pink-soft); }
.blob-yellow::before { background: var(--yellow-soft); }
.blob-lavender::before { background: var(--lavender-soft); }
.feature-visual > * { position: relative; z-index: 1; }

/* whiteboard */
.coach-frame {
  position: relative;
  width: min(100%, 460px);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.coach-frame img { width: 100%; height: 100%; object-fit: cover; }
.scan-corners { position: absolute; inset: 1.25rem; pointer-events: none; }
.scan-corners i { position: absolute; width: 22px; height: 22px; border: 3px solid var(--accent); }
.scan-corners i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.scan-corners i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.scan-corners i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.scan-corners i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.scan-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: #fff; color: var(--navy);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em;
  padding: 0.35rem 0.7rem; border-radius: 999px;
}
.card-detected { position: absolute; right: -4%; bottom: 4%; flex-direction: column; align-items: stretch; gap: 0.7rem; max-width: 260px; }
.card-shared { position: absolute; left: 0; bottom: 10%; max-width: 280px; }
@media (max-width: 899px) {
  .feature-visual { flex-direction: column; }
  .card-detected { position: relative; right: auto; bottom: auto; margin-top: -2.5rem; align-self: flex-end; margin-right: 0.5rem; }
  .card-shared { position: relative; left: auto; bottom: auto; margin-top: -2rem; align-self: flex-start; margin-left: 0.5rem; }
}

/* 1RM calculator */
.calc-widget {
  width: 100%;
  max-width: 400px;
  margin-right: 150px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 1.35rem;
}
.calc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.calc-title { font-weight: 800; font-size: 0.9rem; }
.unit-toggle { display: flex; background: var(--gray-bg); border-radius: 999px; padding: 3px; }
.unit-btn { padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; color: var(--text-muted); }
.unit-btn.active { background: var(--accent); color: #0F1423; }
.lift-selector { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem; }
.lift-pill {
  padding: 0.4rem 0.85rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700;
  background: var(--gray-bg); color: var(--text-muted); transition: all 0.15s;
}
.lift-pill.active { background: var(--accent); color: #0F1423; }
.weight-control { background: var(--gray-bg); border-radius: 14px; padding: 0.9rem 1rem; margin-bottom: 1rem; }
.weight-label-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; font-weight: 700; color: var(--text-muted); margin-bottom: 0.5rem; }
.weight-input-wrap { display: flex; align-items: baseline; gap: 0.3rem; }
#rm-weight-input {
  width: 70px; padding: 0.15rem 0.5rem; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-weight: 800; font-size: 1.1rem; text-align: right; color: var(--text); background: #fff; outline: none;
}
#rm-weight-input:focus { border-color: var(--accent); }
.weight-unit-badge { font-size: 0.72rem; font-weight: 800; color: #3B6FE0; }
.slider { width: 100%; accent-color: var(--accent); cursor: pointer; }
.percentage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
@media (min-width: 480px) { .percentage-grid { grid-template-columns: repeat(4, 1fr); } }
.pct-card { background: var(--gray-bg); border-radius: 12px; padding: 0.6rem 0.65rem; }
.pct-head { display: flex; justify-content: space-between; font-size: 0.65rem; font-weight: 700; color: var(--text-subtle); }
.pct-head span:first-child { color: #3B6FE0; }
.pct-load { font-size: 1rem; font-weight: 800; margin-top: 0.15rem; }
.pct-load .pct-unit { font-size: 0.65rem; color: var(--text-subtle); font-weight: 700; }

/* timers */
.timer-demo {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 1.25rem;
  width: min(100%, 350px);
  margin-right: 150px;
}
@media (max-width: 480px) { .timer-demo, .calc-widget { margin-right: 0; } .side-phone:not(.big) { display: none; } }
.timer-mode-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin-bottom: 1rem; }
.timer-card { text-align: left; background: var(--gray-bg); border-radius: 12px; padding: 0.65rem 0.8rem; display: flex; flex-direction: column; transition: all 0.15s; }
.timer-card.active { background: var(--navy); color: #fff; }
.timer-card.active .mode-name { color: var(--accent); }
.mode-name { font-weight: 800; font-size: 0.85rem; }
.mode-desc { font-size: 0.65rem; opacity: 0.7; }
.clock { text-align: center; padding: 0.75rem 0 1rem; }
.clock-digits { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.clock-status { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; color: #3B6FE0; }
.btn-danger { background: #E5484D; color: #fff; }

.side-phone {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(6deg);
  width: 170px;
  background: #05070F;
  border-radius: 30px;
  padding: 7px;
  box-shadow: var(--shadow-lg);
}
.side-phone.big { position: relative; transform: rotate(-6deg); width: 240px; right: auto; top: auto; border-radius: 40px; padding: 9px; }
.side-phone-screen { border-radius: 24px; overflow: hidden; aspect-ratio: 9 / 20; }
.side-phone.big .side-phone-screen { border-radius: 32px; }
.side-phone-screen img { width: 100%; height: 100%; object-fit: cover; }

.bubble-cluster { position: absolute; inset: 0; }
.bubble-cluster .bubble { position: absolute; display: grid; place-items: center; width: 78px; height: 78px; border: 1px solid var(--line); border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); }
.bubble-cluster .bubble span { font-size: 1.9rem; filter: none; }
.s1 { left: 4%; top: 12%; }
.s2 { left: 0; top: 48%; }
.s3 { left: 10%; bottom: 8%; }
.s4 { right: 4%; top: 18%; }
.s5 { right: 0; bottom: 14%; }

/* AI coach tabs */
.hyrox-pills { margin-left: auto; }
}
.feature-text p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }
.feature-text em { font-style: italic; color: var(--text); }

.feature-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 380px; }
.feature-visual::before {
  content: '';
  position: absolute;
  inset: 8% -10% 8% -10%;
  border-radius: 50% 40% 45% 50%;
  z-index: 0;
}
.blob-pink::before { background: var(--pink-soft); }
.blob-yellow::before { background: var(--yellow-soft); }
.blob-lavender::before { background: var(--lavender-soft); }
.feature-visual > * { position: relative; z-index: 1; }

/* whiteboard */
.coach-frame {
  position: relative;
  width: min(100%, 460px);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.coach-frame img { width: 100%; height: 100%; object-fit: cover; }
.scan-corners { position: absolute; inset: 1.25rem; pointer-events: none; }
.scan-corners i { position: absolute; width: 22px; height: 22px; border: 3px solid var(--accent); }
.scan-corners i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.scan-corners i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.scan-corners i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.scan-corners i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.scan-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: #fff; color: var(--navy);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em;
  padding: 0.35rem 0.7rem; border-radius: 999px;
}
.card-detected { position: absolute; right: -4%; bottom: 4%; flex-direction: column; align-items: stretch; gap: 0.7rem; max-width: 260px; }
.card-shared { position: absolute; left: 0; bottom: 10%; max-width: 280px; }
@media (max-width: 899px) {
  .feature-visual { flex-direction: column; }
  .card-detected { position: relative; right: auto; bottom: auto; margin-top: -2.5rem; align-self: flex-end; margin-right: 0.5rem; }
  .card-shared { position: relative; left: auto; bottom: auto; margin-top: -2rem; align-self: flex-start; margin-left: 0.5rem; }
}

/* 1RM calculator */
.calc-widget {
  width: 100%;
  max-width: 400px;
  margin-right: 150px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 1.35rem;
}
.calc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.calc-title { font-weight: 800; font-size: 0.9rem; }
.unit-toggle { display: flex; background: var(--gray-bg); border-radius: 999px; padding: 3px; }
.unit-btn { padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; color: var(--text-muted); }
.unit-btn.active { background: var(--accent); color: #0F1423; }
.lift-selector { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem; }
.lift-pill {
  padding: 0.4rem 0.85rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700;
  background: var(--gray-bg); color: var(--text-muted); transition: all 0.15s;
}
.lift-pill.active { background: var(--accent); color: #0F1423; }
.weight-control { background: var(--gray-bg); border-radius: 14px; padding: 0.9rem 1rem; margin-bottom: 1rem; }
.weight-label-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; font-weight: 700; color: var(--text-muted); margin-bottom: 0.5rem; }
.weight-input-wrap { display: flex; align-items: baseline; gap: 0.3rem; }
#rm-weight-input {
  width: 70px; padding: 0.15rem 0.5rem; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-weight: 800; font-size: 1.1rem; text-align: right; color: var(--text); background: #fff; outline: none;
}
#rm-weight-input:focus { border-color: var(--accent); }
.weight-unit-badge { font-size: 0.72rem; font-weight: 800; color: #3B6FE0; }
.slider { width: 100%; accent-color: var(--accent); cursor: pointer; }
.percentage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
@media (min-width: 480px) { .percentage-grid { grid-template-columns: repeat(4, 1fr); } }
.pct-card { background: var(--gray-bg); border-radius: 12px; padding: 0.6rem 0.65rem; }
.pct-head { display: flex; justify-content: space-between; font-size: 0.65rem; font-weight: 700; color: var(--text-subtle); }
.pct-head span:first-child { color: #3B6FE0; }
.pct-load { font-size: 1rem; font-weight: 800; margin-top: 0.15rem; }
.pct-load .pct-unit { font-size: 0.65rem; color: var(--text-subtle); font-weight: 700; }

/* timers */
.timer-demo {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 1.25rem;
  width: min(100%, 350px);
  margin-right: 150px;
}
@media (max-width: 480px) { .timer-demo, .calc-widget { margin-right: 0; } .side-phone:not(.big) { display: none; } }
.timer-mode-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin-bottom: 1rem; }
.timer-card { text-align: left; background: var(--gray-bg); border-radius: 12px; padding: 0.65rem 0.8rem; display: flex; flex-direction: column; transition: all 0.15s; }
.timer-card.active { background: var(--navy); color: #fff; }
.timer-card.active .mode-name { color: var(--accent); }
.mode-name { font-weight: 800; font-size: 0.85rem; }
.mode-desc { font-size: 0.65rem; opacity: 0.7; }
.clock { text-align: center; padding: 0.75rem 0 1rem; }
.clock-digits { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.clock-status { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; color: #3B6FE0; }
.btn-danger { background: #E5484D; color: #fff; }

.side-phone {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(6deg);
  width: 170px;
  background: #05070F;
  border-radius: 30px;
  padding: 7px;
  box-shadow: var(--shadow-lg);
}
.side-phone.big { position: relative; transform: rotate(-6deg); width: 240px; right: auto; top: auto; border-radius: 40px; padding: 9px; }
.side-phone-screen { border-radius: 24px; overflow: hidden; aspect-ratio: 9 / 20; }
.side-phone.big .side-phone-screen { border-radius: 32px; }
.side-phone-screen img { width: 100%; height: 100%; object-fit: cover; }

.bubble-cluster { position: absolute; inset: 0; }
.bubble-cluster .bubble { position: absolute; display: grid; place-items: center; width: 78px; height: 78px; border: 1px solid var(--line); border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); animation: hyrox-icon-float 8s ease-in-out infinite; }
.bubble-cluster .bubble span { font-size: 1.9rem; filter: none; }
.bubble-cluster .s2 { animation-delay: -2s; }
.bubble-cluster .s3 { animation-delay: -4s; }
.bubble-cluster .s4 { animation-delay: -1s; }
.bubble-cluster .s5 { animation-delay: -5s; }
@keyframes hyrox-icon-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-9px) rotate(3deg); } }
.s1 { left: 4%; top: 12%; }
.s2 { left: 0; top: 48%; }
.s3 { left: 10%; bottom: 8%; }
.s4 { right: 4%; top: 18%; }
.s5 { right: 0; bottom: 14%; }

/* AI coach tabs */
.hyrox-pills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin-top: 1.25rem; max-width: 380px; }
.hyrox-pills span { background: var(--gray-bg); border-radius: 10px; padding: 0.6rem 0.75rem; text-align: center; font-size: 0.8rem; font-weight: 700; }
.card-race { position: absolute; right: 0; bottom: 8%; max-width: 260px; }
@media (max-width: 899px) { .card-race { position: relative; right: auto; bottom: auto; margin-top: -2rem; align-self: flex-end; margin-right: 0.5rem; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 2.5rem; }
.faq-item { background: var(--gray-bg); border-radius: 16px; overflow: hidden; }
.faq-question { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.35rem; font-size: 1rem; font-weight: 700; outline: none; border-radius: inherit; }
.faq-question:focus-visible { box-shadow: inset 0 0 0 2px #3b6fe0; }
.faq-chevron { width: 28px; height: 28px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: #3B6FE0; transition: transform 0.2s; line-height: 1; }
.faq-chevron svg { display: block; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.faq-item.active .faq-chevron { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 1.35rem 1.2rem; font-size: 0.9rem; color: var(--text-muted); }
.faq-item.active .faq-answer { display: block; }

/* ==========================================================================
   Final CTA & footer
   ========================================================================== */
.final-cta { padding: 4rem 0 6rem; }
.store-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }

.site-footer { background: var(--lavender); padding: 4rem 0 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr auto; align-items: start; } }
.social-row { display: flex; gap: 0.75rem; margin-bottom: 4rem; }
.social { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; transition: transform 0.15s; }
.social svg { width: 17px; height: 17px; }
.social:hover { transform: translateY(-2px); }
.brand-footer { color: var(--text); }
.footer-copy { font-size: 0.8rem; color: var(--text-subtle); margin-top: 0.75rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.7rem; font-size: 0.85rem; font-weight: 600; color: var(--navy); }
@media (min-width: 768px) { .footer-links { min-width: 220px; } }
.footer-links a:hover { text-decoration: underline; }
.footer-link-button {
  width: fit-content;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
}
.footer-link-button:hover { text-decoration: underline; }

/* Analytics consent */
.consent-banner {
  position: fixed;
  z-index: 1000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 760px;
  margin: 0 auto;
  padding: 1.1rem;
  border: 1px solid rgba(132, 173, 255, 0.28);
  border-radius: 18px;
  color: #fff;
  background: rgba(15, 20, 35, 0.97);
  box-shadow: 0 18px 55px rgba(15, 20, 35, 0.28);
  backdrop-filter: blur(14px);
}
.consent-banner[hidden] { display: none; }
.consent-copy { max-width: 475px; }
.consent-copy strong { display: block; margin-bottom: 0.3rem; font-size: 0.95rem; }
.consent-copy p { color: rgba(255, 255, 255, 0.7); font-size: 0.78rem; line-height: 1.55; }
.consent-copy a { color: #a6c4ff; text-decoration: underline; text-underline-offset: 2px; }
.consent-actions { display: flex; flex: 0 0 auto; gap: 0.55rem; }
.consent-button {
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}
.consent-button:focus-visible { outline: 3px solid #84adff; outline-offset: 2px; }
.consent-decline:hover { background: rgba(255, 255, 255, 0.09); }
.consent-accept { border-color: #84adff; color: #0f1423; background: #84adff; }
.consent-accept:hover { background: #a6c4ff; }
@media (max-width: 640px) {
  .consent-banner { align-items: stretch; flex-direction: column; gap: 0.9rem; }
  .consent-actions { justify-content: flex-end; }
}

/* ==========================================================================
   Benchmark marquee
   ========================================================================== */
.marquee-section { padding: 1.5rem 0 3rem; background: #fff; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; gap: 0.75rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.wod-pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--gray-bg); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.55rem 1rem;
  font-size: 0.85rem; color: var(--text-muted); white-space: nowrap;
}
.wod-pill b { color: var(--text); font-weight: 800; }
.wod-pill.hero-tag b { color: #E5484D; }
.wod-pill.hyrox-tag b { color: #3B6FE0; }
.marquee-caption { text-align: center; color: var(--text-subtle); font-size: 0.85rem; margin-top: 1.25rem; padding: 0 1.5rem; }

/* ==========================================================================
   Visual AI transformation (whiteboard photo -> structured workout)
   ========================================================================== */
#wod-taking { padding-bottom: 2rem; }
#community { padding-top: 2rem; }
.scan-flow {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 150px 100px 210px;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  width: min(calc(100% - 3rem), 600px);
  min-height: 170px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(132, 173, 255, 0.28);
  border-radius: 30px;
  background: radial-gradient(circle at 50% 50%, rgba(132, 173, 255, 0.16), transparent 28%), rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 50px rgba(15, 20, 35, 0.12), inset 0 1px 0 #fff;
}
.scan-flow::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 130px;
  right: 190px;
  top: 50%;
  height: 1px;
  background: repeating-linear-gradient(90deg, #b8ccfa 0 5px, transparent 5px 11px);
}
.scan-source,
.scan-result { position: relative; z-index: 2; }
.scan-step-label,
.scan-result-head span { color: #6f7d98; font-size: 0.55rem; font-weight: 800; letter-spacing: 0.09em; }
.mini-whiteboard {
  position: relative;
  height: 112px;
  margin-top: 0.42rem;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 16px;
  background: #e9edf5;
  box-shadow: 0 10px 24px rgba(15, 20, 35, 0.16);
  transform: rotate(-2deg);
}
.mini-whiteboard img { width: 100%; height: 100%; object-fit: cover; }
.visual-scan-line {
  position: absolute;
  left: 5px;
  right: 5px;
  top: 8px;
  height: 2px;
  border-radius: 999px;
  background: #84adff;
  box-shadow: 0 0 10px #84adff, 0 8px 22px rgba(132, 173, 255, 0.72);
  animation: visual-scan 2.8s ease-in-out infinite;
}
.scan-corner { position: absolute; width: 16px; height: 16px; border-color: #84adff; border-style: solid; }
.corner-a { left: 7px; top: 7px; border-width: 2px 0 0 2px; }
.corner-b { right: 7px; bottom: 7px; border-width: 0 2px 2px 0; }
.scan-engine { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.55rem; }
.engine-rings {
  position: relative;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(132, 173, 255, 0.42);
  border-radius: 50%;
  background: #0f1423;
  box-shadow: 0 0 0 9px rgba(132, 173, 255, 0.1), 0 12px 28px rgba(15, 20, 35, 0.22);
  animation: engine-pulse 2.8s ease-in-out infinite;
}
.engine-rings::before,
.engine-rings::after {
  content: '';
  position: absolute;
  border: 1px dashed rgba(132, 173, 255, 0.46);
  border-radius: 50%;
  animation: engine-spin 8s linear infinite;
}
.engine-rings::before { inset: -9px; }
.engine-rings::after { inset: 8px; animation-direction: reverse; animation-duration: 5s; }
.engine-rings span { color: #84adff; font-size: 1.4rem; }
.scan-engine strong { color: #3b6fe0; font-size: 0.55rem; font-weight: 800; letter-spacing: 0.09em; }
.scan-result {
  padding: 0.8rem;
  border: 1px solid #e6eaf3;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(15, 20, 35, 0.1);
  animation: result-arrive 2.8s ease-in-out infinite;
}
.scan-result-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.35rem; }
.scan-result-head i { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 7px; color: #0f1423; background: #84adff; font-size: 0.62rem; font-style: normal; font-weight: 800; }
.scan-result > strong { display: block; margin-bottom: 0.42rem; font-size: 0.72rem; }
.result-row { display: flex; align-items: center; gap: 0.42rem; padding: 0.32rem 0; border-top: 1px solid #edf0f6; }
.result-row b { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 6px; color: #2f63d4; background: #eaf1ff; font-size: 0.58rem; }
.result-row span { font-size: 0.59rem; font-weight: 700; }
.result-row small { display: block; color: var(--text-subtle); font-size: 0.48rem; font-weight: 600; }
.data-particle { position: absolute; z-index: 1; top: 50%; left: 27%; width: 6px; height: 6px; border-radius: 50%; background: #84adff; box-shadow: 0 0 8px #84adff; animation: data-travel 2.8s linear infinite; }
.particle-two { width: 4px; height: 4px; animation-delay: -0.9s; }
.particle-three { animation-delay: -1.8s; }
@keyframes visual-scan { 0%, 10% { top: 8px; opacity: 0.5; } 50% { top: calc(100% - 10px); opacity: 1; } 90%, 100% { top: 8px; opacity: 0.5; } }
@keyframes engine-spin { to { transform: rotate(360deg); } }
@keyframes engine-pulse { 0%, 100% { transform: scale(0.96); } 50% { transform: scale(1.04); } }
@keyframes result-arrive { 0%, 28% { transform: translateX(5px); opacity: 0.68; } 48%, 100% { transform: translateX(0); opacity: 1; } }
@keyframes data-travel { 0% { left: 27%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 71%; opacity: 0; } }

@media (max-width: 899px) {
  .feature-inner .feature-text { order: 0; }
  .feature-inner .feature-visual { order: 1; }
  .scan-flow { width: min(calc(100% - 3rem), 560px); }
}
@media (max-width: 580px) {
  .scan-flow { grid-template-columns: 88px 44px minmax(120px, 1fr); gap: 0.4rem; width: min(calc(100% - 1.5rem), 560px); min-height: 145px; padding: 0.6rem; border-radius: 22px; }
  .scan-flow::before { left: 90px; right: 125px; }
  .mini-whiteboard { height: 88px; border-width: 3px; border-radius: 13px; }
  .engine-rings { width: 48px; height: 48px; box-shadow: 0 0 0 6px rgba(132, 173, 255, 0.1), 0 9px 20px rgba(15, 20, 35, 0.2); }
  .scan-engine strong { font-size: 0.46rem; }
  .scan-result { padding: 0.6rem; }
  .scan-result > strong { font-size: 0.62rem; }
  .result-row span { font-size: 0.5rem; }
  .result-row small { font-size: 0.43rem; }
}
@media (prefers-reduced-motion: reduce) {
  .bubble-cluster .bubble, .visual-scan-line, .engine-rings, .engine-rings::before, .engine-rings::after, .scan-result, .data-particle { animation: none; }
  .data-particle { display: none; }
}

/* Keep calculator labels, values and units aligned across every percentage. */
.percentage-grid { align-items: stretch; }
.pct-card { display: flex; flex-direction: column; min-width: 0; }
.pct-head { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0.08rem; min-height: 2.45rem; text-align: left; }
.pct-load { display: flex; align-items: baseline; gap: 0.18rem; margin-top: auto; white-space: nowrap; }
.pct-load .pct-unit { flex: 0 0 auto; }
