:root {
  --ink: #24142d;
  --muted: #725f7b;
  --lavender-50: #fffaff;
  --lavender-100: #f8effb;
  --lavender-200: #eddcf5;
  --lavender-300: #d7b6e8;
  --mauve: #9c62bd;
  --violet: #7b2fa0;
  --violet-dark: #57206f;
  --cream: #fff9f4;
  --line: #eadff0;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(84, 32, 112, 0.14);
  --soft-shadow: 0 14px 40px rgba(84, 32, 112, 0.1);
  --radius: 8px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--lavender-50);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.section {
  padding: 92px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 7vw, 3.8rem);
  max-width: 880px;
}

h2 {
  margin-bottom: 13px;
  font-size: clamp(2rem, 4vw, 2.85rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
}

p {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  padding: 12px clamp(16px, 4vw, 40px);
  border-bottom: 1px solid rgba(234, 223, 240, 0.9);
  background: rgba(255, 250, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--violet-dark);
  font-size: 1.4rem;
  font-weight: 900;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: #5c4866;
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a {
  padding: 8px 0;
}

.main-nav a:hover {
  color: var(--violet);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--violet);
}

.primary-btn,
.order-btn,
.buy-btn,
.offer-btn,
.cta-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-btn,
.order-btn,
.buy-btn,
.offer-btn,
.cta-btn {
  color: var(--white);
  background: linear-gradient(135deg, var(--violet), var(--mauve));
  box-shadow: 0 12px 28px rgba(123, 47, 160, 0.28);
}

.secondary-btn {
  color: var(--violet-dark);
  background: var(--white);
  border: 1px solid var(--line);
}

.primary-btn:hover,
.order-btn:hover,
.buy-btn:hover,
.offer-btn:hover,
.cta-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(123, 47, 160, 0.22);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 92px;
  background:
    radial-gradient(circle at 82% 14%, rgba(215, 182, 232, 0.6), transparent 34%),
    linear-gradient(135deg, #fffaff 0%, #f8effb 52%, #fff5ef 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 48px;
}

.hero-subtitle {
  max-width: 720px;
  font-size: clamp(1.04rem, 2vw, 1.25rem);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.hero-badges span,
.trust-icons span,
.offer-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(156, 98, 189, 0.18);
  border-radius: 999px;
  color: #5f3f6f;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 750;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.reassurance {
  margin-bottom: 0;
  color: #6d5478;
  font-size: 0.96rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-visual::before {
  position: absolute;
  inset: 8% 2% 0;
  z-index: -1;
  content: "";
  border-radius: 50%;
  background: rgba(215, 182, 232, 0.45);
  filter: blur(18px);
}

.hero-visual img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.floating-card {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: min(250px, 70%);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(12px);
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 52px;
}

.rich-text p {
  font-size: 1.05rem;
}

.soft-band {
  background: linear-gradient(180deg, #fffaff, #f3e6f8);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading p:last-child {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.benefit-cards,
.stats-grid,
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.benefit-card,
.stats-grid article,
.offer-card,
.ingredient-panel,
.legal-modal,
.popup-card,
.usage-tip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--soft-shadow);
}

.benefit-card {
  padding: 28px;
}

.icon-pill {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--violet);
  font-weight: 900;
}

.feature-grid-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 44px;
}

.sticky-copy {
  align-self: start;
}

.sticky-copy img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
}

.feature-list div {
  min-height: 96px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: #3e264b;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(84, 32, 112, 0.07);
}

.small-note {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--mauve);
  border-radius: var(--radius);
  background: var(--lavender-100);
  font-size: 0.95rem;
}

.formula-section {
  background: linear-gradient(180deg, #fffaff, #fff9f4);
}

.formula-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}

.formula-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.formula-copy {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.mini-cards {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.mini-cards div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--lavender-50);
}

.mini-cards strong,
.mini-cards span {
  display: block;
}

.mini-cards span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.ingredient-panel {
  padding: 28px;
}

.ingredient-panel ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.accent-panel {
  background: linear-gradient(160deg, #ffffff, #f4e6f9);
}

.nutrient-table {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nutrient-table span,
.nutrient-table strong {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.nutrient-table span:nth-last-child(-n + 2),
.nutrient-table strong:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.nutrient-table span {
  color: #5c4866;
}

.stats-section {
  background:
    linear-gradient(rgba(87, 32, 111, 0.82), rgba(87, 32, 111, 0.82)),
    url("assets/lab-formula.webp") center / cover;
}

.stats-section .eyebrow,
.stats-section h2,
.stats-section .section-heading p {
  color: var(--white);
}

.stats-grid article {
  padding: 30px;
  background: rgba(255, 255, 255, 0.94);
}

.stats-grid strong {
  display: block;
  margin-bottom: 18px;
  color: var(--violet);
  font-size: 3rem;
  line-height: 1;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.routine-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 48px;
  align-items: center;
}

.routine-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  gap: 16px;
}

.steps article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.steps span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--violet);
  font-weight: 900;
}

.steps h3,
.steps p {
  margin-bottom: 0;
}

.usage-tip {
  margin-top: 18px;
  padding: 18px;
  background: var(--lavender-100);
}

.usage-tip p {
  margin-bottom: 0;
}

.guarantee-section {
  padding-top: 0;
}

.guarantee-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 36px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff, #f5e8fb);
  box-shadow: var(--shadow);
}

.trust-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  max-width: 360px;
}

.offers-section {
  background: linear-gradient(180deg, #f7edf9, #fffaff);
}

.offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.featured-offer {
  border-color: rgba(123, 47, 160, 0.45);
  background: linear-gradient(180deg, #ffffff, #f4e4fb);
  transform: translateY(-12px);
}

.popular-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--violet);
  font-size: 0.76rem;
  font-weight: 900;
}

.pack-visual {
  display: grid;
  height: 190px;
  margin-bottom: 18px;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f8effb, #fff7f0);
}

.pack-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.triple-pack img {
  transform: scale(1.06);
}

.supply,
.saving,
.total {
  margin-bottom: 10px;
}

.supply {
  color: var(--violet);
  font-weight: 800;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 8px 0;
}

.price-row strong {
  color: var(--violet-dark);
  font-size: 2.3rem;
  line-height: 1;
}

.price-row span {
  color: #95829e;
  font-size: 1.1rem;
  text-decoration: line-through;
}

.saving {
  color: #4d315c;
  font-weight: 850;
}

.total {
  color: var(--ink);
  font-weight: 900;
}

.offer-card ul {
  display: grid;
  gap: 8px;
  margin: 8px 0 20px;
  padding-left: 20px;
  color: var(--muted);
}

.offer-card .buy-btn,
.offer-card .offer-btn,
.offer-card .primary-btn {
  width: 100%;
  margin-top: auto;
}

.offer-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.offer-trust span {
  justify-content: center;
  width: 100%;
  font-size: 0.84rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 46px;
}

.faq-intro {
  font-size: 1.05rem;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(84, 32, 112, 0.06);
}

summary {
  position: relative;
  padding: 18px 52px 18px 18px;
  color: var(--ink);
  font-weight: 850;
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  content: "+";
  color: var(--violet);
  font-size: 1.4rem;
  transform: translateY(-50%);
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 0;
  padding: 0 18px 18px;
}

.final-cta {
  background: linear-gradient(135deg, #8b3fb0, #d7b6e8);
}

.final-cta-inner {
  max-width: 760px;
  text-align: center;
}

.final-cta h2,
.final-cta p {
  color: var(--white);
}

.final-cta .cta-btn {
  background: var(--white);
  color: var(--violet-dark);
}

.site-footer {
  padding: 42px 0;
  background: #201126;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: start;
}

.footer-brand {
  color: var(--white);
}

.site-footer p {
  max-width: 720px;
  margin: 14px 0 0;
  color: #d5c4dd;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  max-width: 520px;
}

.footer-links button {
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: #efe4f4;
  background: rgba(255, 255, 255, 0.06);
}

.footer-links button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.exit-popup,
.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.exit-popup.is-visible,
.modal-layer.is-visible {
  display: flex;
}

.popup-backdrop,
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(32, 17, 38, 0.68);
  backdrop-filter: blur(8px);
}

.popup-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  width: min(100%, 720px);
  padding: 24px;
  background: #fffaff;
}

.popup-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius);
}

.popup-card h2 {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
}

.close-popup,
.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: var(--violet);
  background: var(--white);
  box-shadow: var(--soft-shadow);
  font-size: 1.5rem;
  line-height: 1;
}

.legal-modal {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: min(82vh, 760px);
  overflow: auto;
  padding: 34px;
  background: var(--white);
}

.legal-modal h2 {
  padding-right: 40px;
  font-size: clamp(1.6rem, 4vw, 2.35rem);
}

.legal-modal ul {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--lavender-50);
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .header-cta {
    display: flex;
    grid-column: 1 / -1;
  }

  .site-header.is-open .main-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-top: 10px;
  }

  .site-header.is-open .header-cta {
    width: 100%;
  }

  .hero-grid,
  .split-layout,
  .feature-grid-layout,
  .formula-showcase,
  .routine-grid,
  .guarantee-box,
  .faq-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .trust-icons,
  .footer-links {
    justify-content: flex-start;
  }

  .benefit-cards,
  .stats-grid,
  .offers-grid,
  .ingredients-duo {
    grid-template-columns: 1fr;
  }

  .featured-offer {
    transform: none;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, var(--max-width));
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding: 30px 0 36px;
  }

  .hero-grid {
    position: relative;
    display: block;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    padding-bottom: 42px;
  }

  .hero-visual {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: min(42vw, 160px);
  }

  .hero-visual::before,
  .floating-card {
    display: none;
  }

  .hero-visual img {
    border-radius: var(--radius);
    opacity: 0.96;
  }

  h1 {
    font-size: 1.95rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-badges {
    gap: 8px;
    margin: 18px 0;
  }

  .hero-badges span {
    flex: 1 1 calc(50% - 8px);
    min-height: 0;
    padding: 8px;
    font-size: 0.78rem;
  }

  .hero-actions,
  .primary-btn,
  .order-btn,
  .buy-btn,
  .offer-btn,
  .cta-btn,
  .secondary-btn {
    width: 100%;
  }

  .hero-actions {
    width: auto;
  }

  .hero-actions .primary-btn,
  .hero-actions .secondary-btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding: 12px 10px;
    font-size: 0.88rem;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .guarantee-box,
  .legal-modal,
  .popup-card {
    padding: 22px;
  }

  .popup-card {
    grid-template-columns: 1fr;
  }

  .popup-card img {
    height: 210px;
  }

  .pack-visual {
    height: 170px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
