:root {
  --bg: #090a0f;
  --surface: #12141d;
  --surface-2: #191d27;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --text: #eceef3;
  --muted: #8f95a3;
  --accent: #8b5cf6;
  --accent-2: #6d3fe0;
  --ok: #36d399;
  --radius: 18px;
  --sticky-h: 76px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: var(--sticky-h);
}

body::before {
  content: "";
  position: fixed;
  top: -20%; left: -25%;
  width: 150%; height: 60vh;
  background:
    radial-gradient(50% 60% at 30% 30%, rgba(139, 92, 246, .22), transparent 70%),
    radial-gradient(45% 55% at 80% 10%, rgba(59, 130, 246, .12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

.wrap { max-width: 560px; margin: 0 auto; padding: 0 18px; position: relative; z-index: 1; }

/* ─────────── шапка ─────────── */
header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(9, 10, 15, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
}
.logo { font-weight: 800; font-size: 17px; letter-spacing: -.02em; color: var(--text); }
.logo span { color: var(--accent); }
.head-cta {
  background: rgba(139, 92, 246, .16);
  border: 1px solid rgba(139, 92, 246, .35);
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 10px;
}

/* ─────────── первый экран ─────────── */
.hero { padding: 22px 0 8px; }

.free-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(54, 211, 153, .1);
  border: 1px solid rgba(54, 211, 153, .3);
  color: #a7f3d0;
  font-size: 12.5px;
  padding: 7px 13px;
  border-radius: 22px;
  margin-bottom: 18px;
}
.free-badge b { color: #6ee7b7; font-weight: 800; }
.free-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(54, 211, 153, .55);
  animation: pulse 2s infinite;
}
.free-sep { width: 1px; height: 12px; background: rgba(255, 255, 255, .16); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(54, 211, 153, .5); }
  70% { box-shadow: 0 0 0 7px rgba(54, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(54, 211, 153, 0); }
}

.hero h1 {
  font-size: clamp(38px, 11vw, 52px);
  line-height: 1.02;
  letter-spacing: -.045em;
  margin: 0 0 14px;
  font-weight: 800;
  background: linear-gradient(180deg, #fff 30%, #b9a2ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 420px;
}
.hero-sub b { color: #d6d9e2; }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(180deg, #9569f9, #7c3aed);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  padding: 16px 26px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 12px 34px -12px rgba(124, 58, 237, .9);
  transition: transform .15s ease, box-shadow .15s ease;
  min-height: 54px;
}
.cta:hover { text-decoration: none; }
.cta:active { transform: scale(.985); }
.cta.big { width: 100%; font-size: 17px; }
.cta.full { width: 100%; margin-top: 18px; }
.cta-sub {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 10px;
}

/* ─────────── график ─────────── */
.ping-widget {
  margin-top: 24px;
  background: linear-gradient(180deg, #14161f, #0d0f15);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 14px 14px 10px;
  box-shadow: 0 22px 60px -28px rgba(139, 92, 246, .7), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.pw-head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin-bottom: 6px;
}
.pw-live { display: inline-flex; align-items: center; gap: 5px; color: var(--ok); }
.pw-live i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ok);
  animation: pulse 2s infinite;
}
#ping-chart { display: block; width: 100%; height: 132px; }
.pw-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}
.pw-before { text-decoration: line-through; opacity: .65; }
.pw-now { font-size: 15px; color: var(--text); }
.pw-now b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.pw-after { color: var(--ok); font-weight: 700; }

/* ─────────── преимущества списком ─────────── */
.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 20px 0 0;
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #a7adbb;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 20px;
}
.hero-points i { color: var(--ok); font-style: normal; font-weight: 800; font-size: 11px; }

/* ─────────── цифры ─────────── */
.numbers { margin-top: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px 0; }
.num-item { text-align: center; }
.num-item b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.num-item b small { font-size: 11px; color: var(--muted); font-weight: 600; margin-left: 1px; }
.num-item span { font-size: 11px; color: var(--muted); }

/* ─────────── секции ─────────── */
section { padding: 40px 0; }
h2 { font-size: 24px; letter-spacing: -.03em; margin: 0 0 18px; font-weight: 800; }
.section-sub { color: var(--muted); font-size: 14.5px; margin: -10px 0 20px; }

/* ─────────── почему ─────────── */
.why-list { display: grid; gap: 10px; }
.why {
  display: flex;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.why-ico {
  flex: 0 0 38px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(139, 92, 246, .14);
  color: #c4b5fd;
  font-size: 17px;
}
.why h3 { font-size: 15.5px; margin: 0 0 4px; font-weight: 700; }
.why p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.why p b { color: #d6d9e2; }

/* ─────────── пробный период ─────────── */
.trial { padding: 10px 0 24px; }
.trial-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(139, 92, 246, .22), rgba(18, 20, 29, .95) 55%);
  border: 1px solid rgba(139, 92, 246, .4);
  border-radius: 22px;
  padding: 26px 20px;
  text-align: center;
}
.trial-glow {
  position: absolute;
  top: -60%; left: 50%;
  width: 280px; height: 280px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(139, 92, 246, .5), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.trial-tag {
  position: relative;
  display: inline-block;
  background: var(--ok);
  color: #04281c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.trial-card h2 { position: relative; font-size: 23px; margin-bottom: 8px; }
.trial-card p { position: relative; color: #c2c7d3; font-size: 14.5px; margin: 0 0 20px; }
.trial-card .cta { position: relative; width: 100%; }

/* ─────────── шаги ─────────── */
.steps { display: grid; gap: 10px; }
.step {
  display: flex;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.step .num {
  flex: 0 0 32px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(139, 92, 246, .16);
  color: #c4b5fd;
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
}
.step h3 { font-size: 15.5px; margin: 0 0 4px; }
.step p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ─────────── цены ─────────── */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 14px 16px;
}
.price.best {
  border-color: rgba(139, 92, 246, .55);
  background: linear-gradient(180deg, rgba(139, 92, 246, .14), rgba(18, 20, 29, .95));
}
.price-badge {
  position: absolute;
  top: -10px; left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 14px;
  white-space: nowrap;
}
.price-days { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.price-sum { font-size: 25px; font-weight: 800; letter-spacing: -.03em; margin: 4px 0 2px; }
.price-note { font-size: 11.5px; color: var(--muted); line-height: 1.4; }

.price-extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .03);
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  font-size: 13.5px;
  color: var(--muted);
}
.price-extra b { color: var(--text); white-space: nowrap; }

/* ─────────── честность ─────────── */
.honest { padding: 8px 0 24px; }
.notice {
  background: rgba(139, 92, 246, .07);
  border: 1px solid rgba(139, 92, 246, .22);
  border-radius: 16px;
  padding: 16px 18px;
  color: #b9bfcc;
  font-size: 13.5px;
  line-height: 1.55;
}
.notice b { color: #ddd6fe; }

/* ─────────── вопросы ─────────── */
details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 16px;
  margin-bottom: 8px;
}
details summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 14.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 12px 0 0; font-size: 13.5px; }

/* ─────────── финал ─────────── */
.final { padding: 30px 0 50px; }
.final-card {
  text-align: center;
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(139, 92, 246, .22), transparent 70%),
    var(--surface);
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 22px;
  padding: 32px 20px;
}
.final-card h2 { font-size: 23px; margin-bottom: 8px; }
.final-card p { color: var(--muted); font-size: 14.5px; margin: 0 0 22px; }
.final-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 13px;
}
.final-links a { color: #a9afbd; }

/* ─────────── подвал ─────────── */
footer.site {
  border-top: 1px solid var(--line);
  padding: 26px 0 30px;
  color: var(--muted);
  font-size: 12.5px;
}
footer.site .links { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
footer.site .links a { color: #a9afbd; font-size: 12.5px; }
footer.site .req { line-height: 1.8; color: #838a98; }
footer.site .req a { color: #a9afbd; text-decoration: underline; }

/* ─────────── закреплённая кнопка ─────────── */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(9, 10, 15, .94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.sticky-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.sticky-text b { font-size: 13px; color: #6ee7b7; }
.sticky-text span { font-size: 11px; color: var(--muted); }
.sticky-cta .cta {
  margin-left: auto;
  min-height: 46px;
  padding: 12px 20px;
  font-size: 14.5px;
  flex: 0 0 auto;
}

/* ─────────── как это работает ─────────── */
.how-list { display: grid; gap: 10px; }
.how {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.how-num {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(139, 92, 246, .28), rgba(139, 92, 246, .08));
  border: 1px solid rgba(139, 92, 246, .3);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #d6c9ff;
}
.how-num small { font-size: 9px; font-weight: 700; color: #a78bfa; margin-left: 1px; }
.how h3 { font-size: 15px; margin: 2px 0 5px; font-weight: 700; }
.how p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

.how-note {
  margin-top: 12px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px dashed rgba(139, 92, 246, .35);
  background: rgba(139, 92, 246, .06);
  color: #d3d7e2;
  font-size: 14px;
  text-align: center;
}

/* ─────────── кто мы ─────────── */
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 18px;
}
.team-card p {
  margin: 0 0 14px;
  font-size: 14px;
  color: #b9bfcc;
  line-height: 1.65;
}
.team-card p:last-of-type { margin-bottom: 0; }
.team-lead {
  font-size: 17px !important;
  font-weight: 700;
  color: var(--text) !important;
  letter-spacing: -.01em;
}
.team-sign {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: #a78bfa;
  font-weight: 600;
}

/* ─────────── появление ─────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .free-dot, .pw-live i { animation: none; }
}

/* ─────────── планшет и десктоп ─────────── */
@media (min-width: 760px) {
  .wrap { max-width: 1080px; padding: 0 24px; }
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .hero { padding: 56px 0 20px; }
  .hero h1 { font-size: 64px; max-width: 640px; }
  .hero-sub { font-size: 18px; max-width: 520px; }
  .cta.big { width: auto; }
  .ping-widget { max-width: 620px; }
  #ping-chart { height: 170px; }
  h2 { font-size: 32px; }
  section { padding: 56px 0; }
  .why-list { grid-template-columns: repeat(3, 1fr); }
  .how-list { grid-template-columns: repeat(3, 1fr); }
  .how { flex-direction: column; gap: 12px; padding: 22px; }
  .team-card { padding: 34px 32px; }
  .team-card p { font-size: 15px; }
  .why { flex-direction: column; gap: 12px; padding: 22px; }
  .why-ico { width: 42px; height: 42px; flex: none; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { flex-direction: column; gap: 12px; padding: 22px; }
  .prices { grid-template-columns: repeat(4, 1fr); }
  .price { padding: 24px 18px; }
  .price-sum { font-size: 30px; }
  .numbers-inner { padding: 22px 0; }
  .num-item b { font-size: 30px; }
  header.site .wrap { height: 66px; }
  .logo { font-size: 19px; }
  .head-cta { font-size: 14px; padding: 10px 18px; }
  .trial-card { padding: 40px; }
  .trial-card h2 { font-size: 30px; }
  .final-card { padding: 48px; }
}

/* ─────────── юридические страницы ─────────── */
.legal { padding: 36px 0 60px; }
.legal h1 { font-size: 28px; margin: 0 0 10px; letter-spacing: -.03em; }
.legal .updated { color: var(--muted); font-size: 13.5px; margin-bottom: 28px; }
.legal h2 { font-size: 18px; letter-spacing: -.01em; margin: 30px 0 10px; }
.legal p, .legal li { color: #bfc4d0; font-size: 14.5px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }

ol.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: block; }
ol.steps li { counter-increment: step; position: relative; padding: 0 0 16px 42px; color: var(--muted); }
ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(139, 92, 246, .16);
  color: #c4b5fd;
  font-weight: 700;
  font-size: 13px;
  display: grid;
  place-items: center;
}

.plain { color: var(--muted); font-size: 14.5px; }
.plain b { color: var(--text); }

.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.card h3 { font-size: 16px; margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
