:root {
  --surface: rgba(9, 14, 18, 0.74);
  --surface-strong: rgba(10, 16, 20, 0.9);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f4f7f8;
  --muted: rgba(244, 247, 248, 0.72);
  --blue: #8ad8ff;
  --orange: #ff8c52;
  --white-glow: rgba(255, 255, 255, 0.24);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  --pointer-x: 50%;
  --pointer-y: 48%;
  --journey-progress: 0%;
  --pad-inline: 1rem;
  --header-pad-block: 0.85rem;
  --bp-md: 640px;
  --bp-nav: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(138, 216, 255, 0.12), transparent 26%),
    linear-gradient(160deg, #040608 0%, #091014 52%, #0b1217 100%);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

body.modal-open {
  overflow: hidden;
}

a,
button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: var(--header-pad-block) max(var(--pad-inline), env(safe-area-inset-left))
    var(--header-pad-block) max(var(--pad-inline), env(safe-area-inset-right));
  background: linear-gradient(to bottom, rgba(6, 10, 14, 0.82), rgba(6, 10, 14, 0.14));
  backdrop-filter: blur(18px);
}

.header-end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.brand,
.site-nav a,
.header-button {
  color: var(--text);
  text-decoration: none;
}

.brand {
  font-family: Futura, "Arial Black", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  flex-shrink: 0;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.3rem;
  margin-left: auto;
  margin-right: auto;
}

.site-nav a,
.header-button {
  position: relative;
  font-size: 0.95rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--text) 88%, transparent);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-actions .nav-icon,
.nav-actions .language-selector,
.nav-actions .header-button--ghost {
  display: none;
}

.nav-actions .header-button--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

.nav-icon,
.language-selector,
.mobile-menu-button {
  min-height: 2.7rem;
  min-width: 2.7rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.mobile-menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0.85rem;
}

.mobile-menu-button__icon {
  position: relative;
  display: block;
  width: 1.15rem;
  height: 1px;
  background: var(--text);
  box-shadow:
    0 -0.38rem 0 var(--text),
    0 0.38rem 0 var(--text);
}

.mobile-menu-button[aria-expanded="true"] {
  border-color: color-mix(in srgb, var(--blue) 45%, var(--border));
  background: rgba(138, 216, 255, 0.12);
}

.nav-icon:hover,
.language-selector:hover,
.mobile-menu-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.language-selector {
  min-width: auto;
}

.mobile-menu-panel[hidden] {
  display: none !important;
}

.mobile-menu-panel {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  justify-items: end;
  align-items: stretch;
  pointer-events: none;
}

.mobile-menu-panel:not([hidden]) {
  pointer-events: auto;
}

.mobile-menu-panel__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(4, 8, 11, 0.55);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 280ms ease;
}

.mobile-menu-panel:not([hidden]) .mobile-menu-panel__backdrop {
  opacity: 1;
}

.mobile-menu-panel__sheet {
  position: relative;
  z-index: 1;
  width: min(22rem, 92vw);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  padding: max(1rem, env(safe-area-inset-top)) 0 max(1rem, env(safe-area-inset-bottom))
    max(0.5rem, env(safe-area-inset-right));
  background: rgba(10, 16, 20, 0.97);
  border-left: 1px solid var(--border);
  box-shadow: -12px 0 48px rgba(0, 0, 0, 0.35);
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-panel:not([hidden]) .mobile-menu-panel__sheet {
  transform: translateX(0);
}

.mobile-menu-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-panel__title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.mobile-menu-panel__close {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
}

.mobile-menu-panel__nav {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0;
  overflow-y: auto;
}

.mobile-menu-panel__nav a {
  padding: 0.95rem 1.25rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu-panel__nav a:hover,
.mobile-menu-panel__nav a:focus-visible {
  background: rgba(138, 216, 255, 0.08);
}

.mobile-menu-panel__actions {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 1.25rem 1.25rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-panel__actions .nav-icon,
.mobile-menu-panel__actions .language-selector {
  display: flex;
  width: 100%;
  min-width: 0;
  border-radius: 1rem;
  justify-content: center;
}

.nav-icon--wide {
  justify-content: center;
}

.language-selector--wide {
  width: 100%;
}

body.mobile-nav-open {
  overflow: hidden;
}

.header-button,
.primary-button,
.secondary-button,
.login-form button,
.chip,
.toggle {
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease;
}

.header-button {
  min-height: 2.7rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.header-button--ghost {
  background: rgba(255, 255, 255, 0.04);
}

.header-button--primary {
  background: linear-gradient(135deg, #ffffff 0%, #bfeeff 38%, #ffbe9e 100%);
  color: #0d1418;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 5.75rem var(--pad-inline) 2.25rem;
  isolation: isolate;
  overflow: hidden;
}

.hero-media,
.hero-bg-abstract,
.hero-pane,
.hero-video,
.hero-motion-blur,
.hero-energy-stream,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-bg-abstract {
  z-index: 0;
  background-image: var(--img-hero-abstract);
  background-position: center;
  background-size: cover;
  transform: translateZ(0);
}

.hero-video,
.hero-video-training,
.hero-video-nutrition {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  will-change: transform;
  animation: heroZoom 14s ease-in-out infinite alternate;
  /* Cross-browser compatibility */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}

.hero-video-training {
  z-index: 2;
  clip-path: polygon(0 0, 64% 0, 44% 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 64% 0, 44% 100%, 0 100%);
  transform: translate3d(calc((var(--pointer-x, 50%) - 50%) / -24), calc((var(--pointer-y, 50%) - 50%) / -30), 0) scale(1.12);
  -webkit-transform: translate3d(calc((var(--pointer-x, 50%) - 50%) / -24), calc((var(--pointer-y, 50%) - 50%) / -30), 0) scale(1.12);
  filter: brightness(0.72) contrast(1.08) saturate(1.04);
  -webkit-filter: brightness(0.72) contrast(1.08) saturate(1.04);
  mix-blend-mode: soft-light;
  opacity: 0.58;
}

.hero-video-nutrition {
  z-index: 3;
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 20% 100%);
  -webkit-clip-path: polygon(40% 0, 100% 0, 100% 100%, 20% 100%);
  transform: translate3d(calc((var(--pointer-x, 50%) - 50%) / 18), calc((var(--pointer-y, 50%) - 50%) / 24), 0) scale(1.12);
  -webkit-transform: translate3d(calc((var(--pointer-x, 50%) - 50%) / 18), calc((var(--pointer-y, 50%) - 50%) / 24), 0) scale(1.12);
  filter: brightness(0.96) contrast(1.02) saturate(1.08);
  -webkit-filter: brightness(0.96) contrast(1.02) saturate(1.08);
  mix-blend-mode: soft-light;
  opacity: 0.58;
}

.hero-pane-split {
  z-index: 1;
  background-image: var(--img-hero-split);
  background-position: center;
  background-size: cover;
  will-change: transform;
  animation: heroZoom 14s ease-in-out infinite alternate;
  filter: brightness(0.88) contrast(1.05) saturate(1.05);
}

.hero-motion-blur {
  z-index: 3;
  background:
    radial-gradient(circle at calc(var(--pointer-x) * 1) calc(var(--pointer-y) * 1), rgba(255, 255, 255, 0.08), transparent 18%),
    radial-gradient(circle at 46% 52%, rgba(138, 216, 255, 0.08), transparent 24%);
  filter: blur(18px);
}

.hero-energy-stream {
  z-index: 4;
  background:
    radial-gradient(circle at 49% 54%, rgba(255, 255, 255, 0.16), transparent 10%),
    linear-gradient(120deg, transparent 0%, rgba(138, 216, 255, 0.08) 40%, rgba(255, 140, 82, 0.24) 50%, rgba(138, 216, 255, 0.08) 60%, transparent 100%);
  filter: blur(18px);
  animation: energyPulse 3.8s ease-in-out infinite;
  mix-blend-mode: screen;
}

.hero-overlay {
  z-index: 5;
  background:
    linear-gradient(90deg, rgba(4, 7, 9, 0.58) 0%, rgba(4, 7, 9, 0.14) 28%, rgba(4, 7, 9, 0.14) 72%, rgba(4, 7, 9, 0.44) 100%),
    linear-gradient(180deg, rgba(4, 7, 9, 0.48) 0%, rgba(4, 7, 9, 0.1) 28%, rgba(4, 7, 9, 0.28) 100%);
}

.hero-content,
.section-shell {
  position: relative;
  z-index: 10;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.hero-content {
  text-align: center;
}

.hero-hook,
.section-kicker {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(244, 247, 248, 0.92);
}

.hero-title {
  margin: 0;
  font-family: Futura, "Arial Black", sans-serif;
  font-size: clamp(2.85rem, 15vw, 11.8rem);
  line-height: 0.95;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: white;
  text-shadow: 0 14px 38px rgba(0, 0, 0, 0.22);
}

.hero-subtitle,
.section-lead,
.copy-card p,
.quote-panel p,
.settings-header p,
.dialog-copy {
  color: var(--muted);
  line-height: 1.8;
}

.hero-subtitle {
  max-width: 48rem;
  margin: 1rem auto 0;
  font-size: clamp(0.94rem, 4.2vw, 1.08rem);
  font-weight: 700;
  color: rgba(244, 247, 248, 0.92);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 0.85rem;
  margin-top: 1.75rem;
  width: min(22rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

.hero-actions .primary-button,
.hero-actions .secondary-button {
  width: 100%;
}

.primary-button,
.secondary-button,
.login-form button {
  position: relative;
  min-width: 9.8rem;
  min-height: 3.5rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.primary-button,
.login-form button {
  border: 0;
  color: #0d1418;
  background: linear-gradient(135deg, #ffffff 0%, #bfeeff 38%, #ffbe9e 100%);
  box-shadow:
    0 10px 24px rgba(138, 216, 255, 0.22),
    0 18px 34px rgba(255, 140, 82, 0.18);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.header-button:hover,
.primary-button:hover,
.secondary-button:hover,
.login-form button:hover,
.chip:hover,
.toggle:hover {
  transform: translateY(-2px) scale(1.01);
}

.header-button:hover,
.primary-button:hover {
  box-shadow:
    0 12px 26px rgba(138, 216, 255, 0.26),
    0 20px 36px rgba(255, 140, 82, 0.2);
}

.primary-button:active,
.secondary-button:active,
.login-form button:active {
  transform: scale(0.985);
}

.ripple-host {
  overflow: hidden;
  isolation: isolate;
}

.ripple {
  position: absolute;
  inset: auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: translate(-50%, -50%) scale(0);
  animation: rippleExpand 650ms ease-out forwards;
  pointer-events: none;
}

.continue-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  padding-bottom: 1rem;
}

.section-has-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.section-has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.42;
  filter: brightness(0.48) saturate(1.06);
  pointer-events: none;
}

.section-has-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 6, 9, 0.78) 0%,
    rgba(4, 6, 9, 0.58) 42%,
    rgba(4, 6, 9, 0.8) 100%
  );
  pointer-events: none;
}

.section-has-bg .section-shell,
.section-has-bg .settings-shell,
.section-has-bg .newsletter-shell,
.section-has-bg .continue-hint {
  position: relative;
  z-index: 1;
}

.section-bg-nutrition::before {
  background-image: var(--img-nutrition);
}

.section-bg-programs::before {
  background-image: var(--img-programs);
}

.section-bg-sport::before {
  background-image: var(--img-sport);
}

.section-bg-performance::before {
  background-image: var(--img-performance);
}

.section-bg-membership::before {
  background-image: var(--img-membership);
}

.section-bg-about::before {
  background-image: var(--img-about);
}

.section-bg-testimonials::before {
  background-image: var(--img-testimonials);
}

.section-bg-faq::before {
  background-image: var(--img-faq);
}

.section-bg-settings::before {
  background-image: var(--img-settings);
}

.section-bg-newsletter::before {
  background-image: var(--img-newsletter);
}

.continue-hint span {
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--blue) 60%, white 18%);
}

.step-section,
.feature-highlights,
.results-section,
.testimonials-section,
.faq-section,
.settings-section {
  padding: 1.25rem var(--pad-inline) 0;
}

.section-anchor {
  position: relative;
  top: -4.75rem;
}

.split-grid,
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.split-grid.reverse {
  grid-template-columns: 1fr;
}

.copy-card,
.visual-card,
.system-card,
.quote-panel,
.settings-card {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.copy-card,
.visual-card,
.quote-panel {
  border-radius: 1.5rem;
  padding: 1.35rem;
}

.copy-card h2,
.system-shell h2,
.settings-header h2 {
  margin: 0;
  font-family: Futura, "Arial Black", sans-serif;
  font-size: clamp(1.65rem, 6.5vw, 3.25rem);
  line-height: 1.05;
}

.detail-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.detail-list li {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.visual-card {
  display: grid;
  align-content: end;
  min-height: 15rem;
  transform: translateY(0);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.visual-card:hover {
  transform: translateY(-6px);
}

.visual-card-training {
  background:
    linear-gradient(180deg, rgba(8, 12, 16, 0.08), rgba(8, 12, 16, 0.68)),
    linear-gradient(135deg, rgba(138, 216, 255, 0.12), rgba(255, 140, 82, 0.08)),
    var(--img-sport);
  background-size: cover;
  background-position: center;
}

.visual-card-nutrition {
  background:
    linear-gradient(180deg, rgba(17, 13, 10, 0.08), rgba(17, 13, 10, 0.66)),
    linear-gradient(135deg, rgba(255, 140, 82, 0.12), rgba(255, 255, 255, 0.08)),
    var(--img-nutrition);
  background-size: cover;
  background-position: center;
}

.visual-card span,
.system-card span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--blue) 60%, white 24%);
}

.visual-card strong {
  margin-top: 0.85rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.15;
}

.system-shell,
.settings-shell {
  border-radius: 1.5rem;
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.section-lead {
  max-width: 42rem;
  margin-top: 1rem;
}

.system-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.system-card {
  border-radius: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
}

.system-card h3 {
  margin: 0.9rem 0 0;
  font-size: 1.24rem;
}

.system-card p {
  color: var(--muted);
  line-height: 1.7;
}

.quote-panel {
  display: grid;
  place-items: center;
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(138, 216, 255, 0.08), rgba(255, 140, 82, 0.1)),
    var(--surface);
}

.quote-panel p {
  max-width: 28rem;
  font-size: 1.15rem;
  text-align: center;
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0;
  font-family: Futura, "Arial Black", sans-serif;
  font-size: clamp(1.65rem, 6.5vw, 3.1rem);
  line-height: 1.05;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.8;
}

.highlight-grid,
.pricing-grid,
.testimonial-grid,
.faq-list,
.footer-grid {
  display: grid;
  gap: 1rem;
}

.highlight-grid,
.pricing-grid,
.testimonial-grid {
  grid-template-columns: 1fr;
}

.highlight-card,
.pricing-card,
.testimonial-card,
.faq-item {
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.highlight-card span,
.pricing-card span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--blue) 60%, white 24%);
}

.highlight-card h3,
.pricing-card h3,
.faq-item h3 {
  margin: 0.9rem 0 0;
  font-size: 1.25rem;
}

.highlight-card p,
.pricing-card p,
.testimonial-card p,
.faq-item p {
  color: var(--muted);
  line-height: 1.7;
}

.pricing-card--featured {
  background:
    linear-gradient(135deg, rgba(138, 216, 255, 0.08), rgba(255, 140, 82, 0.1)),
    var(--surface);
}

.pricing-link {
  display: inline-flex;
  margin-top: 1rem;
  color: color-mix(in srgb, var(--blue) 74%, white 14%);
  text-decoration: none;
}

.faq-list {
  grid-template-columns: 1fr;
}

.newsletter-shell {
  display: grid;
  gap: 1.25rem;
  border-radius: 1.5rem;
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.newsletter-form input {
  flex: 1 1 0;
  min-height: 3.3rem;
  padding: 0 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.newsletter-form button {
  min-height: 3.3rem;
  padding: 0 1.2rem;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  color: #0d1418;
  background: linear-gradient(135deg, #ffffff 0%, #bfeeff 38%, #ffbe9e 100%);
}

.form-feedback {
  margin: 0;
  color: color-mix(in srgb, var(--blue) 72%, white 18%);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-footer {
  padding: 1.5rem var(--pad-inline) max(2rem, env(safe-area-inset-bottom));
}

.footer-grid {
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 1rem;
}

.site-footer p,
.site-footer a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 0.7rem;
}

.settings-header {
  max-width: 46rem;
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.settings-card {
  border-radius: 1.5rem;
  padding: 1.5rem;
}

.settings-title {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.2rem;
}

.settings-title h3 {
  margin: 0;
  font-size: 1.18rem;
}

.settings-title p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.settings-icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.8rem;
  background: rgba(138, 216, 255, 0.12);
  color: var(--blue);
  font-weight: 800;
}

.settings-list,
.toggle-list {
  display: grid;
  gap: 0.75rem;
}

.settings-row,
.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 3.1rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.settings-row strong {
  color: var(--muted);
  font-size: 0.95rem;
}

.danger-row strong {
  color: #ffb5b0;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.segmented-group {
  padding: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.04);
}

.chip {
  min-height: 2.7rem;
  padding: 0.7rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
}

.chip.is-active {
  background: linear-gradient(135deg, rgba(138, 216, 255, 0.18), rgba(255, 140, 82, 0.18));
  box-shadow: 0 10px 24px rgba(138, 216, 255, 0.1);
}

.toggle {
  position: relative;
  width: 3.55rem;
  height: 2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.toggle span {
  position: absolute;
  top: 0.2rem;
  left: 0.22rem;
  width: 1.42rem;
  height: 1.42rem;
  border-radius: 50%;
  background: white;
  transition: transform 220ms ease;
}

.toggle.is-active {
  background: linear-gradient(135deg, rgba(138, 216, 255, 0.94), rgba(255, 140, 82, 0.92));
}

.toggle-locked {
  cursor: default;
}

.toggle.is-active span {
  transform: translateX(1.5rem);
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.login-modal[hidden] {
  display: none;
}

.login-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    linear-gradient(rgba(4, 8, 11, 0.78), rgba(4, 8, 11, 0.78)),
    var(--img-login-modal);
  background-size: cover;
  background-position: center;
  backdrop-filter: blur(18px);
}

.login-dialog {
  position: relative;
  z-index: 1;
  width: min(28rem, 100%);
  padding: 2rem;
  border-radius: 1.75rem;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  animation: modalUp 320ms ease;
}

.login-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.dialog-copy {
  margin: 0.85rem 0 0;
}

.login-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.login-form label {
  display: grid;
  gap: 0.45rem;
}

.login-form__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.login-form button {
  width: 100%;
}

.remember-row {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
}

.forgot-link {
  color: color-mix(in srgb, var(--blue) 74%, white 14%);
  text-decoration: none;
}

.login-form input {
  width: 100%;
  padding: 1rem 1.1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 1rem;
  outline: none;
}

.login-form input:focus {
  border-color: rgba(138, 216, 255, 0.68);
  box-shadow: 0 0 0 4px rgba(138, 216, 255, 0.12);
}

.form-error {
  margin: 0;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 145, 145, 0.18);
  background: rgba(132, 34, 34, 0.24);
  color: #ffc9c9;
  line-height: 1.5;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(138, 255, 184, 0.12);
  border: 1px solid rgba(138, 255, 184, 0.18);
  color: #dfffe7;
}

.form-success__check {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(138, 255, 184, 0.18);
  box-shadow: 0 0 22px rgba(138, 255, 184, 0.22);
}

.reveal,
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(2rem);
  filter: blur(10px);
  transition:
    opacity 700ms ease,
    transform 700ms ease,
    filter 700ms ease;
}

body.loaded .reveal,
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

body.loaded .reveal-1 {
  transition-delay: 80ms;
}

body.loaded .reveal-2 {
  transition-delay: 220ms;
}

body.loaded .reveal-3 {
  transition-delay: 380ms;
}

body.loaded .reveal-4 {
  transition-delay: 520ms;
}

@keyframes energyPulse {
  0%,
  100% {
    opacity: 0.66;
    transform: scale(1);
  }
  50% {
    opacity: 0.94;
    transform: scale(1.03);
  }
}

@keyframes heroZoom {
  from {
    background-size: 100%;
  }
  to {
    background-size: 106%;
  }
}

@keyframes rippleExpand {
  to {
    transform: translate(-50%, -50%) scale(20);
    opacity: 0;
  }
}

@keyframes modalUp {
  from {
    opacity: 0;
    transform: translateY(1.2rem) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 640px) {
  :root {
    --pad-inline: 1.35rem;
  }

  .hero {
    padding: 6.25rem var(--pad-inline) 2.75rem;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: auto;
    max-width: none;
    gap: 1rem;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button {
    width: auto;
    flex: 1 1 auto;
  }

  .login-form__meta {
    flex-direction: row;
    align-items: center;
  }

  .newsletter-form {
    flex-direction: row;
    align-items: stretch;
  }
}

@media (min-width: 980px) {
  :root {
    --pad-inline: 2rem;
  }

  .site-header {
    gap: 1.25rem;
    padding: 1.15rem max(var(--pad-inline), env(safe-area-inset-left)) 1.15rem
      max(var(--pad-inline), env(safe-area-inset-right));
  }

  .brand {
    font-size: 1.08rem;
    letter-spacing: 0.22em;
  }

  .site-nav {
    display: flex;
  }

  .mobile-menu-button {
    display: none;
  }

  .nav-actions .nav-icon,
  .nav-actions .language-selector,
  .nav-actions .header-button--ghost {
    display: inline-flex;
  }

  .nav-actions .header-button--primary {
    min-height: 2.7rem;
    padding: 0.65rem 1.15rem;
    font-size: 0.95rem;
  }

  .nav-actions {
    gap: 0.6rem;
  }

  .section-anchor {
    top: -5.5rem;
  }

  .hero {
    padding: 7.2rem var(--pad-inline) 3rem;
  }

  .hero-hook,
  .section-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.38em;
  }

  .hero-title {
    font-size: clamp(5.7rem, 18vw, 11.8rem);
    line-height: 0.92;
    letter-spacing: 0.08em;
  }

  .hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.08rem);
  }

  .hero-actions {
    margin-top: 2rem;
  }

  .hero-video-training {
    z-index: 2;
    clip-path: polygon(0 0, 53% 0, 36% 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, 53% 0, 36% 100%, 0 100%);
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
  }

  .hero-video-nutrition {
    z-index: 3;
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 23% 100%);
    -webkit-clip-path: polygon(40% 0, 100% 0, 100% 100%, 23% 100%);
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
  }

  .step-section,
  .feature-highlights,
  .results-section,
  .testimonials-section,
  .faq-section,
  .settings-section {
    padding: 2rem var(--pad-inline) 0;
  }

  .split-grid,
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .split-grid.reverse {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .copy-card,
  .visual-card,
  .quote-panel {
    border-radius: 1.75rem;
    padding: 2rem;
  }

  .copy-card h2,
  .system-shell h2,
  .settings-header h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1;
  }

  .visual-card {
    min-height: 20rem;
  }

  .system-shell,
  .settings-shell {
    border-radius: 2rem;
    padding: 2rem;
  }

  .system-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2rem;
  }

  .highlight-grid,
  .pricing-grid,
  .testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .newsletter-shell {
    border-radius: 2rem;
    padding: 2rem;
    gap: 1.5rem;
  }

  .site-footer {
    padding: 2rem var(--pad-inline) 3rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
    padding-top: 2rem;
  }

  .settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 2rem;
  }
}

/* Additional mobile optimizations for videos */
@media (max-width: 768px) {
  .hero-video-training,
  .hero-video-nutrition {
    /* Simplify effects on mobile for better performance */
    animation: none;
    mix-blend-mode: normal;
  }
  
  .hero-video-training {
    clip-path: polygon(0 0, 50% 0, 35% 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, 50% 0, 35% 100%, 0 100%);
  }
  
  .hero-video-nutrition {
    clip-path: polygon(45% 0, 100% 0, 100% 100%, 30% 100%);
    -webkit-clip-path: polygon(45% 0, 100% 0, 100% 100%, 30% 100%);
  }
}

/* Very small screens - single video or simplified layout */
@media (max-width: 480px) {
  .hero-video {
    /* Reduce scale for better performance on small screens */
    transform: scale(1) !important;
    -webkit-transform: scale(1) !important;
  }
  
  .hero-video-training {
    clip-path: polygon(0 0, 45% 0, 30% 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, 45% 0, 30% 100%, 0 100%);
    opacity: 0.5;
  }
  
  .hero-video-nutrition {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 35% 100%);
    -webkit-clip-path: polygon(50% 0, 100% 0, 100% 100%, 35% 100%);
    opacity: 0.5;
  }
}

/* Login-specific content z-index fix */
.login-shell {
  position: relative;
  z-index: 10;
}

.login-copy,
.login-card {
  position: relative;
  z-index: 11;
}

