﻿/* Оптовой — продающий лендинг скрипта (optovoi.png) */
:root {
  --lp-font: "Inter", system-ui, -apple-system, sans-serif;
  --lp-container: min(1200px, calc(100% - 40px));
  --lp-blue: #2563eb;
  --lp-blue-dark: #1d4ed8;
  --lp-blue-light: #eff6ff;
  --lp-blue-soft: #dbeafe;
  --lp-green: #16a34a;
  --lp-green-light: #f0fdf4;
  --lp-green-soft: #dcfce7;
  --lp-red: #dc2626;
  --lp-red-light: #fef2f2;
  --lp-text: #0f172a;
  --lp-muted: #64748b;
  --lp-border: #e2e8f0;
  --lp-bg: #ffffff;
  --lp-surface: #f8fafc;
  --lp-navy: #0f172a;
  --lp-navy-2: #1e293b;
  --lp-radius: 12px;
  --lp-radius-lg: 16px;
  --lp-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --lp-shadow-sm: 0 2px 12px rgba(15, 23, 42, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
.optovoi-landing {
  margin: 0;
  font-family: var(--lp-font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--lp-text);
  background: var(--lp-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.lp-container { width: var(--lp-container); margin-inline: auto; }

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
  white-space: nowrap;
}
.lp-btn:hover {
  transform: translateY(-2px);
}
.lp-btn:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}
.lp-btn--primary {
  background: var(--lp-blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}
.lp-btn--primary:hover {
  background: var(--lp-blue-dark);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
}
.lp-btn--outline {
  background: #fff;
  color: var(--lp-blue);
  border: 1.5px solid var(--lp-blue);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.lp-btn--outline:hover {
  background: var(--lp-blue-light);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12);
}
.lp-btn--ghost {
  background: transparent;
  color: var(--lp-blue);
  padding-inline: 0;
  box-shadow: none;
}
.lp-btn--ghost:hover {
  color: var(--lp-blue-dark);
  transform: translateX(2px);
}
.lp-btn--white {
  background: #fff;
  color: var(--lp-blue);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}
.lp-btn--white:hover {
  background: #f8fafc;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}
@media (prefers-reduced-motion: reduce) {
  .lp-btn,
  .lp-btn:hover,
  .lp-btn:active {
    transition: none;
    transform: none;
    box-shadow: none;
  }
}
.lp-btn--lg { padding: 14px 28px; font-size: 16px; }
.lp-btn--block { width: 100%; }

.lp-section { padding: 72px 0; }
.lp-section--alt { background: var(--lp-surface); }
.lp-section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.lp-section__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.lp-section__lead {
  margin-top: 14px;
  color: var(--lp-muted);
  font-size: 1.05rem;
}

/* Header */
/* header removed in WP */
/* header removed in WP */
.lp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.lp-logo__mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--lp-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
}
.lp-logo__text { line-height: 1.15; }
.lp-logo__name { font-weight: 800; font-size: 17px; letter-spacing: 0.04em; }
.lp-logo__tag { font-size: 10px; color: var(--lp-muted); text-transform: uppercase; letter-spacing: 0.06em; }

.lp-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-inline: auto;
}
.lp-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--lp-muted);
  transition: color 0.2s;
}
.lp-nav a:hover { color: var(--lp-text); }

/* header removed in WP */

.lp-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  margin-left: auto;
}
.lp-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--lp-text);
  margin: 4px auto;
  border-radius: 1px;
}

.lp-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 0 0 16px;
  border-top: 1px solid var(--lp-border);
}
.lp-mobile-nav.is-open { display: flex; }
.lp-mobile-nav a { font-weight: 500; color: var(--lp-muted); padding: 4px 0; }

/* Hero */
.lp-hero {
  padding: 56px 0 72px;
  background: linear-gradient(180deg, #fff 0%, var(--lp-surface) 100%);
  overflow: hidden;
}
.lp-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.lp-hero__title {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.lp-hero__lead {
  margin-top: 18px;
  font-size: 1.1rem;
  color: var(--lp-muted);
  max-width: 520px;
}
.lp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}
.lp-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--lp-border);
}
.lp-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--lp-muted);
}
.lp-trust-item svg { flex-shrink: 0; color: var(--lp-blue); }

.lp-devices {
  position: relative;
  min-height: 420px;
}
.lp-device {
  position: absolute;
  border-radius: var(--lp-radius-lg);
  background: #fff;
  box-shadow: var(--lp-shadow);
  border: 1px solid var(--lp-border);
  overflow: hidden;
}
.lp-device--laptop {
  width: 88%;
  top: 0;
  right: 0;
  z-index: 1;
}
.lp-device--tablet {
  width: 42%;
  bottom: 8%;
  left: 0;
  z-index: 2;
}
.lp-device--phone {
  width: 22%;
  bottom: 2%;
  right: 6%;
  z-index: 3;
  border-radius: 18px;
}
.lp-device__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--lp-surface);
  border-bottom: 1px solid var(--lp-border);
}
.lp-device__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}
.lp-device__url {
  flex: 1;
  font-size: 10px;
  color: var(--lp-muted);
  text-align: center;
  background: #fff;
  border-radius: 6px;
  padding: 3px 8px;
}
.lp-device__screen { padding: 12px; }
.lp-device__screen--shot {
  padding: 0;
  aspect-ratio: 16 / 10;
  background: #eef2f7;
}
.lp-device--tablet .lp-device__screen--shot {
  aspect-ratio: 4 / 3;
}
.lp-device--phone .lp-device__screen--shot {
  aspect-ratio: 9 / 16;
}
.lp-device__shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.lp-mini-ui { display: grid; gap: 8px; }
.lp-mini-ui__hero {
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--lp-blue-light), #fff);
}
.lp-mini-ui__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.lp-mini-ui__card {
  height: 52px;
  border-radius: 8px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
}
.lp-mini-ui__row {
  height: 10px;
  border-radius: 4px;
  background: var(--lp-border);
}
.lp-mini-ui__row--short { width: 60%; }
.lp-mini-ui__row--blue { background: var(--lp-blue-soft); width: 40%; }

/* Compare */
.lp-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
}
.lp-compare__arrow {
  display: grid;
  place-items: center;
  color: var(--lp-blue);
}
.lp-compare__panel {
  border-radius: var(--lp-radius-lg);
  padding: 28px;
  border: 1px solid var(--lp-border);
}
.lp-compare__panel--pain {
  background: var(--lp-red-light);
  border-color: #fecaca;
}
.lp-compare__panel--gain {
  background: var(--lp-green-light);
  border-color: #bbf7d0;
}
.lp-compare__panel-head {
  margin-bottom: 20px;
}
.lp-compare__panel-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.lp-compare__panel-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.lp-compare__panel-head .lp-compare__label {
  margin-bottom: 0;
}
.lp-compare__panel-head .lp-compare__title {
  margin-bottom: 0;
}
.lp-compare__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.lp-compare__panel--pain .lp-compare__label { color: var(--lp-red); }
.lp-compare__panel--gain .lp-compare__label { color: var(--lp-green); }
.lp-compare__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.lp-compare__list { display: grid; gap: 16px; }
.lp-compare__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.lp-compare__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
  line-height: 0;
}
.lp-compare__icon img {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  margin: 0;
}
.lp-compare__panel--pain .lp-compare__icon { color: var(--lp-red); }
.lp-compare__panel--gain .lp-compare__icon { color: var(--lp-green); }
.lp-compare__item-title { font-weight: 600; font-size: 14px; }
.lp-compare__item-text { font-size: 13px; color: var(--lp-muted); margin-top: 2px; }

/* Features grid */
.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.lp-feature-card {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 22px;
  box-shadow: var(--lp-shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.lp-feature-card:hover {
  box-shadow: var(--lp-shadow);
  transform: translateY(-2px);
}
.lp-feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--lp-blue-light);
  color: var(--lp-blue);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.lp-feature-card__title { font-weight: 700; font-size: 15px; }
.lp-feature-card__text { margin-top: 6px; font-size: 13px; color: var(--lp-muted); line-height: 1.45; }

/* Steps */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.lp-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--lp-border);
  z-index: 0;
}
.lp-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.lp-step__num {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--lp-blue);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 6px #fff;
}
.lp-step__title { font-weight: 700; font-size: 15px; }
.lp-step__text { margin-top: 8px; font-size: 13px; color: var(--lp-muted); }

/* Scenarios */
.lp-scenarios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.lp-scenario {
  border-radius: var(--lp-radius-lg);
  padding: 32px;
  border: 1px solid var(--lp-border);
}
.lp-scenario--blue {
  background: linear-gradient(145deg, var(--lp-blue-light) 0%, #fff 60%);
  border-color: var(--lp-blue-soft);
}
.lp-scenario--green {
  background: linear-gradient(145deg, var(--lp-green-light) 0%, #fff 60%);
  border-color: var(--lp-green-soft);
}
.lp-scenario__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.lp-scenario--blue .lp-scenario__icon { background: var(--lp-blue); color: #fff; }
.lp-scenario--green .lp-scenario__icon { background: var(--lp-green); color: #fff; }
.lp-scenario__title { font-size: 1.25rem; font-weight: 800; }
.lp-scenario__text { margin-top: 10px; color: var(--lp-muted); font-size: 14px; }
.lp-scenario__list {
  margin: 20px 0 24px;
  display: grid;
  gap: 10px;
}
.lp-scenario__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
}
.lp-scenario__list li::before {
  content: "✓";
  color: var(--lp-green);
  font-weight: 700;
  flex-shrink: 0;
}

/* Gallery tabs */
.lp-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.lp-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--lp-border);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--lp-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.lp-tab.is-active,
.lp-tab:hover {
  background: var(--lp-blue);
  border-color: var(--lp-blue);
  color: #fff;
}
.lp-gallery-wrap {
  width: 100%;
}

.lp-gallery {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  max-width: 960px;
  margin-inline: auto;
}
.lp-gallery.is-active { display: grid; }
.lp-gallery--cols-1 {
  grid-template-columns: minmax(0, 320px);
  justify-content: center;
}
.lp-gallery--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 640px;
}
.lp-gallery--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.lp-gallery--mobile {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 480px;
  margin-inline: auto;
}
.lp-shot {
  display: flex;
  flex-direction: column;
  border-radius: var(--lp-radius);
  border: 1px solid var(--lp-border);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--lp-shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  width: 100%;
  padding: 0;
  cursor: pointer;
  font: inherit;
  text-align: inherit;
}
.lp-shot:hover {
  transform: translateY(-3px);
  box-shadow: var(--lp-shadow);
}
.lp-shot__frame {
  aspect-ratio: 4 / 3;
  background: #eef2f7;
  position: relative;
  overflow: hidden;
  flex: 1 1 auto;
}
.lp-shot__frame--mobile {
  aspect-ratio: 9 / 16;
}
.lp-shot__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.lp-shot__label {
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  border-top: 1px solid var(--lp-border);
  background: #fff;
}

/* Static UI previews */
.lp-shot-preview {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
}
.lp-shot-preview__chrome {
  display: flex;
  gap: 4px;
  padding: 6px 8px;
  background: #fff;
  border-bottom: 1px solid var(--lp-border);
}
.lp-shot-preview__chrome span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
}
.lp-shot-preview__viewport {
  flex: 1;
  display: flex;
  min-height: 0;
  padding: 8px;
  gap: 6px;
}
.lp-shot-preview__sidebar {
  width: 22%;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--lp-border);
}
.lp-shot-preview__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.lp-shot-preview__hero {
  height: 34%;
  border-radius: 6px;
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
  border: 1px solid #bfdbfe;
}
.lp-shot-preview__cards {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.lp-shot-preview__cards i {
  display: block;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--lp-border);
}
.lp-shot-preview__toolbar {
  height: 10px;
  width: 55%;
  border-radius: 4px;
  background: #dbeafe;
}
.lp-shot-preview__grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.lp-shot-preview__grid i {
  display: block;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--lp-border);
  min-height: 14px;
}
.lp-shot-preview__form-title {
  height: 12px;
  width: 50%;
  border-radius: 4px;
  background: #dbeafe;
}
.lp-shot-preview__field {
  height: 10px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--lp-border);
}
.lp-shot-preview__field--short { width: 70%; }
.lp-shot-preview__btn {
  margin-top: auto;
  height: 12px;
  border-radius: 4px;
  background: var(--lp-blue);
}
.lp-shot-preview__row {
  height: 12px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--lp-border);
}
.lp-shot-preview__row--short { width: 65%; }
.lp-shot-preview__line {
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
}
.lp-shot-preview__line--short { width: 60%; }
.lp-shot-preview__blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  flex: 1;
}
.lp-shot-preview__blocks i {
  display: block;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--lp-border);
}
.lp-shot-preview--mobile .lp-shot-preview__viewport { padding: 6px; }
.lp-shot-preview--mobile .lp-shot-preview__sidebar { display: none; }
.lp-shot-preview--mobile .lp-shot-preview__grid { grid-template-columns: repeat(2, 1fr); }

.lp-gallery__more {
  text-align: center;
  margin-top: 20px;
}

/* Screenshot lightbox */
body.lp-lightbox-open {
  overflow: hidden;
}

.lp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lp-lightbox[hidden] {
  display: none !important;
}

.lp-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.82);
  cursor: pointer;
}

.lp-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1200px, 100%);
  max-height: calc(100vh - 32px);
  background: #0f172a;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.lp-lightbox__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.lp-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lp-lightbox__viewer {
  padding: 52px 18px 12px;
  background: #0b1220;
}

.lp-lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  max-height: calc(100vh - 340px);
  border-radius: 12px;
  overflow: hidden;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-lightbox__img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 340px);
  object-fit: contain;
  object-position: top center;
}

.lp-lightbox__mock {
  width: 100%;
  max-height: calc(100vh - 340px);
  overflow: auto;
  padding: 20px;
  box-sizing: border-box;
}

.lp-lightbox__mock-frame {
  width: min(900px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.lp-lightbox__mock-frame.lp-shot__frame--mobile {
  width: min(360px, 100%);
  aspect-ratio: 9 / 16;
}

.lp-lightbox__nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px 14px;
  background: #0b1220;
}

.lp-lightbox__nav[hidden] {
  display: none;
}

.lp-lightbox__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: background 0.2s, transform 0.2s;
}

.lp-lightbox__nav-btn svg {
  flex-shrink: 0;
  stroke: currentColor;
}

.lp-lightbox__nav-btn:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}

.lp-lightbox__nav-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.lp-lightbox__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: #111827;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-lightbox__meta {
  min-width: 0;
}

.lp-lightbox__title {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.lp-lightbox__counter {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.lp-lightbox__open[hidden] {
  display: none;
}

.lp-lightbox__thumbs {
  display: flex;
  gap: 10px;
  padding: 12px 16px 16px;
  overflow-x: auto;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.lp-lightbox__thumbs[hidden] {
  display: none;
}

.lp-lightbox__thumbs::-webkit-scrollbar {
  height: 6px;
}

.lp-lightbox__thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.lp-lightbox__thumb {
  flex: 0 0 92px;
  width: 92px;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: #1f2937;
  transition: border-color 0.2s, transform 0.2s;
}

.lp-lightbox__thumb:hover {
  transform: translateY(-1px);
}

.lp-lightbox__thumb.is-active {
  border-color: var(--lp-blue);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.35);
}

.lp-lightbox__thumb-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  pointer-events: none;
}

.lp-lightbox__thumb-frame.lp-shot__frame--mobile {
  aspect-ratio: 9 / 16;
}

.lp-lightbox__thumb-frame .lp-shot__img,
.lp-lightbox__thumb-frame .lp-shot-preview {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .lp-lightbox__viewer {
    padding: 48px 12px 10px;
  }

  .lp-lightbox__stage {
    min-height: 180px;
    max-height: calc(100vh - 380px);
  }

  .lp-lightbox__img,
  .lp-lightbox__mock {
    max-height: calc(100vh - 380px);
  }

  .lp-lightbox__nav {
    padding: 0 12px 12px;
  }

  .lp-lightbox__nav-btn {
    flex: 1;
    min-height: 42px;
    padding: 0 12px;
    font-size: 13px;
  }

  .lp-lightbox__thumb {
    flex-basis: 76px;
    width: 76px;
  }
}

@media (max-width: 640px) {
  .lp-lightbox__footer {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Why + demo */
.lp-why-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.lp-checklist { display: grid; gap: 14px; }
.lp-checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
}
.lp-checklist__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lp-blue-light);
  color: var(--lp-blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.lp-demo-box {
  background: var(--lp-blue-light);
  border: 1px solid var(--lp-blue-soft);
  border-radius: var(--lp-radius-lg);
  padding: 28px;
  text-align: center;
}
.lp-demo-box__title { font-weight: 800; font-size: 1.2rem; }
.lp-demo-box__text { margin-top: 8px; color: var(--lp-muted); font-size: 14px; }
.lp-demo-box .lp-btn { margin-top: 20px; }
.lp-demo-box__laptop {
  margin-top: 24px;
  border-radius: var(--lp-radius);
  border: 1px solid var(--lp-border);
  overflow: hidden;
  box-shadow: var(--lp-shadow);
  background: #fff;
}

.lp-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--lp-border);
}
.lp-stat {
  text-align: center;
  padding: 16px;
}
.lp-stat__value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--lp-blue);
  letter-spacing: -0.02em;
}
.lp-stat__label { margin-top: 4px; font-size: 13px; color: var(--lp-muted); }

/* Pricing */
.lp-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.lp-price-card {
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-lg);
  padding: 28px;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: var(--lp-shadow-sm);
}
.lp-price-card--featured {
  border-color: var(--lp-blue);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
  position: relative;
}
.lp-price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lp-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.lp-price-card__name { font-weight: 800; font-size: 1.1rem; }
.lp-price-card__price {
  margin-top: 12px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.lp-price-card__price span { font-size: 14px; font-weight: 500; color: var(--lp-muted); }
.lp-price-card__desc { margin-top: 8px; font-size: 13px; color: var(--lp-muted); }
.lp-price-card__features {
  margin: 24px 0;
  flex: 1;
  display: grid;
  gap: 10px;
}
.lp-price-card__features li {
  font-size: 14px;
  padding-left: 22px;
  position: relative;
}
.lp-price-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lp-green);
  font-weight: 700;
}

/* Included */
.lp-included {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
  max-width: 720px;
  margin: 0 auto;
}
.lp-included li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.lp-included li svg { color: var(--lp-blue); flex-shrink: 0; }

/* FAQ */
.lp-faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.lp-faq__item {
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  background: #fff;
  overflow: hidden;
}
.lp-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.lp-faq__q svg { flex-shrink: 0; transition: transform 0.2s; color: var(--lp-muted); }
.lp-faq__item.is-open .lp-faq__q svg { transform: rotate(180deg); }
.lp-faq__a {
  display: none;
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--lp-muted);
  line-height: 1.6;
}
.lp-faq__item.is-open .lp-faq__a { display: block; }

/* CTA */
.lp-cta {
  background: linear-gradient(135deg, var(--lp-navy) 0%, #1e3a5f 100%);
  color: #fff;
  padding: 72px 0;
}
.lp-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.lp-cta__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.lp-cta__lead { margin-top: 12px; color: #94a3b8; font-size: 1.05rem; }
.lp-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--lp-radius-lg);
  padding: 28px;
  display: grid;
  gap: 14px;
}
.lp-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-form label { display: grid; gap: 6px; font-size: 13px; color: #cbd5e1; }
.lp-form input,
.lp-form textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.5);
  color: #fff;
}
.lp-form input::placeholder,
.lp-form textarea::placeholder { color: #64748b; }
.lp-form textarea { min-height: 88px; resize: vertical; }
.lp-form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.45;
}
.lp-form__consent input { margin-top: 3px; accent-color: var(--lp-blue); }
.lp-form__consent a { color: #93c5fd; text-decoration: underline; }
.lp-cta__social {
  display: none;
}

/* Footer */
.lp-footer {
  background: var(--lp-navy);
  color: #94a3b8;
  padding: 48px 0 28px;
  font-size: 14px;
}
.lp-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}
.lp-footer__brand p { margin-top: 12px; max-width: 280px; line-height: 1.5; }
.lp-footer .lp-logo__name { color: #fff; }
.lp-footer .lp-logo__tag { color: #64748b; }
.lp-faq__a a { color: var(--lp-blue); text-decoration: underline; }
.lp-footer__title { color: #fff; font-weight: 700; margin-bottom: 14px; }
.lp-footer__links { display: grid; gap: 10px; }
.lp-footer__links a:hover { color: #fff; }
.lp-footer__contact a { color: #93c5fd; }
.lp-footer__bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 1100px) {
  .lp-features-grid { grid-template-columns: repeat(3, 1fr); }
  .lp-steps { grid-template-columns: repeat(2, 1fr); }
  .lp-steps::before { display: none; }
}

@media (max-width: 900px) {
  .lp-hero__grid,
  .lp-compare,
  .lp-why-demo,
  .lp-cta__inner,
  .lp-scenarios,
  .lp-pricing { grid-template-columns: 1fr; }
  .lp-compare__arrow { transform: rotate(90deg); }
  .lp-devices { min-height: 320px; margin-top: 24px; }
  .lp-stats-bar { grid-template-columns: repeat(2, 1fr); }
  .lp-footer__grid { grid-template-columns: 1fr; }
  .lp-form__row { grid-template-columns: 1fr; }
  .lp-features-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-gallery-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -12px;
    padding: 0 12px 4px;
  }
  .lp-gallery.is-active {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    min-width: 520px;
    max-width: none;
  }
  .lp-gallery--cols-1.is-active {
    grid-template-columns: minmax(180px, 280px);
    min-width: 0;
    justify-content: start;
  }
  .lp-gallery--cols-2.is-active {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    min-width: 360px;
  }
  .lp-gallery--mobile.is-active {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    min-width: 280px;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .lp-section { padding: 52px 0; }
  .lp-features-grid,
  .lp-included { grid-template-columns: 1fr; }
  .lp-gallery-wrap {
    overflow: visible;
    margin: 0;
    padding: 0;
  }
  .lp-gallery.is-active {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    min-width: 0;
  }
  .lp-gallery--mobile.is-active {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
    gap: 12px;
  }
  .lp-steps { grid-template-columns: 1fr; }
}

.optovoi-landing .lp-cta__form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--lp-radius-lg);
  padding: 28px;
  display: grid;
  gap: 14px;
}

.optovoi-landing .lp-cta__form-lead {
  margin: 0;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.5;
}

.optovoi-landing .lp-cta__demo {
  text-align: center;
  margin-top: 12px;
}

