/* assets/css/style.css */
/* Clean, modern, Google-friendly, IT locale.
   Tip: Подключай Inter/Roboto позже, если нужно. */

:root{
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --muted-2: #64748b;
  --line: #e2e8f0;
  --card: #ffffff;
  --shadow: 0 14px 40px rgba(2, 6, 23, .08);
  --shadow-2: 0 20px 60px rgba(2, 6, 23, .12);

  --primary: #2563eb;
  --primary-2: #1d4ed8;
  --ok: #16a34a;

  --radius: 18px;
  --radius-sm: 14px;
}

*{ box-sizing: border-box; }
html, body{ height:100%; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height: 1.45;
}

a{ color: var(--primary); text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

/* Topbar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .2px;
}
.brand__dot{
  width: 12px; height: 12px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(37,99,235,.12);
}
.brand__name{ font-size: 14px; }

.topbar__nav{
  display:flex;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}
.topbar__nav a{ color: var(--muted); }
.topbar__nav a:hover{ color: var(--text); text-decoration:none; }

@media (max-width: 720px){
  .topbar__nav{ display:none; }
}

/* Hero */
.hero{
  padding: 22px 0 12px;
}
.hero__title{
  font-size: clamp(22px, 4vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.6px;
  margin: 10px 0 14px;
}

/* Sections */
.section__title{
  font-size: 18px;
  margin: 24px 0 12px;
  letter-spacing: -0.2px;
}

/* VSL block */
.vsl{
  display:grid;
  gap: 14px;
}

.vsl__player{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b1220;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226,232,240,.35);
}
.vsl__video{
  width: 100%;
  display:block;
  background: #0b1220;
}

.vsl__play{
  position: absolute;
  inset: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  border:0;
  cursor: pointer;
  background: radial-gradient(circle at center, rgba(255,255,255,.18), rgba(0,0,0,.35));
  color: #fff;
  font-size: 44px;
  transition: transform .15s ease, opacity .15s ease;
}
.vsl__play:hover{ transform: scale(1.02); }
.vsl__play:active{ transform: scale(.99); }
.vsl__play.is-hidden{ opacity:0; pointer-events:none; }

.vsl__hint{
  position:absolute;
  left: 14px;
  bottom: 14px;
  max-width: min(560px, calc(100% - 28px));
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, .72);
  color: rgba(255,255,255,.92);
  font-size: 13px;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}
.vsl__hint.is-hidden{ opacity:0; pointer-events:none; }

.vsl__progress{
  position:absolute;
  left:0; right:0;
  bottom:0;
  height: 6px;
  background: rgba(255,255,255,.16);
}
.vsl__progressFill{
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(37,99,235,.9), rgba(59,130,246,.95));
}

/* Order form section */
.order{
  margin-top: 6px;
}
.order__card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--card);
  overflow:hidden;
}
.order__header{
  padding: 16px 16px 10px;
  border-bottom: 1px solid var(--line);
}
.order__title{
  font-weight: 900;
  letter-spacing: -0.2px;
  font-size: 18px;
}
.order__subtitle{
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}
.order__media{
  padding: 14px 16px 0;
  display:flex;
  justify-content:center;
}
.order__img{
  width: min(260px, 72%);
  height:auto;
  display:block;
  filter: drop-shadow(0 16px 30px rgba(2,6,23,.15));
}
.order__pricing{
  padding: 12px 16px 6px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}
.order__badge{
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: var(--ok);
  padding: 6px 10px;
  border-radius: 999px;
}
.order__prices{
  display:flex;
  align-items: baseline;
  gap: 10px;
}
.order__old{
  color: var(--muted-2);
  text-decoration: line-through;
  font-weight: 700;
}
.order__new{
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.order__form{
  padding: 8px 16px 16px;
  display:grid;
  gap: 10px;
}

.field{
  display:grid;
  gap: 6px;
}
.field__label{
  font-size: 12px;
  color: var(--muted);
}
.field__input{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  outline: none;
  font-size: 15px;
}
.field__input:focus{
  border-color: rgba(37,99,235,.55);
  box-shadow: 0 0 0 6px rgba(37,99,235,.12);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(2,6,23,.08);
}
.btn:active{ transform: translateY(0px); }
.btn--primary{
  border-color: transparent;
  background: var(--primary);
  color: #fff;
}
.btn--primary:hover{ background: var(--primary-2); }

.order__note{
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--muted-2);
}

/* Unlocked highlight */
.order--unlocked .order__card{
  border-color: rgba(22,163,74,.55);
  box-shadow: 0 0 0 6px rgba(22,163,74,.10), var(--shadow);
  animation: pulseGreen 1.2s ease-in-out 2;
}
@keyframes pulseGreen{
  0%{ box-shadow: 0 0 0 0 rgba(22,163,74,.18), var(--shadow); }
  60%{ box-shadow: 0 0 0 10px rgba(22,163,74,.00), var(--shadow); }
  100%{ box-shadow: 0 0 0 0 rgba(22,163,74,.00), var(--shadow); }
}

/* Media logos */
.media{
  padding: 6px 0 0;
}
.media__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.media__item{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(2,6,23,.05);
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 64px;
}
.media__item img{
  max-width: 150px;
  width: 70%;
  height: auto;
  opacity: .9;
}
@media (max-width: 720px){
  .media__grid{ grid-template-columns: 1fr; }
  .media__item img{ width: 52%; }
}

/* Reviews (FB-like) */
.reviews{
  padding: 10px 0 26px;
}
.reviews__list{
  display:grid;
  gap: 12px;
}
.fb-review{
  display:grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 26px rgba(2,6,23,.05);
  padding: 12px;
}
.fb-review__avatar{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(226,232,240,.9);
}
.fb-review__top{
  display:flex;
  align-items:baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.fb-review__name{
  font-weight: 900;
  font-size: 14px;
}
.fb-review__meta{
  color: var(--muted-2);
  font-size: 12px;
}
.fb-review__text{
  margin-top: 6px;
  font-size: 14px;
  color: #0f172a;
  line-height: 1.38;
}
.fb-review__actions{
  margin-top: 10px;
  display:flex;
  gap: 12px;
  border-top: 1px solid rgba(226,232,240,.9);
  padding-top: 10px;
}
.fb-action{
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  color: #2563eb;
  font-weight: 700;
  padding: 6px 0;
}
.fb-action:hover{ text-decoration: underline; }

.fb-review__counts{
  margin-top: 2px;
  display:flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted-2);
  font-size: 12px;
}
.fb-count{
  display:inline-flex;
  align-items:center;
  gap: 6px;
}

/* Disclaimer under reviews */
.disclaimer{
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(226,232,240,.9);
  border-radius: var(--radius);
  background: #f8fafc;
  color: #334155;
  font-size: 12.5px;
  line-height: 1.45;
}

/* Footer */
.footer{
  border-top: 1px solid var(--line);
  background: #0b1220;
  color: rgba(255,255,255,.86);
  padding: 22px 0 16px;
}
.footer a{ color: rgba(255,255,255,.82); }
.footer a:hover{ color: #fff; text-decoration: none; }

.footer__grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}
.footer__brand{
  font-weight: 900;
  letter-spacing: -0.2px;
}
.footer__muted{
  margin-top: 6px;
  color: rgba(255,255,255,.68);
  font-size: 13px;
  line-height: 1.4;
}
.footer__title{
  font-weight: 900;
  margin-bottom: 8px;
}
.footer__col a, .footer__col button.linklike{
  display:block;
  margin: 6px 0;
  font-size: 13px;
}
.linklike{
  border:0;
  background: transparent;
  padding:0;
  color: rgba(255,255,255,.82);
  cursor:pointer;
  text-align:left;
}
.linklike:hover{ color:#fff; }

.footer__bottom{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(226,232,240,.12);
  color: rgba(255,255,255,.62);
  font-size: 12px;
}

@media (max-width: 860px){
  .footer__grid{ grid-template-columns: 1fr; }
}

/* Cookie banner */
.cookie{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9998;
  padding: 14px;
}
.cookie__card{
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  padding: 14px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}
.cookie__text{
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
}
.cookie__actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Minor: make cookie buttons smaller */
.cookie .btn{
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
}

/* Make banner nicer on mobile */
@media (max-width: 720px){
  .cookie__card{
    flex-direction: column;
    align-items: stretch;
  }
  .cookie__actions{
    justify-content: stretch;
  }
  .cookie__actions .btn{
    width: 100%;
  }
}

/* Small utility */
.is-open{ /* marker class for JS */ }