/* Лендинг «Удалёнщики: 15 минут» — FitStars. Все url() — только относительные пути. */

:root {
  --navy-1: #0f1830;
  --navy-2: #0a101f;
  --navy-card: #141f3d;
  --navy-line: #26355e;
  --orange: #ff5a1f;
  --amber: #ffb627;
  --white: #f5f7fc;
  --muted: #93a0bf;
  --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, var(--navy-1) 0%, var(--navy-2) 100%);
  color: var(--white);
  line-height: 1.6;
}

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

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 5.2vw, 50px); font-weight: 800; }
h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--orange), #ff8a3d);
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 90, 31, 0.35);
}
.btn-primary:hover { box-shadow: 0 14px 38px rgba(255, 90, 31, 0.5); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--navy-line);
}
.btn-ghost:hover { border-color: var(--muted); }
.btn-small { padding: 9px 16px; font-size: 14px; }
.btn-big { padding: 18px 34px; font-size: 18px; }

/* ---------- Шапка ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 16, 31, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--navy-line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.01em;
}

/* ---------- Секции ---------- */
.section { padding: 72px 0; }
.section-lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 640px;
  margin-top: 14px;
}
.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--navy-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-copy .badge { margin-bottom: 18px; }
.hero-copy h1 { margin-bottom: 18px; }
.lead { color: var(--muted); font-size: 18px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 20px; }
.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--muted);
  font-size: 14px;
}
.hero-points li::before { content: "✓ "; color: var(--amber); font-weight: 700; }
.hero-art img { border-radius: var(--radius); }

/* ---------- Боли ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.card {
  background: var(--navy-card);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.card img { margin-bottom: 16px; border-radius: 16px; }
.card p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.punch {
  margin-top: 32px;
  font-size: 18px;
  color: var(--white);
  max-width: 640px;
}
.punch strong { color: var(--amber); }

/* ---------- Почему ---------- */
.why { background: rgba(255, 255, 255, 0.02); border-top: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line); }
.steps { list-style: none; margin-top: 36px; display: grid; gap: 14px; }
.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--navy-card);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.step-num {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step p { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* ---------- Как это работает ---------- */
.how-head { display: flex; align-items: center; gap: 28px; margin-bottom: 36px; }
.timer {
  flex: none;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(var(--orange) 0 65%, var(--navy-line) 65% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 34px rgba(255, 90, 31, 0.3);
}
.timer span {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--navy-2);
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-weight: 800;
  font-size: 34px;
  color: var(--white);
  padding-top: 22px;
}
.timer small { font-size: 13px; color: var(--muted); margin-left: 4px; }
.day-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.day-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.day-time { color: var(--amber); font-weight: 700; font-size: 14px; letter-spacing: 0.03em; }
.day-card p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.note { margin-top: 26px; color: var(--muted); font-size: 15px; }

/* ---------- Недели ---------- */
.weeks { background: rgba(255, 255, 255, 0.02); border-top: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line); }
.timeline { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tl-item {
  position: relative;
  background: var(--navy-card);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  padding: 22px 20px;
  font-size: 15px;
  color: var(--muted);
}
.tl-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--orange), var(--amber));
}
.tl-label { font-weight: 800; color: var(--white); margin-bottom: 6px; }

/* ---------- Тариф ---------- */
.tariff { background: radial-gradient(600px 400px at 50% 0%, rgba(255, 90, 31, 0.12), transparent 70%); }
.tariff-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--navy-card);
  border: 1px solid var(--navy-line);
  border-radius: 28px;
  padding: 44px 40px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.tariff-card .badge { margin-bottom: 14px; }
.tariff-card h2 { font-size: clamp(26px, 4vw, 38px); }
.tariff-price-line { color: var(--muted); font-size: 17px; margin: 12px 0 24px; }
.tariff-features { list-style: none; text-align: left; display: grid; gap: 12px; margin-bottom: 30px; }
.tariff-features li { padding-left: 30px; position: relative; font-size: 16px; }
.tariff-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tariff-card .btn-big { min-width: 280px; }
.tariff-note { margin-top: 14px; color: var(--muted); font-size: 14px; }

/* ---------- FAQ ---------- */
details {
  background: var(--navy-card);
  border: 1px solid var(--navy-line);
  border-radius: 16px;
  padding: 18px 22px;
  margin-top: 14px;
}
summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--amber);
  font-size: 22px;
  font-weight: 700;
}
details[open] summary::after { content: "–"; }
details p { color: var(--muted); font-size: 15px; margin-top: 10px; }

/* ---------- Финал ---------- */
.final { text-align: center; padding-bottom: 96px; }
.final .section-lead { margin-left: auto; margin-right: auto; }
.final-cta { margin-top: 30px; }

/* ---------- Футер ---------- */
.footer {
  border-top: 1px solid var(--navy-line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
.footer-note { margin-top: 8px; font-size: 13px; opacity: 0.8; }

/* ---------- Появление блоков ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .day-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .how-head { flex-direction: column; text-align: center; align-items: center; }
  .how-head .section-lead { text-align: center; }
}
@media (max-width: 560px) {
  .section { padding: 52px 0; }
  .cards { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .tariff-card { padding: 32px 22px; }
  .hero-actions .btn { width: 100%; }
}
