/* VSL-лендинг — тёплые тона, зелёный акцент */
*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: "Segoe UI", "Noto Sans Devanagari", Tahoma, Arial, sans-serif;
  color: #2c3e2c;
  background: #f8f6f1;
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}
.container--narrow {
  max-width: 720px;
}

/* Отступы секций */
section {
  padding: 32px 0;
}
section:nth-child(even) {
  background: #f0ede5;
}

/* A. Первый экран */
.lp-hero {
  padding: 24px 0 32px;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #f8f6f1 100%);
}
.lp-hero__title {
  font-size: 28px;
  font-weight: 700;
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.2;
  color: #1a3a1a;
}
.lp-hero__title .accent {
  background: #006a4e;
  color: #fff;
  padding: 3px 10px;
  border-radius: 6px;
}
.lp-video-card {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  background: #000;
}
.lp-video-card video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: contain;
}
.lp-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: opacity 0.3s;
}
.lp-video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.lp-video-overlay__btn {
  background: #006a4e;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
  box-shadow: 0 4px 12px rgba(0, 106, 78, 0.35);
}
.lp-video-overlay__btn:hover {
  transform: scale(1.05);
}
.lp-video-overlay__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-video-overlay__icon svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}
.lp-video-fullscreen-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: none;
  z-index: 5;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.lp-video-fullscreen-btn:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.5);
}
.lp-video-fullscreen-btn.visible {
  display: block;
}
.lp-video-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  line-height: 1;
  padding: 0;
}
.lp-video-close.visible {
  display: flex;
}
/* Полноэкранный режим: карточка (не обёртка), крестик внутри */
.lp-video-card:fullscreen,
.lp-video-card:-webkit-full-screen {
  max-width: none;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.lp-video-card:fullscreen video,
.lp-video-card:-webkit-full-screen video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Fallback pseudo-fullscreen (когда API нет) */
.lp-video-wrapper.fullscreen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.lp-fullscreen-active {
  overflow: hidden;
}
.lp-video-wrapper.fullscreen .lp-video-card {
  max-width: 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-video-wrapper.fullscreen video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* B. Блок «Упоминалось в СМИ» */
.lp-as-seen {
  padding: 36px 0;
  text-align: center;
  background: linear-gradient(180deg, #e8e4dc 0%, #dcd6cc 100%);
  border: 1px solid rgba(0, 106, 78, 0.25);
  border-radius: 12px;
  margin: 0 16px 24px;
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.lp-as-seen__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #006a4e;
  margin-bottom: 24px;
}
.lp-as-seen__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  align-items: center;
}
.lp-as-seen__logos img {
  height: 60px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  opacity: 0.85;
  cursor: pointer;
  transition: transform 0.25s ease;
}
.lp-as-seen__logos img:hover,
.lp-as-seen__logos img:active {
  transform: scale(1.12);
}
.lp-as-seen__logos img:nth-child(2),
.lp-as-seen__logos img:nth-child(3) {
  height: 68px;
  max-width: 220px;
}

/* C. Комментарии */
.lp-comments {
  padding: 40px 0;
  background: linear-gradient(180deg, #f0ede5 0%, #fff 50%, #f8f6f1 100%);
}
.lp-comments__header {
  max-width: 720px;
  margin: 0 auto 28px;
  padding: 18px 28px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(0, 106, 78, 0.2);
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 106, 78, 0.08);
}
.lp-comments__title {
  font-size: 20px;
  font-weight: 700;
  color: #006a4e;
  letter-spacing: 0.05em;
  margin: 0;
}
.lp-comments__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lp-comment {
  display: flex;
  gap: 16px;
  padding: 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-left: 4px solid #006a4e;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
.lp-comment-hidden {
  display: none !important;
}
.lp-comment-animate {
  opacity: 0;
  transform: translateY(18px);
}
.lp-comment__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.lp-comment__body {
  flex: 1;
  min-width: 0;
}
.lp-comment__name {
  font-weight: 600;
  margin-bottom: 4px;
}
.lp-comment__text {
  font-size: 15px;
  color: #1e2a32;
  margin-bottom: 8px;
}
.lp-comment__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #6b7a86;
  flex-wrap: wrap;
}
.lp-comment__actions span {
  cursor: default;
}
.lp-comment__react {
  display: flex;
  gap: 12px;
  align-items: center;
}
.lp-comment__react span:last-child {
  color: #9ca3af;
}
.lp-comment__like {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(180deg, #e8f0ec 0%, #d4e4dc 100%);
  border-radius: 10px;
  box-shadow:
    0 1px 3px rgba(0, 106, 78, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 106, 78, 0.2);
}
.lp-comment__like img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.lp-comment__like span {
  font-weight: 700;
  color: #1e2a32;
}
/* D. Форма заказа — скрыта до конца просмотра видео */
.lp-form-section {
  padding: 28px 0;
  text-align: center;
  background: #f0ede5;
}

.lp-form-card {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 106, 78, 0.1);
  border: 1px solid rgba(0, 106, 78, 0.15);
  text-align: center;
}
.lp-form__header {
  margin-bottom: 16px;
}
.lp-form__alert {
  font-size: 14px;
  margin-bottom: 6px;
}
.lp-form__stock {
  margin-bottom: 12px;
}
.lp-form__stock .highlight {
  color: #e11d48;
  font-weight: 700;
}
.lp-form__product {
  text-align: center;
  margin-bottom: 14px;
}
.lp-form__product img {
  max-width: 200px;
  height: auto;
  border-radius: 8px;
}
.lp-form__price {
  margin-bottom: 6px;
}
.lp-form__price-tag {
  font-size: 16px;
  font-weight: 700;
  color: #006a4e;
}
.lp-form__price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.lp-form__price-old {
  text-decoration: line-through;
  color: #6b7a86;
  font-size: 18px;
}
.lp-form__price-new {
  color: #e11d48;
  font-weight: 700;
  font-size: 22px;
}
.lp-form__timer {
  margin-bottom: 14px;
}
.lp-form__timer-label {
  font-size: 13px;
  color: #6b7a86;
}
.lp-form__timer-value {
  font-size: 18px;
  font-weight: 700;
  color: #e11d48;
}
.lp-form__fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  margin: 0 auto;
  text-align: left;
}
.lp-form__fields label {
  font-size: 13px;
  font-weight: 500;
}
.lp-form__fields input {
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
}
.lp-form__fields input:focus {
  outline: none;
  border-color: #006a4e;
  box-shadow: 0 0 0 2px rgba(0, 106, 78, 0.2);
}
.lp-form__btn {
  width: 100%;
  padding: 14px;
  background: #006a4e;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.2s;
  box-shadow: 0 4px 12px rgba(0, 106, 78, 0.3);
}
.lp-form__btn:hover {
  background: #00563d;
}
.lp-form__footnote {
  font-size: 11px;
  color: #6b7a86;
  margin-top: 10px;
  margin-bottom: 0;
  text-align: center;
  line-height: 1.4;
}

/* Страница «Спасибо» */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background: #f8f6f1;
}
.success-page__icon {
  width: 80px;
  height: 80px;
  background: #006a4e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.success-page__icon svg {
  width: 40px;
  height: 40px;
  fill: #fff;
}
.success-page__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.success-page__text {
  font-size: 16px;
  color: #6b7a86;
  max-width: 400px;
}
.success-page__pixels {
  margin-top: 48px;
  min-height: 1px;
}

/* Адаптив — 360 / 480 / 768 / 1024 / 1280 */
@media (min-width: 360px) {
  .lp-hero__title {
    font-size: 30px;
  }
  .container {
    padding: 0 18px;
  }
}
@media (min-width: 480px) {
  .lp-hero__title {
    font-size: 34px;
  }
  .lp-as-seen__title {
    font-size: 22px;
  }
  .lp-as-seen__logos img {
    height: 68px;
  }
  .lp-as-seen__logos img:nth-child(2),
  .lp-as-seen__logos img:nth-child(3) {
    height: 76px;
  }
  .container {
    padding: 0 20px;
  }
}
@media (min-width: 768px) {
  .lp-hero__title {
    font-size: 42px;
  }
  .lp-form-card {
    padding: 28px;
  }
  .lp-form__product img {
    max-width: 240px;
  }
}
@media (min-width: 1024px) {
  .lp-hero__title {
    font-size: 46px;
  }
  .lp-as-seen__title {
    font-size: 24px;
  }
  .lp-as-seen__logos img {
    height: 74px;
  }
  .lp-as-seen__logos img:nth-child(2),
  .lp-as-seen__logos img:nth-child(3) {
    height: 84px;
  }
}
@media (min-width: 1280px) {
  .lp-hero__title {
    font-size: 48px;
  }
  .lp-as-seen__logos img {
    height: 80px;
  }
  .lp-as-seen__logos img:nth-child(2),
  .lp-as-seen__logos img:nth-child(3) {
    height: 90px;
  }
  .container {
    max-width: 960px;
    padding: 0 24px;
  }
}
