:root {
  --bg: #05070b;
  --bg-soft: #0d1119;
  --surface: #141a24;
  --surface-2: #1b2230;
  --line: #2a3446;
  --text: #eaf0ff;
  --text-soft: #97a2b7;
  --accent: #c4ff14;
  --accent-2: #9ad20e;
  --warm: #f7a03a;
  --anchor-offset: 0px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

main [id] {
  scroll-margin-top: var(--anchor-offset);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background: radial-gradient(900px 420px at 88% -8%, rgba(196, 255, 20, 0.15), transparent 65%),
    radial-gradient(900px 420px at -18% 110%, rgba(66, 105, 255, 0.2), transparent 70%),
    var(--bg);
  font-family: "Outfit", "Segoe UI", sans-serif;
  line-height: 1.6;
}

main {
  flex: 1 0 auto;
}

.ambient {
  pointer-events: none;
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(68px);
  opacity: 0.22;
  z-index: -1;
}

.ambient-top {
  top: -170px;
  right: -80px;
  background: #c4ff14;
}

.ambient-bottom {
  bottom: -170px;
  left: -80px;
  background: #1c7dff;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(5, 7, 11, 0.72);
  border-bottom: 1px solid rgba(196, 255, 20, 0.14);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-family: "Space Grotesk", "Outfit", sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
  transition: color 0.18s ease, border-color 0.18s ease;
}

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

.nav-links a.is-active {
  color: var(--text);
  border-color: rgba(196, 255, 20, 0.9);
}

.lang-picker select {
  appearance: none;
  border-radius: 999px;
  border: 1px solid rgba(151, 162, 183, 0.22);
  background: rgba(17, 23, 34, 0.45);
  color: #c4cede;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.52rem;
  min-width: 54px;
  text-align: center;
}

.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;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Outfit", sans-serif;
  line-height: 1.18;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  margin-bottom: 1rem;
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.48rem, 3.6vw, 2.65rem);
  margin-bottom: 0.7rem;
}

h3 {
  font-size: 1.24rem;
  margin-bottom: 0.44rem;
}

p {
  margin: 0 0 1rem;
}

.hero {
  padding: 4.8rem 0 1.6rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.2rem;
  align-items: center;
}

.hero-copy-block {
  animation: rise-in 0.7s ease both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.8rem;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 255, 20, 0.5);
  background: rgba(196, 255, 20, 0.1);
  color: #d3ff53;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 60ch;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.hero-cta {
  margin: 1.4rem 0 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-lg {
  min-height: 50px;
  padding: 0.75rem 1.1rem;
  color: #111700;
  background: linear-gradient(120deg, #ccff26 0%, #a8df0d 100%);
  box-shadow: 0 14px 30px rgba(155, 215, 0, 0.28);
}

.btn-ghost {
  background: #141b28;
  border-color: #364254;
  color: var(--text);
  box-shadow: none;
}

.btn-sm {
  min-height: 38px;
  padding: 0.4rem 0.95rem;
  font-size: 0.9rem;
}

.btn-outline {
  background: #141b28;
  border-color: #3a475d;
  color: #dcf58a;
}

.btn-xl {
  min-height: 58px;
  padding: 0.8rem 1.3rem;
  font-size: 1.1rem;
  background: linear-gradient(120deg, #ccff26 0%, #a8df0d 100%);
  color: #111700;
  box-shadow: 0 14px 30px rgba(155, 215, 0, 0.3);
}

.mini-note {
  color: #77839b;
  font-size: 0.9rem;
  margin: 0;
}

.phone-mock {
  border: 1px solid #36414e;
  border-radius: 34px;
  padding: 0.95rem;
  background: linear-gradient(145deg, #121926 0%, #0f141d 100%);
  box-shadow: var(--shadow);
}

.phone-media {
  position: relative;
  border-radius: 26px;
  min-height: 300px;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(8, 16, 28, 0.9) 0%, rgba(8, 16, 28, 0.35) 65%),
    radial-gradient(350px 190px at 82% 30%, rgba(196, 255, 20, 0.32), transparent 70%),
    url("assets/images/hero-workout.jpg");
  background-size: cover;
  background-position: center center;
}

.phone-media::before,
.scan-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 26px 26px;
  mix-blend-mode: screen;
  opacity: 0.28;
}

.metric-pill,
.scan-badge,
.scan-macros,
.scan-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 600;
}

.metric-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.48rem 0.88rem;
  background: rgba(16, 24, 36, 0.92);
  border: 1px solid #32425a;
}

.scan-badge {
  position: absolute;
  bottom: 0.9rem;
  left: 0.9rem;
  padding: 0.35rem 0.78rem;
  border: 1px solid rgba(196, 255, 20, 0.8);
  color: #d4ff51;
  background: rgba(11, 16, 21, 0.8);
}

.phone-text {
  padding: 0.95rem 0.2rem 0.2rem;
}

.phone-text p {
  color: var(--text-soft);
  margin-bottom: 0;
}

.section {
  padding: 2.4rem 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.proof-grid article {
  border: 1px solid #2f3a48;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, #131a26 0%, #0f151f 100%);
  padding: 0.95rem 1rem;
}

.proof-grid strong {
  display: block;
  color: #dcff67;
  font-size: 1.22rem;
  font-family: "Space Grotesk", sans-serif;
}

.proof-grid span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.section-head {
  max-width: 70ch;
}

.section-head p {
  color: var(--text-soft);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.choice-card {
  border: 1px solid #2f3a48;
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, #151c29 0%, #111723 100%);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.choice-card.focus {
  border-color: rgba(196, 255, 20, 0.75);
  box-shadow: 0 0 0 1px rgba(196, 255, 20, 0.26), 0 20px 40px rgba(0, 0, 0, 0.4);
}

.choice-card p {
  color: var(--text-soft);
  margin-bottom: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  border: 1px solid #3a4558;
  color: #cad2e4;
}

.chip-goal {
  color: #ffbf6f;
  border-color: rgba(247, 160, 58, 0.45);
  background: rgba(247, 160, 58, 0.1);
}

.chip-level,
.chip-rhythm {
  color: #d4ff52;
  border-color: rgba(196, 255, 20, 0.45);
  background: rgba(196, 255, 20, 0.09);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  align-items: center;
}

.scan-card {
  border: 1px solid #364252;
  border-radius: var(--radius-lg);
  padding: 0.95rem;
  background: linear-gradient(150deg, #121927 0%, #0d131d 100%);
  box-shadow: var(--shadow);
}

.scan-card-media {
  position: relative;
  min-height: 280px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(8, 16, 28, 0.82) 0%, rgba(8, 16, 28, 0.35) 60%),
    radial-gradient(300px 170px at 80% 26%, rgba(196, 255, 20, 0.35), transparent 70%),
    url("assets/images/nutrition-bowl.jpg");
  background-size: cover;
  background-position: center center;
}

.scan-macros {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  padding: 0.38rem 0.7rem;
  background: rgba(16, 24, 36, 0.92);
  border: 1px solid #32445e;
}

.scan-tag {
  margin-top: 0.75rem;
  padding: 0.28rem 0.72rem;
  color: #d4ff51;
  border: 1px solid rgba(196, 255, 20, 0.75);
  background: rgba(11, 16, 21, 0.7);
}

.benefits {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.benefits li {
  position: relative;
  padding-left: 1.75rem;
  color: #b8c3d8;
}

.benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #e8ff90 0%, #bde80f 65%, #8bb106 100%);
}

.plan-board {
  border: 1px solid #333e50;
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  background: linear-gradient(165deg, #141b27 0%, #0f151f 100%);
  box-shadow: var(--shadow);
}

.plan-head p {
  color: var(--text-soft);
}

.plan-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.plan-media {
  position: relative;
  min-height: 230px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 0.85rem;
  border: 1px solid #334055;
  background:
    linear-gradient(155deg, rgba(8, 16, 28, 0.78) 0%, rgba(8, 16, 28, 0.45) 58%),
    radial-gradient(330px 200px at 80% 30%, rgba(196, 255, 20, 0.3), transparent 72%),
    url("assets/images/plan-training.jpg");
  background-size: cover;
  background-position: center center;
}

.plan-strip article {
  border: 1px solid #334056;
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  background: rgba(11, 17, 26, 0.7);
}

.plan-strip strong {
  display: block;
  font-size: 1.42rem;
  color: #e8f3ff;
  font-family: "Space Grotesk", sans-serif;
}

.plan-strip span {
  color: var(--text-soft);
}

.plan-rows {
  display: grid;
  gap: 0.7rem;
}

.plan-rows article {
  border: 1px solid #323e4e;
  border-radius: var(--radius-md);
  padding: 0.88rem 0.95rem;
  background: #161d2a;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  align-items: center;
}

.plan-rows h3 {
  margin-bottom: 0.2rem;
}

.plan-rows p {
  margin: 0;
  color: var(--text-soft);
}

.plan-side {
  color: #d4ff52;
  font-weight: 600;
  white-space: nowrap;
}

.plan-side.accent-warm {
  color: #ffb058;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.price-card {
  border: 1px solid #334051;
  border-radius: var(--radius-md);
  padding: 1rem;
  background: linear-gradient(160deg, #151c29 0%, #111723 100%);
}

.price-card h3 {
  margin-bottom: 0.7rem;
}

.price-card ul {
  margin: 0;
  padding-left: 1rem;
  color: #c0cbdd;
}

.price-card li {
  margin-bottom: 0.35rem;
}

.price-card.featured {
  border-color: rgba(196, 255, 20, 0.76);
  box-shadow: 0 0 0 1px rgba(196, 255, 20, 0.24), 0 18px 36px rgba(0, 0, 0, 0.42);
}

.price-card.featured h3 {
  color: #d5ff55;
}

.support-onepage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.support-onepage-card {
  border: 1px solid #334051;
  border-radius: var(--radius-md);
  padding: 1rem;
  background: linear-gradient(160deg, #151c29 0%, #111723 100%);
  box-shadow: var(--shadow);
}

.support-onepage-card h3 {
  margin-bottom: 0.55rem;
}

.support-onepage-card p {
  color: var(--text-soft);
}

.support-onepage-card strong {
  color: var(--text);
}

.support-onepage-card a {
  color: #d4ff51;
}

.support-onepage-card ul {
  margin: 0;
  padding-left: 1rem;
  color: #c0cbdd;
}

.support-onepage-card li {
  margin-bottom: 0.35rem;
}

.support-mail-btn {
  margin-top: 0.4rem;
}

.premium-cta {
  margin-top: 1.1rem;
  text-align: center;
}

.text-link {
  display: inline-block;
  margin-top: 0.8rem;
  color: #d4deef;
  text-decoration: none;
  font-weight: 600;
}

.text-link:hover {
  color: #f0f4ff;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.legal-links a {
  text-decoration: none;
  font-weight: 600;
  color: #dcff68;
  border: 1px solid rgba(196, 255, 20, 0.5);
  background: rgba(196, 255, 20, 0.08);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid #27303f;
  background: rgba(6, 9, 14, 0.9);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1rem 0 0.65rem;
}

.footer-wrap nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.footer-wrap nav a {
  text-decoration: none;
  color: #9ba8bf;
  font-weight: 600;
}

.footer-copy {
  color: #8590a7;
  margin: 0.4rem 0 0;
  max-width: 46ch;
}

.copyright {
  margin: 0;
  padding: 0 1rem 0.95rem;
  text-align: center;
  color: #748097;
  font-size: 0.85rem;
}

.compact .copyright {
  padding-top: 1rem;
}

.legal-page .legal-content {
  max-width: none;
  padding: 3rem 0 3.4rem;
}

.legal-content h1 {
  max-width: none;
  font-size: clamp(1.9rem, 4.8vw, 3rem);
}

.legal-content section {
  margin-top: 1.6rem;
  border: 1px solid #303c4f;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, #151c29 0%, #111723 100%);
  padding: 1rem;
}

.legal-content h2 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

.legal-content a {
  color: #d4ff51;
  font-weight: 600;
}

.legal-content ul,
.legal-content ol {
  margin: 0;
  padding-left: 1.05rem;
}

.support-panel {
  border-left: 4px solid var(--accent);
}

.support-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.3rem;
  margin: 0.3rem 0 1rem;
  border: 1px solid #2e394b;
  border-radius: 999px;
  background: rgba(15, 21, 31, 0.82);
  width: 100%;
  max-width: 100%;
}

.support-tab {
  flex: 1 1 calc(33.333% - 0.45rem);
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #93a0b7;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.38rem 0.82rem;
  text-align: center;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.support-tab:hover {
  color: #dbe3f5;
}

.support-tab.is-active {
  color: #122000;
  background: linear-gradient(130deg, #d6ff48 0%, #b5ec11 100%);
  border-color: rgba(196, 255, 20, 0.9);
}

.support-tab-panel {
  margin: 0;
}

.is-embedded .ambient {
  display: none;
}

.is-embedded .site-header {
  position: static;
  background: rgba(5, 7, 11, 0.88);
}

.is-embedded .hero {
  padding-top: 2.2rem;
}

.is-embedded .site-footer {
  margin-top: 2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 3px solid #d5ff55;
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .hero,
  .split-layout,
  .choice-grid,
  .pricing-grid,
  .support-onepage-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.8rem;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .site-header {
    position: static;
  }

  .nav-wrap {
    min-height: auto;
    padding: 0.75rem 0;
    flex-wrap: wrap;
    row-gap: 0.55rem;
  }

  .nav-end {
    margin-left: auto;
  }

  .footer-wrap {
    align-items: center;
  }

  .plan-rows article {
    grid-template-columns: 1fr;
  }

  .plan-side {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .support-tabs {
    border-radius: var(--radius-md);
  }

  .support-tab {
    flex: 1 1 calc(50% - 0.45rem);
  }
}

@media (max-width: 560px) {
  .support-tab {
    flex-basis: 100%;
  }

  .legal-page .legal-content {
    padding-top: 2.1rem;
  }
}
