:root {
  --ink: #0B1B33;
  --ink-2: #33415C;
  --muted: #5B6B85;
  --line: #E3E8F0;
  --bg: #FFFFFF;
  --bg-soft: #F4F7FB;
  --brand: #0E9F8E;
  --brand-bright: #2DD4BF;
  --brand-ink: #0A7468;
  --alert: #F5A524;
  --down: #E5484D;
  --wa: #25D366;
  --wa-ink: #128C4A;
  --radius: 16px;
  --shadow: 0 1px 2px rgb(11 27 51 / 6%), 0 12px 32px rgb(11 27 51 / 10%);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.4em; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  background: var(--ink); color: #fff;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn svg { width: 1.25em; height: 1.25em; fill: currentColor; }
.btn-small { padding: .55em 1.1em; font-size: .92rem; }
.btn-wa { background: var(--wa); color: #06331B; }
.btn-wa:hover { background: #2fe072; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.btn-block { width: 100%; }

/* ─── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgb(255 255 255 / 88%);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; font-size: 1.15rem; font-weight: 500;
  letter-spacing: -0.01em;
}
.brand b { font-weight: 800; color: var(--brand-ink); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--brand-ink); }

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  padding: 72px 0 88px;
  background:
    radial-gradient(900px 500px at 85% 10%, rgb(45 212 191 / 16%), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgb(245 165 36 / 10%), transparent 60%),
    var(--bg-soft);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  color: var(--brand-ink); font-weight: 700; font-size: .85rem;
  letter-spacing: .08em; text-transform: uppercase;
}
.hl { color: var(--brand); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.price-hint { color: var(--muted); font-size: .95rem; }
.price-hint b { color: var(--ink); }

.hero-visual { position: relative; }
.browser {
  margin: 0; border-radius: 12px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px var(--line), var(--shadow);
}
.browser-bar {
  display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  background: #EEF2F7; border-bottom: 1px solid var(--line);
}
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD3DF; }
.browser-bar span {
  margin-left: 12px; padding: 2px 12px; border-radius: 6px;
  background: #fff; color: var(--muted); font-size: .72rem;
}
.hero-visual .browser { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }

/* Telegram message */
.tg {
  position: absolute; left: -36px; bottom: -40px; width: 290px;
  background: #fff; border-radius: 16px; padding: 12px;
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgb(11 27 51 / 22%);
  font-size: .8rem; line-height: 1.45;
}
.tg-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.tg-head img { border-radius: 50%; }
.tg-head b { display: block; font-size: .85rem; }
.tg-head small { color: var(--muted); }
.tg-bubble { background: #EFFDDE; border-radius: 12px 12px 12px 4px; padding: 10px 12px; }
.tg-bubble p { margin: 0 0 .5em; }
.tg-time { display: flex; justify-content: space-between; color: var(--muted); margin: 0 !important; }
.tg-time span { color: #4FAE4E; font-size: .72rem; }

/* ─── Strip ───────────────────────────────────────────────────────────────── */
.strip { background: var(--ink); color: #C9D3E3; }
.strip-inner { padding: 18px 0; text-align: center; font-size: .95rem; }
.strip-inner p { margin: 0; }
.strip b { color: #fff; }

/* ─── Sections ────────────────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-lead { font-size: 1.1rem; color: var(--ink-2); max-width: 46em; }
.section-dark { background: var(--ink); color: #DCE4F0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--brand-bright); }

.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px;
}
.feature {
  padding: 26px; border-radius: var(--radius);
  background: #fff; box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow .2s ease, transform .2s ease;
}
.feature:hover { box-shadow: 0 0 0 1px var(--line), var(--shadow); transform: translateY(-2px); }
.feature p { color: var(--ink-2); margin: 0; }
.ico {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px;
  border-radius: 12px; background: rgb(14 159 142 / 10%);
}
.ico svg {
  width: 22px; height: 22px; fill: none; stroke: var(--brand-ink);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.steps {
  list-style: none; padding: 0; margin: 44px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s;
}
.steps li {
  padding: 28px; border-radius: var(--radius);
  background: rgb(255 255 255 / 5%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%);
}
.steps p { margin: 0; color: #B8C4D6; }
.step-n {
  display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 16px;
  border-radius: 50%; background: var(--brand-bright); color: var(--ink); font-weight: 800;
}

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 44px; }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 14px; color: var(--ink-2); }
.note { margin-top: 24px; color: var(--muted); font-size: .85rem; }

.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.price-card {
  padding: 36px; border-radius: 22px; background: #fff;
  box-shadow: 0 0 0 2px var(--brand), var(--shadow);
}
.plan { color: var(--brand-ink); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin: 0; }
.amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; margin: 4px 0 18px; }
.amount small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 28px; }
.price-card li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); }
.price-card li::before {
  content: ''; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px;
  border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg);
}

details {
  border-bottom: 1px solid var(--line); padding: 18px 0;
}
summary {
  cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none;
  display: flex; justify-content: space-between; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--brand); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { margin: 12px 0 0; color: var(--ink-2); }

.final {
  background:
    radial-gradient(600px 300px at 50% 0%, rgb(45 212 191 / 22%), transparent 70%),
    var(--ink);
  color: #DCE4F0; text-align: center;
}
.final h2 { color: #fff; }
.final-inner p { font-size: 1.1rem; margin-bottom: 28px; }

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.footer { background: #07142A; color: #8A9BB5; padding: 36px 0; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer p { margin: 0; }
.brand-light { color: #fff; }
.brand-light b { color: var(--brand-bright); }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 30;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 10px 28px rgb(18 140 74 / 40%);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* ─── Small screens ───────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid, .price-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 96px; }
  .hero-visual .browser { transform: none; }
  .tg { left: 12px; bottom: -64px; width: 260px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-inner .btn-small { margin-left: auto; }
  .features, .gallery { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .tg { position: relative; left: auto; bottom: auto; width: 100%; margin-top: 16px; }
  .hero { padding-bottom: 56px; }
  .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
