:root {
  color-scheme: dark;
  --bg: #070908;
  --panel: #101513;
  --panel-2: #171d1a;
  --text: #f6f8f3;
  --muted: #a7b0a5;
  --line: rgba(246, 248, 243, 0.14);
  --green: #b7ff3c;
  --green-2: #53d178;
  --orange: #ff8a4c;
  --ice: #d8f8ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 340px;
  height: 340px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183, 255, 60, 0.18), rgba(83, 209, 120, 0.08) 36%, transparent 70%);
  transform: translate3d(-50%, -50%, 0);
  mix-blend-mode: screen;
  opacity: 0;
  z-index: 20;
  transition: opacity 300ms ease;
}

.site-header {
  position: fixed;
  inset: 20px clamp(16px, 4vw, 56px) auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 12px 12px 16px;
  border: 1px solid rgba(246, 248, 243, 0.12);
  border-radius: 999px;
  background: rgba(7, 9, 8, 0.56);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
  transition: background 260ms ease, border-color 260ms ease, transform 260ms ease;
}

.site-header.scrolled {
  background: rgba(7, 9, 8, 0.86);
  border-color: rgba(183, 255, 60, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green);
  color: #11150f;
  font-size: 0.82rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  font-size: 0.92rem;
  color: rgba(246, 248, 243, 0.82);
}

.primary-nav a {
  position: relative;
  transition: color 220ms ease;
}

.primary-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

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

.primary-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(246, 248, 243, 0.1);
  border: 1px solid rgba(246, 248, 243, 0.12);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(246, 248, 243, 0.1);
  color: var(--text);
  padding: 12px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  margin: 4px 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: clamp(130px, 18vh, 190px) clamp(20px, 6vw, 82px) clamp(36px, 8vh, 78px);
  isolation: isolate;
  overflow: hidden;
}

.hero-image,
.hero-scrim,
.hero-noise {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  z-index: -3;
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero-scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 9, 8, 0.95) 0%, rgba(7, 9, 8, 0.72) 38%, rgba(7, 9, 8, 0.18) 72%),
    linear-gradient(0deg, rgba(7, 9, 8, 0.95), transparent 38%);
}

.hero-noise {
  z-index: -1;
  opacity: 0.16;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 5px);
  mix-blend-mode: overlay;
}

.hero-content {
  max-width: 780px;
  padding-top: 18vh;
}

@media (min-width: 981px) {
  .hero-content {
    max-width: min(760px, calc(100% - 600px));
  }
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--green);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hero-title {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(4rem, 12vw, 9.6rem);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(246, 248, 243, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-120%);
  transition: transform 600ms ease;
}

.button:hover::before {
  transform: translateX(120%);
}

.button:hover {
  transform: translateY(-3px);
}

.button.primary {
  background: var(--green);
  color: #0d120c;
  box-shadow: 0 20px 50px rgba(183, 255, 60, 0.24);
}

.button.secondary {
  background: rgba(246, 248, 243, 0.1);
  border-color: rgba(246, 248, 243, 0.16);
  color: var(--text);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 6vw, 82px);
  bottom: clamp(22px, 7vh, 76px);
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 1px;
  width: min(520px, calc(100% - 40px));
  border: 1px solid rgba(246, 248, 243, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(246, 248, 243, 0.08);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  padding: 18px;
  background: rgba(7, 9, 8, 0.48);
}

.metric,
.metric-symbol {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
}

.metric {
  color: var(--text);
}

.metric-symbol {
  color: var(--green);
}

.hero-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #0f1411;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.marquee span {
  padding: 20px 28px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 248, 243, 0.42);
  text-transform: uppercase;
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  font-weight: 900;
  line-height: 1;
}

.section {
  padding: clamp(72px, 12vw, 144px) clamp(20px, 6vw, 82px);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 38px;
}

.section-heading h2,
.method-copy h2,
.trial h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.2rem, 6vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading p,
.trial p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.program-grid,
.price-grid,
.coach-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.program-card,
.coach-card,
.price-card {
  position: relative;
  min-height: 310px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(246, 248, 243, 0.075), rgba(246, 248, 243, 0.032));
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
}

.program-card::after,
.price-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% -20%;
  height: 180px;
  background: radial-gradient(circle, rgba(183, 255, 60, 0.16), transparent 64%);
  transform: translateZ(-1px);
}

.program-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(183, 255, 60, 0.48);
  color: var(--green);
  font-weight: 900;
}

.program-card h3,
.coach-card h3,
.price-card h3 {
  margin: 58px 0 12px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.program-card p,
.coach-card p,
.price-card p {
  color: var(--muted);
  line-height: 1.65;
}

.program-card span {
  position: absolute;
  left: 26px;
  bottom: 24px;
  color: var(--ice);
  font-weight: 800;
}

.method {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  background: #eef4e8;
  color: #0b100c;
}

.method .section-kicker {
  color: #1d6f39;
}

.method-visual {
  position: relative;
  min-height: 560px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(12, 18, 14, 0.96), rgba(19, 54, 34, 0.94)),
    radial-gradient(circle at 70% 20%, rgba(183, 255, 60, 0.26), transparent 42%);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(5, 9, 6, 0.34);
}

.pulse-ring {
  position: absolute;
  left: 50%;
  top: 45%;
  width: min(62%, 320px);
  aspect-ratio: 1;
  border: 2px solid rgba(183, 255, 60, 0.48);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 2.5s ease-in-out infinite;
}

.readout {
  position: absolute;
  left: 32px;
  top: 32px;
  color: var(--text);
}

.readout span {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
}

.readout strong {
  display: block;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.85;
}

.bar-stack {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 10px;
  height: 170px;
}

.bar-stack i {
  display: block;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--green), var(--green-2));
  animation: bars 1.8s ease-in-out infinite alternate;
}

.bar-stack i:nth-child(1) { height: 36%; }
.bar-stack i:nth-child(2) { height: 68%; animation-delay: 120ms; }
.bar-stack i:nth-child(3) { height: 94%; animation-delay: 240ms; }
.bar-stack i:nth-child(4) { height: 52%; animation-delay: 360ms; }
.bar-stack i:nth-child(5) { height: 78%; animation-delay: 480ms; }

.method-copy h2 {
  margin-bottom: 30px;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  padding: 20px 0 20px 28px;
  border-left: 2px solid rgba(29, 111, 57, 0.18);
}

.timeline-item span {
  color: #1d6f39;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline-item p {
  margin: 8px 0 0;
  max-width: 620px;
  color: #465047;
  line-height: 1.7;
}

.coaches {
  background: #090c0b;
}

.coach-card {
  min-height: 250px;
  background:
    linear-gradient(180deg, rgba(246, 248, 243, 0.09), rgba(246, 248, 243, 0.03)),
    linear-gradient(135deg, rgba(183, 255, 60, 0.12), transparent 45%);
}

.coach-card span {
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing {
  background: #f4f6ef;
  color: #0a0d0b;
}

.pricing .section-kicker {
  color: #1d6f39;
}

.billing-toggle {
  display: inline-flex;
  padding: 5px;
  border: 1px solid rgba(10, 13, 11, 0.14);
  border-radius: 999px;
  background: rgba(10, 13, 11, 0.06);
}

.billing-toggle button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #263027;
  padding: 11px 18px;
  cursor: pointer;
  transition: color 220ms ease, background 220ms ease;
}

.billing-toggle button.active {
  background: #0b100c;
  color: var(--text);
}

.price-card {
  background: #ffffff;
  border-color: rgba(10, 13, 11, 0.12);
  box-shadow: 0 24px 60px rgba(16, 22, 17, 0.12);
}

.price-card.featured {
  background: #0b100c;
  color: var(--text);
  transform: translateY(-18px);
}

.price-card p {
  color: #5b655d;
}

.price-card.featured p {
  color: rgba(246, 248, 243, 0.7);
}

.badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--green);
  color: #11150f;
  font-size: 0.78rem;
  font-weight: 900;
}

.price-card strong {
  display: block;
  margin: 28px 0 22px;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1;
}

.price-card small {
  color: #6a746c;
  font-size: 1rem;
}

.price-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  border-radius: 999px;
  background: #0b100c;
  color: var(--text);
  font-weight: 900;
}

.price-card.featured a {
  background: var(--green);
  color: #0b100c;
}

.trial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(72px, 12vw, 144px) clamp(20px, 6vw, 82px);
  background:
    linear-gradient(135deg, rgba(183, 255, 60, 0.1), transparent 32%),
    #0b100c;
}

.trial-form {
  display: grid;
  gap: 14px;
  align-self: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 248, 243, 0.06);
}

.trial-form label {
  display: grid;
  gap: 8px;
  color: rgba(246, 248, 243, 0.74);
  font-size: 0.9rem;
  font-weight: 700;
}

.trial-form input,
.trial-form select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(246, 248, 243, 0.12);
  border-radius: 8px;
  background: rgba(7, 9, 8, 0.6);
  color: var(--text);
  padding: 0 14px;
  outline: none;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.trial-form input:focus,
.trial-form select:focus {
  border-color: rgba(183, 255, 60, 0.6);
  box-shadow: 0 0 0 4px rgba(183, 255, 60, 0.12);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 82px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span {
  color: var(--text);
  font-weight: 900;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from { transform: scale(1.02) translateX(-0.6%); }
  to { transform: scale(1.08) translateX(0.8%); }
}

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

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.96); box-shadow: 0 0 0 0 rgba(183, 255, 60, 0.24); }
  50% { transform: translate(-50%, -50%) scale(1.04); box-shadow: 0 0 0 42px rgba(183, 255, 60, 0); }
}

@keyframes bars {
  to { transform: scaleY(0.7); filter: brightness(1.2); }
}

@media (max-width: 980px) {
  .site-header {
    inset: 14px 14px auto;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .primary-nav {
    position: fixed;
    inset: 74px 14px auto;
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid rgba(246, 248, 243, 0.12);
    border-radius: 18px;
    background: rgba(7, 9, 8, 0.95);
    backdrop-filter: blur(18px);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .primary-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 14px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: 920px;
    align-items: center;
    padding-top: 118px;
  }

  .hero-content {
    padding-top: 0;
  }

  .hero-title {
    font-size: clamp(3.35rem, 15vw, 7rem);
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 42px;
  }

  .section-heading,
  .method,
  .trial {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .program-grid,
  .price-grid,
  .coach-row {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .method-visual {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: 820px;
    padding-inline: 16px;
  }

  .hero-image {
    object-position: 72% center;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(7, 9, 8, 0.96) 0%, rgba(7, 9, 8, 0.8) 52%, rgba(7, 9, 8, 0.3) 100%),
      linear-gradient(0deg, rgba(7, 9, 8, 0.96), transparent 44%);
  }

  .hero-title {
    max-width: 9ch;
  }

  .hero-actions,
  .site-footer {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .section,
  .trial {
    padding-inline: 16px;
  }

  .section-heading h2,
  .method-copy h2,
  .trial h2 {
    font-size: clamp(2rem, 13vw, 3.8rem);
  }

  .program-card,
  .coach-card,
  .price-card {
    min-height: 250px;
    padding: 22px;
  }

  .program-card h3,
  .coach-card h3,
  .price-card h3 {
    margin-top: 38px;
  }

  .method-visual {
    min-height: 340px;
  }

  .trial-form {
    padding: 16px;
  }
}

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

  .cursor-glow {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===========================
   BMI Calculator
=========================== */

.bmi-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background: #101513;
}

.bmi-copy h2 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(2.2rem, 6vw, 5.8rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.bmi-copy p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}

.bmi-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 248, 243, 0.06);
  box-shadow: var(--shadow);
}

#bmiForm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

#bmiForm label {
  display: grid;
  gap: 8px;
  color: rgba(246, 248, 243, 0.74);
  font-size: 0.9rem;
  font-weight: 700;
}

#bmiForm label:last-of-type,
#bmiForm button {
  grid-column: 1 / -1;
}

#bmiForm input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(246, 248, 243, 0.12);
  border-radius: 8px;
  background: rgba(7, 9, 8, 0.6);
  color: var(--text);
  padding: 0 14px;
  outline: none;
}

#bmiForm input:focus {
  border-color: rgba(183, 255, 60, 0.6);
  box-shadow: 0 0 0 4px rgba(183, 255, 60, 0.12);
}

.bmi-result {
  margin-top: 18px;
  min-height: 92px;
  padding: 18px;
  border-left: 3px solid var(--green);
  background: rgba(183, 255, 60, 0.08);
}

.bmi-result p {
  margin: 0;
  color: var(--muted);
}

.bmi-result strong {
  color: var(--green);
  font-size: 1.5rem;
}

@media (max-width: 980px) {
  .bmi-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  #bmiForm {
    grid-template-columns: 1fr;
  }

  #bmiForm label:last-of-type,
  #bmiForm button {
    grid-column: auto;
  }
}
