:root {
  --bg: #07070d;
  --card: rgba(255, 255, 255, 0.045);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f2f2f7;
  --muted: #9a9ab0;
  --accent: #7c5cff;
  --accent2: #22d3ee;
  --grad: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); line-height: 1.6;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: -20% -20% auto -20%; height: 700px; z-index: -1;
  background: radial-gradient(closest-side at 30% 40%, rgba(124, 92, 255, 0.35), transparent 70%),
              radial-gradient(closest-side at 75% 30%, rgba(34, 211, 238, 0.22), transparent 70%);
  filter: blur(30px);
}
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 7, 13, 0.7); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; }
.logo i { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center;
  font-style: normal; box-shadow: 0 6px 24px rgba(124, 92, 255, 0.45); }
.top nav { display: flex; gap: 22px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--text); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 14px;
  background: var(--grad); color: #fff; font-weight: 700; text-decoration: none; border: 0;
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.35); transition: transform .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: var(--card); border: 1px solid var(--border); box-shadow: none; }
.btn.small { padding: 9px 16px; font-size: 14px; border-radius: 11px; }

/* Первый экран */
.hero { padding: 90px 0 70px; text-align: center; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--card);
  border: 1px solid var(--border); color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -1px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); font-size: clamp(17px, 2.2vw, 20px); max-width: 640px; margin: 0 auto 32px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.trust { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 44px; color: var(--muted); font-size: 15px; }
.trust b { color: var(--text); }

section { padding: 70px 0; }
h2 { font-size: clamp(28px, 4vw, 40px); text-align: center; margin: 0 0 12px; letter-spacing: -0.5px; }
.lead { text-align: center; color: var(--muted); max-width: 600px; margin: 0 auto 44px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 26px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.card .ico { font-size: 30px; margin-bottom: 10px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Шаги */
.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 58px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 20px; left: 26px;
  width: 30px; height: 30px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; font-weight: 800; }

/* Тарифы */
.prices { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.price { position: relative; text-align: center; padding: 30px 22px; }
.price.best { border-color: rgba(124, 92, 255, 0.75); box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.4), 0 20px 50px rgba(124, 92, 255, 0.2); }
.price .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad);
  padding: 4px 12px; border-radius: 8px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.price .period { color: var(--muted); font-size: 15px; }
.price .sum { font-size: 40px; font-weight: 800; margin: 8px 0 2px; }
.price .per { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.price ul { list-style: none; padding: 0; margin: 0 0 22px; text-align: left; color: var(--muted); font-size: 14px; }
.price li { margin: 7px 0; }
.price .btn { width: 100%; justify-content: center; }
.note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px 22px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: "+"; color: var(--accent2); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 12px 0 0; }

.final { text-align: center; padding: 50px 30px; border-radius: 28px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.22), rgba(34, 211, 238, 0.12)); border: 1px solid var(--border); }
.final h2 { margin-bottom: 10px; }
.final p { color: var(--muted); margin: 0 0 26px; }

/* Подвал */
footer { border-top: 1px solid var(--border); padding: 36px 0 44px; color: var(--muted); font-size: 14px; margin-top: 40px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer .links { display: flex; flex-direction: column; gap: 6px; }

/* Документы */
.doc { max-width: 780px; margin: 0 auto; padding: 50px 20px 30px; }
.doc h1 { font-size: 34px; margin: 0 0 6px; }
.doc .meta { color: var(--muted); margin-bottom: 30px; }
.doc h2 { text-align: left; font-size: 21px; margin: 32px 0 10px; }
.doc p, .doc li { color: #cfcfe0; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0; }
.doc td { border: 1px solid var(--border); padding: 8px 12px; }

@media (max-width: 640px) {
  .top nav { display: none; }
  .hero { padding: 60px 0 50px; }
  section { padding: 50px 0; }
}
