/* Внешние страницы /parser-wordstat и /semantic_core (поверх routes/home/static/css/landing.css) */

.lp-hero { padding-bottom: 56px; }
.lp-hero .hero__pill i { color: var(--brand); font-size: 16px; }
.lp-hero .hero__mock { padding: 0; }

/* ---------- проба парсера ---------- */
.lp-demo {
  position: relative; display: grid; gap: 10px; padding: 28px;
  border: 1px solid var(--border); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-lg);
}
.lp-demo__head { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.lp-demo__head b { display: block; font-size: 18px; }
.lp-demo__head .muted { font-size: 14px; }
.lp-demo__icon { flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--brand-grad); color: #fff; font-size: 24px; }
.lp-demo__input { height: 52px; font-size: 17px; }
.lp-demo__row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.lp-demo__row .input { height: 48px; }
.lp-demo__row .btn { height: 48px; padding: 0 22px; }
.lp-demo__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lp-demo__examples { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; }
.lp-demo__examples button {
  padding: 4px 10px; border: 1px dashed var(--border-strong); border-radius: 99px; background: none;
  color: var(--text-2); font: inherit; cursor: pointer;
}
.lp-demo__examples button:hover { color: var(--brand); border-color: var(--brand); }
.lp-demo__msg { display: flex; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--danger-soft); color: var(--danger); font-size: 14px; line-height: 1.45; }
.lp-demo__msg i { font-size: 18px; flex-shrink: 0; }
.lp-demo__msg.is-wait { background: var(--warning-soft); color: var(--text); }
.lp-demo__msg.is-wait i { color: var(--warning); }
@media (max-width: 520px) { .lp-demo { padding: 20px; } .lp-demo__row { grid-template-columns: 1fr; } }

/* ---------- результат пробы ---------- */
.lp-result-section { padding-top: 0; }
.lp-result { padding: 28px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.lp-result__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.lp-result__title { font-size: 22px; line-height: 1.3; }
.lp-result__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.lp-result__label { margin-bottom: 8px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.lp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lp-table td { padding: 8px 10px; border-bottom: 1px solid var(--border); }
.lp-table tr:hover td { background: var(--surface-hover); }
.lp-table__num { text-align: right; white-space: nowrap; color: var(--text-2); font-variant-numeric: tabular-nums; }
.lp-table--small { font-size: 13px; }
.lp-more { position: relative; }
.lp-more__fade { height: 48px; margin-top: -48px; position: relative; background: linear-gradient(transparent, var(--surface)); }
.lp-more__box {
  display: grid; justify-items: center; gap: 8px; margin-top: 8px; padding: 24px; text-align: center;
  border: 1px dashed var(--border-strong); border-radius: 18px; background: var(--surface-2);
}
.lp-more__box b { font-size: 18px; }
.lp-more__box .muted { max-width: 440px; font-size: 14px; }
.lp-more__box .btn { margin-top: 6px; }
@media (max-width: 860px) { .lp-result__grid { grid-template-columns: 1fr; } .lp-result { padding: 20px; } }

/* ---------- возможности ---------- */
.lp-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lp-feature { padding: 24px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.lp-feature > i { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-size: 22px; }
.lp-feature h3 { font-size: 17px; margin-bottom: 6px; }
.lp-feature p { font-size: 14px; line-height: 1.55; }
@media (max-width: 1080px) { .lp-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lp-features { grid-template-columns: 1fr; } }

/* ---------- скриншоты ---------- */
.lp-shots .flow__tabs { margin-bottom: 20px; }
.lp-shot { margin: 0; }
.lp-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); }
.lp-shot figcaption { margin-top: 14px; text-align: center; font-size: 15px; }
.lp-hero .lp-shot img { border-radius: 16px; }

/* ---------- сравнение ---------- */
.lp-compare { overflow-x: auto; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.lp-compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.lp-compare th, .lp-compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.lp-compare tr:last-child td { border-bottom: 0; }
.lp-compare th { font-size: 14px; color: var(--text-2); }
.lp-compare td:first-child { font-weight: 600; }
.lp-compare td i { margin-right: 4px; font-size: 18px; vertical-align: -3px; }
.lp-compare .bx-check { color: var(--success); }
.lp-compare .bx-x { color: var(--danger); }
.lp-compare .is-us { background: var(--brand-soft); }
.lp-compare th.is-us { color: var(--brand); }

/* ---------- цены ---------- */
.lp-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 20px; }
.lp-price { position: relative; display: grid; align-content: start; gap: 16px; padding: 28px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); }
.lp-price.is-accent { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--brand-grad) border-box; box-shadow: var(--shadow-lg); }
.lp-price__badge { position: absolute; top: -12px; left: 24px; padding: 3px 12px; border-radius: 99px; background: var(--brand-grad); color: #fff; font-size: 12px; font-weight: 700; }
.lp-price__head { display: flex; gap: 14px; align-items: center; }
.lp-price__head h3 { font-size: 20px; }
.lp-price__head .muted { font-size: 14px; }
.lp-price__icon { flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); font-size: 22px; }
.lp-price__sum { display: flex; align-items: baseline; gap: 8px; }
.lp-price__sum b { font-size: 40px; letter-spacing: -.03em; }
.lp-price__renew { display: flex; align-items: center; gap: 6px; margin-top: -10px; font-size: 13px; color: var(--success); font-weight: 600; }
.lp-price .checks li { font-size: 14px; }
.lp-price .bx-gift { color: var(--brand); }
.lp-prices__note { margin-top: 20px; text-align: center; font-size: 14px; }
@media (max-width: 760px) { .lp-prices { grid-template-columns: 1fr; } }

.lp-steps { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .lp-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lp-steps { grid-template-columns: 1fr; } }

/* шапка ведёт к разделам этой страницы: плавно и с отступом под липкую шапку */
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
