:root {
  --bg: #04111f;
  --bg-soft: #061e36;
  --bg-deep: #030e1a;
  --card: #081e34;
  --card-hover: #0d2c48;
  --muted: #8a9db2;
  --text: #ffffff;
  --ink-2: #d0dce8;
  --accent: #17e3d6;
  --accent-2: #0fa99e;
  --ok: #34d399;
  --line: rgba(23, 227, 214, .16);
  --line-strong: rgba(23, 227, 214, .3);
  --hairline: #1a3a54;
  --radius: 18px;
  --shadow: 0 24px 70px -34px rgba(3, 14, 26, .92);
  --max: 1180px;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  min-height: 100%;
  font-family: Inter, Manrope, system-ui, -apple-system, Segoe UI, sans-serif;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 48%, var(--bg-deep) 100%);
  color: var(--text);
  line-height: 1.5;
}

body::before { display: none; }

a { color: inherit; text-decoration: none; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 20;
  background: transparent;
  border-bottom: 0;
}
header.site::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: rgba(4, 17, 31, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.logo {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  box-shadow: none;
  flex: none;
}
.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.brand strong { display: block; font-size: 16px; letter-spacing: -.01em; }
.brand small { color: var(--muted); font-size: 12px; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; }

nav.menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav.menu a.link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 15px;
}

nav.menu a.link:hover { color: #fff; background: rgba(23, 227, 214, .08); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  color: #04111f;
  font: inherit;
  font-weight: 700;
  background: var(--accent);
  box-shadow: 0 12px 32px -16px rgba(23, 227, 214, .8);
  transition: background .2s ease, box-shadow .2s ease;
}

.btn:hover { background: #3eefe4; box-shadow: 0 16px 36px -16px rgba(23, 227, 214, .9); }

.btn.secondary {
  background: transparent;
  color: #fff;
  border: 1px solid var(--line-strong);
  box-shadow: none;
}

.btn.secondary:hover { background: rgba(23, 227, 214, .08); border-color: var(--accent); }

.btn.block { width: 100%; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(23, 227, 214, .08);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}

.lead { color: var(--muted); font-size: 18px; max-width: 560px; }

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 8px; }

.badge {
  font-size: 13px;
  color: var(--ink-2);
  border: 1px solid var(--hairline);
  background: rgba(13, 44, 72, .6);
  border-radius: 999px;
  padding: 7px 12px;
}

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.pays { display: flex; gap: 8px; margin-top: 16px; }

.pay {
  min-width: 64px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.pay.mir, .pay.visa, .pay.mc { color: var(--ink-2); font-style: normal; }

.preview {
  position: relative;
  border-radius: 28px;
  min-height: 380px;
  padding: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: stretch;
  background:
    radial-gradient(circle at 30% 20%, rgba(23, 227, 214, .16), transparent 42%),
    #081e34;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-dots {
  position: absolute;
  inset: 18px 18px 120px;
  background-image: radial-gradient(circle, rgba(23, 227, 214, .7) 2px, transparent 3px);
  background-size: 46px 42px;
  opacity: .7;
}

.preview-card { position: relative; width: 100%; }

.preview-meta {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.dot-ok {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(23, 227, 214, .7);
}

.preview-locs { margin-bottom: 14px; }

.preview h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.preview p { color: var(--muted); margin-top: 6px; }

.status {
  margin: 0;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(23, 227, 214, .1);
  border: 1px solid var(--line-strong);
  font-weight: 650;
}

.status i { color: var(--accent); font-style: normal; }

.stats, .features, .kpis, .pricing {
  display: grid;
  gap: 16px;
}

.stats { grid-template-columns: repeat(3, 1fr); margin: 28px 0 10px; }

.stat, .feature, .kpi, .price, .doc, details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat, .kpi { text-align: center; padding: 26px 16px; }
.stat b, .kpi b {
  display: block;
  font-size: 40px;
  letter-spacing: -.03em;
  color: #fff;
}
.stat span, .kpi span { color: var(--muted); font-size: 14px; }

section { padding: 54px 0 10px; scroll-margin-top: 84px; }
section h2.sec {
  font-size: 34px;
  letter-spacing: -.03em;
  margin-bottom: 18px;
}

.features { grid-template-columns: repeat(3, 1fr); }
.feature { padding: 22px 22px 24px; transition: border-color .2s ease; }
.feature:hover { border-color: var(--line-strong); }
.icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; font-size: 24px; line-height: 1; margin-bottom: 14px;
  background: rgba(23, 227, 214, .12);
  border: 1px solid var(--line);
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p, .price p, .fine { color: var(--muted); }

.kpis { grid-template-columns: repeat(4, 1fr); margin-top: 16px; }
.kpi b { font-size: 30px; }
.kpi { padding: 22px 12px; }

.pricing { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; }
.pricing .amount { font-size: 28px; line-height: 1.15; }
.price { padding: 22px 16px 18px; display: flex; flex-direction: column; position: relative; }
.price.popular {
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 1px rgba(23, 227, 214, .15), var(--shadow);
}
.tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  color: #04111f;
  background: var(--accent);
  margin-bottom: 14px;
}
.price h3 { font-size: 22px; }
.amount {
  margin: 14px 0 8px;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.03em;
}
.amount span { font-size: 16px; font-weight: 500; color: var(--muted); }
.price .btn { margin-top: auto; }
.fine { font-size: 13px; margin-top: 12px; }
.fine.ok { color: var(--ok); }

.locs { display: flex; flex-wrap: wrap; gap: 10px; }
.loc {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(13, 44, 72, .7);
  color: var(--ink-2);
  font-size: 14px;
}
.center-note { text-align: center; color: var(--muted); margin-top: 18px; }

.faq { display: grid; gap: 10px; }
details { padding: 16px 18px; }
summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: 10px; }

.final {
  margin: 56px 0 10px;
  padding: 42px 28px;
  text-align: center;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 180px at 50% 0%, rgba(23, 227, 214, .16), transparent 70%),
    var(--card);
}
.final h2 { font-size: 34px; letter-spacing: -.03em; margin-bottom: 8px; }
.final .cta { justify-content: center; }

footer.site {
  margin: 36px 0 28px;
  padding: 26px 26px 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  display: grid;
  gap: 20px;
}
.foot-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 720px;
}
.foot-links a {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(13, 44, 72, .6);
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}
.foot-links a:hover {
  color: #fff;
  border-color: var(--accent);
}
.foot-contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.foot-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 74px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #0d2c48;
  color: #fff;
}
.foot-k {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.foot-v {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -.01em;
  line-height: 1.3;
}
a.foot-chip:hover { border-color: var(--accent); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  line-height: 1.5;
}

.chat-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #04111f;
  box-shadow: 0 12px 30px rgba(23, 227, 214, .35);
  cursor: pointer;
  z-index: 30;
}
.chat-btn svg path { stroke: #04111f; }
.chat-panel {
  position: fixed;
  right: 22px;
  bottom: 90px;
  width: min(340px, calc(100vw - 32px));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 16px;
  z-index: 30;
}
.chat-panel h3 { font-size: 16px; margin-bottom: 4px; }
.chat-panel p { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.chat-panel label { display: block; font-size: 13px; margin: 8px 0; color: var(--ink-2); }

input, textarea, select {
  width: 100%;
  margin-top: 6px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #04111f;
  color: var(--text);
  font: inherit;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(23, 227, 214, .18);
}
textarea { min-height: 90px; resize: vertical; }
.hp { position: absolute; left: -9999px; }

.page-card {
  max-width: 560px;
  margin: 28px auto 50px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
}
.page-card h1 {
  font-size: 32px;
  margin-bottom: 8px;
}
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 14px 0; }
.check input { width: auto; margin-top: 3px; accent-color: var(--accent); }
.plan-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin: 14px 0 8px;
  background: #0d2c48;
}
.plan-box b { font-size: 18px; }
.msg { margin-top: 12px; font-size: 14px; }
.msg.ok { color: var(--ok); }
.msg.err { color: #ff4d6a; }
.back { color: var(--muted); font-size: 14px; }

.paper {
  background: var(--bg);
  color: #fff;
  min-height: 100vh;
}
.paper-bar {
  background: var(--bg-deep);
  color: #fff;
  border-bottom: 1px solid var(--hairline);
}
.paper-bar .wrap { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.paper-bar a { color: var(--accent); }
.doc-body { width: min(820px, calc(100% - 36px)); margin: 0 auto; padding: 36px 0 64px; }
.doc-body h1 { color: #fff; background: none; -webkit-text-fill-color: #fff; font-size: 34px; margin: 8px 0 8px; }
.doc-body h2 { font-size: 20px; margin: 26px 0 8px; }
.doc-body p, .doc-body li { font-family: Inter, sans-serif; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.doc-body a { color: var(--accent); text-decoration: underline; }
.doc-body ul, .doc-body ol { padding-left: 20px; }
.doc-body li { margin: 6px 0; }
.muted-doc { color: var(--muted); font-family: Inter, sans-serif; font-size: 14px; }
.seller {
  font-family: Inter, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .02em;
  margin: 18px 0 10px;
  color: #fff;
}

.empty { padding: 18vh 0 30vh; text-align: center; }
.empty h1 { font-size: 42px; }

@media (max-width: 980px) {
  h1 { font-size: 38px; }
  .hero, .features, .kpis { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: 1fr; }
  .preview { min-height: 280px; }
}

@media (max-width: 640px) {
  .pricing { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .nav-burger {
    display: grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    place-content: center;
    border-radius: 12px;
    border: 1px solid var(--hairline);
  }
  .nav-burger span, .nav-burger::before, .nav-burger::after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
  }
  nav.menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    padding: 12px;
    border-radius: 16px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    z-index: 30;
  }
  .nav-toggle:checked ~ nav.menu { display: flex; }
  header.site { flex-wrap: wrap; }
  .foot-top { flex-direction: column; }
  .foot-links { justify-content: flex-start; max-width: none; }
  .foot-contacts { grid-template-columns: 1fr; }
  footer.site { padding: 20px 16px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .feature { transition: none; }
}

body.checkout {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 46%, var(--bg-deep) 100%);
  color: #fff;
  min-height: 100vh;
}
body.checkout .wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.checkout header.site {
  position: relative;
  background: transparent;
  border-bottom: 0;
  padding: 16px 0;
}
body.checkout .logo {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  box-shadow: none;
}
body.checkout .brand strong { font-size: 15px; font-weight: 700; }
body.checkout .brand small { color: var(--muted); }
body.checkout .back {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(23, 227, 214, .06);
}
body.checkout .back:hover { color: #fff; border-color: var(--accent); }
body.checkout .page-card {
  width: min(460px, 100%);
  margin: auto;
  margin-top: 48px;
  margin-bottom: 48px;
  padding: 28px 26px 22px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
body.checkout .eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
body.checkout h1 {
  color: #fff;
  font-size: 34px;
  letter-spacing: -.03em;
  margin-bottom: 8px;
}
body.checkout .lead {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  max-width: none;
}
body.checkout .plan-box {
  margin: 18px 0 16px;
  padding: 16px 16px 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, .05), transparent 62%), #0d2c48;
}
body.checkout .plan-box .fine {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
body.checkout .plan-box b {
  display: block;
  margin-top: 4px;
  font-size: 16px;
}
body.checkout .plan-box .amount {
  margin-top: 8px;
  color: #fff;
  font-size: 40px;
  font-weight: 750;
  letter-spacing: -.04em;
  line-height: 1.1;
}
body.checkout .plan-box .amount span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}
body.checkout .plan-box p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
body.checkout label { color: var(--ink-2); font-size: 13px; font-weight: 600; }
body.checkout input[type="email"] {
  margin-top: 8px;
  padding: 14px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #04111f;
  color: #fff;
}
body.checkout .check { color: var(--muted); }
body.checkout .check a { color: var(--accent); text-decoration: underline; }
body.checkout .btn {
  margin-top: 6px;
  border-radius: 999px;
  color: #04111f;
  background: var(--accent);
}
body.checkout .btn:hover { transform: none; background: #3eefe4; }
body.checkout .btn:disabled { opacity: .6; cursor: default; }
body.checkout .pays { justify-content: flex-start; }
body.checkout .pay {
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--ink-2);
  border-radius: 999px;
  height: 28px;
  font-weight: 700;
}
