:root {
  --bg: #fbf9ff;
  --lilac: #e4d6f7;
  --lilac-soft: #f2ebfc;
  --purple: #4a2a8c;
  --purple-dark: #2e1760;
  --red: #c21f32;
  --green: #7cc242;
  --ink: #1d1530;
  --muted: #5d5470;
  --line: #ddd2ee;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(46, 23, 96, .10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--purple); }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 19px; }
.logo__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--purple); display: grid; place-items: center; }
.logo__mark svg { width: 20px; height: 20px; }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--purple); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 16px/1 inherit; font-family: inherit; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn--amazon { background: #ffb400; color: #1d1530; box-shadow: 0 8px 20px rgba(255, 170, 0, .35); }
.btn--amazon:hover { background: #ffa000; transform: translateY(-2px); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--purple); border: 2px solid var(--purple); }
.btn--ghost:hover { background: var(--purple); color: #fff; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Hero */
.hero { padding: 48px 0 70px; background: linear-gradient(180deg, var(--lilac-soft) 0%, var(--bg) 100%); }
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.gallery__main {
  background: var(--white); border-radius: 24px; box-shadow: var(--shadow);
  aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; padding: 24px;
}
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 14px; }
.gallery__thumbs button {
  background: var(--white); border: 2px solid transparent; border-radius: 12px;
  aspect-ratio: 1 / 1; overflow: hidden; cursor: pointer; padding: 4px;
}
.gallery__thumbs button.is-active { border-color: var(--purple); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

.eyebrow {
  display: inline-block; background: var(--lilac); color: var(--purple);
  font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.hero__sub { font-size: 18px; color: var(--muted); margin-bottom: 24px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: 14px; font-weight: 500;
}
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero__list { list-style: none; display: grid; gap: 10px; margin-bottom: 30px; }
.hero__list li { display: flex; gap: 12px; align-items: flex-start; }
.hero__list li::before {
  content: "✓"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--purple); color: #fff; font-size: 13px; font-weight: 700;
  display: grid; place-items: center; margin-top: 2px;
}
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero__note { font-size: 13px; color: var(--muted); }

/* Stats */
.stats { background: var(--purple-dark); color: #fff; padding: 34px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat__num { font-size: 40px; font-weight: 800; line-height: 1; color: #d9c6ff; }
.stat__label { font-size: 15px; opacity: .85; margin-top: 8px; }

/* Sections */
.section { padding: 90px 0; }
.section--tint { background: var(--lilac-soft); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section__head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 14px; }
.section__head p { color: var(--muted); font-size: 18px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--white); border-radius: var(--radius); padding: 30px;
  border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--lilac);
  display: grid; place-items: center; margin-bottom: 18px; font-size: 26px;
}
.feature h3 { font-size: 19px; margin-bottom: 10px; line-height: 1.3; }
.feature p { color: var(--muted); font-size: 15.5px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: 24px; box-shadow: var(--shadow); }
.split h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 18px; }
.split p { color: var(--muted); margin-bottom: 16px; }

.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.benefit { background: var(--white); border-radius: 14px; padding: 18px; border-left: 4px solid var(--red); }
.benefit strong { display: block; color: var(--red); font-size: 15.5px; margin-bottom: 4px; }
.benefit span { font-size: 14.5px; color: var(--muted); }

/* Nutrition */
.nutrition { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: start; }
.table-wrap { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.table-wrap__head { background: var(--purple); color: #fff; padding: 20px 24px; }
.table-wrap__head h3 { font-size: 20px; }
.table-wrap__head p { font-size: 14px; opacity: .85; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 11px 24px; text-align: left; border-bottom: 1px solid var(--line); }
th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--lilac-soft); }
td:nth-child(2), td:nth-child(3), th:nth-child(2), th:nth-child(3) { text-align: right; }
tbody tr:hover { background: #faf6ff; }
.table-foot { padding: 14px 24px; font-size: 13px; color: var(--muted); }

.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 20px; }
.info-card h3 { font-size: 18px; margin-bottom: 10px; }
.info-card p, .info-card li { font-size: 15px; color: var(--muted); }
.info-card ul { padding-left: 20px; display: grid; gap: 6px; }

/* Details */
.details { max-width: 760px; margin: 0 auto; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.details dl { display: grid; grid-template-columns: 240px 1fr; }
.details dt, .details dd { padding: 14px 24px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.details dt { font-weight: 700; background: var(--lilac-soft); }
.details dt:last-of-type, .details dd:last-of-type { border-bottom: 0; }

/* Gallery strip */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.strip img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; font-size: 17px;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--purple); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); font-size: 15.5px; }

/* Final CTA */
.cta {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: #fff; border-radius: 28px; padding: 60px; display: grid;
  grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; overflow: hidden;
}
.cta h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; margin-bottom: 14px; }
.cta p { opacity: .85; margin-bottom: 28px; }
.cta img { max-height: 380px; margin: 0 auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); }

/* Disclaimer */
.disclaimer { font-size: 13px; color: var(--muted); text-align: center; max-width: 860px; margin: 50px auto 0; }

/* Footer */
.footer { background: var(--ink); color: #c9c2d8; padding: 50px 0 30px; margin-top: 90px; font-size: 14px; }
.footer__grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 30px; }
.footer .logo { color: #fff; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a, .footer__links button { color: #c9c2d8; text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.footer__links a:hover, .footer__links button:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; font-size: 13px; line-height: 1.7; }

/* Cookie banner */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 100;
  max-width: 560px; margin-left: auto;
  background: var(--white); border-radius: 18px; box-shadow: 0 20px 50px rgba(29, 21, 48, .25);
  border: 1px solid var(--line); padding: 24px;
  transform: translateY(140%); transition: transform .35s ease;
}
.cookie.is-visible { transform: translateY(0); }
.cookie h4 { font-size: 17px; margin-bottom: 8px; }
.cookie p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie__actions .btn { padding: 12px 20px; font-size: 14px; }
.btn--purple { background: var(--purple); color: #fff; }
.btn--purple:hover { background: var(--purple-dark); }

/* Legal pages */
.legal { padding: 60px 0 20px; }
.legal__box { max-width: 820px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 50px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -.02em; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.legal h2 { font-size: 22px; margin: 34px 0 12px; }
.legal h3 { font-size: 17px; margin: 20px 0 8px; }
.legal p, .legal li { color: #3d3450; font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal table { margin: 10px 0 20px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.legal td, .legal th { text-align: left !important; padding: 10px 14px; font-size: 14.5px; }

html, body { overflow-x: hidden; }
.hero__grid > *, .split > *, .nutrition > *, .cta > * { min-width: 0; }

/* Responsive */
@media (max-width: 980px) {
  .hero__grid, .split, .nutrition, .cta { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .nav { display: none; }
  .cta { padding: 40px 28px; text-align: center; }
  .split--reverse > :first-child { order: 2; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .features, .benefits, .strip { grid-template-columns: 1fr; }
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .details dl { grid-template-columns: 1fr; }
  .details dt { border-bottom: 0; padding-bottom: 4px; }
  .details dd { padding-top: 4px; }
  th, td { padding: 10px 14px; }
  .btn { width: 100%; }
  .header .btn { width: auto; }
  .legal__box { padding: 28px 20px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; }
  .footer__grid { flex-direction: column; }
}
