/* Головна сторінка GoParser (лендинг). Окремий файл: сторінка не залежить від збірки Tailwind кабінету. */
:root {
  --lp-blue: #1f6feb;
  --lp-blue-dark: #1558c7;
  --lp-blue-soft: #eaf2ff;
  --lp-ink: #0b1530;
  --lp-text: #33415c;
  --lp-muted: #6b7a93;
  --lp-line: #e3e9f4;
  --lp-bg: #ffffff;
  --lp-bg-soft: #f4f8ff;
  --lp-green: #0f9d58;
  --lp-green-soft: #e3f6ec;
  --lp-navy: #0d1a36;
  --lp-radius: 16px;
  --lp-shadow: 0 1px 2px rgba(15, 30, 60, .04), 0 8px 24px rgba(15, 30, 60, .06);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 80px; }   /* якорі не ховаються під липкою шапкою */
body.lp { margin: 0; background: var(--lp-bg); color: var(--lp-text); font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.lp a { color: inherit; text-decoration: none; }
.lp img { max-width: 100%; height: auto; display: block; }
.lp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.lp h1, .lp h2, .lp h3 { color: var(--lp-ink); margin: 0; letter-spacing: -.02em; }
.lp-accent { color: var(--lp-blue); }
.lp-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-blue); }
.lp-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--lp-blue-soft);
  color: var(--lp-blue); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.lp-section { padding: 88px 0; }
.lp-section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.lp-section-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
.lp-section-head p { margin: 12px 0 0; color: var(--lp-muted); font-size: 17px; }

/* Кнопки */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 12px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: background .15s, box-shadow .15s, transform .15s; white-space: nowrap; }
.lp-btn:active { transform: translateY(1px); }
.lp-btn-primary { background: var(--lp-blue); color: #fff !important; box-shadow: 0 6px 16px rgba(31, 111, 235, .28); }
.lp-btn-primary:hover { background: var(--lp-blue-dark); }
.lp-btn-ghost { background: #fff; border-color: var(--lp-line); color: var(--lp-ink); }
.lp-btn-ghost:hover { background: var(--lp-bg-soft); }
.lp-btn-lg { height: 54px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.lp-btn svg { width: 18px; height: 18px; }
.lp :focus-visible { outline: 3px solid rgba(31, 111, 235, .45); outline-offset: 2px; border-radius: 10px; }

/* Шапка */
.lp-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s; }
.lp-header.scrolled { border-bottom-color: var(--lp-line); }
.lp-header .lp-wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.lp-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--lp-ink); letter-spacing: -.02em; }
.lp-logo img { width: 36px; height: 36px; object-fit: contain; }
.lp-logo b { color: var(--lp-blue); font-weight: 800; }
.lp-nav { display: flex; gap: 26px; margin-left: 12px; font-size: 15px; font-weight: 500; color: var(--lp-text); }
.lp-nav a:hover { color: var(--lp-blue); }
.lp-header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lp-header-actions .lp-btn { height: 42px; padding: 0 18px; font-size: 14px; }
.lp-lang { display: inline-flex; gap: 6px; font-size: 13px; color: var(--lp-muted); }
.lp-lang a[aria-current] { color: var(--lp-ink); font-weight: 700; }
.lp-burger { display: none; margin-left: auto; }
.lp-burger summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--lp-line);
  display: flex; align-items: center; justify-content: center; }
.lp-burger summary::-webkit-details-marker { display: none; }
.lp-burger[open] .lp-burger-menu { display: flex; }
.lp-burger-menu { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; gap: 4px; padding: 12px 20px 20px;
  background: #fff; border-bottom: 1px solid var(--lp-line); box-shadow: 0 16px 30px rgba(15, 30, 60, .08); }
.lp-burger-menu a { padding: 12px 4px; font-weight: 500; border-bottom: 1px solid var(--lp-line); }
.lp-burger-menu .lp-btn { margin-top: 10px; border-bottom: 0; }

/* Перший екран */
.lp-hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.lp-hero::before { content: ""; position: absolute; inset: -40% -10% auto 40%; height: 720px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(31, 111, 235, .12), transparent 70%); }
.lp-hero .lp-wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; position: relative; }
.lp-hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.07; font-weight: 800; margin-top: 14px; }
.lp-hero p.lp-lead { font-size: 18px; color: var(--lp-text); margin: 20px 0 30px; max-width: 540px; }
.lp-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--lp-text); }
.lp-checks li { display: inline-flex; align-items: center; gap: 8px; }
.lp-check { width: 20px; height: 20px; border-radius: 50%; background: var(--lp-blue-soft); color: var(--lp-blue); display: inline-flex;
  align-items: center; justify-content: center; flex-shrink: 0; }
.lp-check svg { width: 12px; height: 12px; }

/* Макет кабінету на першому екрані */
.lp-mock { border-radius: 20px; background: #fff; border: 1px solid var(--lp-line); box-shadow: 0 30px 80px rgba(13, 26, 54, .16), 0 2px 6px rgba(13, 26, 54, .05);
  display: grid; grid-template-columns: 148px 1fr; overflow: hidden; font-size: 12px; transform: perspective(1600px) rotateY(-4deg) rotateX(2deg); }
.lp-mock-side { background: var(--lp-navy); color: #b8c4dc; padding: 16px 10px; display: flex; flex-direction: column; gap: 4px; }
.lp-mock-side .lp-mock-brand { display: flex; align-items: center; gap: 7px; color: #fff; font-weight: 700; font-size: 13px; padding: 0 6px 14px; }
.lp-mock-side .lp-mock-brand img { width: 20px; height: 20px; }
.lp-mock-side span { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; }
.lp-mock-side span i { width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid currentColor; opacity: .7; }
.lp-mock-side span.on { background: rgba(255, 255, 255, .09); color: #fff; }
.lp-mock-main { padding: 14px 16px 16px; background: #f7f9fd; min-width: 0; }
.lp-mock-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.lp-mock-top b { color: var(--lp-ink); font-size: 14px; }
.lp-mock-badge { background: var(--lp-green-soft); color: var(--lp-green); border-radius: 999px; padding: 3px 9px; font-weight: 700; font-size: 11px; }
.lp-mock-search { background: #fff; border: 1px solid var(--lp-line); border-radius: 8px; padding: 7px 10px; color: #9aa6ba; margin-bottom: 10px; }
.lp-mock-filters { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.lp-mock-filters span { padding: 4px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--lp-line); color: var(--lp-text); font-size: 11px; }
.lp-mock-filters span.on { background: var(--lp-blue); border-color: var(--lp-blue); color: #fff; }
.lp-mock-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lp-mock-card { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--lp-line); }
.lp-mock-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #eef1f6; }
.lp-mock-card div { padding: 7px 8px 9px; }
.lp-mock-card b { display: block; color: var(--lp-ink); font-size: 10.5px; line-height: 1.25; height: 26px; overflow: hidden; }
.lp-mock-card em { display: block; font-style: normal; font-weight: 700; color: var(--lp-ink); margin: 5px 0 6px; font-size: 12px; }
.lp-dots { display: flex; gap: 4px; }
.lp-dots i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); }

/* Спробувати на своєму постачальнику */
.lp-try { background: var(--lp-bg-soft); border: 1px solid #dfe9fb; border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1.1fr auto 1fr;
  gap: 36px; align-items: center; }
.lp-try h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; margin: 14px 0 12px; }
.lp-try > div > p { margin: 0 0 22px; color: var(--lp-text); }
.lp-try-form { display: flex; gap: 10px; }
.lp-try-input { flex: 1; min-width: 0; position: relative; }
.lp-try-input svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--lp-blue); }
.lp-try-input input { width: 100%; height: 54px; border-radius: 14px; border: 1px solid var(--lp-line); background: #fff; padding: 0 16px 0 42px;
  font: inherit; color: var(--lp-ink); }
.lp-try-input input:focus { outline: none; border-color: var(--lp-blue); box-shadow: 0 0 0 4px rgba(31, 111, 235, .14); }
.lp-try-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; color: var(--lp-muted); }
.lp-try-note svg { width: 16px; height: 16px; color: var(--lp-blue); flex-shrink: 0; }
.lp-try-arrow { display: flex; align-items: center; gap: 10px; color: var(--lp-blue); }
.lp-tg { width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(160deg, #37aee2, #1e96c8); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(30, 150, 200, .35); }
.lp-tg svg { width: 28px; height: 28px; color: #fff; margin-left: -3px; }
.lp-demo-card { background: #fff; border-radius: 20px; padding: 16px; display: grid; grid-template-columns: 170px 1fr; gap: 18px; box-shadow: var(--lp-shadow); }
.lp-demo-photo { position: relative; border-radius: 14px; overflow: hidden; background: #eef1f6; }
.lp-demo-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.lp-demo-photo { align-self: stretch; }
.lp-demo-photo .lp-badge { position: absolute; left: 8px; top: 8px; background: var(--lp-green-soft); color: var(--lp-green); font-size: 11px; font-weight: 700;
  padding: 4px 8px; border-radius: 8px; }
.lp-demo-body { display: flex; flex-direction: column; min-width: 0; }
.lp-demo-body .lp-eyebrow { font-size: 11px; }
.lp-demo-body h3 { font-size: 18px; line-height: 1.25; margin: 6px 0 6px; }
.lp-demo-meta { font-size: 13px; color: var(--lp-muted); }
.lp-demo-price { display: flex; align-items: center; gap: 10px; margin: 12px 0 2px; }
.lp-demo-price b { font-size: 26px; color: var(--lp-ink); font-weight: 800; }
.lp-margin { background: var(--lp-green-soft); color: var(--lp-green); font-weight: 700; font-size: 13px; padding: 3px 10px; border-radius: 999px; }
.lp-demo-body .lp-dots { margin: 12px 0 14px; }
.lp-demo-body .lp-dots i { width: 22px; height: 22px; }
.lp-demo-body .lp-dots i.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--lp-blue); }
.lp-demo-tag { margin-top: auto; text-align: center; background: var(--lp-blue-soft); color: var(--lp-blue); font-weight: 600; font-size: 14px; padding: 11px; border-radius: 12px; }

/* Відео (показується, коли є посилання) */
.lp-video { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 36px; align-items: center; }
.lp-video h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.12; margin: 10px 0 12px; }
.lp-video-frame { border-radius: 18px; overflow: hidden; box-shadow: var(--lp-shadow); aspect-ratio: 16 / 9; background: var(--lp-navy); }
.lp-video-frame iframe { width: 100%; height: 100%; border: 0; }

/* Сітки можливостей і кроків */
.lp-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lp-feature { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 22px; display: flex; gap: 14px;
  transition: box-shadow .2s, transform .2s, border-color .2s; }
.lp-feature:hover { box-shadow: var(--lp-shadow); transform: translateY(-2px); border-color: #d3def2; }
.lp-ico { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lp-ico svg { width: 22px; height: 22px; }
.lp-ico.blue { background: var(--lp-blue-soft); color: var(--lp-blue); }
.lp-ico.green { background: var(--lp-green-soft); color: var(--lp-green); }
.lp-ico.violet { background: #f1eafe; color: #7c3aed; }
.lp-ico.pink { background: #fdeaf3; color: #db2777; }
.lp-ico.orange { background: #fff1e5; color: #ea6c0a; }
.lp-feature h3 { font-size: 16px; line-height: 1.3; margin-bottom: 6px; }
.lp-feature p { margin: 0; font-size: 14px; color: var(--lp-muted); line-height: 1.5; }

.lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.lp-step { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 22px; position: relative; }
.lp-step-num { position: absolute; right: 18px; top: 14px; font-size: 40px; font-weight: 800; color: #e6eefc; line-height: 1; }
.lp-step h3 { font-size: 16px; margin: 16px 0 6px; }
.lp-step p { margin: 0; font-size: 14px; color: var(--lp-muted); }

/* Інтеграції */
.lp-integrations { margin-top: 28px; background: var(--lp-bg-soft); border-radius: 20px; padding: 26px 30px; display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: center; }
.lp-integrations h3 { font-size: 18px; }
.lp-integrations p { margin: 4px 0 0; font-size: 14px; color: var(--lp-muted); }
.lp-int-list { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.lp-int { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: var(--lp-text); text-align: center; }
.lp-int i { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 800;
  font-size: 15px; color: #fff; }
.lp-int i svg { width: 22px; height: 22px; }

/* Ціни */
.lp-prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.lp-price { background: #fff; border: 1px solid var(--lp-line); border-radius: 20px; padding: 26px 22px; display: flex; flex-direction: column; position: relative; }
.lp-price.hot { border: 2px solid var(--lp-blue); box-shadow: 0 16px 40px rgba(31, 111, 235, .14); }
.lp-price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--lp-blue); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.lp-price h3 { font-size: 18px; }
.lp-price-sum { margin: 14px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.lp-price-sum b { font-size: 36px; color: var(--lp-ink); font-weight: 800; letter-spacing: -.02em; }
.lp-price-sum span { color: var(--lp-muted); font-size: 15px; }
.lp-price-sub { font-size: 14px; color: var(--lp-muted); min-height: 21px; }
.lp-price ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 9px; font-size: 14px; }
.lp-price li { display: flex; gap: 8px; align-items: flex-start; }
.lp-price li .lp-check { margin-top: 1px; }
.lp-price .lp-btn { margin-top: auto; width: 100%; }
.lp-price-note { text-align: center; color: var(--lp-muted); font-size: 14px; margin-top: 22px; }

/* Питання */
.lp-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.lp-faq details { background: #fff; border: 1px solid var(--lp-line); border-radius: 14px; padding: 0 20px; }
.lp-faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; color: var(--lp-ink); display: flex; justify-content: space-between; gap: 16px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--lp-blue); transition: transform .2s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { margin: 0 0 18px; color: var(--lp-text); font-size: 15px; }

/* Заклик внизу */
.lp-cta { background: linear-gradient(135deg, #0e2255 0%, #1f5fd6 100%); color: #fff; border-radius: 28px; padding: 56px 48px; display: flex;
  align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; }
.lp-cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.lp-cta h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; max-width: 620px; }
.lp-cta p { margin: 10px 0 0; color: #c9d8f6; }
.lp-cta .lp-btn-primary { background: #fff; color: var(--lp-blue) !important; box-shadow: none; position: relative; z-index: 1; }
.lp-cta .lp-btn-primary:hover { background: #eef4ff; }

/* Підвал */
.lp-footer { border-top: 1px solid var(--lp-line); padding: 34px 0 40px; margin-top: 88px; }
.lp-footer .lp-wrap { display: grid; grid-template-columns: 1.2fr 2fr auto; gap: 28px; align-items: start; }
.lp-footer-brand p { margin: 6px 0 0; font-size: 13px; color: var(--lp-muted); }
.lp-footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; }
.lp-footer-links a:hover, .lp-footer-legal a:hover { color: var(--lp-blue); }
.lp-footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--lp-muted); margin-top: 12px; width: 100%; }
.lp-footer-right { text-align: right; font-size: 13px; color: var(--lp-muted); }
.lp-social { display: inline-flex; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--lp-line); align-items: center; justify-content: center; color: var(--lp-ink); margin-bottom: 10px; }
.lp-social:hover { color: var(--lp-blue); border-color: #cddcf6; }
.lp-social svg { width: 18px; height: 18px; }

/* Адаптив */
@media (max-width: 1100px) {
  .lp-features, .lp-prices { grid-template-columns: repeat(2, 1fr); }
  .lp-steps { grid-template-columns: repeat(2, 1fr); }
  .lp-try { grid-template-columns: 1fr; padding: 36px; }
  .lp-try-arrow { display: none; }
  .lp-video { grid-template-columns: 1fr; }
  .lp-integrations { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .lp-nav, .lp-header-actions { display: none; }
  .lp-burger { display: block; }
  .lp-hero .lp-wrap { grid-template-columns: 1fr; }
  .lp-mock { transform: none; }
  .lp-footer .lp-wrap { grid-template-columns: 1fr; }
  .lp-footer-right { text-align: left; }
}
@media (max-width: 640px) {
  .lp-section { padding: 60px 0; }
  .lp-wrap { padding: 0 16px; }
  .lp-hero { padding: 32px 0 48px; }
  .lp-hero p.lp-lead { font-size: 16px; }
  .lp-hero-ctas .lp-btn { width: 100%; }
  .lp-mock { grid-template-columns: 1fr; }
  .lp-mock-side { display: none; }
  .lp-mock-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-mock-grid .lp-mock-card:nth-child(n+3) { display: none; }
  .lp-features, .lp-steps, .lp-prices { grid-template-columns: 1fr; }
  .lp-try { padding: 24px 18px; border-radius: 22px; }
  .lp-try-form { flex-direction: column; }
  .lp-try-form .lp-btn { width: 100%; }
  .lp-demo-card { grid-template-columns: 1fr; }
  .lp-demo-photo img { aspect-ratio: 1 / 1; }
  .lp-int-list { grid-template-columns: repeat(4, 1fr); row-gap: 16px; }
  .lp-cta { padding: 36px 24px; border-radius: 22px; }
  .lp-cta .lp-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {

  .lp-feature, .lp-btn { transition: none; }
}

/* Уточнення після перегляду в браузері */
.lp-pill { white-space: nowrap; }
.lp-pill svg { width: 14px; height: 14px; }
.lp-tg { flex-shrink: 0; }
.lp-demo-price { flex-wrap: wrap; }
.lp-demo-price b, .lp-margin { white-space: nowrap; }
.lp-demo-card { grid-template-columns: minmax(150px, 190px) 1fr; }
.lp-demo-photo img { aspect-ratio: auto; min-height: 100%; }
.lp a.lp-accent { color: var(--lp-blue); }
.lp a.lp-accent:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .lp-demo-card { grid-template-columns: 1fr; }
  .lp-demo-photo img { aspect-ratio: 1 / 1; min-height: 0; }
}

/* Живе демо: генерація картки */
.lp-btn[disabled] { opacity: .7; cursor: progress; }
.lp-demo-card.is-progress, .lp-demo-card.is-done, .lp-demo-card.is-error { min-height: 320px; }
.lp-skeleton { position: relative; min-height: 260px; background: linear-gradient(100deg, #eef2f8 30%, #f8faff 50%, #eef2f8 70%); background-size: 300% 100%;
  animation: lp-shimmer 1.4s linear infinite; }
@keyframes lp-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.lp-demo-photo .lp-gen-label { position: absolute; border-radius: 10px; font-weight: 700; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; color: var(--lp-blue); display: inline-flex; align-items: center;
  gap: 8px; white-space: nowrap; box-shadow: var(--lp-shadow); padding: 8px 12px; font-size: 12.5px; }
.lp-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(31, 111, 235, .25); border-top-color: var(--lp-blue); animation: lp-rot .8s linear infinite; display: inline-block; }
@keyframes lp-rot { to { transform: rotate(360deg); } }
.lp-gen-head { color: var(--lp-ink); font-size: 15px; margin: 4px 0 10px; }
.lp-gen-steps { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 9px; font-size: 14px; color: var(--lp-muted); }
.lp-gen-steps li { display: flex; align-items: center; gap: 10px; }
.lp-gen-steps li i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--lp-line); flex-shrink: 0; position: relative; }
.lp-gen-steps li.now { color: var(--lp-ink); font-weight: 600; }
.lp-gen-steps li.now i { border-color: rgba(31, 111, 235, .25); border-top-color: var(--lp-blue); animation: lp-rot .8s linear infinite; }
.lp-gen-steps li.done { color: var(--lp-text); }
.lp-gen-steps li.done i { background: var(--lp-green); border-color: var(--lp-green); }
.lp-gen-steps li.done i::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.lp-gen-bar { height: 6px; border-radius: 99px; background: var(--lp-blue-soft); overflow: hidden; margin-top: auto; }
.lp-gen-bar span { display: block; height: 100%; background: var(--lp-blue); border-radius: 99px; transition: width .4s ease; }
@keyframes lp-fade { from { opacity: 0; } to { opacity: 1; } }
.lp-photo-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .88);
  color: var(--lp-ink); font-size: 20px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.lp-photo-nav.prev { left: 8px; } .lp-photo-nav.next { right: 8px; }
.lp-photo-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 5px; }
.lp-photo-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); }
.lp-photo-dots i.on { background: #fff; width: 16px; border-radius: 4px; }
.lp-demo-sizes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.lp-demo-sizes span { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 8px; border: 1px solid var(--lp-line); color: var(--lp-ink); }
.lp-demo-desc { font-size: 13px; color: var(--lp-text); margin: 0 0 14px; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.lp-demo-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.lp-demo-actions .lp-btn { height: 44px; font-size: 14px; }
.lp-demo-link { text-align: center; font-size: 13px; color: var(--lp-muted) !important; }
.lp-demo-link:hover { color: var(--lp-blue) !important; }
.lp-demo-card.is-error { display: flex; align-items: center; justify-content: center; }
.lp-demo-error { text-align: center; max-width: 340px; padding: 20px; }
.lp-demo-error b { color: var(--lp-ink); font-size: 17px; }
.lp-demo-error p { color: var(--lp-text); margin: 8px 0 16px; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .lp-skeleton, .lp-spin, .lp-gen-steps li.now i { animation: none; } }

/* Картка товару 1 в 1 як у каталозі кабінету (panel/catalog.php) */
.lp-demo-slot { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.gp-card { width: 100%; max-width: 310px; background: #fff; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(15, 30, 60, .05), 0 12px 32px rgba(15, 30, 60, .10); font-size: 12px; transition: box-shadow .3s; }
.gp-photo { position: relative; aspect-ratio: 4 / 5; background: #f1f4f9; overflow: hidden; }
.gp-photo img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .5s; }
.gp-card:hover .gp-photo img { transform: scale(1.05); }
.gp-sup { position: absolute; left: 12px; top: 12px; z-index: 2; background: rgba(10, 10, 10, .6); color: #fff; font-size: 10px; font-weight: 500; padding: 2px 8px;
  border-radius: 6px; backdrop-filter: blur(4px); max-width: 75%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-count { position: absolute; right: 12px; bottom: 12px; z-index: 2; background: rgba(10, 10, 10, .5); color: #fff; font-size: 10px; padding: 2px 8px; border-radius: 6px; backdrop-filter: blur(4px); }
.gp-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0, 0, 0, .2); color: #fff; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s, background .2s; }
.gp-nav svg { width: 16px; height: 16px; }
.gp-nav:hover { background: rgba(0, 0, 0, .4); }
.gp-nav.prev { left: 8px; } .gp-nav.next { right: 8px; }
.gp-card:hover .gp-nav, .gp-nav:focus-visible { opacity: 1; }
@media (hover: none) { .gp-nav { opacity: 1; } }
.gp-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gp-cat { margin: 0; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--lp-blue); }
.gp-title { margin: -4px 0 0; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--lp-ink); letter-spacing: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gp-art { margin: -6px 0 0; font-size: 12px; color: var(--lp-muted); }
.gp-desc { margin: 0; font-size: 12px; line-height: 1.4; color: var(--lp-muted); white-space: pre-line; min-height: 44px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gp-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gp-margin { background: #d1fae5; color: #047857; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 6px; white-space: nowrap; }
.gp-price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.gp-price b { font-size: 14px; font-weight: 700; color: var(--lp-ink); white-space: nowrap; }
.gp-price small { font-size: 10px; color: var(--lp-muted); margin-top: 2px; }
.gp-swatches { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 2px; }
.gp-swatches i { width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 0 0 1px #fff, 0 0 0 3px transparent; border: 1px solid rgba(0, 0, 0, .1); }
.gp-swatches i.on { box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--lp-blue); transform: scale(1.1); }
.gp-export { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; border-radius: 6px; width: 100%;
  background: var(--lp-blue); color: #fff !important; font-size: 12px; font-weight: 500; transition: background .15s; }
.gp-export:hover { background: var(--lp-blue-dark); }
.gp-export svg { width: 14px; height: 14px; }
.gp-export-muted { background: var(--lp-blue-soft); color: var(--lp-blue) !important; }
.gp-export-muted:hover { background: var(--lp-blue-soft); }
.gp-post { font-size: 13px; color: var(--lp-muted) !important; }
.gp-post:hover { color: var(--lp-blue) !important; }
.gp-post[hidden] { display: none; }
.gp-skeleton { background: linear-gradient(100deg, #eef2f8 30%, #f8faff 50%, #eef2f8 70%); background-size: 300% 100%; animation: lp-shimmer 1.4s linear infinite; }
.gp-gen { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: #fff; color: var(--lp-blue); font-weight: 700; font-size: 12.5px; padding: 8px 12px; border-radius: 10px; box-shadow: var(--lp-shadow); }
.gp-card.is-progress .gp-body { min-height: 190px; }
.gp-card.is-progress .lp-gen-steps { font-size: 13px; }
.gp-card.is-error { min-height: 260px; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .gp-skeleton { animation: none; } .gp-photo img { transition: none; } }

/* Тарифи (5 карток) і блок для новачків */
.lp-prices-5 { grid-template-columns: repeat(5, 1fr); }
.lp-price.novice { border: 2px solid #0f9d58; }
.lp-price-badge.green { background: #0f9d58; }
.lp-novice { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; background: linear-gradient(135deg, #f1fbf5, #eef5ff); border: 1px solid #dbeee4; border-radius: 28px; padding: 48px; }
.lp-novice h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.12; margin: 14px 0 12px; }
.lp-novice > div > p { margin: 0; color: var(--lp-text); }
.lp-novice .lp-pill { background: #dcf3e6; color: #0b7a44; }
.lp-novice-card { background: #fff; border-radius: 18px; padding: 20px; box-shadow: var(--lp-shadow); font-size: 13px; }
.lp-nc-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; color: var(--lp-ink); }
.lp-nc-badge { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #dbeafe; color: #1d4ed8; }
.lp-nc-badge.ok { background: #d1fae5; color: #047857; }
.lp-nc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; text-align: center; }
.lp-nc-stats div { background: #f3f6fb; border-radius: 10px; padding: 10px 4px; }
.lp-nc-stats b { display: block; font-size: 17px; color: var(--lp-ink); }
.lp-nc-stats span { font-size: 10.5px; color: var(--lp-muted); }
.lp-nc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-nc-tags span { background: var(--lp-blue-soft); color: var(--lp-blue); font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.lp-nc-btn { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border-radius: 8px; background: var(--lp-blue); color: #fff; font-weight: 600; font-size: 12px; }
.lp-nc-btn svg { width: 14px; height: 14px; }
@media (max-width: 1100px) { .lp-prices-5 { grid-template-columns: repeat(3, 1fr); } .lp-novice { grid-template-columns: 1fr; padding: 32px; } }
@media (max-width: 640px) { .lp-prices-5 { grid-template-columns: 1fr; } .lp-novice { padding: 24px 18px; border-radius: 22px; } .lp-novice .lp-btn { width: 100%; } }

/* Тарифи: 4 рівні колонки + смуга пробного періоду */
.lp-prices { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-price-sum { flex-wrap: nowrap; white-space: nowrap; }
.lp-price-sum b { font-size: 34px; }
.lp-price li { line-height: 1.4; }
.lp-price li.lp-li-strong { font-weight: 700; color: var(--lp-ink); }
.lp-trial { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding: 18px 22px; border-radius: 16px;
  background: var(--lp-bg-soft); border: 1px dashed #c9dafa; }
.lp-trial b { display: block; color: var(--lp-ink); font-size: 17px; }
.lp-trial span { font-size: 14px; color: var(--lp-text); }
.lp-trial .lp-btn { flex-shrink: 0; }
@media (max-width: 1100px) { .lp-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .lp-prices { grid-template-columns: 1fr; } .lp-trial { flex-direction: column; align-items: stretch; text-align: left; } }

/* Демо-картка компактніша: квадратне фото, вужча, блок із меншими відступами */
.lp-try { padding: 36px 44px; gap: 28px; }
.lp-try .gp-card { max-width: 280px; }
.lp-try .gp-photo { aspect-ratio: 1 / 1; }
.lp-try .gp-body { padding: 10px 12px 12px; gap: 6px; }
.lp-try .gp-desc { -webkit-line-clamp: 2; min-height: 0; }
.lp-try .gp-card.is-progress .gp-body { min-height: 0; }
.lp-try .gp-card.is-error { min-height: 220px; }

/* Перший екран: готова ілюстрація кабінету замість CSS-макета */
.lp-hero-img { width: 100%; max-width: 680px; height: auto; justify-self: end; margin: -24px -12px -24px 0; }
@media (max-width: 960px) { .lp-hero-img { justify-self: center; margin: 8px auto 0; } }
@media (min-width: 961px) { .lp-hero-img { width: 118%; max-width: 760px; margin: -40px -60px -40px -20px; } }

/* Перший екран: більша ілюстрація, без видимого прямокутника фону, переваги в один рядок */
.lp-hero-img { mix-blend-mode: multiply; }        /* світлий фон картинки зливається з фоном сторінки */
@media (min-width: 961px) {
  .lp-hero .lp-wrap { grid-template-columns: 0.92fr 1.08fr; gap: 24px; }
  .lp-hero-img { width: 132%; max-width: 900px; margin: -70px -120px -70px -40px; }
  .lp-checks { flex-wrap: nowrap; gap: 18px; font-size: 14px; white-space: nowrap; }
}
@media (min-width: 961px) and (max-width: 1180px) { .lp-checks { flex-wrap: wrap; white-space: normal; } }
/* .lp img обмежує max-width: 100% — перебиваємо точнішим селектором */
@media (min-width: 961px) { .lp .lp-hero-img { max-width: none; width: 130%; margin: -60px -110px -60px -30px; } }

/* Перший екран: менший заголовок, більша ілюстрація */
@media (min-width: 961px) {
  .lp-hero h1 { font-size: clamp(32px, 3.4vw, 46px); }
  .lp-hero p.lp-lead { font-size: 17px; }
  .lp-hero .lp-wrap { grid-template-columns: 0.78fr 1.22fr; gap: 16px; }
  .lp .lp-hero-img { width: 122%; margin: -70px -120px -70px -20px; }
}
/* minmax(0, …): інакше довгий рядок переваг розтягує текстову колонку й стискає картинку */
@media (min-width: 961px) {
  .lp-hero .lp-wrap { grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); }
  .lp-checks { gap: 14px; font-size: 13.5px; }
  .lp .lp-hero-img { width: 128%; margin: -80px -140px -80px -30px; }
}
@media (min-width: 961px) { .lp-hero-ctas { flex-wrap: nowrap; gap: 10px; } .lp-hero-ctas .lp-btn-lg { padding: 0 20px; height: 50px; font-size: 15px; } }
@media (min-width: 961px) { .lp .lp-hero-img { width: 118%; margin: -70px -90px -70px -20px; } }

/* Інтеграції: 8 іконок — один ряд на десктопі, 4+4 на планшеті, 2 ряди по 4 на телефоні */
.lp-int-list { grid-template-columns: repeat(8, minmax(0, 1fr)); }
@media (max-width: 1100px) { .lp-int-list { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 16px; } }

/* Відео-презентація: власний файл або YouTube; заглушка лише для адміністратора */
.lp-video-frame video { width: 100%; height: 100%; display: block; object-fit: cover; background: var(--lp-navy); }
.lp-video-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; text-align: center; color: #cbd5e1; font-size: 13px; }
.lp-video-empty svg { width: 44px; height: 44px; color: #fff; background: var(--lp-blue, #1d4ed8); border-radius: 50%; padding: 11px; }
.lp-video-empty b { color: #fff; font-size: 16px; }
.lp .lp-video-empty span { max-width: 340px; color: #94a3b8; }

/* Відео-презентація — великий акцентний блок: заголовок по центру, відео на всю ширину, пункти під ним */
.lp-video.lp-video-big { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.lp-video-big .lp-video-head { text-align: center; max-width: 720px; }
.lp-video-big .lp-video-head h2 { font-size: clamp(30px, 3.6vw, 46px); }
.lp-video-big .lp-video-head p { color: var(--lp-muted); font-size: 17px; margin: 0; }
.lp-video-big .lp-video-frame { width: 100%; max-width: 1040px; border-radius: 24px; position: relative;
  box-shadow: 0 30px 80px -20px rgba(31, 111, 235, .45), 0 0 0 1px rgba(31, 111, 235, .12); }
.lp-video.lp-video-big { background: radial-gradient(ellipse 60% 55% at 50% 58%, rgba(31, 111, 235, .12), transparent 70%); }
.lp-video-big .lp-video-empty { background: radial-gradient(circle at 50% 40%, #1c2f63, var(--lp-navy) 70%); gap: 12px; font-size: 15px; }
.lp-video-big .lp-video-empty svg { width: 84px; height: 84px; padding: 22px; box-shadow: 0 0 0 14px rgba(31, 111, 235, .25), 0 0 0 28px rgba(31, 111, 235, .1); margin-bottom: 18px; }
.lp-video-big .lp-video-empty b { font-size: clamp(18px, 2vw, 24px); }
.lp .lp-video-big .lp-video-empty span { max-width: 460px; }
.lp-video-checks { justify-content: center; flex-wrap: wrap; gap: 12px 28px; margin: 0; }
@media (max-width: 960px) {
  .lp-video-big .lp-video-frame { border-radius: 16px; }
  .lp-video-big .lp-video-empty svg { width: 60px; height: 60px; padding: 16px; margin-bottom: 8px; box-shadow: 0 0 0 10px rgba(31, 111, 235, .25); }
  .lp-video-checks { flex-direction: column; align-items: flex-start; }
}
