/* Отклик — маркетинговый сайт SaaS */
:root {
  --bg: #f7f6fb;
  --paper: #ffffff;
  --ink: #16142a;
  --ink-2: #4b4866;
  --muted: #85829b;
  --line: #e8e5f2;
  --accent: #5b3cf5;
  --accent-2: #4527e0;
  --accent-soft: #eeeaff;
  --lime: #d6f65c;
  --dark: #141128;
  --dark-2: #1f1b3a;
  --good: #11845b;
  --bad: #d23b3b;
  --star: #f5a524;
  --r: 22px;
  --font: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 14px; border: 0; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; transition: background .2s, transform .15s, box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 30px rgba(91, 60, 245, .3); }
.btn-accent:hover { background: var(--accent-2); }
.btn-ghost { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: #cfc9e6; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-sm { height: 42px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- Шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(247, 246, 251, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; }
.header.scrolled { border-color: var(--line); }
.header .wrap { display: flex; align-items: center; gap: 32px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 22px; letter-spacing: -.03em; text-decoration: none; }
.logo-mark { width: 32px; height: 32px; border-radius: 10px 10px 10px 3px; background: var(--accent); display: grid; place-items: center; }
.logo-mark::before { content: ""; width: 14px; height: 4px; border-radius: 2px; background: var(--lime); box-shadow: 0 7px 0 #fff; transform: translateY(-3px); }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-size: 15px; color: var(--ink-2); font-weight: 500; }
.nav a:hover { color: var(--accent); }
.header-right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
@media (max-width: 980px) { .nav { display: none; } }
@media (max-width: 520px) { .header .btn-ghost { display: none; } .header .wrap { gap: 12px; } }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(91, 60, 245, .16), transparent 65%); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; }
h1 { font-size: clamp(36px, 4.3vw, 54px); line-height: 1.03; letter-spacing: -.035em; margin: 22px 0 20px; font-weight: 700; }
h1 mark { background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); color: inherit; padding: 0 2px; }
.lead { font-size: 19px; color: var(--ink-2); margin: 0 0 30px; max-width: 540px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { font-size: 14px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.cta-note span { display: inline-flex; align-items: center; gap: 6px; }
.cta-note .i { width: 16px; height: 16px; color: var(--good); }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: 1fr; } }

.mock { background: var(--paper); border-radius: 26px; border: 1px solid var(--line); box-shadow: 0 40px 80px rgba(34, 22, 110, .14); overflow: hidden; }
.mock-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.mock-top i { width: 10px; height: 10px; border-radius: 50%; background: #e7e4f0; }
.mock-top b { margin-left: 8px; color: var(--ink); font-weight: 600; }
.mock-body { padding: 20px; display: grid; gap: 14px; }
.rev { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.rev-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.rev-head b { font-size: 15px; }
.mp { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; color: #fff; letter-spacing: .02em; }
.mp.wb { background: #8b2bb9; }
.mp.ozon { background: #1f5fe0; }
.mp.ym { background: #f4c400; color: #1d1d1d; }
.stars { color: var(--star); letter-spacing: 1px; font-size: 14px; }
.rev p { margin: 4px 0 0; font-size: 15px; color: var(--ink-2); }
.rev .prod { font-size: 12px; color: var(--muted); margin-top: 8px; }
.ai { border-radius: 16px; padding: 14px 16px; background: var(--accent-soft); position: relative; }
.ai-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 6px; }
.ai-text { font-size: 15px; color: var(--ink); min-height: 96px; white-space: pre-line; }
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--accent); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mock-actions { display: flex; gap: 8px; align-items: center; }
.mock-actions .tag { font-size: 12px; padding: 4px 9px; border-radius: 8px; background: #f2f0f8; color: var(--ink-2); }
.mock-actions .pub { margin-left: auto; font-size: 13px; font-weight: 600; background: var(--ink); color: #fff; border-radius: 10px; padding: 8px 14px; transition: background .3s; }
.mock-actions .pub.done { background: var(--good); }

/* ---------- Цифры ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.stats div { background: var(--paper); padding: 26px; }
.stats b { display: block; font-size: 36px; letter-spacing: -.03em; line-height: 1.1; }
.stats span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Секции ---------- */
.section { padding: 100px 0; }
.section.dark { background: var(--dark); color: #fff; }
.section.white { background: var(--paper); }
.head { max-width: 760px; margin-bottom: 48px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.dark .eyebrow { color: var(--lime); }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 16px; font-weight: 700; }
.head p { margin: 0; color: var(--ink-2); font-size: 18px; }
.dark .head p { color: #b3aed0; }
@media (max-width: 640px) { .section { padding: 64px 0; } .head { margin-bottom: 32px; } }

.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.problem { background: var(--paper); border-radius: var(--r); padding: 28px; border: 1px solid var(--line); }
.problem b { display: block; font-size: 44px; letter-spacing: -.04em; line-height: 1; color: var(--accent); margin-bottom: 12px; }
.problem p { margin: 0; color: var(--ink-2); }
.problem small { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; }
@media (max-width: 860px) { .problems { grid-template-columns: 1fr; } }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: h; }
.how-step { background: var(--dark-2); border-radius: var(--r); padding: 28px; border: 1px solid #2d2850; }
.how-step::before { counter-increment: h; content: counter(h); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--lime); color: var(--ink); font-weight: 700; margin-bottom: 20px; }
.how-step h3 { margin: 0 0 8px; font-size: 21px; }
.how-step p { margin: 0; color: #b3aed0; font-size: 16px; }
.how-step code { background: #2d2850; padding: 2px 6px; border-radius: 6px; font-size: 14px; color: #fff; }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } }

/* ---------- Демо ---------- */
.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: var(--paper); border-radius: 26px; border: 1px solid var(--line); padding: 26px; }
.panel h3 { margin: 0 0 16px; font-size: 18px; }
.samples { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.sample { border: 1px solid var(--line); background: var(--bg); border-radius: 99px; padding: 7px 12px; font-size: 14px; }
.sample.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.input { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--bg); outline: none; font-size: 16px; }
.input:focus { border-color: var(--accent); background: var(--paper); }
textarea.input { min-height: 110px; resize: vertical; line-height: 1.5; }
.rate { display: flex; gap: 4px; }
.rate button { background: none; border: 0; font-size: 28px; line-height: 1; color: #dcd8ea; padding: 0 2px; }
.rate button.on { color: var(--star); }
.seg { display: inline-grid; grid-auto-flow: column; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 3px; }
.seg button { border: 0; background: none; padding: 8px 14px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); }
.seg button.active { background: var(--paper); color: var(--ink); box-shadow: 0 1px 4px rgba(22, 20, 42, .12); }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.result { display: flex; flex-direction: column; }
.result .ai-text { min-height: 180px; font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.chip { font-size: 13px; padding: 4px 10px; border-radius: 8px; background: #f2f0f8; color: var(--ink-2); }
.chip.neg { background: #fdeaea; color: #a52828; }
.chip.pos { background: #e3f4ec; color: var(--good); }
.checks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; font-size: 14px; }
.checks li { display: flex; gap: 8px; align-items: center; color: var(--ink-2); }
.checks .ok { color: var(--good); }
.checks .no { color: var(--bad); }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } }

/* ---------- Возможности ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { background: var(--paper); border-radius: var(--r); padding: 24px; border: 1px solid var(--line); }
.feature .fi { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.feature h3 { font-size: 18px; margin: 0 0 6px; }
.feature p { margin: 0; font-size: 15px; color: var(--ink-2); }
.feature.wide { grid-column: span 2; background: var(--accent); color: #fff; border-color: var(--accent); }
.feature.wide p { color: rgba(255, 255, 255, .85); }
.feature.wide .fi { background: rgba(255, 255, 255, .18); color: #fff; }
@media (max-width: 1000px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } .feature.wide { grid-column: auto; } }

/* ---------- Аналитика ---------- */
.analytics { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.analytics ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.analytics li { display: flex; gap: 12px; color: var(--ink-2); }
.analytics li .i { color: var(--accent); margin-top: 3px; }
.themes-card { background: var(--paper); border-radius: 26px; border: 1px solid var(--line); padding: 26px; box-shadow: 0 30px 60px rgba(34, 22, 110, .08); }
.themes-card h4 { margin: 0 0 4px; font-size: 16px; }
.themes-card .sub { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.tbar { display: grid; grid-template-columns: 130px 1fr 54px; gap: 12px; align-items: center; margin-bottom: 12px; font-size: 14px; }
.tbar .track { height: 20px; }
.tbar .fill { height: 100%; background: #e34948; border-radius: 0 4px 4px 0; }
.tbar b { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 13px; color: var(--ink-2); }
.alert-card { margin-top: 18px; border-radius: 14px; background: #fff7e6; padding: 12px 14px; font-size: 14px; color: #6b4a00; display: flex; gap: 10px; }
@media (max-width: 900px) { .analytics { grid-template-columns: 1fr; } }

/* ---------- ROI ---------- */
.roi { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.roi .panel { border-color: #2d2850; background: var(--dark-2); color: #fff; }
.slider { margin-bottom: 22px; }
.slider-top { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 15px; color: #b3aed0; }
.slider-top b { color: #fff; font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; accent-color: var(--lime); }
.roi-out { display: grid; gap: 14px; }
.roi-big { font-size: clamp(40px, 5vw, 60px); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--lime); }
.roi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.roi-grid div { background: #2a2548; border-radius: 14px; padding: 14px; }
.roi-grid b { display: block; font-size: 22px; }
.roi-grid span { font-size: 13px; color: #b3aed0; }
@media (max-width: 900px) { .roi { grid-template-columns: 1fr; } }

/* ---------- Тарифы ---------- */
.billing { display: flex; justify-content: center; margin-bottom: 32px; gap: 12px; align-items: center; }
.save { font-size: 13px; font-weight: 700; background: var(--lime); padding: 4px 10px; border-radius: 99px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.plan .btn { white-space: normal; text-align: center; height: auto; min-height: 52px; padding: 10px 16px; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; position: relative; }
.plan.pop { border: 2px solid var(--accent); box-shadow: 0 20px 50px rgba(91, 60, 245, .15); }
.plan .ribbon { position: absolute; top: -13px; left: 24px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 99px; }
.plan h3 { margin: 0; font-size: 20px; }
.plan .for { color: var(--muted); font-size: 14px; margin: 4px 0 18px; min-height: 42px; }
.price { font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price-note { font-size: 13px; color: var(--muted); margin: 6px 0 20px; min-height: 20px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: 15px; }
.plan li { display: flex; gap: 8px; }
.plan li .i { width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.plan .btn { margin-top: auto; }
.tax { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }
@media (max-width: 1080px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }

.compare-wrap { overflow-x: auto; margin-top: 40px; background: var(--paper); border-radius: 24px; border: 1px solid var(--line); }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--ink-2); }
.compare thead th { font-size: 14px; }
.compare tr:last-child td { border-bottom: 0; }
.compare .y { color: var(--accent); font-weight: 700; }
.compare .n { color: #c9c5d8; }

/* ---------- Безопасность ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sec-item { border-radius: var(--r); padding: 24px; background: var(--dark-2); border: 1px solid #2d2850; }
.sec-item .i { color: var(--lime); width: 26px; height: 26px; margin-bottom: 14px; }
.sec-item h3 { margin: 0 0 6px; font-size: 18px; }
.sec-item p { margin: 0; color: #b3aed0; font-size: 15px; }
@media (max-width: 860px) { .sec-grid { grid-template-columns: 1fr; } }

/* ---------- Отзывы ---------- */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testi { background: var(--paper); border-radius: var(--r); padding: 26px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.testi p { margin: 0; font-size: 16px; }
.testi .who { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.testi .ava { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; }
.testi .who span { display: block; font-size: 13px; color: var(--muted); }
.testi .metric { font-size: 14px; font-weight: 600; color: var(--good); background: #e3f4ec; padding: 6px 10px; border-radius: 8px; align-self: flex-start; }
@media (max-width: 900px) { .testis { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--paper); border-radius: 18px; border: 1px solid var(--line); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { margin: 0 0 18px; color: var(--ink-2); }

/* ---------- Финальный CTA ---------- */
.final { background: var(--accent); color: #fff; border-radius: 32px; padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.final::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -120px; bottom: -200px; background: rgba(214, 246, 92, .25); }
.final h2 { color: #fff; }
.final p { color: rgba(255, 255, 255, .85); margin: 0; font-size: 18px; }
.final form { position: relative; z-index: 1; display: grid; gap: 10px; }
.final .input { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); color: #fff; }
.final .input::placeholder { color: rgba(255, 255, 255, .7); }
.final .consent { font-size: 13px; color: rgba(255, 255, 255, .8); display: flex; gap: 8px; align-items: flex-start; }
.final .consent a { color: #fff; }
.final .consent input { accent-color: var(--lime); margin-top: 3px; }
@media (max-width: 860px) { .final { grid-template-columns: 1fr; } }

/* ---------- Подвал ---------- */
.footer { padding: 60px 0 40px; font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: var(--ink); font-size: 14px; margin: 0 0 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; display: grid; gap: 6px; font-size: 13px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.cookie { position: fixed; right: 16px; bottom: 16px; left: auto; z-index: 60; max-width: 380px; background: var(--ink); color: #d7d3ea; border-radius: 18px; padding: 18px; font-size: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.cookie p { margin: 0 0 12px; }
.cookie a { color: #fff; }
.cookie .row { gap: 8px; }
@media (max-width: 520px) { .cookie { left: 12px; right: 12px; max-width: none; } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 600; opacity: 0; transition: .2s; pointer-events: none; z-index: 90; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
