:root {
  --bg: #0a0a0f;
  --card: #12121a;
  --card-hover: #181825;
  --muted: #8b92a8;
  --text: #f0f4fc;
  --accent: #ff4757;
  --accent-2: #ff8e9a;
  --ok: #2ed573;
  --line: rgba(255, 255, 255, .08);
  --radius: 20px;
  --shadow: 0 20px 40px rgba(0, 0, 0, .4);
  --max: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  min-height: 100%;
  font-family: Inter, Manrope, system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: -40% -20% auto;
  height: 80vh;
  background: radial-gradient(ellipse at center, rgba(255, 71, 87, .09), transparent 68%);
  pointer-events: none;
  z-index: -1;
}

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: 18px 0 16px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 10, 15, .82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

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

.logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ff4757 0%, #ff6b7a 55%, #ffb0b8 100%);
  box-shadow: 0 8px 24px rgba(255, 71, 87, .35);
  flex: none;
}

.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: 12px;
  color: #d5dbeb;
  font-weight: 500;
  font-size: 15px;
}

nav.menu a.link:hover { background: rgba(255, 255, 255, .05); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  color: #fff;
  font: inherit;
  font-weight: 700;
  background: linear-gradient(135deg, #ff4757 0%, #ff6b7a 55%, #ff8e9a 100%);
  box-shadow: 0 10px 28px rgba(255, 71, 87, .32);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255, 71, 87, .42); }

.btn.secondary {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: none;
  font-weight: 650;
}

.btn.block { width: 100%; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 36px;
  align-items: center;
  padding: 54px 0 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 71, 87, .35);
  background: rgba(255, 71, 87, .1);
  color: #ffb3bb;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

h1 {
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #fff 0%, #ffd0d5 38%, #ff5d6a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.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: #d5e4ff;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .03);
  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: 32px;
  padding: 0 10px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #1a1b22;
  border: 1px solid rgba(255, 255, 255, .08);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.pay.mir { color: #3dcc7a; }
.pay.visa { color: #4c8dff; font-style: italic; }
.pay.mc { color: #ffb15a; letter-spacing: 0; font-size: 11px; }

.preview {
  position: relative;
  border-radius: 28px;
  min-height: 430px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #7a86f5 0%, #6a5acd 42%, #7a4bb8 100%);
  box-shadow: 0 30px 70px rgba(70, 60, 160, .28);
  overflow: hidden;
}

.preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 75%);
}

.preview-card { position: relative; text-align: center; }

.rocket { width: 118px; height: 118px; margin: 0 auto 8px; filter: drop-shadow(0 16px 18px rgba(40, 20, 80, .28)); }

.preview h2 { font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.preview p { color: rgba(255, 255, 255, .82); margin-top: 6px; }

.status {
  margin: 26px auto 0;
  width: fit-content;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px);
  font-weight: 650;
}

.status i { color: #7dffa8; 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: 18px;
}

.stat, .kpi { text-align: center; padding: 26px 16px; }
.stat b, .kpi b {
  display: block;
  font-size: 40px;
  letter-spacing: -.03em;
  background: linear-gradient(180deg, #fff, #ff6b7a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.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: transform .2s ease, border-color .2s ease; }
.feature:hover { transform: translateY(-4px); border-color: rgba(255, 71, 87, .45); }
.icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; font-size: 24px; line-height: 1; margin-bottom: 14px;
  background: linear-gradient(135deg, #ff4757, #ff8e9a);
  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 h3 { font-size: 20px; }
.price.popular {
  border: 2px solid var(--accent);
  box-shadow: 0 24px 50px rgba(255, 71, 87, .16);
}
.tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4757, #ff8e9a);
  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 rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .03);
  color: #d5e4ff;
  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-2); 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 rgba(255, 71, 87, .2);
  background:
    radial-gradient(600px 180px at 50% 0%, rgba(255, 71, 87, .18), transparent 70%),
    var(--card);
}
.final h2 { font-size: 34px; letter-spacing: -.03em; margin-bottom: 8px; }
.final .cta { justify-content: center; }

footer.site {
  margin: 28px 0 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: var(--muted);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
footer.site a:hover { color: #fff; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
.legal-note { width: 100%; font-size: 12px; padding-top: 8px; }

.chat-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: #21c56b;
  color: #fff;
  box-shadow: 0 12px 30px rgba(33, 197, 107, .35);
  cursor: pointer;
  z-index: 30;
}
.chat-panel {
  position: fixed;
  right: 22px;
  bottom: 90px;
  width: min(340px, calc(100vw - 32px));
  background: #16161f;
  border: 1px solid rgba(255, 255, 255, .08);
  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: #d5dbeb; }

input, textarea, select {
  width: 100%;
  margin-top: 6px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: #0e0e14;
  color: var(--text);
  font: inherit;
}
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; }
.plan-box {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  padding: 14px;
  margin: 14px 0 8px;
  background: rgba(255, 255, 255, .03);
}
.plan-box b { font-size: 18px; }
.msg { margin-top: 12px; font-size: 14px; }
.msg.ok { color: var(--ok); }
.msg.err { color: #ff8e9a; }
.back { color: var(--muted); font-size: 14px; }

.paper {
  background: #f6f4ef;
  color: #242424;
  min-height: 100vh;
}
.paper-bar {
  background: #0a0a0f;
  color: #fff;
}
.paper-bar .wrap { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.paper-bar a { color: #ffb3bb; }
.doc-body { width: min(820px, calc(100% - 36px)); margin: 0 auto; padding: 36px 0 64px; }
.doc-body h1 { color: #1c1c1c; background: none; -webkit-text-fill-color: initial; 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: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.6; }
.doc-body ul, .doc-body ol { padding-left: 20px; }
.doc-body li { margin: 6px 0; }
.muted-doc { color: #666; 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;
}

.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: 320px; }
}

@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 rgba(255, 255, 255, .08);
  }
  .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: #14141c;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .55);
    flex-direction: column;
    align-items: stretch;
    z-index: 30;
  }
  .nav-toggle:checked ~ nav.menu { display: flex; }
  header.site { flex-wrap: wrap; }
}

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