:root {
  --bg: #0f1c2e;
  --bg-soft: #162a44;
  --surface: #ffffff;
  --surface-muted: #f0f4f8;
  --accent: #1db88a;
  --accent-dark: #128566;
  --warn: #f4a261;
  --text: #1a2332;
  --text-muted: #5c6b7f;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(15, 28, 46, 0.12);
  --container: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--surface-muted);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 28, 46, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  position: relative;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand__logo {
  width: 52px;
  height: auto;
  filter: brightness(1.15);
}

.brand__text {
  color: #fff;
  font-size: 14px;
  line-height: 1.3;
  opacity: 0.9;
}

.brand__text strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  padding: 14px 28px;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(29, 184, 138, 0.35);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(29, 184, 138, 0.45);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
  padding: 10px 20px;
  font-size: 14px;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(145deg, var(--bg) 0%, #1a3a5c 55%, #0d3d34 100%);
  color: #fff;
  padding: 48px 0 64px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  background: rgba(244, 162, 97, 0.2);
  color: var(--warn);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero__lead {
  font-size: 18px;
  opacity: 0.88;
  margin-bottom: 28px;
  max-width: 520px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.timeline__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px;
}

.timeline__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline__item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

.hero__aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__visual {
  position: relative;
  text-align: center;
}

.hero__visual img {
  margin: 0 auto;
  max-height: 380px;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
}

/* Order card */
.order-card {
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.order-card__promo {
  text-align: center;
  margin-bottom: 20px;
}

.order-card__promo h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--bg);
}

.order-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.order-card__price .new_price_val {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-dark);
}

.order-card__price .old {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 18px;
}

.timer {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 16px 0;
}

.timer__unit {
  background: var(--bg);
  color: #fff;
  border-radius: 10px;
  min-width: 64px;
  padding: 10px 8px;
  text-align: center;
}

.timer__unit b {
  display: block;
  font-size: 22px;
  line-height: 1;
}

.timer__unit span {
  font-size: 11px;
  text-transform: uppercase;
  opacity: 0.7;
  letter-spacing: 0.05em;
}

.form-field {
  margin-bottom: 14px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

.order-card .btn--primary {
  width: 100%;
  margin-top: 6px;
  font-size: 16px;
  padding: 16px;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section--alt {
  background: var(--surface);
}

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section__head h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 0 0 12px;
  color: var(--bg);
  font-weight: 800;
}

.section__head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 18px;
}

/* Symptom cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid #e8edf3;
  box-shadow: 0 4px 20px rgba(15, 28, 46, 0.04);
}

.card::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 12px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.card p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
}

.risk-banner {
  margin-top: 40px;
  background: linear-gradient(90deg, #2d1f3d 0%, #4a1942 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.risk-banner h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.risk-banner p {
  margin: 0;
  opacity: 0.85;
}

.risk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.risk-tags span {
  background: rgba(255, 255, 255, 0.15);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature {
  background: var(--surface-muted);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  border-top: 4px solid var(--accent);
}

.feature__icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--bg);
}

.feature p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.about-split img {
  border-radius: var(--radius);
}

.about-split ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.about-split li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.about-split li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Ingredients */
.ingredients {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ingredient {
  display: flex;
  gap: 16px;
  background: var(--surface);
  padding: 22px;
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow);
}

.ingredient strong {
  display: block;
  color: var(--bg);
  margin-bottom: 6px;
  font-size: 17px;
}

.ingredient p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
}

/* Benefits grid */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.benefit {
  background: var(--surface);
  padding: 20px;
  border-radius: 12px;
  font-size: 15px;
  border: 1px solid #e8edf3;
}

.benefit strong {
  color: var(--accent-dark);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.step__icon img {
  width: 40px;
  height: auto;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--bg);
}

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* Trust */
.trust {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.trust img {
  max-width: 140px;
}

.trust h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--bg);
}

.trust p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.trust-privacy {
  background: var(--bg-soft);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 24px;
}

.trust-privacy h3 {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 20px;
}

/* CTA block */
.cta-block {
  background: linear-gradient(135deg, var(--bg) 0%, #1a4d42 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 48px;
}

.cta-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.cta-block .order-card {
  margin: 0;
}

.cta-block__note {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 16px;
  text-align: center;
}

/* Contest */
.contest {
  background: #e8f0ec;
  padding: 56px 0;
}

.contest__title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 32px;
  color: var(--bg);
}

.contest__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contest__item {
  background: var(--surface);
  padding: 22px 24px;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}

.contest__item strong {
  display: block;
  color: var(--bg);
  margin-bottom: 8px;
  font-size: 16px;
}

.contest__item p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Footer */
.site-footer {
  background: var(--bg);
  color: rgba(255, 255, 255, 0.75);
  padding: 32px 0;
  text-align: center;
  font-size: 14px;
}

.site-footer a {
  color: var(--accent);
  margin: 0 12px;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer p {
  margin: 0 0 12px;
  line-height: 1.6;
}

/* Thanks page */
.thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background: linear-gradient(145deg, var(--bg) 0%, #0d3d34 100%);
}

.thanks-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 48px 40px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow);
}

.thanks-card h1 {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 32px;
}

.thanks-card__info {
  background: var(--surface-muted);
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
  text-align: left;
}

.thanks-card ul {
  text-align: left;
  padding-left: 20px;
  color: var(--text-muted);
  margin: 0 0 28px;
}

/* Mobile */
@media (max-width: 900px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav.is-open {
    display: flex;
  }

  .burger {
    display: block;
  }

  .hero__grid,
  .about-split,
  .cta-block__grid,
  .features,
  .steps,
  .ingredients,
  .benefits,
  .contest__grid,
  .risk-banner {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits {
    grid-template-columns: 1fr 1fr;
  }

  .trust {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .trust img {
    margin: 0 auto;
  }

  .hero {
    padding-top: 32px;
  }

  .hero__visual {
    order: -1;
  }
}

@media (max-width: 520px) {
  .features,
  .benefits {
    grid-template-columns: 1fr;
  }
}
