/* ================================================================
   PINK BALM — danchel.
   ================================================================ */

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

:root {
  --blush:      #fff0f5;
  --pink-light: #ffd6e7;
  --pink-mid:   #f5a8c5;
  --pink-deep:  #c73f6e;
  --pink-vivid: #e0537a;
  --white:      #ffffff;
  --black:      #17111a;
  --text:       #261820;
  --muted:      #9a6e7e;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, sans-serif;

  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
  --max-w:  1200px;
  --pad:    clamp(1.25rem, 5vw, 4rem);
}

/* ── Base ─────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

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

/* ── Layout ───────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

/* ── Typography ───────────────────────────────────────────────── */
.label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink-deep);
  margin-bottom: 1rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 3rem;
}

.section-heading em {
  font-style: italic;
  color: var(--pink-deep);
}

.center { text-align: center; }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 0.9rem 2rem;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--pink-deep);
  color: var(--white);
  border-color: var(--pink-deep);
}

.btn--primary:hover {
  background: var(--black);
  border-color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(199, 63, 110, 0.28);
}

.btn--outline {
  background: transparent;
  color: var(--pink-deep);
  border-color: var(--pink-deep);
}

.btn--outline:hover {
  background: var(--pink-deep);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--sm {
  font-size: 0.72rem;
  padding: 0.6rem 1.25rem;
}

.btn--lg {
  font-size: 0.92rem;
  padding: 1.1rem 2.75rem;
}

.btn--full { width: 100%; }

/* ── Scroll Reveal ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children within a parent */
.benefits__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.benefits__grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.ingr__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.ingr__grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.ingr__grid .reveal:nth-child(4) { transition-delay: 0.3s; }

.testi__grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.testi__grid .reveal:nth-child(3) { transition-delay: 0.24s; }

.steps .reveal:nth-child(2) { transition-delay: 0.1s; }
.steps .reveal:nth-child(3) { transition-delay: 0.2s; }

.hero__content .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero__content .reveal:nth-child(2) { transition-delay: 0.15s; }
.hero__content .reveal:nth-child(3) { transition-delay: 0.25s; }
.hero__content .reveal:nth-child(4) { transition-delay: 0.35s; }
.hero__content .reveal:nth-child(5) { transition-delay: 0.45s; }


/* ================================================================
   NAV
   ================================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem var(--pad);
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.nav.scrolled {
  background: rgba(255, 240, 244, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(199, 63, 110, 0.12);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--white);
  transition: color 0.45s var(--ease);
}

.nav.scrolled .nav__brand {
  color: var(--black);
}

.nav__cta {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}

.nav.scrolled .nav__cta {
  opacity: 1;
  pointer-events: auto;
}


/* ================================================================
   HERO
   ================================================================ */

.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg picture,
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 210, 228, 0.88) 0%,
    rgba(255, 210, 228, 0.70) 38%,
    rgba(255, 210, 228, 0.15) 65%,
    transparent 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 7rem var(--pad) 4rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--pink-deep);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--black);
  max-width: 8ch;
}

.hero__headline em {
  display: block;
  font-style: italic;
  color: var(--pink-deep);
}

.hero__sub {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--text);
  max-width: 42ch;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.hero__learn {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text);
  transition: color 0.2s;
}

.hero__learn:hover {
  color: var(--pink-deep);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

/* Mobile hero: products on top, text at bottom */
@media (max-width: 767px) {
  .hero__bg img {
    object-position: center 15%;
  }

  .hero__overlay {
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(255, 214, 231, 0.55) 42%,
      rgba(255, 214, 231, 0.92) 62%,
      rgba(255, 214, 231, 1.00) 100%
    );
  }

  .hero {
    align-items: flex-end;
  }

  .hero__content {
    padding-top: 4rem;
    padding-bottom: 5.5rem;
    gap: 1.25rem;
  }

  .hero__headline {
    font-size: clamp(3.25rem, 14vw, 5rem);
  }
}


/* ================================================================
   MARQUEE
   ================================================================ */

.marquee-bar {
  background: var(--pink-deep);
  color: var(--white);
  padding: 0.9rem 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 26s linear infinite;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.marquee-track span { padding: 0 0.5rem; }
.marquee-track .dot { opacity: 0.45; padding: 0; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ================================================================
   WHY
   ================================================================ */

.why {
  background: var(--blush);
}

.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why__heading {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 1.5rem;
}

.why__heading em {
  font-style: italic;
  color: var(--pink-deep);
}

.why__body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 2.25rem;
  max-width: 46ch;
}

.why__card {
  background: var(--white);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  text-align: center;
  box-shadow: 0 4px 60px rgba(199, 63, 110, 0.08);
}

.why__pct {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(6rem, 12vw, 9rem);
  font-weight: 300;
  color: var(--pink-deep);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.why__card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .why__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}


/* ================================================================
   BENEFITS
   ================================================================ */

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.benefit-card {
  background: var(--blush);
  border-radius: 24px;
  padding: 2.75rem 2.25rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 56px rgba(199, 63, 110, 0.13);
}

.benefit-card__icon {
  font-size: 2rem;
  color: var(--pink-deep);
  margin-bottom: 1.5rem;
  display: block;
}

.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 0.9rem;
}

.benefit-card p {
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--muted);
}

@media (max-width: 768px) {
  .benefits__grid { grid-template-columns: 1fr; }
}


/* ================================================================
   INGREDIENTS
   ================================================================ */

.ingredients {
  background: var(--black);
}

.ingredients .label {
  color: var(--pink-mid);
}

.ingredients .section-heading {
  color: var(--white);
}

.ingredients .section-heading em {
  color: var(--pink-mid);
}

.ingr__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.ingr-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 2.75rem 2.5rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.ingr-card:hover {
  border-color: rgba(245, 168, 197, 0.4);
  background: rgba(255, 214, 231, 0.04);
}

.ingr-card__num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  margin-bottom: 0.9rem;
  transition: color 0.3s;
}

.ingr-card:hover .ingr-card__num {
  color: rgba(245, 168, 197, 0.35);
}

.ingr-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.85rem;
}

.ingr-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 640px) {
  .ingr__grid { grid-template-columns: 1fr; }
}


/* ================================================================
   HOW TO USE
   ================================================================ */

.how-to {
  background: var(--blush);
}

.how-to__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  margin-top: 1rem;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step__num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--pink-deep);
  flex-shrink: 0;
  padding-top: 0.05rem;
  min-width: 2rem;
}

.step strong {
  display: block;
  font-weight: 500;
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}

.step p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}

.how-to__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
}

.how-to__orb {
  width: 180px;
  height: 180px;
  background: var(--pink-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3.75rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.03em;
  animation: float 5s ease-in-out infinite;
  box-shadow: 0 20px 60px rgba(199, 63, 110, 0.25);
}

.how-to__caption {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

@media (max-width: 768px) {
  .how-to__grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}


/* ================================================================
   TESTIMONIALS
   ================================================================ */

.stars-hero {
  display: block;
  font-size: 1.6rem;
  color: var(--pink-deep);
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.testi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.testi-card {
  background: var(--blush);
  border-radius: 22px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testi-card__stars {
  font-size: 0.9rem;
  color: var(--pink-deep);
  letter-spacing: 0.12em;
}

.testi-card p {
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--text);
  font-style: italic;
  flex: 1;
}

.testi-card span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .testi__grid { grid-template-columns: 1fr; }
}


/* ================================================================
   BUY
   ================================================================ */

.buy {
  background: var(--blush);
}

.buy__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.buy__heading {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 2rem;
}

.buy__heading em {
  font-style: italic;
  color: var(--pink-deep);
}

.buy__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2.75rem;
}

.buy__features li {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 400;
  display: flex;
  gap: 0.5rem;
}

.buy__cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
}

/* ── Variant Cards ───────────────────────────────────────────── */

.variant-picker {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.variant-picker__loading {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 0.75rem 0;
}

.variant-picker__error {
  font-size: 0.875rem;
  color: var(--muted);
}

.variant-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1.5px solid rgba(199, 63, 110, 0.18);
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease), box-shadow 0.22s var(--ease);
  user-select: none;
}

.variant-card:hover {
  border-color: rgba(199, 63, 110, 0.45);
}

.variant-card.is-selected {
  background: var(--white);
  border-color: var(--pink-deep);
  border-width: 2px;
  box-shadow: 0 4px 20px rgba(199, 63, 110, 0.1);
}

.variant-card__radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(199, 63, 110, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.22s;
}

.variant-card.is-selected .variant-card__radio {
  border-color: var(--pink-deep);
}

.variant-card.is-selected .variant-card__radio span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pink-deep);
}

.variant-card__info {
  flex: 1;
  min-width: 0;
}

.variant-card__name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.variant-card__badge {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--pink-deep);
  color: var(--white);
  padding: 2px 9px;
  border-radius: 100px;
  flex-shrink: 0;
}

.variant-card__sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.2rem;
  line-height: 1.45;
}

.variant-card__price {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.variant-card__current {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--black);
  line-height: 1.1;
}

.variant-card__compare {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: line-through;
  margin-top: 1px;
}

/* ── Checkout Button ─────────────────────────────────────────── */

.btn--checkout {
  width: 100%;
  justify-content: center;
  gap: 0.45rem;
}

.btn--checkout:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn__sep {
  opacity: 0.45;
}

.shipping-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--pink-deep);
  background: rgba(199, 63, 110, 0.08);
  border: 1px solid rgba(199, 63, 110, 0.18);
  border-radius: 100px;
  padding: 0.45rem 1rem;
}

.buy__note {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-align: center;
}

.buy__visual {
  display: flex;
  justify-content: center;
}

.buy__img {
  width: 100%;
  max-width: 420px;
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(199, 63, 110, 0.18);
}

@media (max-width: 768px) {
  .buy__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .buy__visual { order: -1; }
  .buy__img { max-width: 300px; }
}


/* ================================================================
   FOOTER
   ================================================================ */

.footer {
  background: var(--black);
  padding: 3rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--white);
}

.footer__copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer__product {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
}


/* ================================================================
   STICKY MOBILE CTA
   ================================================================ */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
  background: rgba(255, 240, 244, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(199, 63, 110, 0.14);
  z-index: 50;
  transform: translateY(100%);
  transition: transform 0.45s var(--ease);
  display: none;
}

@media (max-width: 768px) {
  .sticky-cta { display: block; }
}

.sticky-cta.is-visible {
  transform: translateY(0);
}
