:root {
  --bg: #003049;
  --panel: #f3f2f3;
  --panel-soft: #ffffff;
  --text: #000000;
  --muted: rgba(0, 0, 0, 0.62);
  --blue: #003049;
  --blue-soft: #c8dff4;
  --red: #e31b34;
  --cherry: #8b0028;
  --gold: #caa65a;
  --green: #6f8a77;
  --line: rgba(34, 28, 28, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

button,
a {
  font: inherit;
}

.app {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-x: hidden;
}

.phone {
  width: min(100%, 440px);
  max-width: calc(100vw - 40px);
  min-height: min(780px, calc(100vh - 40px));
  background: var(--panel);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.screen {
  min-height: min(780px, calc(100vh - 40px));
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.hero-photo {
  height: 248px;
  margin: -26px -26px 22px;
  background: url("./assets/svetlana-main-transparent.png") center top / auto 104% no-repeat;
  background-color: var(--panel);
  position: relative;
}

.hero-photo::before {
  display: none;
}

.hero-photo::after {
  display: none;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 18px;
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}

.lead strong {
  color: var(--text);
}

.result-lead {
  margin-bottom: 35px;
  font-size: 15px;
  line-height: 1.55;
}

.start-pain {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.56;
  font-weight: 400;
}

.start-promise {
  position: relative;
  margin-bottom: 12px;
  padding-left: 15px;
  color: #343030;
  font-size: 16px;
  line-height: 1.56;
}

.start-promise::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 3px;
  height: calc(100% - 14px);
  border-radius: 99px;
  background: var(--cherry);
}

.start-note {
  margin: 8px 0 26px;
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.start-note-time {
  display: block;
  color: var(--cherry);
  font-weight: 500;
}

.start-note-detail {
  display: block;
  color: var(--text);
  font-weight: 400;
}

.meta {
  display: grid;
  gap: 10px;
  margin: 6px 0 28px;
}

.meta-item {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(36, 63, 99, 0.08);
  color: var(--blue);
  font-size: 14px;
  line-height: 1.45;
}

.btn {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 18px;
  background: var(--cherry);
  color: white;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, opacity 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 18px;
  position: relative;
  overflow: hidden;
}

.start-screen .btn:not(.secondary) {
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.start-screen .btn:not(.secondary)::before {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -45%;
  width: 28%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: rotate(12deg);
  animation: button-shine 3.4s ease-in-out infinite;
}

.quiz-screen .btn:not(.secondary)::before {
  display: none;
}

.quiz-screen .btn {
  min-height: 50px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

@keyframes button-shine {
  0%,
  42% {
    left: -45%;
  }

  68%,
  100% {
    left: 118%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn:not(.secondary)::before {
    animation: none;
  }
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  cursor: default;
  opacity: 0.42;
  transform: none;
}

.btn.secondary {
  margin-top: 12px;
  background: transparent;
  color: var(--blue);
  border: 1px solid rgba(36, 63, 99, 0.25);
}

.final-offer .btn.secondary {
  min-height: 48px;
  font-size: 14px;
  border-color: rgba(36, 63, 99, 0.2);
}

.final-offer .telegram-btn {
  background: var(--blue);
  color: #fff;
  border-color: transparent;
}

.progress {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: 4px;
  margin-bottom: 18px;
}

.seg {
  height: 4px;
  border-radius: 99px;
  background: rgba(36, 63, 99, 0.16);
}

.seg.done,
.seg.now {
  background: var(--blue);
}

.counter {
  color: var(--red);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.question {
  font-size: 17px;
  line-height: 1.48;
  font-weight: 500;
  margin-bottom: 18px;
}

.options {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.option {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  line-height: 1.25;
}

.option.selected {
  border-color: rgba(36, 63, 99, 0.65);
  background: var(--blue-soft);
}

.option-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(36, 63, 99, 0.1);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.option.selected .option-num {
  background: var(--blue);
  color: #fff;
}

.nav {
  margin-top: auto;
}

.quiz-screen .nav {
  margin-top: 4px;
}

.map {
  display: grid;
  gap: 18px;
  margin: 0 0 35px;
}

.bar-row {
  display: grid;
  gap: 6px;
}

.bar-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 400;
}

.bar-top strong {
  font-weight: 700;
}

.bar-top > span:last-child {
  font-weight: 700;
}

.bar-shell {
  height: 8px;
  background: rgba(36, 63, 99, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.bar-note {
  margin: -1px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.32;
}

.adult-summary {
  margin: 0 0 35px;
  font-size: 15px;
  line-height: 1.55;
}

.adult-summary strong {
  font-weight: 700;
}

.adult-summary span {
  color: var(--text);
  font-weight: 400;
}

.map-screen .btn {
  background: var(--blue);
}

.map-screen .nav {
  margin-top: 0;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.result-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid var(--line);
}

.result-title {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.result-card h3 {
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.12;
}

.scenario-heading {
  font-size: 23px;
  line-height: 1.12;
  font-weight: 700;
  margin-top: 10px;
}

.scenario-heading span {
  display: block;
  white-space: nowrap;
}

.scenario-heading-mamka {
  font-size: 21px;
}

.result-card p {
  color: var(--muted);
  line-height: 1.62;
}

.scenario-detail {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.scenario-detail h3 {
  margin: 10px 0 0;
  color: var(--cherry);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scenario-detail p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.48;
}

.step {
  margin-top: 14px;
  padding: 14px;
  border-left: 4px solid var(--red);
  background: rgba(184, 70, 68, 0.08);
  border-radius: 12px;
  color: var(--text);
  line-height: 1.55;
}

.offer {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.final-offer {
  display: grid;
  gap: 15px;
}

.final-offer h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
}

.offer-text,
.channel-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.final-offer .btn:not(.secondary) {
  background: var(--cherry);
  font-weight: 400;
}

.product-card {
  position: relative;
  min-height: 162px;
  padding: 16px 112px 16px 17px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(36, 63, 99, 0.14);
  background:
    linear-gradient(135deg, rgba(200, 223, 244, 0.64), rgba(255, 255, 255, 0.48)),
    #f3f3f1;
  box-shadow: 0 12px 28px rgba(0, 24, 50, 0.09);
}

.product-card::before {
  content: "";
  position: absolute;
  right: 38px;
  bottom: 14px;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background: rgba(36, 63, 99, 0.1);
}

.product-copy {
  position: relative;
  z-index: 2;
}

.product-kicker {
  color: var(--cherry);
  width: 252px;
  font-size: 11.5px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-title {
  width: 252px;
  margin-top: 8px;
  color: var(--blue);
  font-size: 16.2px;
  line-height: 1.12;
  font-weight: 700;
  text-transform: uppercase;
}

.product-title span {
  display: block;
  white-space: nowrap;
}

.product-title-line-1 {
  letter-spacing: 0;
}

.product-title-line-2 {
  letter-spacing: 0;
}

.product-list {
  display: grid;
  gap: 6px;
  margin-top: 13px;
}

.product-list span {
  position: relative;
  padding-left: 16px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.25;
}

.product-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--cherry);
}

.product-card img {
  position: absolute;
  z-index: 1;
  right: -8px;
  bottom: -16px;
  width: 150px;
  max-width: none;
}

.product-preview {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  border: 1px solid rgba(36, 63, 99, 0.14);
  box-shadow: 0 14px 34px rgba(0, 24, 50, 0.12);
}

.reviews {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}

.reviews-heading {
  margin-top: 10px;
  color: var(--cherry);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
}

.reviews img {
  width: 100%;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 420px) {
  .app {
    padding: 0;
  }

  .phone,
  .screen {
    min-height: 100vh;
    border-radius: 0;
  }

  .phone {
    width: 100vw;
    max-width: 100vw;
  }

  .screen {
    padding: 22px;
  }

  .hero-photo {
    height: 210px;
    margin: -22px -22px 20px;
  }

  h1 {
    font-size: 27px;
    line-height: 1.1;
  }

  .lead,
  .start-pain,
  .start-promise,
  .start-note {
    font-size: 15px;
    line-height: 1.5;
  }
}

@media (max-width: 360px) {
  .screen {
    padding: 18px;
  }

  .hero-photo {
    height: 190px;
    margin: -18px -18px 18px;
  }

  h1 {
    font-size: 24px;
  }

  .btn {
    min-height: 50px;
    padding: 13px 14px;
    font-size: 14px;
  }
}
