:root {
  --bg: #121418; --bg2: #181b21; --card: #1d2127; --line: #2a2f37;
  --text: #eceef2; --dim: #9aa3b2; --accent: #4c8df6; --accent2: #7fb0ff; --ok: #4cc38a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; }
a { color: var(--accent2); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
h2 { font-size: 32px; margin: 0 0 24px; }
section.wrap, .hero + section { padding-top: 80px; }
.dim { color: var(--dim); }
.small { font-size: 14px; }
.sub { color: var(--dim); margin: -12px 0 24px; }

/* верхняя панель */
.top { position: sticky; top: 0; z-index: 5; background: rgba(18,20,24,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 60px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 17px; }
.logo-ver { color: var(--dim); font-weight: 500; font-size: 14px; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: var(--dim); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--text); }

/* кнопки */
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; padding: 14px 26px; border-radius: 10px; box-shadow: 0 8px 24px rgba(76,141,246,.3); transition: background .15s, transform .15s; }
.btn:hover { background: #3a7be6; transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 14px; box-shadow: none; }

/* первый экран */
.hero { padding: 72px 0 24px; background: radial-gradient(900px 420px at 80% 10%, rgba(76,141,246,.16), transparent 70%); }
.hero-in { text-align: center; }
.hero-in .lead { margin-left: auto; margin-right: auto; }
.hero-in .cta { justify-content: center; }
.eyebrow { color: var(--accent2); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; margin: 0 0 14px; }
.hero h1 { font-size: 54px; letter-spacing: -.01em; }
.accent { color: var(--accent2); }
.lead { font-size: 19px; color: var(--dim); margin: 20px 0 28px; max-width: 620px; }
.cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta-note { color: var(--dim); font-size: 14px; }

/* скриншот программы */
.shot { margin-top: 48px; }
.shot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 40px 100px rgba(0,0,0,.55), 0 0 0 1px rgba(76,141,246,.08); }

/* возможности */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.card h3 { font-size: 18px; margin: 14px 0 8px; }
.card p { color: var(--dim); margin: 0; font-size: 15px; }
.ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(76,141,246,.14); color: var(--accent2); font-size: 20px; }

/* выгода */
.value { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; background: linear-gradient(135deg, rgba(76,141,246,.14), rgba(76,141,246,.03)); border: 1px solid rgba(76,141,246,.35); border-radius: 18px; padding: 40px; }
.value h2 { margin-bottom: 14px; }
.value-text p:last-child { color: var(--dim); margin: 0; font-size: 17px; }
.vc-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin-bottom: 12px; color: var(--dim); }
.vc-row b { color: var(--text); font-size: 22px; white-space: nowrap; }
.vc-row b small { font-size: 13px; color: var(--dim); font-weight: 500; }
.vc-row b.old { color: #e0787a; }
.vc-row.best { border-color: var(--accent); }
.vc-row.best b { color: var(--accent2); }

/* цены */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.plan.best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 16px 40px rgba(76,141,246,.18); }
.badge { position: absolute; top: -11px; left: 24px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 20px; }
.plan-name { color: var(--dim); font-weight: 600; }
.price { font-size: 32px; font-weight: 700; margin: 8px 0 14px; }
.price small { font-size: 15px; color: var(--dim); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 0; color: var(--dim); font-size: 15px; }
.plan li { padding: 4px 0 4px 22px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); }
#prices .small { margin-top: 20px; max-width: 760px; }

/* вопросы */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; max-width: 820px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--dim); margin: 10px 0 0; }

.final { text-align: center; padding-bottom: 16px; }
.final h2 { margin-bottom: 20px; }

footer { margin-top: 64px; padding-top: 20px; padding-bottom: 40px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }

/* оферта, политика, «оплата прошла» */
.doc { background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-top: 32px; margin-bottom: 48px; padding: 40px 48px; }
.doc .lead { max-width: none; }
.doc footer { margin-top: 40px; padding-bottom: 0; }
main { max-width: 860px; margin: 0 auto; padding: 32px 20px 64px; }
main h1 { font-size: 30px; margin: 0 0 12px; }
main h2 { font-size: 22px; margin: 32px 0 12px; }
.doc h2 { font-size: 19px; margin-top: 26px; }
.doc p, .doc li { color: #cfd4dc; }
.ok { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 48px 32px; text-align: center; margin-top: 10vh; }
.ok h1 { font-size: 40px; color: var(--accent2); }
.ok .lead { margin-left: auto; margin-right: auto; }

@media (max-width: 900px) {
  .hero h1 { font-size: 36px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .value { grid-template-columns: 1fr; padding: 28px 22px; }
  .top-in { gap: 14px; }
  .top nav { gap: 14px; }
  .top nav a { font-size: 14px; }
}
@media (max-width: 560px) {
  .doc { padding: 24px 18px; border-radius: 12px; }
  .grid, .plans { grid-template-columns: 1fr; }
  h2 { font-size: 26px; }
  .top .btn-sm, .logo-ver { display: none; }
}

/* отдельные страницы: возможности, цены, вопросы */
.top nav a.on { color: var(--text); }
.page-head { padding-top: 72px; padding-bottom: 8px; text-align: center; }
.page-head h1 { font-size: 46px; }
.page-head .lead { margin-left: auto; margin-right: auto; margin-bottom: 0; }
.feats { display: grid; gap: 16px; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.feat h2 { font-size: 26px; margin: 14px 0 8px; }
.feat p { color: var(--dim); margin: 0; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { padding: 7px 0 7px 26px; position: relative; border-bottom: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); }
.table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--dim); font-weight: 600; }
td:not(:first-child), th:not(:first-child) { text-align: center; width: 22%; }
td:not(:first-child) { color: var(--ok); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.faq-group h2 { font-size: 24px; }
.more { display: inline-block; margin-top: 20px; font-weight: 600; text-decoration: none; }
.final .cta-note { margin-top: 14px; }
@media (max-width: 900px) {
  .page-head h1 { font-size: 34px; }
  .feat { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
}
