:root {
  --accent: #6d28d9; /* основной акцент, напр. #2E7CF6 */
  --accent2: #a855f7; /* второй цвет градиента, напр. #16C6E6 */
  --cta: #ff8a00; /* цвет кнопки-действия (контрастный!), напр. #FF5A1F */
  --cta-dark: #e67300; /* тёмный оттенок кнопки для hover */
  --ink: #141b2e;
  --muted: #5c6479;
  --bg: #ffffff;
  --soft: #f4f7fb;
  --line: #e6ebf2;
  --ok: #1f9d55;
  --star: #ffb020;
  --radius: 18px;
  --shadow: 0 12px 34px rgba(20, 27, 46, 0.1);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}
h1 {
  font-size: 2.05rem;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 1.55rem;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
h2 + .lead {
  color: var(--muted);
  margin-bottom: 26px;
  font-size: 1.08rem;
}
@media (min-width: 820px) {
  h1 {
    font-size: 3.2rem;
  }
  h2 {
    font-size: 2.3rem;
  }
}
section {
  padding: 58px 0;
}
.soft {
  background: var(--soft);
}
.center {
  text-align: center;
}
.accent {
  color: var(--accent);
}
.price {
  font-size: 2.6rem;
  font-weight: 900;
}
.old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 1.35rem;
  font-weight: 700;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 800;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.86rem;
  backdrop-filter: blur(4px);
}
.stars {
  color: var(--star);
  letter-spacing: 2px;
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--cta);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  border: none;
  border-radius: 14px;
  padding: 18px 32px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: 0.15s;
  box-shadow: 0 10px 26px rgba(255, 90, 31, 0.35);
  animation: pulse 2.6s infinite;
}
.btn:hover {
  background: var(--cta-dark);
  transform: translateY(-2px);
}
.btn.block {
  width: 100%;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 10px 26px rgba(255, 90, 31, 0.35);
  }
  50% {
    box-shadow: 0 10px 34px rgba(255, 90, 31, 0.55);
  }
}

/* Header (not sticky — bottom mbar is enough) */
header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.hrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.logo {
  font-weight: 900;
  font-size: 1.15rem;
}
.hphone {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hphone a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}
.hbtn {
  background: var(--cta);
  color: #fff;
  padding: 10px 18px;
  border-radius: 11px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
}
@media (max-width: 640px) {
  .hphone a.tel {
    display: none;
  }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
.hero-grid {
  display: grid;
  gap: 30px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}
.hero h1 {
  color: #fff;
  margin: 16px 0;
}
.hero .sub {
  font-size: 1.18rem;
  opacity: 0.95;
  margin-bottom: 22px;
  max-width: 520px;
}
.hero .rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-weight: 700;
}
.pricebar {
  display: flex;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 22px;
}
.pricebar .price {
  color: #fff;
}
.pricebar .old {
  color: rgba(255, 255, 255, 0.72);
}
.hchips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.hchips div {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 0.9rem;
  font-weight: 600;
}
.hero-photo {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

/* Mobile sticky CTA */
.mbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
  overflow: visible;
}
.mbar-prices {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
  min-width: 0;
  flex-shrink: 0;
}
.mbar b {
  font-size: 1.15rem;
  white-space: nowrap;
  line-height: 1.25;
}
.mbar .old {
  font-size: 0.9rem;
  white-space: nowrap;
  line-height: 1.25;
}
.mbar a {
  flex: 0 0 auto;
}
@media (max-width: 820px) {
  .mbar {
    display: flex;
  }
  body {
    padding-bottom: 96px;
  }
}

/* Steps "как работает" */
.steps {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.step .n {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.step b {
  display: block;
  font-size: 1.12rem;
  margin-bottom: 4px;
}
.step span {
  color: var(--muted);
}

/* Feature highlight N-в-1 */
.feat {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .feat {
    grid-template-columns: repeat(3, 1fr);
  }
}
.fcard {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  text-align: center;
}
.fcard .ic {
  font-size: 2.6rem;
  margin-bottom: 10px;
}
.fcard b {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.fcard span {
  color: var(--muted);
}

/* Benefits */
.benefits {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 680px) {
  .benefits {
    grid-template-columns: 1fr 1fr;
  }
}
.brow {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
.brow .ic {
  font-size: 1.7rem;
  flex: 0 0 auto;
}
.brow b {
  display: block;
  margin-bottom: 2px;
}
.brow span {
  color: var(--muted);
  font-size: 0.97rem;
}

/* Gallery */
.gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}
.gcell {
  background: var(--soft);
  border: 2px dashed var(--line);
  border-radius: 14px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
  font-size: 0.85rem;
}
.gcell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

/* Specs */
.specs {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.specs div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.specs div:last-child {
  border-bottom: none;
}
.specs span:first-child {
  color: var(--muted);
  flex: 0 1 auto;
  min-width: 0;
}
.specs span:last-child {
  font-weight: 700;
  text-align: right;
  flex: 1 1 auto;
  min-width: 0;
}
@media (max-width: 420px) {
  .specs div {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .specs span:last-child {
    text-align: left;
  }
}

/* Reviews */
.reviews {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .reviews {
    grid-template-columns: repeat(3, 1fr);
  }
}
.rev {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.rev .top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.ava {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.rev .who b {
  display: block;
}
.rev .who small {
  color: var(--muted);
}
.rphoto {
  margin-top: 12px;
  background: var(--soft);
  border: 2px dashed var(--line);
  border-radius: 10px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Offer + form */
.offerbox {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 30px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  border-top: 6px solid var(--cta);
}
.disc {
  display: inline-block;
  background: var(--cta);
  color: #fff;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
}
.timer {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 18px 0;
}
.timer div {
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 64px;
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1;
}
.timer small {
  display: block;
  font-weight: 500;
  font-size: 0.62rem;
  color: #a9b0c2;
  margin-top: 4px;
}
form {
  max-width: 440px;
  margin: 20px auto 0;
  text-align: left;
}
.field {
  margin-bottom: 12px;
}
.field input {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  outline: none;
  transition: 0.15s;
}
.field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46, 124, 246, 0.12);
}
.err {
  color: var(--cta);
  font-size: 0.85rem;
  margin-top: 4px;
  display: none;
}
.consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 0.84rem;
  color: var(--muted);
  margin: 12px 0 16px;
}
.consent a {
  color: var(--accent);
}
.guarantees {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--muted);
  display: grid;
  gap: 6px;
  text-align: left;
}
.guarantees div::before {
  content: "✓ ";
  color: var(--ok);
  font-weight: 900;
}
.success {
  display: none;
  text-align: center;
  background: #f0faf3;
  border: 1.5px solid var(--ok);
  border-radius: 16px;
  padding: 28px;
}
.success .ic {
  font-size: 2.8rem;
}

/* FAQ */
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 10px;
}
.faq summary {
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 26px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: -2px;
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 400;
}
.faq details[open] summary::after {
  content: "–";
}
.faq p {
  margin-top: 10px;
  color: var(--muted);
}

footer {
  background: var(--ink);
  color: #aab2c5;
  font-size: 0.86rem;
  padding: 36px 0;
}
footer a {
  color: #cdd4e2;
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
