/* effectSearch — лендинг (demo.html).
   Дизайн-токены, кнопки, пилюли и карточки берутся из dashboard.css: страница
   должна выглядеть как продукт, а не как отдельный макет. */

body { background: var(--card); }

/* Якорные ссылки не должны залезать под липкую шапку */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

/* ---------- Шапка ---------- */
.lp-nav {
  position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.lp-nav-in {
  max-width: 1160px; margin: 0 auto; padding: 0 24px; height: 68px;
  display: flex; align-items: center; gap: 26px;
}
.lp-brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: -.02em; }
.lp-brand .brand-logo { width: 36px; height: 36px; border-radius: 11px; }
.lp-brand .brand-logo svg { width: 21px; height: 21px; color: #fff; }
.lp-links { display: flex; gap: 26px; margin-left: 8px; }
.lp-links a { color: var(--muted); font-weight: 600; font-size: 14px; }
.lp-links a:hover { color: var(--ink); }
.lp-nav-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lp-nav-cta .quiet { color: var(--muted); font-weight: 600; font-size: 14px; }
.lp-nav-cta .quiet:hover { color: var(--ink); }

/* ---------- Общие блоки ---------- */
.lp-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.lp-section { padding: 92px 0; }
.lp-section.tint { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: .09em; }
.lp-h { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.14; margin: 14px 0 14px; }
.lp-lead { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 620px; }
.lp-head-center { text-align: center; }
.lp-head-center .lp-lead { margin: 0 auto; }

/* ---------- Hero ---------- */
.lp-hero { padding: 78px 0 96px; background:
  radial-gradient(1100px 460px at 88% -80px, var(--accent-soft), transparent 70%),
  var(--card); }
.lp-hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.lp-hero h1 { font-size: 52px; font-weight: 800; letter-spacing: -.035em; line-height: 1.08; margin: 18px 0 20px; }
.lp-hero h1 em { font-style: normal; color: var(--accent); }
.lp-hero .lp-lead { font-size: 19px; max-width: 560px; }
.lp-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.lp-cta .btn { padding: 14px 22px; font-size: 15px; }
.lp-hero-note { color: var(--muted); font-size: 13px; margin-top: 14px; }

.lp-stats { display: flex; gap: 34px; margin-top: 42px; flex-wrap: wrap; }
.lp-stats b { display: block; font-size: 27px; font-weight: 800; letter-spacing: -.03em; }
.lp-stats span { color: var(--muted); font-size: 13px; font-weight: 600; }

/* ---------- Макет оверлея (статичная иллюстрация) ---------- */
.lp-mock { position: relative; border-radius: 20px; background: var(--sidebar); padding: 22px; box-shadow: 0 26px 60px rgba(15, 23, 42, .22); }
.lp-mock-bar { display: flex; gap: 7px; margin-bottom: 16px; }
.lp-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.lp-mock-panel { background: #fff; border-radius: 14px; overflow: hidden; }
.lp-mock-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.lp-mock-top .q { width: 100%; height: 10px; border-radius: 5px; background: var(--stripe); }
.lp-mock-tabs { display: flex; gap: 6px; padding: 12px 16px 0; }
.lp-mock-tabs span { font-size: 11.5px; font-weight: 700; color: var(--muted); padding: 5px 11px; border-radius: 999px; }
.lp-mock-tabs span.on { background: var(--accent-soft); color: var(--accent); }
.lp-mock-row { display: flex; gap: 12px; padding: 12px 16px; align-items: center; }
.lp-mock-row + .lp-mock-row { border-top: 1px solid var(--stripe); }
.lp-mock-img { width: 46px; height: 46px; border-radius: 9px; background: linear-gradient(135deg, #eef2f7, #dde4ee); flex: 0 0 46px; }
.lp-mock-txt { flex: 1; min-width: 0; }
.lp-mock-txt i { display: block; height: 9px; border-radius: 5px; background: var(--stripe); }
.lp-mock-txt i + i { margin-top: 7px; width: 62%; }
.lp-mock-price { color: var(--accent); font-weight: 800; font-size: 13px; white-space: nowrap; }
.lp-mock-fab {
  position: absolute; right: 34px; bottom: 34px; width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent)); display: flex;
  align-items: center; justify-content: center; box-shadow: 0 12px 26px rgba(185, 0, 29, .4);
}
.lp-mock-fab svg { width: 22px; height: 22px; color: #fff; }

/* ---------- Возможности ---------- */
.lp-feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.lp-feat .card { padding: 22px; border-radius: 18px; transition: .18s; }
.lp-feat .card:hover { border-color: #f0b6bf; box-shadow: 0 12px 30px rgba(15, 23, 42, .07); }
.lp-feat h3 { font-size: 16px; font-weight: 800; margin: 16px 0 8px; }
.lp-feat p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.lp-feat .tile-icon svg { width: 22px; height: 22px; }

/* ---------- Шаги ---------- */
.lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.lp-step { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.lp-step b { display: inline-flex; width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: #fff; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; }
.lp-step h3 { font-size: 15.5px; font-weight: 800; margin: 14px 0 8px; }
.lp-step p { color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* ---------- Живое демо ---------- */
.lp-demo { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: start; margin-top: 40px; }
.lp-shop { border: 1px solid var(--line); border-radius: 20px; background: var(--card); overflow: hidden; }
.lp-shop-head { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--bg); }
.lp-shop-head .name { font-weight: 800; }
.lp-shop-head .site-search {
  margin-left: auto; display: flex; align-items: center; gap: 8px; background: #fff;
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; width: 260px; color: var(--muted);
}
.lp-shop-head .site-search svg { width: 15px; height: 15px; }
.lp-shop-head .site-search input { border: none; outline: none; background: none; font: inherit; width: 100%; color: var(--ink); }
.lp-shop-body { padding: 20px; display: grid; gap: 14px; }
.lp-shop-empty { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.lp-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.lp-chip-q {
  border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 14px;
  font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.lp-chip-q:hover { border-color: var(--accent); color: var(--accent); }
.lp-chip-q:disabled { opacity: .45; cursor: default; }
.lp-variants { display: grid; gap: 12px; }
.lp-variant { display: flex; gap: 13px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); cursor: pointer; transition: .18s; }
.lp-variant:hover, .lp-variant.on { border-color: var(--accent); background: var(--accent-soft); }
.lp-variant .tile-icon { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 11px; }
.lp-variant b { display: block; font-size: 14.5px; margin-bottom: 4px; color: var(--ink); }
.lp-variant span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.lp-demo-note { color: var(--muted); font-size: 12.5px; margin-top: 12px; }

/* ---------- Тарифы ---------- */
.lp-plans {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
  max-width: 820px; margin: 44px auto 0;
}
.lp-plan { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.lp-plan.best { border-color: var(--accent); box-shadow: 0 16px 40px rgba(185, 0, 29, .12); position: relative; }
.lp-plan .flag { position: absolute; top: -11px; left: 24px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 800; border-radius: 7px; padding: 4px 9px; }
.lp-plan h3 { font-size: 16px; font-weight: 800; }
.lp-plan .price { font-size: 32px; font-weight: 800; letter-spacing: -.03em; margin: 12px 0 2px; }
.lp-plan .price small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.lp-plan ul { list-style: none; margin: 18px 0 22px; display: grid; gap: 10px; }
.lp-plan li { display: flex; gap: 9px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.lp-plan li svg { width: 15px; height: 15px; color: var(--green); flex: 0 0 15px; margin-top: 2px; }
.lp-plan .btn { justify-content: center; margin-top: auto; }

/* ---------- Установка ---------- */
.lp-code { position: relative; margin-top: 40px; background: var(--sidebar); border-radius: 18px; padding: 22px 150px 22px 24px; }
.lp-code pre { color: #e2e8f0; font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; word-break: break-all; }
.lp-code .t { color: #ff97a4; }
.lp-copy { position: absolute; top: 18px; right: 18px; }

/* ---------- FAQ ---------- */
.lp-faq { max-width: 780px; margin: 40px auto 0; }
.lp-faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.lp-faq summary { cursor: pointer; font-weight: 700; font-size: 15.5px; padding: 16px 0; list-style: none; display: flex; gap: 12px; align-items: center; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; margin-left: auto; color: var(--accent); font-size: 20px; font-weight: 700; }
.lp-faq details[open] summary::after { content: '−'; }
.lp-faq p { color: var(--muted); font-size: 14.5px; line-height: 1.65; padding: 0 0 18px; }

/* ---------- Финальный призыв и подвал ---------- */
.lp-final { background: linear-gradient(135deg, var(--accent-strong), var(--accent)); color: #fff; border-radius: 24px; padding: 54px; display: flex; gap: 30px; align-items: center; flex-wrap: wrap; }
.lp-final h2 { font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.lp-final p { color: rgba(255, 255, 255, .82); margin-top: 10px; font-size: 16px; max-width: 520px; }
.lp-final .btns { margin-left: auto; display: flex; gap: 12px; flex-wrap: wrap; }
.lp-final .btn { background: #fff; color: var(--accent); }
.lp-final .btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .45); }

.lp-foot { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: 13px; }
.lp-foot-in { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.lp-foot a { color: var(--muted); font-weight: 600; }
.lp-foot a:hover { color: var(--accent); }

@media (max-width: 1024px) {
  .lp-hero-in, .lp-demo { grid-template-columns: minmax(0, 1fr); }
  .lp-feat, .lp-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lp-links { display: none; }
  .lp-hero h1 { font-size: 42px; }
}
@media (max-width: 640px) {
  .lp-section, .lp-hero { padding: 56px 0; }
  .lp-feat, .lp-plans, .lp-steps { grid-template-columns: minmax(0, 1fr); }
  .lp-h, .lp-hero h1 { font-size: 32px; }
  .lp-nav-cta .quiet { display: none; }
  .lp-shop-head .site-search { width: 150px; }
  .lp-final { padding: 32px 24px; }
  .lp-final .btns { margin-left: 0; }
  .lp-code { padding-right: 24px; }
  .lp-copy { position: static; margin-top: 14px; }
}
