/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #0E0F12;
  background: #F5F7FA;
  -webkit-font-smoothing: antialiased;
  max-width: 480px;
  margin: 0 auto;
  overflow-x: hidden;
  padding-bottom: 80px;
}
img, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; }
h2 {
  font-size: 28px;
  font-weight: 800;
  color: #0E0F12;
  margin: 6px 0 18px;
}
h3 { font-size: 17px; font-weight: 800; }
p { color: #4A4F5A; }

/* ===== Tokens ===== */
:root {
  --blue: #1E88FF;
  --blue-dark: #0E6FE0;
  --ink: #0E0F12;
  --muted: #6B7280;
  --line: #E6E9EE;
  --bg: #F5F7FA;
  --card: #FFFFFF;
  --red: #E33C3C;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 14px 40px rgba(30, 136, 255, 0.25);
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
}

/* ===== Top bar ===== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.brand__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(30,136,255,0.18);
}
.brand__name { font-size: 15px; }
.topbar__cta {
  background: var(--blue); color: #fff;
  padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700;
}

/* ===== Sections ===== */
.section { padding: 36px 18px 8px; }
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue); padding: 6px 12px;
  background: rgba(30,136,255,0.10);
  border-radius: 999px; margin-bottom: 14px;
}
.eyebrow--red { color: var(--red); background: rgba(227,60,60,0.10); }
.eyebrow--blue { color: var(--blue); background: rgba(30,136,255,0.10); }
.hl-blue { color: var(--blue); }
.hl-red { color: var(--red); }

/* ===== Hero ===== */
.hero {
  padding: 18px 18px 28px;
  background: linear-gradient(180deg, #FFFFFF 0%, #EAF3FF 100%);
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 12px;
  font-size: 12px; font-weight: 600; color: #2A2F3A;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--green { background: #25C168; box-shadow: 0 0 0 3px rgba(37,193,104,0.18); }

.hero__title {
  font-size: 34px; font-weight: 800; color: var(--ink);
}
.hero__title--big {
  display: block;
  font-size: 56px; font-weight: 900; letter-spacing: -0.04em; line-height: 0.95;
  margin-top: 2px;
}
.hero__sub { font-size: 15px; color: #4A4F5A; margin: 12px 0 18px; }

.hero__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}
.hero__media img { width: 100%; display: block; }
.hero__pill {
  position: absolute;
  background: #fff; border-radius: 16px;
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; align-items: flex-start;
  font-weight: 800; line-height: 1.1;
}
.hero__pill strong { font-size: 22px; color: var(--ink); }
.hero__pill small { font-size: 11px; color: var(--muted); font-weight: 600; }
.hero__pill--top { top: 16px; left: 14px; }
.hero__pill--bot { bottom: 16px; left: 14px; }

/* Price row */
.price-row {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 16px;
}
.price-row__old {
  font-size: 18px; color: var(--muted);
  text-decoration: line-through; font-weight: 600;
}
.price-row__new {
  font-size: 36px; font-weight: 900; color: var(--ink);
  letter-spacing: -0.03em;
}
.price-row__save {
  background: var(--red); color: #fff;
  padding: 4px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 800;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-weight: 800; letter-spacing: -0.01em;
  border-radius: 999px;
  transition: transform .12s ease, box-shadow .2s ease;
  text-align: center;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--blue); color: #fff;
  box-shadow: var(--shadow-lg);
}
.btn--primary:hover { background: var(--blue-dark); }
.btn--xl {
  width: 100%;
  padding: 18px 22px;
  font-size: 17px;
}
.hero__note {
  text-align: center;
  margin-top: 10px;
  font-size: 12px; color: var(--muted); font-weight: 600;
}

/* ===== Pain ===== */
.section--pain { background: #fff; border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: 20px; padding-top: 32px; }
.cards { display: grid; gap: 12px; margin-top: 8px; }
.card-pain {
  display: flex; gap: 14px;
  background: #FFF7F7;
  border: 1px solid #FFE0E0;
  border-radius: var(--r-md);
  padding: 16px;
}
.card-pain__icon { font-size: 22px; flex: 0 0 auto; }
.card-pain h3 { margin-bottom: 4px; }
.card-pain p { font-size: 14px; color: #5A5F6A; }

.quote {
  background: var(--ink); color: #fff;
  padding: 18px 20px; border-radius: var(--r-md);
  margin-top: 18px;
  font-size: 15px; font-style: italic; font-weight: 500;
  line-height: 1.45;
  position: relative;
}
.quote::before {
  content: '“';
  position: absolute; top: -10px; left: 14px;
  font-size: 60px; color: var(--blue); font-family: Georgia, serif; line-height: 1;
}

/* ===== Solution ===== */
.section--solution { background: #fff; padding-top: 32px; }
.how { display: grid; gap: 14px; margin-top: 8px; }
.how__step {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.how__num {
  flex: 0 0 36px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: grid; place-items: center;
  font-weight: 900; font-size: 16px;
}
.how__step h3 { margin-bottom: 4px; }
.how__step p { font-size: 14px; color: #5A5F6A; }
.how__media {
  margin-top: 18px;
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ===== Benefits grid ===== */
.section--benefits { background: #fff; padding-top: 32px; }
.bgrid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-top: 8px;
}
.b-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.b-card__ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(30,136,255,0.10);
  display: grid; place-items: center;
  font-size: 20px;
  margin-bottom: 10px;
}
.b-card h3 { font-size: 15px; margin-bottom: 4px; }
.b-card p { font-size: 12.5px; color: #5A5F6A; line-height: 1.4; }
.bench-img {
  margin-top: 18px;
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ===== Family ===== */
.section--family { background: #fff; padding-top: 32px; }
.fam { display: grid; gap: 12px; margin-top: 8px; }
.fam__card {
  background: #F8FAFD;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px;
}
.fam__card--blue {
  background: linear-gradient(135deg, var(--blue) 0%, #5BAEFF 100%);
  border-color: transparent;
  color: #fff;
}
.fam__card--blue h3,
.fam__card--blue li { color: #fff; }
.fam__card h3 { font-size: 18px; margin-bottom: 10px; }
.fam__card ul { display: grid; gap: 8px; }
.fam__card li {
  font-size: 14px;
  padding-left: 22px;
  position: relative;
  color: #2A2F3A;
}
.fam__card li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--blue);
  font-weight: 900;
}
.fam__card--blue li::before { color: #fff; }
.fam__strip {
  margin-top: 14px;
  background: var(--ink); color: #fff;
  padding: 14px 16px; border-radius: var(--r-md);
  text-align: center;
  font-size: 14px; font-weight: 600;
}
.fam__strip strong { color: #fff; font-size: 16px; }

/* ===== Specs ===== */
.section--specs { background: #fff; padding-top: 32px; }
.specs {
  background: #F8FAFD;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.specs__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  gap: 12px;
}
.specs__row:last-child { border-bottom: 0; }
.specs__row span { color: var(--muted); }
.specs__row b { color: var(--ink); font-weight: 700; text-align: right; }

/* ===== Reviews ===== */
.section--reviews { background: #fff; padding-top: 32px; }
.reviews { display: grid; gap: 12px; }
.rev {
  background: #F8FAFD;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px;
}
.rev__head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 10px;
}
.rev__ava {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
}
.rev__name { font-weight: 700; font-size: 14px; }
.rev__stars { color: #FFB800; font-size: 13px; letter-spacing: 1px; }
.rev p { font-size: 14px; color: #2A2F3A; line-height: 1.5; }

/* ===== Order / form ===== */
.section--order {
  background: linear-gradient(180deg, #fff 0%, #EAF3FF 100%);
  padding-top: 32px;
  scroll-margin-top: 60px;
}
.offer {
  background: var(--ink); color: #fff;
  border-radius: var(--r-lg);
  padding: 18px;
  display: flex; gap: 14px; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.offer__price { display: flex; flex-direction: column; gap: 2px; }
.offer__old { font-size: 14px; color: #B7BCC7; text-decoration: line-through; }
.offer__new { font-size: 32px; font-weight: 900; }
.offer__timer-label { font-size: 11px; color: #B7BCC7; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.offer__timer-clock { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--blue); }

.form { display: grid; gap: 14px; }
.field { display: block; position: relative; }
.field__label {
  display: block;
  font-size: 13px; font-weight: 600; color: #2A2F3A;
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: #9AA0AB; }
.field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(30,136,255,0.12);
}
.field input:disabled { background: #F1F3F7; color: #9AA0AB; }

.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  max-height: 240px; overflow-y: auto;
  z-index: 10;
  list-style: none;
  margin: 0;
  padding: 0;
}
.suggest[hidden] { display: none !important; }
.suggest li {
  padding: 12px 14px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.suggest li:last-child { border-bottom: 0; }
.suggest li:hover, .suggest li.active { background: #EAF3FF; }
.suggest li.empty { color: var(--muted); cursor: default; }

.field--toggle .field__label { margin-bottom: 8px; }
.toggle {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #F1F3F7;
  border: 0;
  border-radius: 14px;
  padding: 4px;
  height: 52px;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.toggle__thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform .28s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}
.toggle[data-state="ukr"] .toggle__thumb {
  transform: translateX(100%);
}
.toggle__opt {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #8A8F9A;
  transition: color .25s;
  user-select: none;
  pointer-events: none;
}
.toggle[data-state="np"] .toggle__opt[data-method="np"],
.toggle[data-state="ukr"] .toggle__opt[data-method="ukr"] {
  color: var(--ink);
}
.toggle:active .toggle__thumb { transform: scale(0.98); }
.toggle[data-state="ukr"]:active .toggle__thumb { transform: translateX(100%) scale(0.98); }

.field--qty .field__label { margin-bottom: 8px; }
.qty {
  display: inline-flex; align-items: center; gap: 0;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.qty__btn {
  width: 48px; height: 48px;
  font-size: 22px; font-weight: 800; color: var(--ink);
  background: #fff;
}
.qty__btn:active { background: #EAF3FF; }
.qty input {
  width: 56px; height: 48px;
  border: 0; border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line);
  text-align: center; font-size: 16px; font-weight: 700;
  background: #fff;
  border-radius: 0;
}

.total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
}
.total span { color: var(--muted); font-size: 14px; }
.total strong { font-size: 24px; font-weight: 900; color: var(--blue); }

.form__note {
  font-size: 12px; color: var(--muted);
  text-align: center; line-height: 1.45;
}

.form__success {
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.form__success-ico {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #25C168; color: #fff;
  font-size: 32px; font-weight: 900;
  display: grid; place-items: center;
  margin: 0 auto 14px;
}
.form__success h3 { margin-bottom: 6px; font-size: 20px; }
.form__success p { color: var(--muted); font-size: 14px; }

/* ===== FAQ ===== */
.section--faq { background: #fff; padding-top: 32px; }
.faq { display: grid; gap: 8px; }
.faq details {
  background: #F8FAFD;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  transition: background .2s;
}
.faq details[open] { background: #fff; box-shadow: var(--shadow-sm); }
.faq summary {
  font-weight: 700; font-size: 15px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute; right: 0; top: -2px;
  font-size: 22px; font-weight: 700; color: var(--blue);
  transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; }
.faq p {
  margin-top: 10px; font-size: 14px; color: #5A5F6A; line-height: 1.5;
}

/* ===== Final CTA ===== */
.section--cta {
  background: linear-gradient(135deg, var(--blue) 0%, #5BAEFF 100%);
  color: #fff;
  text-align: center;
  padding: 36px 22px 40px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  margin-top: 24px;
}
.section--cta h2 { color: #fff; font-size: 26px; margin-bottom: 12px; }
.section--cta p { color: #fff; font-size: 18px; margin-bottom: 18px; }
.section--cta p s { opacity: 0.7; font-size: 16px; margin-right: 6px; }
.section--cta p strong { font-size: 24px; }
.section--cta .btn--primary {
  background: #fff; color: var(--blue);
  box-shadow: 0 14px 40px rgba(0,0,0,0.18);
}
.section--cta .btn--primary:hover { background: #f3f3f3; }

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 26px 18px;
  color: var(--muted);
  font-size: 12px;
  background: #fff;
}
.footer p + p { margin-top: 8px; }
.footer__small { font-size: 11px; }

/* ===== Floating CTA ===== */
.floatcta {
  position: fixed; left: 12px; right: 12px; bottom: 12px;
  max-width: 456px; margin: 0 auto;
  background: var(--blue); color: #fff;
  padding: 14px 18px; border-radius: 999px;
  font-weight: 800; font-size: 15px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 40;
  display: block;
  transition: transform .2s, opacity .2s;
}
.floatcta strong { font-weight: 900; }
.floatcta.hide { transform: translateY(120%); opacity: 0; pointer-events: none; }

/* ===== Tiny screens ===== */
@media (max-width: 360px) {
  .hero__title { font-size: 30px; }
  .hero__title--big { font-size: 48px; }
  h2 { font-size: 24px; }
  .price-row__new { font-size: 32px; }
  .bgrid { grid-template-columns: 1fr; }
}
