/* ===================== Главная (landing.js) ===================== */
.btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 14px; }
.lp { --lp-gap: 96px; overflow-x: clip; }  /* парящие клипы и ярлычки не дают горизонтальную прокрутку */
.lp h2 { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -.02em; text-align: center; margin: 0 0 36px; }
.lp h3 { margin: 12px 0 6px; font-size: 18px; }
.lp p { line-height: 1.55; }
.lp-section { margin-top: var(--lp-gap); }
.lp-center { text-align: center; }
.lp-link { color: var(--accent); text-decoration: none; font-weight: 700; }
.lp-link:hover { text-decoration: underline; }
.lp-icon { width: 30px; height: 30px; color: var(--accent); }

/* появление при прокрутке */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--delay, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* первый экран */
.lp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; padding: 28px 0 8px; }
.lp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: rgba(139, 108, 255, .12); border: 1px solid rgba(139, 108, 255, .35); font-size: 13.5px; font-weight: 600; }
.lp-pill .lp-icon { width: 16px; height: 16px; color: var(--accent-2); }
.lp-hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -.03em; margin: 18px 0; }
.lp-hero h1 em { font-style: normal; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-hero-text > p { color: var(--muted); font-size: 18.5px; margin: 0 0 28px; max-width: 560px; }
.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-hero-text > p.lp-note { color: var(--muted); font-size: 14px; margin: 16px 0 0; }

/* демонстрация */
.lp-demo { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: center; }
.lp-source { width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px -40px rgba(124, 92, 255, .55); }
.lp-source-head { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.lp-source-head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.lp-source-name { margin-left: 8px; font-size: 12.5px; color: var(--muted); }
.lp-source-frame { position: relative; aspect-ratio: 16 / 7; overflow: hidden; }
.lp-scan { position: absolute; inset: 0; width: 30%; background: linear-gradient(90deg, transparent, rgba(255, 79, 216, .18), transparent); animation: lp-scan 4.5s ease-in-out infinite; }
@keyframes lp-scan { 0% { transform: translateX(-120%); } 100% { transform: translateX(420%); } }
.lp-timeline { position: relative; height: 54px; margin: 10px 12px 12px; border-radius: 10px; background: var(--bg); overflow: hidden; }
.lp-wave { position: absolute; inset: 8px 6px; display: flex; align-items: center; gap: 2px; }
.lp-wave i { flex: 1; height: var(--h); background: #343a4a; border-radius: 2px; }
.lp-mark { position: absolute; top: 4px; bottom: 4px; border-radius: 7px; border: 2px solid var(--accent-2); background: rgba(255, 79, 216, .16); animation: lp-glow 6s infinite; }
.lp-mark span { position: absolute; top: -1px; right: 3px; font-size: 10.5px; font-weight: 800; color: #fff; background: var(--accent-2); border-radius: 5px; padding: 0 4px; }
.lp-mark.m1 { left: 9%; width: 13%; }
.lp-mark.m2 { left: 44%; width: 11%; animation-delay: 2s; }
.lp-mark.m3 { left: 74%; width: 14%; animation-delay: 4s; }
@keyframes lp-glow { 0%, 100% { box-shadow: none; opacity: .55; } 12%, 30% { box-shadow: 0 0 18px rgba(255, 79, 216, .8); opacity: 1; } }
.lp-playhead { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 10px #fff; animation: lp-play 6s linear infinite; }
@keyframes lp-play { from { left: 0; } to { left: 100%; } }

/* сцены-заглушки: градиентный фон и силуэты людей */
.lp-scene { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.lp-hue-a { background: radial-gradient(120% 90% at 30% 20%, #4b3a8f, #1b1636 70%); }
.lp-hue-b { background: radial-gradient(120% 90% at 70% 20%, #7a2f6b, #241329 70%); }
.lp-hue-c { background: radial-gradient(120% 90% at 50% 10%, #275e7a, #121e2b 70%); }
.lp-person { width: 78%; fill: rgba(10, 8, 22, .78); filter: drop-shadow(0 0 1px rgba(255, 255, 255, .25)); animation: lp-zoom 7s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes lp-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.lp-scene.two .lp-person { position: absolute; bottom: 0; }
.lp-scene.two .p1 { animation: lp-cut-a 6s steps(1) infinite; }
.lp-scene.two .p2 { animation: lp-cut-b 6s steps(1) infinite; }
@keyframes lp-cut-a { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes lp-cut-b { 0% { opacity: 0; } 50% { opacity: 1; } }
.lp-scene.two.wide .lp-person { width: 26%; opacity: 1; animation: none; }
.lp-scene.two.wide .p1 { left: 18%; }
.lp-scene.two.wide .p2 { right: 18%; }

/* бегущие субтитры */
.lp-sub { position: absolute; left: 6px; right: 6px; bottom: 26%; text-align: center; font-weight: 900; font-size: 13px; line-height: 1.15; text-transform: uppercase; color: #fff; z-index: 2; text-shadow: 0 0 3px #000, 0 2px 3px #000, 0 0 1px #000; }
.lp-sub span { display: inline-block; margin: 0 .14em; transition: transform .15s, color .15s; }
.lp-sub .hl { color: #ffd43b; transform: scale(1.12); }
.lp-sub.lp-sub-static { position: static; margin-top: 14px; padding: 18px 10px; border-radius: 12px; background: radial-gradient(120% 120% at 30% 0%, #3a2e70, #15121f); font-size: 20px; }

/* платформы */
.lp-platforms { margin-top: 56px; text-align: center; color: var(--muted); font-size: 14px; }
.lp-platforms div { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 12px; }
.lp-platforms b { color: var(--text); font-weight: 700; padding: 8px 14px; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); font-size: 14px; }

/* шаги */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; }
.lp-step p { color: var(--muted); margin: 0; font-size: 15px; }
.lp-step-num { position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--gradient); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 14px; }

/* возможности */
.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 22px; transition: border-color .2s, transform .2s, opacity .7s ease; }
.lp-feature:hover { border-color: #3d4356; }
.lp-feature p { color: var(--muted); margin: 0; font-size: 15px; }
.lp-bars { display: grid; gap: 12px; margin-top: 22px; }
.lp-bars div { display: grid; grid-template-columns: 1fr 34px; gap: 4px 10px; font-size: 13.5px; }
.lp-bars span { color: var(--muted); grid-column: 1; grid-row: 1; }
.lp-bars b { grid-column: 2; grid-row: 1 / span 2; align-self: end; text-align: right; color: var(--accent-2); }
.lp-bars i { grid-column: 1; grid-row: 2; height: 8px; border-radius: 9px; background: var(--bg); position: relative; overflow: hidden; }
.lp-bars i::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--gradient); border-radius: 9px; transition: width 1.4s ease .3s; }
.lp-feature.in .lp-bars i::after { width: var(--v); }
.lp-mini-track { position: relative; aspect-ratio: 16 / 9; margin-top: 16px; border-radius: 12px; overflow: hidden; }

/* цифры */
.lp-stats { margin-top: var(--lp-gap); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 44px; padding: 34px 24px; border-radius: 20px; border: 1px solid var(--border); background: linear-gradient(135deg, rgba(124, 92, 255, .1), rgba(255, 79, 216, .07)); }
.lp-stats div { text-align: center; }
.lp-stats b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.02em; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-stats span { color: var(--muted); font-size: 14px; }
.lp-stats .lp-stats-arrow { font-size: 30px; color: var(--muted); }

/* кому подойдёт */
.lp-cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lp-case { padding: 22px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.lp-case p { color: var(--muted); margin: 0; font-size: 14.5px; }

/* тарифы-превью */
.lp-price-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1080px; margin: 0 auto 18px; }
.lp-price { display: grid; gap: 4px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-decoration: none; transition: transform .2s; }
.lp-price:hover { transform: translateY(-2px); }
.lp-price.featured { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--gradient) border-box; border: 2px solid transparent; }
.lp-price span { font-weight: 700; color: var(--muted); }
.lp-price b { font-size: 30px; font-weight: 800; }
.lp-price small { font-size: 15px; color: var(--muted); font-weight: 600; }
.lp-price em { font-style: normal; color: var(--muted); font-size: 13.5px; }

/* FAQ */

/* финальный призыв и подвал */
.lp-final { margin-top: var(--lp-gap); text-align: center; padding: 52px 24px; border-radius: 24px; background: radial-gradient(80% 140% at 50% 0%, rgba(192, 76, 240, .35), transparent 70%), var(--surface); border: 1px solid var(--border); }
.lp-final h2 { margin-bottom: 10px; }
.lp-final p { color: var(--muted); margin: 0 0 24px; }
.lp-footer { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.lp-footer nav { display: flex; gap: 20px; }
.lp-footer nav a { color: var(--muted); text-decoration: none; }
.lp-footer nav a:hover { color: var(--text); }

@media (max-width: 960px) {
  .lp-hero { grid-template-columns: minmax(0, 1fr); gap: 36px; text-align: center; }
  .lp-hero-text > p { margin-left: auto; margin-right: auto; }
  .lp-cta { justify-content: center; }
  .lp-features, .lp-cases { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .lp { --lp-gap: 64px; }
  .lp-steps, .lp-features, .lp-cases, .lp-price-row { grid-template-columns: 1fr; }
  .lp-sub { font-size: 10.5px; }
  .lp-stats { gap: 16px 28px; }
  .lp-stats .lp-stats-arrow { display: none; }
  .lp-footer { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== сцена первого экрана: видео → линии → парящие клипы ===== */
.lp-stage { position: relative; width: 100%; aspect-ratio: 1 / 1.14; max-width: 600px; justify-self: center; }
.lp-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.lp-blob.b1 { width: 55%; height: 45%; left: 5%; top: 38%; background: #7c5cff; animation: lp-blob 9s ease-in-out infinite alternate; }
.lp-blob.b2 { width: 45%; height: 40%; right: 0; top: 50%; background: #ff4fd8; opacity: .35; animation: lp-blob 11s ease-in-out infinite alternate-reverse; }
@keyframes lp-blob { to { transform: translate(6%, -8%) scale(1.1); } }

.lp-layer { position: absolute; transform: translate(var(--px, 0), var(--py, 0)); transition: transform .25s ease-out; }

.lp-src-wrap { left: 4%; right: 4%; top: 0; }
.lp-src { background: rgba(22, 24, 31, .92); border: 1px solid var(--border); border-radius: 16px; padding: 10px; backdrop-filter: blur(6px);
  transform: perspective(900px) rotateX(10deg) rotate(-1.5deg); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.lp-src-head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); padding: 0 2px 8px; }
.lp-src-head img { width: 18px; height: 18px; }
.lp-src-head span { color: var(--text); font-weight: 600; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-src-head em { font-style: normal; font-variant-numeric: tabular-nums; }
.lp-src .lp-source-frame { aspect-ratio: 16 / 4.6; border-radius: 10px; }
.lp-src .lp-timeline { margin: 8px 0 0; height: 46px; }

.lp-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.lp-links .lk { fill: none; stroke: url(#lkg); stroke-width: 2; stroke-dasharray: 6 7; opacity: .35; animation: lp-flow 1.2s linear infinite, lp-link 6s infinite; }
.lp-links .lk-dot { fill: #ff4fd8; opacity: .4; animation: lp-link 6s infinite; }
@keyframes lp-flow { to { stroke-dashoffset: -26; } }
@keyframes lp-link { 0%, 100% { opacity: .3; stroke-width: 2; } 12%, 30% { opacity: 1; stroke-width: 3; } }
.lp-links .lk1 { animation-delay: 0s, 2s; }
.lp-links .lk2 { animation-delay: 0s, 4s; }
.lp-links .lk-dot.lk1 { animation-delay: 2s; }
.lp-links .lk-dot.lk2 { animation-delay: 4s; }

.lp-card-wrap { width: 27%; z-index: 2; }
.lp-card-wrap.cw0 { left: 3%; top: 54%; }
.lp-card-wrap.cw1 { left: 36%; top: 49%; width: 29%; z-index: 3; }
.lp-card-wrap.cw2 { left: 70%; top: 56%; }
.lp-card { position: relative; margin: 0; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #000;
  border: 2px solid rgba(255, 255, 255, .08); box-shadow: 0 25px 50px -20px rgba(0, 0, 0, .9);
  animation: lp-in .8s cubic-bezier(.2, .8, .2, 1.2) both, lp-hover 6s ease-in-out infinite, lp-card-glow 6s infinite; }
.lp-card.c0 { --r: -8deg; animation-delay: .25s, 1s, 0s; }
.lp-card.c1 { --r: 3deg; animation-delay: .45s, 0s, 2s; }
.lp-card.c2 { --r: 9deg; animation-delay: .65s, 2s, 4s; }
@keyframes lp-in { from { opacity: 0; transform: translateY(40px) rotate(0deg) scale(.7); } to { opacity: 1; transform: rotate(var(--r)); } }
@keyframes lp-hover { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(var(--r)) translateY(-10px); } }
@keyframes lp-card-glow { 0%, 100% { border-color: rgba(255, 255, 255, .08); } 12%, 30% { border-color: #ff4fd8; box-shadow: 0 0 0 4px rgba(255, 79, 216, .2), 0 25px 50px -20px rgba(0, 0, 0, .9); } }
.lp-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-card-score { position: absolute; top: 8px; left: 8px; font-size: 12px; padding: 2px 8px; border-radius: 8px; color: #fff; background: var(--gradient); }
.lp-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 8px 8px; font-size: 11.5px; font-weight: 700; line-height: 1.25;
  background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }

.lp-chip { z-index: 4; font-size: 13px; font-weight: 700; white-space: nowrap; padding: 7px 12px; border-radius: 99px; color: var(--text);
  background: rgba(22, 24, 31, .88); border: 1px solid rgba(139, 108, 255, .45); backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .8); animation: lp-chip 5s ease-in-out infinite; }
.lp-chip.ch1 { left: 0; top: 44%; border-color: rgba(255, 79, 216, .6); }
.lp-chip.ch2 { right: 2%; top: 47%; animation-delay: 1.2s; }
.lp-chip.ch3 { left: 20%; bottom: -1%; animation-delay: 2.1s; }
.lp-chip.ch4 { right: 4%; bottom: -1%; color: var(--accent); animation-delay: .6s; }
@keyframes lp-chip { 50% { margin-top: -6px; } }

@media (max-width: 960px) { .lp-stage { max-width: 520px; } }
@media (max-width: 640px) {
  .lp-stage { aspect-ratio: 1 / 1.3; }
  .lp-src .lp-timeline { height: 38px; }
  .lp-src-head em { display: none; }
  .lp-card { border-radius: 12px; }
  .lp-card figcaption { font-size: 9.5px; padding: 18px 6px 6px; }
  .lp-card-score { font-size: 10px; }
  .lp-chip { font-size: 11px; padding: 5px 9px; }
  .lp-chip.ch1 { left: 0; top: 42%; }
  .lp-chip.ch2 { display: none; }
  .lp-chip.ch3 { left: 4%; bottom: 0; }
  .lp-chip.ch4 { right: 2%; bottom: 0; }
  .lp-card-wrap.cw0 { top: 53%; }
  .lp-card-wrap.cw2 { top: 55%; }
}
@media (prefers-reduced-motion: reduce) { .lp-card { animation: none; transform: rotate(var(--r)); } }
.lp-src-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; display: block; }

/* настоящее видео трекинга в карточке */
.lp-mini-track video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== «Работает с любым видео» ===== */
.lp-sub-h { text-align: center; color: var(--muted); max-width: 640px; margin: -8px auto 30px; font-size: 16px; }
.lp-ex { --ex: #4fc3ff; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; align-items: stretch; }
.lp-ex-list { display: grid; gap: 10px; align-content: start; }
.lp-ex-item { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; text-align: left; padding: 10px; overflow: hidden;
  border-radius: 16px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; cursor: pointer;
  transition: border-color .25s, background .25s, transform .25s; }
.lp-ex-item:hover { transform: translateX(3px); border-color: #3d4356; }
.lp-ex-item img { width: 64px; height: 48px; object-fit: cover; border-radius: 10px; filter: saturate(.6) brightness(.8); transition: filter .25s; }
.lp-ex-item-text { display: grid; gap: 3px; min-width: 0; }
.lp-ex-item-text b { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
.lp-ex-item-text b .lp-icon { width: 16px; height: 16px; color: var(--item, var(--muted)); }
.lp-ex-item-text small { color: var(--muted); font-size: 12px; }
.lp-ex-item.active { border-color: color-mix(in srgb, var(--ex) 55%, transparent); background: color-mix(in srgb, var(--ex) 9%, var(--surface)); }
.lp-ex-item.active img { filter: none; }
.lp-ex-item.active .lp-ex-item-text b .lp-icon { color: var(--ex); }
.lp-ex-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.lp-ex-bar em { display: block; height: 100%; width: 0; background: var(--ex); transition: width .25s linear; }
.lp-ex-item:not(.active) .lp-ex-bar em { width: 0 !important; }

.lp-ex-stage { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(170px, 232px); align-items: center;
  gap: 0; padding: 26px; border-radius: 24px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--ex) 30%, var(--border));
  background: #0c0d12; transition: border-color .4s; min-height: 420px; }
.lp-ex-glow { position: absolute; inset: -40px; z-index: -1; background-size: cover; background-position: center; filter: blur(48px) saturate(1.4); opacity: .35;
  animation: lp-ex-fade .6s ease both; }
.lp-ex-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 80% at 85% 50%, color-mix(in srgb, var(--ex) 22%, transparent), transparent 70%),
  linear-gradient(180deg, rgba(12, 13, 18, .35), rgba(12, 13, 18, .8)); }
@keyframes lp-ex-fade { from { opacity: 0; } }
.lp-ex-src { margin: 0; display: grid; gap: 10px; animation: lp-ex-in .45s ease both; }
.lp-ex-src figcaption { display: flex; align-items: center; gap: 8px; font-size: 14px; min-width: 0; }
.lp-ex-src figcaption .lp-icon { width: 16px; height: 16px; color: var(--ex); flex-shrink: 0; }
.lp-ex-src figcaption b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-ex-src figcaption span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.lp-ex-src-media { position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.lp-ex-src-media video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.lp-ex-crop { position: absolute; top: 0; bottom: 0; width: 31.64%; border: 2px solid var(--ex); border-radius: 6px;
  box-shadow: 0 0 0 999px rgba(5, 6, 10, .55), 0 0 24px color-mix(in srgb, var(--ex) 60%, transparent), inset 0 0 18px color-mix(in srgb, var(--ex) 25%, transparent);
  transition: left .45s cubic-bezier(.6, 0, .2, 1); pointer-events: none; }
.lp-ex-crop i { position: absolute; top: 8px; left: 8px; font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 6px; color: #0b0b10; background: var(--ex); }
.lp-ex-link { position: relative; height: 2px; margin: 0 6px; background: linear-gradient(90deg, transparent, var(--ex)); border-radius: 2px; }
.lp-ex-link span { position: absolute; right: -2px; top: -5px; width: 12px; height: 12px; border-top: 2px solid var(--ex); border-right: 2px solid var(--ex); transform: rotate(45deg); }
.lp-ex-link::before { content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--ex); box-shadow: 0 0 12px var(--ex);
  animation: lp-ex-dot 1.6s ease-in-out infinite; }
@keyframes lp-ex-dot { from { left: 0; opacity: 0; } 20% { opacity: 1; } to { left: calc(100% - 8px); opacity: 0; } }
.lp-ex-clip { margin: 0; display: grid; gap: 12px; animation: lp-ex-in .55s .08s ease both; }
.lp-ex-clip-media { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #000;
  border: 2px solid color-mix(in srgb, var(--ex) 70%, transparent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--ex) 10%, transparent), 0 30px 60px -20px color-mix(in srgb, var(--ex) 45%, transparent); }
.lp-ex-clip-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-ex-score { position: absolute; top: 8px; left: 8px; font-size: 12px; padding: 3px 8px; border-radius: 8px; color: #0b0b10; background: var(--ex); }
.lp-ex-sound { position: absolute; right: 8px; bottom: 8px; width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  color: #fff; background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s, transform .15s; }
.lp-ex-sound:hover { transform: scale(1.08); }
.lp-ex-sound svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-ex-sound .w { display: none; }
.lp-ex-sound.on { background: var(--ex); color: #0b0b10; }
.lp-ex-sound.on .w { display: inline; }
.lp-ex-sound.on .x { display: none; }
.lp-ex-sound:not(.on) { animation: lp-ex-pulse 2.2s ease-in-out infinite; }
@keyframes lp-ex-pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--ex) 30%, transparent); } }
.lp-ex-clip figcaption { display: grid; gap: 8px; }
.lp-ex-clip figcaption > b { font-size: 15px; line-height: 1.3; }
.lp-ex-clip ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.lp-ex-clip li { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.lp-ex-clip li .lp-icon { width: 15px; height: 15px; color: var(--ex); flex-shrink: 0; }
@keyframes lp-ex-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
  .lp-ex { grid-template-columns: 1fr; }
  .lp-ex-list { grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .lp-ex-list::-webkit-scrollbar { display: none; }
  .lp-ex-item:hover { transform: none; }
}
@media (max-width: 760px) {
  .lp-ex-stage { grid-template-columns: 1fr; gap: 14px; padding: 16px; min-height: 0; }
  .lp-ex-link { width: 2px; height: 26px; margin: 0 auto; background: linear-gradient(180deg, transparent, var(--ex)); }
  .lp-ex-link span { right: -5px; top: auto; bottom: -2px; transform: rotate(135deg); }
  .lp-ex-link::before { animation: none; display: none; }
  .lp-ex-clip { grid-template-columns: 150px 1fr; align-items: center; }
  .lp-ex-list { grid-auto-columns: minmax(170px, 1fr); }
  .lp-ex-item { grid-template-columns: 48px 1fr; gap: 9px; padding: 8px; }
  .lp-ex-item img { width: 48px; height: 36px; }
  .lp-ex-item-text b { font-size: 13.5px; }
}
@media (max-width: 420px) {
  .lp-ex-clip { grid-template-columns: 120px 1fr; }
  .lp-ex-clip li { font-size: 12px; }
}

/* карточка «Субтитры как в Reels» */
.lp-capdemo { margin-top: 16px; display: grid; gap: 10px; }
.lp-capdemo-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; display: grid; place-items: center; padding: 0 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .55)), url("/examples/pod_episode.jpg?v=2") center 35% / cover; }
.lp-capdemo-screen .cap { font-size: 19px; margin-top: 26%; }
.lp-capdemo-screen .cap-word { font-size: 27px; }
.lp-capdemo-screen .cap-minimal { font-size: 16px; }
.lp-capdemo-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-capdemo-tabs button { font: inherit; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; cursor: pointer;
  color: var(--muted); background: var(--bg); border: 1px solid var(--border); transition: color .2s, border-color .2s, background .2s; }
.lp-capdemo-tabs button:hover { color: var(--text); }
.lp-capdemo-tabs button.active { color: #fff; border-color: transparent; background: var(--gradient); }

/* ===== вручную или с ClipRush ===== */
.lp-vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 980px; margin: 0 auto; }
.lp-vs-card { border-radius: 20px; padding: 22px 22px 18px; border: 1px solid var(--border); background: var(--surface); }
.lp-vs-card.rush { border-color: rgba(255, 79, 216, .45); background: linear-gradient(160deg, rgba(124, 92, 255, .14), rgba(255, 79, 216, .06) 60%, var(--surface));
  box-shadow: 0 30px 70px -40px rgba(255, 79, 216, .6); }
.lp-vs-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.lp-vs-top b { font-size: 17px; }
.lp-vs-top span { font-size: 26px; font-weight: 900; letter-spacing: -.02em; color: var(--muted); }
.lp-vs-card.rush .lp-vs-top span { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-vs-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lp-vs-card li { display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; align-items: center; font-size: 14.5px; }
.lp-vs-card li span { color: var(--text); }
.lp-vs-card li em { font-style: normal; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lp-vs-card li i { grid-column: 1 / -1; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .06); position: relative; overflow: hidden; }
.lp-vs-card li i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 4px; background: #5c6273; transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.lp-vs-card.rush li i::after { background: var(--gradient); }
.lp-vs-card.in li i::after { width: var(--w); }
.lp-vs-card.in li:nth-child(2) i::after { transition-delay: .12s; }
.lp-vs-card.in li:nth-child(3) i::after { transition-delay: .24s; }
.lp-vs-card.in li:nth-child(4) i::after { transition-delay: .36s; }
.lp-vs-card.in li:nth-child(5) i::after { transition-delay: .48s; }

/* ===== FAQ ===== */
.lp-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 1000px; margin: 0 auto; align-items: start; }
.lp-faq details { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); transition: border-color .2s, background .2s; }
.lp-faq details:hover { border-color: #3d4356; }
.lp-faq details[open] { border-color: rgba(139, 108, 255, .45); background: linear-gradient(160deg, rgba(124, 92, 255, .08), var(--surface)); }
.lp-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 18px;
  font-weight: 700; font-size: 16px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary i { position: relative; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: rgba(124, 92, 255, .15); transition: transform .25s, background .25s; }
.lp-faq summary i::before, .lp-faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px;
  border-radius: 2px; background: var(--accent); }
.lp-faq summary i::after { transform: rotate(90deg); transition: transform .25s; }
.lp-faq details[open] summary i { background: var(--gradient); transform: rotate(180deg); }
.lp-faq details[open] summary i::before, .lp-faq details[open] summary i::after { background: #fff; }
.lp-faq details[open] summary i::after { transform: rotate(0deg); }
.lp-faq details p { color: var(--muted); margin: 0; padding: 0 18px 18px; line-height: 1.55; animation: lp-faq-in .25s ease; }
@keyframes lp-faq-in { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 760px) {
  .lp-vs-grid, .lp-faq-grid { grid-template-columns: 1fr; }
  .lp-vs-top span { font-size: 22px; }
  .lp-faq summary { font-size: 15px; }
}


/* пример «весь кадр на размытом фоне»: рамка охватывает всё изображение */
.lp-ex-crop.full { left: 0 !important; width: 100%; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ex) 40%, transparent), inset 0 0 26px color-mix(in srgb, var(--ex) 35%, transparent);
  animation: lp-ex-full 2.4s ease-in-out infinite; }
@keyframes lp-ex-full { 50% { border-color: color-mix(in srgb, var(--ex) 45%, transparent); } }

/* «Работает с любым видео»: шкала всей записи — видно, что клип вырезан из длинного видео */
.lp-ex-frag { position: absolute; right: 8px; top: 8px; font-size: 11.5px; font-weight: 800; padding: 3px 8px; border-radius: 7px; color: #fff;
  background: rgba(0, 0, 0, .65); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); font-variant-numeric: tabular-nums; }
.lp-ex-tl { display: grid; gap: 6px; margin-top: 2px; }
.lp-ex-tl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12.5px; flex-wrap: wrap; }
.lp-ex-tl-head b { color: var(--text); }
.lp-ex-tl-head span { color: var(--ex); font-weight: 700; font-variant-numeric: tabular-nums; }
.lp-ex-tl-bar { position: relative; height: 40px; border-radius: 9px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.lp-ex-tl-wave { position: absolute; inset: 5px 6px; display: flex; align-items: center; gap: 2px; }
.lp-ex-tl-wave i { flex: 1; min-width: 1px; border-radius: 2px; background: rgba(255, 255, 255, .16); }
.lp-ex-mk { position: absolute; top: -3px; bottom: -3px; width: 4px; margin-left: -2px; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.lp-ex-mk em { position: absolute; bottom: calc(100% + 3px); left: 50%; transform: translateX(-50%); font-style: normal; font-size: 10px; font-weight: 800;
  color: var(--muted); font-variant-numeric: tabular-nums; }
.lp-ex-mk.on { width: 12px; margin-left: -6px; background: var(--ex); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ex) 25%, transparent), 0 0 18px var(--ex);
  animation: lp-ex-mk 1.8s ease-in-out infinite; }
.lp-ex-mk.on em { color: #0b0b10; background: var(--ex); padding: 1px 6px; border-radius: 6px; font-size: 11px; }
@keyframes lp-ex-mk { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--ex) 15%, transparent), 0 0 24px var(--ex); } }
.lp-ex-tl-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lp-ex-tl-head { margin-bottom: 20px; }
@media (max-width: 760px) {
  .lp-ex-tl-bar { height: 34px; }
  .lp-ex-mk:not(.on) em { display: none; }
}

.lp-faq-more { text-align: center; color: var(--muted); margin: 22px 0 0; font-size: 15px; }
.lp-faq-more a { color: var(--accent); font-weight: 700; }
