/* ==== БАЗОВАЯ РАСКЛАДКА ==== */

.lp-wrap {
  background: var(--bg);
  padding: 32px 0 48px;
}

.lp-inner {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ==== HERO ==== */

.lp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 24px;
}

.lp-hero-left {
  min-width: 0;
}

/* Левая колонка */

.lp-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  margin-bottom: 14px;
}

.lp-hero-label-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
  animation: lp-pulse-dot 1.8s ease-out infinite;
}

.lp-hero-title {
  margin: 0 0 14px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.18;
  color: var(--text);
}

.lp-hero-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 22px;
}

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  height: 40px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition:
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.08s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.lp-btn--primary {
  background: linear-gradient(90deg, #1DDD9D, #34d399);
  color: #fff;
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.32);
}

.lp-btn--primary:hover {
  box-shadow: 0 12px 26px rgba(34, 197, 94, 0.40);
  transform: translateY(-1px);
}

.lp-btn--ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

.lp-btn--ghost:hover {
  background: #f9fafb;
}

.lp-hero-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}

/* Правая колонка — превью кабинета */

.lp-hero-right {
  display: flex;
  justify-content: center;
}

.lp-hero-dashboard {
  width: 100%;
  max-width: 380px;
  background: var(--card);
  border-radius: 22px;
  border: 1px solid var(--line);
  padding: 18px 18px 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  position: relative;
  overflow: hidden;
  animation: lp-card-float 7s ease-in-out infinite alternate;
}

.lp-hero-dashboard::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.12), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.lp-hero-dash-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.lp-hero-dash-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.lp-hero-dash-status {
  font-size: 12px;
  color: var(--muted);
}

.lp-hero-dash-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  color: #a7f3d0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lp-hero-dash-row {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.lp-hero-dash-metric {
  flex: 1;
}

.lp-hero-dash-label {
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 2px;
}

.lp-hero-dash-value {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.lp-hero-dash-bar {
  position: relative;
  z-index: 1;
  height: 6px;
  border-radius: 999px;
  background: #f3f4f6;
  overflow: hidden;
  margin-bottom: 10px;
}

.lp-hero-dash-bar-fill {
  width: 72%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #14b8a6);
  animation: lp-bar-progress 3.5s ease-in-out infinite alternate;
}

.lp-hero-dash-list {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  color: #4b5563;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lp-hero-dash-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lp-hero-dash-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.lp-hero-dash-list li.is-ok::before {
  background: #22c55e;
}

.lp-hero-dash-list li.is-pending::before {
  background: #facc15;
}

.lp-hero-dash-list li.is-draft::before {
  background: #9ca3af;
}

/* ==== ГЛОБАЛЬНАЯ СТАТИСТИКА ПОД HERO ==== */

.lp-hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}

.lp-hero-statcard {
  position: relative;
  padding: 12px 12px 12px 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    border-color 0.12s ease,
    background 0.12s ease;
}

.lp-hero-statcard::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #22c55e, #14b8a6);
}

.lp-hero-statcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(29, 221, 157, 0.20);
  border-color: var(--line);
  background: #ffffff;
}

.lp-hero-statcard-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.lp-hero-statcard-label {
  font-size: 13px;
  color: var(--muted);
}

.lp-hero-statcard-sub {
  font-size: 12px;
  color: #64748b;
}

/* ==== ОБЩИЕ СЕКЦИИ ==== */

.lp-section {
  margin-bottom: 50px;
}

.lp-section--last {
  margin-bottom: 0;
}

.lp-section-head {
  margin-bottom: 18px;
}

.lp-section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.lp-section-sub {
  font-size: 14px;
  color: var(--muted);
  max-width: 560px;
}

/* ==== ДЛЯ КОГО ADGRA / KPI-БЛОК ==== */

.lp-kpi-band {
  margin: 10px 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 16px;
}

.lp-kpi-card {
  background: var(--card);
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 16px 18px 18px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    border-color 0.12s ease,
    background 0.12s ease;
}

.lp-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(29, 221, 157, 0.20);
  border-color: var(--line);
}

/* общий контейнер под мини-график (без фона) */
.lp-kpi-visual {
  position: absolute;
  right: 22px;
  bottom: 18px;
  width: 120px;
  height: 52px;
  pointer-events: none;
}

/* ---------- БЛОК 1: "Монетизация без хаоса в личке" — столбики ---------- */

.lp-kpi-card:nth-child(1) .lp-kpi-visual::before {
  content: "";
  position: absolute;
  left: 24px;
  bottom: 10px;
  width: 14px;
  height: 26px;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, #4ade80, #22c55e);
  box-shadow:
    24px 0 0 0 #22c55e,
    48px -6px 0 0 #16a34a;
  transform-origin: bottom center;
  animation: lp-kpi-bars 2.4s ease-in-out infinite;
}

/* лёгкий отблеск сверху на столбиках */
.lp-kpi-card:nth-child(1) .lp-kpi-visual::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: 32px;
  width: 70px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 0, rgba(240, 253, 250, 0.9), transparent 70%);
  opacity: 0.7;
}

/* ---------- БЛОК 2: "Управление рекламой как в ад-кабинете" — линия ---------- */

.lp-kpi-card:nth-child(2) .lp-kpi-visual::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d1fae5, #22c55e);
  transform: translateY(-50%);
  opacity: 0.9;
}

.lp-kpi-card:nth-child(2) .lp-kpi-visual::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 16px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.18);
  transform: translate(-50%, -50%);
  animation: lp-kpi-dot 2.8s ease-in-out infinite;
}

/* подписи внутри карточки */

.lp-kpi-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.lp-kpi-main {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.lp-kpi-sub {
  font-size: 13px;
  color: #4b5563;
  margin-bottom: 8px;
}

/* ==== КАРТОЧКИ / GRID ==== */

.lp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.lp-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 22px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.03);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    border-color 0.12s ease;
}

.lp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(29, 221, 157, 0.20);
  border-color: var(--line);
}

.lp-card-icon {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: #f3f4f6;
  margin-bottom: 10px;
  position: relative;
}

.lp-card-icon::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 5px;
  border: 2px solid #1DDD9D;
  border-top: none;
  border-left: none;
  transform: rotate(135deg);
  opacity: 0.9;
}

.lp-card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.lp-card-text {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

.lp-card-list {
  padding-left: 18px;
  font-size: 13px;
  color: #4b5563;
}

.lp-card-list li {
  margin-bottom: 4px;
}

/* ==== КАК РАБОТАЕТ ПЛАТФОРМА ==== */

.lp-process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.lp-process-step {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 14px 14px 16px;
  font-size: 13px;
  color: #4b5563;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.12s ease,
    box-shadow 0.12s ease,
    transform 0.12s ease,
    background 0.12s ease;
}

.lp-process-step::after {
  content: "";
  position: absolute;
  right: -12px;
  top: -12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.lp-process-step:hover {
  border-color: var(--line);
  box-shadow: 0 10px 22px rgba(29, 221, 157, 0.20);
  transform: translateY(-2px);
}

.lp-process-step:hover::after {
  opacity: 1;
}

.lp-process-num {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #16a34a;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.lp-process-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.lp-process-text {
  font-size: 13px;
}

/* ==== ЖИВЫЕ РАЗМЕЩЕНИЯ ==== */

.lp-deals-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}

.lp-deals-counter {
  font-size: 13px;
  color: var(--muted);
}

.lp-deals-counter span {
  font-weight: 600;
  color: var(--text);
}

.lp-deals-all {
  font-size: 13px;
  color: #2563eb;
  text-decoration: none;
}

.lp-deals-all:hover {
  text-decoration: underline;
}

.lp-deals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lp-deal-card {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 14px 14px 16px;
  font-size: 13px;
  color: #4b5563;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    border-color 0.12s ease;
}

.lp-deal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(29, 221, 157, 0.20);
  border-color: var(--line);
}

.lp-deal-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.lp-deal-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #1d4ed8;
}

.lp-deal-main {
  flex: 1;
}

.lp-deal-title {
  font-weight: 600;
}

.lp-deal-category {
  font-size: 12px;
  color: var(--muted);
}

.lp-deal-discount {
  font-size: 12px;
  font-weight: 600;
  color: #0369a1;
  background: #dbeafe;
  padding: 3px 8px;
  border-radius: 999px;
}

.lp-deal-body {
  font-size: 13px;
  margin-bottom: 8px;
}

.lp-deal-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.lp-deal-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lp-deal-price-new {
  font-weight: 700;
}

.lp-deal-price-old {
  font-size: 12px;
  color: var(--muted);
}

.lp-deal-timer {
  font-size: 12px;
  color: #2563eb;
}

/* ==== FAQ ==== */

.lp-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-faq-item {
  background: var(--card);
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 10px 14px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

/* hover по блоку FAQ — мягкая зелёная тень */
.lp-faq-item:hover {
  border-color: #1DDD9D;
  box-shadow: 0 8px 20px rgba(29, 221, 157, 0.20);
}

/* открытый FAQ — активный пункт */
.lp-faq-item[open] {
  border-color: #1DDD9D;
  box-shadow: 0 10px 24px rgba(29, 221, 157, 0.22);
}

.lp-faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* hover по summary — текст зеленеет */
.lp-faq-item summary:hover {
  color: #1DDD9D;
}

.lp-faq-item summary::-webkit-details-marker {
  display: none;
}

.lp-faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid var(--muted);
  border-left: none;
  border-top: none;
  transform: rotate(45deg);
  transition:
    transform 0.16s ease,
    border-color 0.16s ease;
}

/* стрелка при открытом пункте */
.lp-faq-item[open] summary::after {
  transform: rotate(-135deg);
  border-color: #1DDD9D;
}

/* стрелка при наведении */
.lp-faq-item summary:hover::after {
  border-color: #1DDD9D;
}

.lp-faq-item p {
  margin: 8px 0 4px;
  font-size: 13px;
  color: #4b5563;
}

/* ==== CTA ==== */

.lp-cta {
  margin-top: 8px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #0f172a, #111827);
  border-radius: 18px;
  color: #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}

.lp-cta-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.lp-cta-text {
  font-size: 14px;
  color: #cbd5e1;
  max-width: 480px;
}

.lp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lp-btn--cta {
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: #fff;
  color: #0f172a;
  font-weight: 600;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.1s ease;
}

.lp-btn--cta:hover {
  background: #f9fafb;
  transform: translateY(-1px);
}

.lp-btn--cta-primary {
  background: #22c55e;
  color: #022c22;
  border-color: transparent;
}

.lp-btn--cta-primary:hover {
  background: #16a34a;
}

/* ==== АДАПТИВ ==== */

@media (max-width: 1024px) {
  .lp-hero {
    grid-template-columns: 1fr;
  }

  .lp-hero-right {
    order: -1;
  }

  .lp-hero-dashboard {
    max-width: 420px;
  }

  .lp-hero-stats-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lp-kpi-band {
    grid-template-columns: 1fr;
  }

  .lp-process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lp-deals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .lp-inner {
    padding: 0 16px 16px;
  }

  .lp-hero-title {
    font-size: 28px;
  }

  .lp-hero-stats-row {
    grid-template-columns: 1fr;
  }

  .lp-grid-3 {
    grid-template-columns: 1fr;
  }

  .lp-process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lp-deals-grid {
    grid-template-columns: 1fr;
  }

  .lp-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .lp-process-grid {
    grid-template-columns: 1fr;
  }
}

/* ==== АНИМАЦИИ ==== */

@keyframes lp-pulse-dot {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0.12);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
  }
}

@keyframes lp-card-float {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-4px);
  }
}

@keyframes lp-bar-progress {
  0% {
    width: 55%;
  }
  100% {
    width: 82%;
  }
}

/* анимация столбиков */
@keyframes lp-kpi-bars {
  0%, 100% {
    transform: scaleY(0.9);
  }
  50% {
    transform: scaleY(1.08);
  }
}

/* анимация точки по линии */
@keyframes lp-kpi-dot {
  0% {
    transform: translate(-50%, -50%);
    opacity: 0.7;
  }
  50% {
    transform: translate(70px, -50%);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%);
    opacity: 0.7;
  }
}
