/* ═══════════════════════════════════════════════════════════
   FiTrack — Refonte 2026
   Hero dark + corps clair · Apple-level polish
   ═══════════════════════════════════════════════════════════ */

/* ──── VARIABLES ──── */
:root {
  /* Colors — Light (default) */
  --bg: #fafafa;
  --bg-alt: #f2f2f4;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --border: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.12);
  --text: #111114;
  --text-secondary: #555560;
  --text-muted: #8e8e93;

  /* Accent */
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --accent-soft: rgba(13, 148, 136, 0.1);
  --accent-glow: rgba(13, 148, 136, 0.25);
  --on-accent: #ffffff;

  /* Dark section (hero) */
  --dark-bg: #07070b;
  --dark-surface: rgba(255, 255, 255, 0.05);
  --dark-border: rgba(255, 255, 255, 0.08);
  --dark-text: #f5f5f7;
  --dark-text-secondary: #a1a1a6;
  --dark-accent: #3dffc9;
  --dark-accent-glow: rgba(61, 255, 201, 0.3);

  /* Dimensions */
  --container: 1120px;
  --header-h: 56px;
  --section-py: clamp(4rem, 10vw, 8rem);

  /* Typography */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.08);
  --shadow-card: 0 1px 0 rgba(255,255,255,0.9) inset, 0 1px 3px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.05);
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ──── RESET ──── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--accent-soft); color: var(--text); }

/* ──── UTILITY ──── */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100px; left: 16px;
  padding: 8px 16px; background: var(--accent); color: var(--on-accent);
  border-radius: var(--r-sm); font-weight: 600; z-index: 9999;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, #06b6d4 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ──── BUTTONS ──── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn--sm { padding: 0.5rem 1.125rem; font-size: 0.875rem; border-radius: var(--r-sm); }
.btn--lg { padding: 0.875rem 1.75rem; font-size: 1rem; }

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 1px 3px rgba(13,148,136,0.2);
}
.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(13,148,136,0.25);
  transform: translateY(-1px);
}

.btn--accent {
  background: linear-gradient(135deg, var(--accent) 0%, #06b6d4 100%);
  color: var(--on-accent);
  box-shadow: 0 2px 8px rgba(13,148,136,0.25);
}
.btn--accent:hover {
  box-shadow: 0 4px 20px rgba(13,148,136,0.35);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.1);
  color: var(--dark-text);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
}
.btn--glass:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ──── BADGE ──── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--dark-accent);
  border: 1px solid rgba(61, 255, 201, 0.2);
}
.badge--glow {
  box-shadow: 0 0 20px rgba(61, 255, 201, 0.15);
}

/* ──── SECTION COMMON ──── */
.section {
  padding: var(--section-py) 0;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section__sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ──── HEADER ──── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  padding: 0.25rem 0;
}

.header--dark {
  background: transparent;
}

.header--dark.header--scrolled {
  background: rgba(7, 7, 11, 0.85);
  border-bottom: 1px solid var(--dark-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  z-index: 10;
}

.logo__mark { color: var(--accent); display: flex; }
.header--dark .logo__mark { color: var(--dark-accent); }

.logo__text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.header--dark .logo__text { color: var(--dark-text); }

.logo--footer .logo__mark { color: var(--accent); }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list {
  display: flex;
  gap: 1.75rem;
}

.nav__list a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav__list a:hover { color: var(--text); }

.header--dark .nav__list a { color: var(--dark-text-secondary); }
.header--dark .nav__list a:hover { color: var(--dark-text); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language switch */
.lang-switch {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.35rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.lang-switch:hover { border-color: var(--accent); color: var(--accent); }
.header--dark .lang-switch { border-color: var(--dark-border); color: var(--dark-text-secondary); }
.header--dark .lang-switch:hover { border-color: var(--dark-accent); color: var(--dark-accent); }

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px; height: 40px;
  position: relative;
  z-index: 10;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.header--dark .nav-toggle__bar,
.header--dark .nav-toggle__bar::before,
.header--dark .nav-toggle__bar::after {
  background: var(--dark-text);
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 9px;
}
.nav-toggle__bar::before { top: 12px; }
.nav-toggle__bar::after { top: 24px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before {
  top: 18px; transform: rotate(45deg);
  background: var(--text);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after {
  top: 18px; transform: rotate(-45deg);
  background: var(--text);
}

/* ──── HERO ──── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--dark-bg);
  overflow: hidden;
  padding: calc(var(--header-h) + 3rem) 0 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(13, 148, 136, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 20% 70%, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black, transparent);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 560px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--dark-text);
  margin: 1.25rem 0 1.5rem;
}

.hero .text-gradient {
  background: linear-gradient(135deg, #3dffc9 0%, #06b6d4 40%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--dark-text-secondary);
  max-width: 480px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 1.5rem;
}

.hero__platforms {
  font-size: 0.875rem;
  color: var(--dark-text-secondary);
  opacity: 0.7;
}

/* Hero phone mockup */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__phone {
  position: relative;
  width: 280px;
  height: 560px;
}

.hero__phone-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at center, var(--dark-accent-glow), transparent 60%);
  filter: blur(40px);
  animation: phoneGlow 4s ease-in-out infinite alternate;
}

@keyframes phoneGlow {
  0% { opacity: 0.5; }
  100% { opacity: 0.8; }
}

.hero__phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #111;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 20px 60px rgba(0,0,0,0.5),
    0 0 40px rgba(61,255,201,0.1);
}

.hero__phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__fade {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 2;
}

/* ──── MARQUEE ──── */
.marquee {
  padding: 1.25rem 0;
  overflow: hidden;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  /* gradient mask : fade edges so the loop is invisible */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.marquee__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  will-change: transform;
  animation: marquee 30s linear infinite;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee__dot { opacity: 0.4; }

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ──── STATS ──── */
.stats {
  padding: 4rem 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stats__item {
  padding: 1.5rem;
}

.stats__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.stats__label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ──── BENTO FEATURES ──── */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.bento__cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: all 0.3s ease;
}

.bento__cell:hover {
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.bento__cell--hero {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--dark-bg) 0%, #0f172a 100%);
  border-color: var(--dark-border);
  color: var(--dark-text);
}

.bento__cell--hero .bento__text { color: var(--dark-text-secondary); }
.bento__cell--hero .bento__icon { color: var(--dark-accent); }

.bento__cell--wide {
  grid-column: span 2;
}

.bento__icon {
  color: var(--accent);
  margin-bottom: 1rem;
}

.bento__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.bento__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ──── COACH PLANS ──── */
.coach-plans {
  background: var(--bg-alt);
}

.coach-plans__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 880px;
  margin: 0 auto;
}

.plan-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.plan-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.plan-card--elite {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #0f172a 100%);
  border-color: rgba(61, 255, 201, 0.2);
  color: var(--dark-text);
}

.plan-card--elite .plan-card__desc { color: var(--dark-text-secondary); }
.plan-card--elite .plan-card__features li { color: var(--dark-text-secondary); }
.plan-card--elite .plan-card__features li::before { color: var(--dark-accent); }
.plan-card--elite .plan-card__feature--accent { color: var(--dark-text) !important; }
.plan-card--elite .plan-card__icon { color: var(--dark-accent); }

.plan-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent) 0%, #06b6d4 100%);
  color: var(--on-accent);
  border-radius: 100px;
  white-space: nowrap;
}

.plan-card__header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.plan-card--elite .plan-card__header { border-color: var(--dark-border); }

.plan-card__icon {
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.plan-card__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.plan-card__amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.plan-card__period {
  font-size: 1rem;
  color: var(--text-secondary);
}

.plan-card--elite .plan-card__period { color: var(--dark-text-secondary); }

.plan-card__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 1.5rem;
}

.plan-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.plan-card__features li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding-left: 1.75rem;
  position: relative;
}

.plan-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.plan-card__feature--accent {
  color: var(--text) !important;
  font-weight: 500;
}

.plan-card__feature--accent::before {
  content: "★" !important;
  color: var(--accent) !important;
}

.plan-card__cta {
  width: 100%;
  text-align: center;
}

/* ──── STEPS ──── */
.steps__grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
}

.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--on-accent);
  background: linear-gradient(135deg, var(--accent), #06b6d4);
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.step__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step__text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step__arrow {
  display: flex;
  align-items: center;
  padding-top: 3.5rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ──── PRICING ──── */
.pricing {
  background: var(--bg-alt);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.pricing-card--popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
  transform: scale(1.02);
  z-index: 1;
}

.pricing-card--popular:hover {
  transform: scale(1.02) translateY(-3px);
}

.pricing-card--elite {
  background: linear-gradient(160deg, var(--dark-bg), #0f172a);
  border-color: rgba(61, 255, 201, 0.15);
  color: var(--dark-text);
}

.pricing-card--elite .pricing-card__desc { color: var(--dark-text-secondary); }
.pricing-card--elite .pricing-card__features li { color: var(--dark-text-secondary); }
.pricing-card--elite .pricing-card__features li::before { color: var(--dark-accent); }
.pricing-card--elite .pricing-card__feature--accent { color: var(--dark-text) !important; }
.pricing-card--elite .pricing-card__period { color: var(--dark-text-secondary); }

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent) 0%, #06b6d4 100%);
  color: var(--on-accent);
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card__badge--elite {
  background: linear-gradient(135deg, #818cf8, #6366f1);
}

.pricing-card__header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.pricing-card--elite .pricing-card__header { border-color: var(--dark-border); }

.pricing-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.pricing-card__amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.pricing-card__period {
  font-size: 1rem;
  color: var(--text-secondary);
}

.pricing-card__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-card__features li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding-left: 1.75rem;
  position: relative;
}

.pricing-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.pricing-card__feature--accent {
  color: var(--text) !important;
  font-weight: 500;
}

.pricing-card__feature--accent::before {
  content: "★" !important;
}

.pricing-card__cta {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

/* ──── TESTIMONIALS ──── */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: all 0.3s ease;
}

.testimonial:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
}

.testimonial__stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.testimonial__quote p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--on-accent);
  background: linear-gradient(135deg, var(--accent), #06b6d4);
  flex-shrink: 0;
}

.testimonial__avatar--b { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.testimonial__avatar--c { background: linear-gradient(135deg, #f59e0b, #ef4444); }

.testimonial__name {
  font-size: 0.9375rem;
  font-weight: 600;
}

.testimonial__role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ──── VIDEOS ──── */
.videos__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.video-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.video-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.video-card--main {
  grid-row: span 2;
}

.video-card__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.video-card--main .video-card__media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 300px;
}

.video-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card__label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.video-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
}

.video-card--main .video-card__title {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 2rem 1.5rem;
  font-size: 1.25rem;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

/* ──── FAQ ──── */
.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq__item[open] {
  border-color: var(--accent-soft);
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.08);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq__q::-webkit-details-marker { display: none; }

.faq__q::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq__item[open] .faq__q::after {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq__a {
  padding: 0 1.5rem 1.25rem;
}

.faq__a p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.faq__a a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ──── NEWSLETTER ──── */
.newsletter__inner {
  background: linear-gradient(135deg, var(--dark-bg), #0f172a);
  border-radius: var(--r-xl);
  padding: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  color: var(--dark-text);
}

.newsletter__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.newsletter__sub {
  font-size: 1rem;
  color: var(--dark-text-secondary);
}

.newsletter__form {
  flex-shrink: 0;
  min-width: 360px;
}

.newsletter__field {
  display: flex;
  gap: 0.5rem;
}

.newsletter__input {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: var(--font);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-sm);
  color: var(--dark-text);
  outline: none;
  transition: border-color 0.2s;
}

.newsletter__input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter__input:focus { border-color: var(--dark-accent); }

.newsletter__btn {
  flex-shrink: 0;
}

.newsletter__legal {
  font-size: 0.8125rem;
  color: var(--dark-text-secondary);
  opacity: 0.6;
  margin-top: 0.5rem;
}

/* ──── DOWNLOAD CTA ──── */
.download {
  text-align: center;
}

.download__inner {
  max-width: 640px;
  margin: 0 auto;
}

.download__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.download__sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.download__buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--r-md);
  transition: all 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.store-btn__icon { flex-shrink: 0; }

.store-btn__text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-btn__small {
  font-size: 0.6875rem;
  opacity: 0.8;
  line-height: 1;
}

.store-btn__name {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
}

.download__pwa {
  display: inline-block;
  font-size: 0.9375rem;
  color: var(--accent);
  font-weight: 500;
  transition: opacity 0.2s;
}

.download__pwa:hover { opacity: 0.8; }

/* ──── GUIDES HUB ──── */
.guides-hub__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.guides-hub__card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  background: color-mix(in srgb, var(--accent) 4%, var(--surface));
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.guides-hub__card:hover {
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 12%, transparent);
}

.guides-hub__icon {
  font-size: 1.75rem;
  line-height: 1;
}

.guides-hub__card strong {
  font-size: 1.05rem;
  color: var(--text);
}

.guides-hub__card span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ──── FOOTER ──── */
.footer {
  background: var(--dark-bg);
  color: var(--dark-text);
  padding: 4rem 0 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 3rem;
}

.footer__tagline {
  font-size: 0.9375rem;
  color: var(--dark-text-secondary);
  margin-top: 0.75rem;
  max-width: 260px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer__group-title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark-text-secondary);
  margin-bottom: 1rem;
}

.footer__group ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__group a {
  font-size: 0.9375rem;
  color: var(--dark-text-secondary);
  transition: color 0.2s;
}

.footer__group a:hover { color: var(--dark-text); }

.footer__bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--dark-border);
}

.footer__copy, .footer__disclaimer {
  font-size: 0.8125rem;
  color: var(--dark-text-secondary);
  opacity: 0.6;
}

/* ──── ANIMATIONS ──── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children in grids */
.reveal.is-visible .bento__cell,
.reveal.is-visible .pricing-card,
.reveal.is-visible .testimonial,
.reveal.is-visible .step,
.reveal.is-visible .video-card {
  animation: fadeUp 0.5s ease both;
}

.reveal.is-visible > :nth-child(1) { animation-delay: 0s; }
.reveal.is-visible > :nth-child(2) { animation-delay: 0.08s; }
.reveal.is-visible > :nth-child(3) { animation-delay: 0.16s; }
.reveal.is-visible > :nth-child(4) { animation-delay: 0.24s; }
.reveal.is-visible > :nth-child(5) { animation-delay: 0.32s; }
.reveal.is-visible > :nth-child(6) { animation-delay: 0.4s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ──── RESPONSIVE ──── */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content { max-width: 100%; }
  .hero__sub { max-width: 100%; }
  .hero__ctas { justify-content: center; }

  .hero__visual { order: -1; }
  .hero__phone { width: 220px; height: 440px; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__cell--hero { grid-column: span 2; }
  .bento__cell--wide { grid-column: span 2; }

  .pricing__grid { grid-template-columns: 1fr; max-width: 400px; }
  .pricing-card--popular { transform: none; }
  .pricing-card--popular:hover { transform: translateY(-3px); }

  .testimonials__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .coach-plans__grid { grid-template-columns: 1fr; max-width: 440px; }

  .newsletter__inner { flex-direction: column; text-align: center; }
  .newsletter__form { min-width: 0; width: 100%; max-width: 420px; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: transparent;
    backdrop-filter: blur(40px) saturate(1.4);
    -webkit-backdrop-filter: blur(40px) saturate(1.4);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 5;
  }

  .header--dark .nav {
    background: transparent;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .nav__list a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    text-shadow: 0 1px 8px rgba(255,255,255,0.6);
  }

  .header--dark .nav.is-open .nav__list a {
    color: var(--dark-text);
    text-shadow: 0 1px 12px rgba(0,0,0,0.8);
  }

  .hero { min-height: auto; padding: calc(var(--header-h) + 2rem) 0 0; }
  .hero__title { font-size: clamp(2rem, 7vw, 3rem); }
  .hero__phone { width: 200px; height: 400px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  .bento { grid-template-columns: 1fr; }
  .bento__cell--hero, .bento__cell--wide { grid-column: span 1; }

  .steps__grid {
    flex-direction: column;
    align-items: center;
  }

  .step { max-width: 100%; }
  .step__arrow { transform: rotate(90deg); padding: 0; }

  .videos__grid { grid-template-columns: 1fr; }
  .video-card--main { grid-row: span 1; }
  .video-card--main .video-card__media { min-height: 220px; }

  .download__buttons { flex-direction: column; align-items: center; }

  .newsletter__inner { padding: 2.5rem 1.5rem; }
  .newsletter__field { flex-direction: column; }

  .footer__links { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 0.25rem; text-align: center; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .hero__phone { width: 180px; height: 360px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .footer__links { grid-template-columns: 1fr; }
}

/* ──── HERO — TRUST BAR ──── */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-top: 0.25rem;
}

.hero__trust-item {
  font-size: 0.8125rem;
  color: var(--dark-text-secondary);
  opacity: 0.75;
}

.hero__trust-sep {
  color: var(--dark-text-secondary);
  opacity: 0.3;
}

/* ──── HERO — APP UI MOCKUP ──── */
.app-ui {
  width: 100%;
  height: 100%;
  background: #0c0c12;
  display: flex;
  flex-direction: column;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  overflow: hidden;
}

.app-ui__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px 4px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.app-ui__icons {
  display: flex;
  gap: 6px;
  align-items: center;
  opacity: 0.7;
}

.app-ui__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px 4px;
}

.app-ui__greeting {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.app-ui__streak-badge {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,165,0,0.15);
  color: #ffa500;
  border-radius: 20px;
  padding: 3px 8px;
  border: 1px solid rgba(255,165,0,0.3);
}

.app-ui__ring-section {
  display: flex;
  justify-content: center;
  padding: 8px 0 4px;
}

.app-ui__ring {
  position: relative;
  width: 100px;
  height: 100px;
}

.app-ui__ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.app-ui__ring-val {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.app-ui__ring-unit {
  font-size: 9px;
  color: rgba(255,255,255,0.5);
  margin-top: 1px;
}

.app-ui__ring-goal {
  font-size: 9px;
  color: rgba(255,255,255,0.4);
}

.app-ui__macros {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 16px 8px;
}

.app-ui__macro-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
}

.app-ui__macro-name {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
}

.app-ui__macro-val {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.app-ui__bar {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}

.app-ui__bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease;
}

.app-ui__bar-fill--p { background: linear-gradient(90deg, #3dffc9, #06b6d4); }
.app-ui__bar-fill--g { background: linear-gradient(90deg, #818cf8, #6366f1); }
.app-ui__bar-fill--l { background: linear-gradient(90deg, #f59e0b, #ef4444); }

.app-ui__challenge-card {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px;
  padding: 10px 12px;
  background: rgba(61,255,201,0.07);
  border: 1px solid rgba(61,255,201,0.15);
  border-radius: 12px;
}

.app-ui__challenge-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.app-ui__challenge-info {
  flex: 1;
  min-width: 0;
}

.app-ui__challenge-title {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.app-ui__challenge-sub {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.app-ui__challenge-sub strong {
  color: #3dffc9;
}

.app-ui__challenge-arrow {
  color: rgba(255,255,255,0.3);
  font-size: 14px;
  flex-shrink: 0;
}

.app-ui__tabs {
  display: flex;
  justify-content: space-around;
  padding: 8px 16px 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: auto;
}

.app-ui__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: rgba(255,255,255,0.3);
  transition: all 0.2s;
}

.app-ui__tab--active {
  color: #3dffc9;
  background: rgba(61,255,201,0.1);
}

/* ──── HERO — COACH DASHBOARD MOCKUP ──── */
.app-ui__coach-header {
  padding: 6px 16px 4px;
}

.app-ui__coach-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dark-accent);
}

.app-ui__coach-meta {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  margin-top: 1px;
}

.app-ui__coach-summary {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 6px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
}

.app-ui__coach-stat {
  flex: 1;
  text-align: center;
  padding: 8px 4px;
}

.app-ui__coach-stat-num {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: rgba(255,255,255,0.85);
  line-height: 1;
}

.app-ui__coach-stat-num--good { color: #3dffc9; }
.app-ui__coach-stat-num--warn { color: #f59e0b; }

.app-ui__coach-stat-label {
  display: block;
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  margin-top: 3px;
}

.app-ui__coach-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.07);
  flex-shrink: 0;
}

.app-ui__alert {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 12px 6px;
  padding: 6px 10px;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 8px;
  font-size: 10px;
  color: #f59e0b;
  font-weight: 500;
}

.app-ui__alert-icon { font-size: 12px; flex-shrink: 0; }

.app-ui__players {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 8px;
  flex: 1;
  overflow: hidden;
}

.app-ui__player {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px;
  border-radius: 8px;
  transition: background 0.2s;
}

.app-ui__player--good { background: rgba(61,255,201,0.04); }
.app-ui__player--warn { background: rgba(245,158,11,0.04); }
.app-ui__player--missing { background: rgba(239,68,68,0.04); }

.app-ui__player-av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3dffc9, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #07070b;
  flex-shrink: 0;
}

.app-ui__player-av--dim {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.3);
}

.app-ui__player-info {
  flex: 1;
  min-width: 0;
}

.app-ui__player-name {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-ui__player-bar {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.07);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 3px;
}

.app-ui__player-bar div {
  height: 100%;
  background: linear-gradient(90deg, #3dffc9, rgba(61,255,201,0.4));
  border-radius: 3px;
}

.app-ui__player-bar--purple div {
  background: linear-gradient(90deg, #818cf8, rgba(129,140,248,0.4));
}

.app-ui__player--warn .app-ui__player-bar div {
  background: linear-gradient(90deg, #f59e0b, rgba(245,158,11,0.3));
}

.app-ui__player-kcal {
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
  flex-shrink: 0;
}

.app-ui__player-kcal--dim { color: rgba(239,68,68,0.6); }

.app-ui__player-ok { font-size: 10px; color: #3dffc9; flex-shrink: 0; }
.app-ui__player-warn { font-size: 10px; color: #f59e0b; flex-shrink: 0; }
.app-ui__player-miss { font-size: 10px; color: rgba(239,68,68,0.7); flex-shrink: 0; }

/* ──── PAIN SECTION ──── */
.pain__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.pain__card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  transition: all 0.3s ease;
}

.pain__card--bad {
  opacity: 0.75;
}

.pain__card--good {
  background: linear-gradient(145deg, #031a15, #071e1a);
  border-color: rgba(61, 255, 201, 0.2);
  color: var(--dark-text);
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(61,255,201,0.1), 0 8px 32px rgba(61,255,201,0.05);
}

.pain__card-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.75rem;
}

.pain__card--good .pain__card-icon {
  color: var(--dark-accent);
}

.pain__card-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pain__card--good .pain__card-title { color: var(--dark-text); }

.pain__card-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.pain__card--good .pain__card-text { color: var(--dark-text-secondary); }

.pain__card-cross {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1rem;
  color: #ef4444;
  opacity: 0.5;
  font-weight: 700;
}

.pain__card-check {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1rem;
  color: var(--dark-accent);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .pain__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .pain__grid { grid-template-columns: 1fr; }
}

/* ──── AUDIENCE SPLIT ──── */
.audience {
  background: var(--bg);
}

.audience__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.audience-card {
  border-radius: var(--r-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.audience-card--athlete {
  background: linear-gradient(145deg, #031a15 0%, #071e1a 40%, #0a2522 100%);
  border: 1px solid rgba(61, 255, 201, 0.15);
  color: var(--dark-text);
}

.audience-card--coach {
  background: linear-gradient(145deg, #07070f 0%, #0d0d1f 40%, #111128 100%);
  border: 1px solid rgba(129, 140, 248, 0.15);
  color: var(--dark-text);
}

.audience-card__icon {
  margin-bottom: 1.25rem;
}

.audience-card--athlete .audience-card__icon {
  color: var(--dark-accent);
}

.audience-card--coach .audience-card__icon {
  color: #818cf8;
}

.audience-card__title {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.audience-card__desc {
  font-size: 1rem;
  color: var(--dark-text-secondary);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.audience-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}

.audience-card__features li {
  font-size: 0.9375rem;
  color: var(--dark-text-secondary);
  padding-left: 1.75rem;
  position: relative;
  line-height: 1.5;
}

.audience-card--athlete .audience-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--dark-accent);
  font-weight: 700;
}

.audience-card--coach .audience-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #818cf8;
  font-weight: 700;
}

.audience-card__cta {
  width: 100%;
  text-align: center;
}

.btn--outline-dark {
  background: transparent;
  color: var(--dark-text);
  border: 1.5px solid rgba(129, 140, 248, 0.35);
  transition: all 0.2s ease;
}

.btn--outline-dark:hover {
  background: rgba(129, 140, 248, 0.1);
  border-color: #818cf8;
  color: #818cf8;
}

/* ──── COMMUNITY / FOMO ──── */
.community {
  background: var(--dark-bg);
  color: var(--dark-text);
}

.community__eyebrow {
  color: var(--dark-accent);
}

.community__title {
  color: var(--dark-text);
}

.community__sub {
  color: var(--dark-text-secondary);
}

.community__layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.community__pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.community__pillar {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.community__pillar:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(61,255,201,0.2);
}

.community__pillar-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  display: block;
}

.community__pillar-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--dark-text);
}

.community__pillar-text {
  font-size: 0.9375rem;
  color: var(--dark-text-secondary);
  line-height: 1.6;
}

/* Leaderboard mockup */
.community__mockup {
  position: sticky;
  top: 2rem;
}

.lm {
  background: #111118;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
}

.lm__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

.lm__header-tag {
  margin-left: auto;
  background: rgba(61,255,201,0.12);
  color: #3dffc9;
  border: 1px solid rgba(61,255,201,0.2);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
}

.lm__item {
  display: grid;
  grid-template-columns: 24px 32px 1fr auto auto auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.2s;
}

.lm__item:hover {
  background: rgba(255,255,255,0.03);
}

.lm__item--gold {
  background: rgba(255,185,0,0.04);
}

.lm__item--you {
  background: rgba(61,255,201,0.05);
  border-left: 2px solid var(--dark-accent);
}

.lm__item--dim {
  opacity: 0.5;
}

.lm__rank {
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

.lm__item--gold .lm__rank { color: #fbbf24; }
.lm__item--you .lm__rank { color: var(--dark-accent); }

.lm__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
}

.lm__avatar--a { background: linear-gradient(135deg, #3dffc9, #06b6d4); color: #07070b; }
.lm__avatar--b { background: linear-gradient(135deg, #818cf8, #6366f1); color: #fff; }
.lm__avatar--you { background: rgba(61,255,201,0.2); color: var(--dark-accent); font-size: 0.5625rem; border: 1px solid rgba(61,255,201,0.4); }

.lm__name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lm__item--you .lm__name { color: var(--dark-accent); }

.lm__bar-wrap {
  width: 60px;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.lm__bar {
  height: 100%;
  background: linear-gradient(90deg, rgba(61,255,201,0.4), rgba(61,255,201,0.15));
  border-radius: 4px;
}

.lm__item--gold .lm__bar {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.lm__item--you .lm__bar {
  background: linear-gradient(90deg, var(--dark-accent), rgba(61,255,201,0.4));
}

.lm__score {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}

.lm__streak {
  font-size: 0.75rem;
  color: rgba(255,165,0,0.8);
  white-space: nowrap;
}

.lm__footer {
  padding: 0.875rem 1.25rem;
  background: rgba(255,255,255,0.02);
}

.lm__cta {
  display: block;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-accent);
  transition: opacity 0.2s;
}

.lm__cta:hover { opacity: 0.75; }

/* ──── BENTO TAGS ──── */
.bento__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.bento__tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  background: rgba(61,255,201,0.12);
  color: var(--dark-accent);
  border: 1px solid rgba(61,255,201,0.2);
}

/* ──── TESTIMONIALS 5-GRID ──── */
.testimonials__grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

/* ──── DOWNLOAD BADGE ──── */
.download__badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ──── RESPONSIVE — NEW SECTIONS ──── */
@media (max-width: 1024px) {
  .audience__grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .community__layout { grid-template-columns: 1fr; }
  .community__mockup { position: static; }
  .testimonials__grid--5 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .testimonials__grid--5 { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .audience-card { padding: 1.75rem; }
  .lm__bar-wrap { display: none; }
  .lm__item { grid-template-columns: 24px 28px 1fr auto auto; }
  .hero__trust { justify-content: center; }
}

@media (max-width: 480px) {
  .audience-card { padding: 1.5rem 1.25rem; }
  .lm { font-size: 0.875rem; }
}

/* ──── PAGES SECONDAIRES (clubs, SEO, légal) ──── */
.breadcrumb {
  padding: 1rem 0;
  margin-top: calc(var(--header-h) + 1rem);
}

.breadcrumb__list {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumb__list a { color: var(--accent); }
.breadcrumb__list li + li::before { content: "›"; margin-right: 0.5rem; }

.prose {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 0 var(--section-py);
}

.prose h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
}

.prose p { margin-bottom: 1rem; color: var(--text-secondary); line-height: 1.7; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.5rem; color: var(--text-secondary); list-style: disc; }
.prose ol li { list-style: decimal; }
.prose strong { color: var(--text); }

/* ──── CLUBS PAGE ──── */
.clubs-hero {
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  background: linear-gradient(180deg, var(--dark-bg) 0%, var(--bg) 100%);
  text-align: center;
}

.clubs-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark-text);
  margin: 1rem 0;
}

.clubs-hero__lead {
  font-size: 1.125rem;
  color: var(--dark-text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* ──── DARK MODE SYSTEM OVERRIDE ──── */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0c0f;
    --bg-alt: #111114;
    --surface: #18181c;
    --surface-raised: #1f1f24;
    --border: rgba(255, 255, 255, 0.06);
    --border-strong: rgba(255, 255, 255, 0.12);
    --text: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-muted: #6e6e73;
    --accent: #3dffc9;
    --accent-hover: #5dffcf;
    --accent-soft: rgba(61, 255, 201, 0.1);
    --accent-glow: rgba(61, 255, 201, 0.3);
    --on-accent: #07070b;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.4);
    --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 1px 3px rgba(0,0,0,0.3), 0 8px 32px rgba(0,0,0,0.35);
  }

  .hero__fade {
    background: linear-gradient(to bottom, transparent, var(--bg));
  }

  .header--scrolled {
    background: rgba(12, 12, 15, 0.85);
    border-bottom-color: rgba(255, 255, 255, 0.06);
  }

  .marquee { background: var(--bg-alt); border-color: var(--border); }

  .store-btn { background: #f5f5f7; color: #07070b; }

  .nav {
    background: rgba(12, 12, 15, 0.98);
  }

  .nav__list a { color: var(--text-secondary); }
  .nav__list a:hover { color: var(--text); }

  .btn--outline { border-color: var(--border-strong); color: var(--text); }
  .btn--outline:hover { border-color: var(--accent); color: var(--accent); }
}

.store-btn--soon { opacity: 0.55; cursor: default; pointer-events: none; }
.download__soon { margin-top: 0.75rem; font-size: 0.85rem; color: var(--text-secondary); }
