/* FitStars — демо-лендинг FD-7147. Только локальные ресурсы, без внешних шрифтов. */

:root {
  --ink: #0b0c10;
  --ink-2: #12141b;
  --ink-3: #191c25;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f2f4f7;
  --muted: #a2a9b8;
  --lime: #b0ff3c;
  --teal: #22e0be;
  --radius: 20px;
  --shell: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.08; letter-spacing: -0.022em; font-weight: 800; }
h1 { font-size: clamp(34px, 5.4vw, 60px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: 20px; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

a { color: var(--text); text-decoration: none; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
.shell--narrow { max-width: 760px; }

.logo {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.logo::after {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--lime);
  vertical-align: 5px;
}
.logo--sm { font-size: 18px; }

/* --- кнопки --- */
.btn {
  display: inline-block;
  padding: 16px 30px;
  border-radius: 999px;
  background: var(--lime);
  color: #0b0c10;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  box-shadow: 0 10px 30px rgba(176, 255, 60, 0.18);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(176, 255, 60, 0.28); }
.btn--sm { padding: 10px 20px; font-size: 15px; box-shadow: none; }
.btn--lg { padding: 19px 38px; font-size: 18px; }

.link {
  align-self: center;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.link:hover { color: var(--text); }

/* --- шапка --- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 12, 16, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}
.topbar__nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; color: var(--muted); }
.topbar__nav a { color: var(--muted); }
.topbar__nav a:hover { color: var(--text); }

/* --- герой --- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 40px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% 30% 40% -20%;
  background: radial-gradient(closest-side, rgba(34, 224, 190, 0.22), transparent);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 700;
}
.lead { color: var(--muted); font-size: 19px; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 18px; margin: 30px 0 40px; }
.hero__media img {
  border-radius: 26px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin: 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.stats li { display: flex; flex-direction: column; }
.stats b { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.stats span { font-size: 14px; color: var(--muted); }

/* --- секции --- */
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section__lead { color: var(--muted); max-width: 46em; margin-bottom: 40px; }

/* --- шаги --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.steps li {
  padding: 28px 26px 22px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--lime);
  color: #0b0c10;
  font-weight: 800;
  font-size: 16px;
}
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* --- карточки программ --- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(176, 255, 60, 0.4); }
.card h3 { margin: 22px 24px 8px; }
.card p { margin: 0 24px 26px; color: var(--muted); font-size: 16px; }

/* --- сплит --- */
.section--split { background: var(--ink-2); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 0.86fr; gap: 60px; align-items: center; }
.ticks { margin: 26px 0 34px; padding: 0; list-style: none; }
.ticks li {
  position: relative;
  padding: 0 0 16px 34px;
  color: var(--muted);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 16px; height: 9px;
  border-left: 2.5px solid var(--lime);
  border-bottom: 2.5px solid var(--lime);
  transform: rotate(-45deg);
}
.split__media img { border-radius: 26px; border: 1px solid var(--line); }

/* --- отзывы --- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.quotes blockquote {
  margin: 0;
  padding: 28px 26px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.quotes p { color: var(--text); font-size: 16px; }
.quotes cite {
  display: block;
  margin-top: 14px;
  color: var(--lime);
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
}

/* --- тариф --- */
.section--price { padding-bottom: 40px; }
.price {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(176, 255, 60, 0.32);
  border-radius: 28px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(176, 255, 60, 0.14), transparent 58%),
    radial-gradient(120% 140% at 100% 100%, rgba(124, 92, 255, 0.2), transparent 60%),
    var(--ink-2);
}
.price__main { padding: 46px 44px; }
.badge {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(176, 255, 60, 0.14);
  border: 1px solid rgba(176, 255, 60, 0.35);
  color: var(--lime);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.price__lead { color: var(--muted); max-width: 30em; }
.price__promo {
  padding: 14px 18px;
  margin-bottom: 28px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed var(--line);
  font-size: 16px;
}
.price__promo b { color: var(--lime); letter-spacing: 0.04em; }
.price__note { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.price__list {
  display: grid;
  align-content: center;
  margin: 0;
  padding: 46px 40px;
  list-style: none;
  background: rgba(255, 255, 255, 0.03);
  border-left: 1px solid var(--line);
}
.price__list li {
  position: relative;
  padding: 0 0 14px 26px;
  font-size: 16px;
  color: var(--text);
}
.price__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

/* --- FAQ --- */
details {
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  float: right;
  color: var(--lime);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
}
details[open] summary::after { content: "–"; }
details p { margin: 14px 0 0; color: var(--muted); max-width: 54em; }

/* --- контейнер оплаты: якорь кнопок, наполняет лоадер --- */
#fs-checkout { scroll-margin-top: 90px; }

/* --- подвал --- */
.footer { padding: 56px 0 72px; border-top: 1px solid var(--line); }
.footer__inner { color: var(--muted); font-size: 15px; }
.footer p { margin: 14px 0 0; }
.footer a { color: var(--lime); }
.footer__legal { font-size: 13px; opacity: 0.7; }

/* --- адаптив --- */
@media (max-width: 940px) {
  .hero { padding-top: 56px; }
  .hero__inner, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { order: -1; margin: 0; }
  .steps, .cards, .quotes { grid-template-columns: 1fr; }
  .price { grid-template-columns: 1fr; }
  .price__list { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 68px 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .topbar__nav { display: none; }
  .price__main, .price__list { padding: 32px 24px; }
  .btn, .btn--lg { width: 100%; text-align: center; }
  .hero__actions { gap: 14px; }
}
