/* Homepage interaction layer */

html {
  scroll-behavior: smooth;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  color: hsl(var(--clr-primary-coral-dark));
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll-cue {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 2.5rem;
  color: hsl(var(--clr-text-muted));
  font-size: 0.88rem;
  font-weight: 700;
}

.scroll-dot {
  width: 26px;
  height: 40px;
  border: 2px solid hsla(var(--clr-primary-plum), 0.22);
  border-radius: 999px;
  position: relative;
}

.scroll-dot::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: hsl(var(--clr-primary-coral));
  transform: translateX(-50%);
  animation: scroll-cue 1.6s ease-in-out infinite;
}

.story-section {
  padding: 5.5rem 0;
  background:
    radial-gradient(circle at 8% 20%, hsla(var(--clr-primary-coral), 0.12), transparent 30%),
    radial-gradient(circle at 92% 80%, hsla(var(--clr-accent-sage), 0.35), transparent 34%),
    hsl(var(--clr-bg-sand));
}

.story-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
  margin-top: 2.5rem;
}

.story-rail.style-3-steps {
  grid-template-columns: repeat(3, 1fr);
}

.story-rail::before {
  content: '';
  position: absolute;
  top: 46px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, hsla(var(--clr-primary-coral), 0.55), transparent);
}

.story-step {
  position: relative;
  min-height: 250px;
  padding: 1.5rem;
  border: 1px solid hsla(var(--clr-primary-plum), 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.story-step::after {
  content: '';
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--story-glow, hsla(var(--clr-accent-butter), 0.5));
  filter: blur(8px);
  opacity: 0.75;
}

.story-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin-bottom: 1.3rem;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 1.85rem;
}

.story-step h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 0.7rem;
  color: hsl(var(--clr-primary-plum));
  font-size: 1.2rem;
}

.story-step p {
  position: relative;
  z-index: 1;
  color: hsl(var(--clr-text-muted));
  font-size: 0.95rem;
}

.cycle-story-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(320px, 0.9fr);
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.cycle-visual-card {
  position: relative;
  min-height: 540px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.42) 38%, transparent 39%),
    conic-gradient(from 220deg, #fbd5c6, #fff0b9, #d9eada, #eaddea, #fbd5c6);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.cycle-orbit-ring {
  position: absolute;
  inset: 90px;
  border: 2px dashed rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.cycle-orbit-ring::before,
.cycle-orbit-ring::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  inset: 34px;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.cycle-orbit-ring::after {
  inset: 78px;
  background: rgba(255, 253, 249, 0.86);
  box-shadow: inset var(--shadow-sm);
}

.cycle-visual-card .wheel-inner-circle {
  top: 50%;
  left: 50%;
  width: 190px;
  height: 190px;
  transform: translate(-50%, -50%) !important;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.cycle-center-icon {
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.cycle-story-grid .cycle-phase-button {
  border-style: solid;
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  z-index: 8;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.65rem;
  width: 178px;
  height: auto;
  min-height: 74px;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  color: hsl(var(--clr-primary-plum));
  font: inherit;
  font-family: var(--font-heading);
  text-align: left;
  cursor: pointer;
  overflow: visible;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.cycle-story-grid .cycle-phase-button.segment-1 {
  top: 32px;
  left: 50%;
  background: rgba(214, 231, 216, 0.92);
  transform: translateX(-50%) !important;
}

.cycle-story-grid .cycle-phase-button.segment-2 {
  top: 50%;
  right: 28px;
  background: rgba(255, 226, 171, 0.94);
  transform: translateY(-50%) !important;
}

.cycle-story-grid .cycle-phase-button.segment-3 {
  bottom: 32px;
  left: 50%;
  background: rgba(251, 213, 198, 0.94);
  transform: translateX(-50%) !important;
}

.cycle-story-grid .cycle-phase-button.segment-4 {
  top: 50%;
  left: 28px;
  background: rgba(234, 221, 234, 0.94);
  transform: translateY(-50%) !important;
}

.cycle-phase-button:hover,
.cycle-phase-button.active {
  filter: brightness(1.03);
  box-shadow: var(--shadow-md);
}

.cycle-phase-button:focus-visible,
.nutrient-pod:focus-visible,
.faq-tab:focus-visible,
.seed-node:focus-visible {
  outline: 3px solid hsla(var(--clr-primary-coral), 0.45);
  outline-offset: 4px;
}

.cycle-phase-button.active {
  outline: 3px solid hsla(var(--clr-primary-coral), 0.32);
}

.phase-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  font-size: 1.35rem;
}

.phase-button-text strong,
.phase-button-text span {
  display: block;
}

.phase-button-text strong {
  font-size: 0.95rem;
}

.phase-button-text span {
  color: hsl(var(--clr-text-muted));
  font-size: 0.76rem;
  font-weight: 800;
}

.phase-quick-read {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin: 1.2rem 0 1.4rem;
}

.phase-quick-item {
  padding: 0.85rem;
  border: 1px solid hsla(var(--clr-primary-plum), 0.06);
  border-radius: 18px;
  background: hsla(var(--clr-bg-sand), 0.74);
}

.phase-quick-item span {
  display: block;
  color: hsl(var(--clr-text-muted));
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.phase-quick-item strong {
  display: block;
  margin-top: 0.25rem;
  color: hsl(var(--clr-primary-plum));
  font-family: var(--font-heading);
  font-size: 0.96rem;
}

.nutrient-theater {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2rem;
  align-items: stretch;
  margin-top: 3rem;
}

.nutrient-pods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.nutrient-pod {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  min-height: 410px;
  padding: 1.35rem;
  border: 1px solid hsla(var(--clr-primary-plum), 0.07);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.nutrient-pod:hover,
.nutrient-pod.active {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.nutrient-visual {
  display: block;
  position: relative;
  height: 150px;
  margin-bottom: 1rem;
}

.nutrient-symbol {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--nutrient-color);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow-md);
}

.nutrient-pod[data-nutrient="myo"] .nutrient-visual::before,
.nutrient-pod[data-nutrient="myo"] .nutrient-visual::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 128px;
  height: 58px;
  border: 2px solid hsla(284, 46%, 55%, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(24deg);
  animation: molecule-orbit 9s linear infinite;
}

.nutrient-pod[data-nutrient="myo"] .nutrient-visual::after {
  transform: translate(-50%, -50%) rotate(-58deg);
  animation-direction: reverse;
}

.nutrient-bubble {
  position: absolute;
  border-radius: 50%;
  background: var(--nutrient-soft);
  animation: bubble-drift 7s ease-in-out infinite;
}

.nutrient-bubble:nth-child(1) {
  width: 62px;
  height: 62px;
  top: 18px;
  left: 24px;
}

.nutrient-bubble:nth-child(2) {
  width: 38px;
  height: 38px;
  right: 26px;
  top: 16px;
  animation-delay: -2.2s;
}

.nutrient-bubble:nth-child(3) {
  width: 48px;
  height: 48px;
  right: 62px;
  bottom: 18px;
  animation-delay: -4s;
}

.nutrient-pod[data-nutrient="magnesium"] .nutrient-bubble {
  border-radius: 44% 56% 48% 52%;
}

.nutrient-pod-title {
  display: block;
  margin-bottom: 0.45rem;
  color: hsl(var(--clr-primary-plum));
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

.nutrient-pod-copy {
  display: block;
  color: hsl(var(--clr-text-muted));
  font-size: 0.94rem;
}

.nutrient-benefit-grid {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.nutrient-benefit {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 0.65rem;
  padding: 0.62rem;
  border-radius: 16px;
  background: hsla(var(--clr-bg-sand), 0.84);
  color: hsl(var(--clr-primary-plum));
  font-size: 0.85rem;
  font-weight: 800;
}

.nutrient-benefit span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
}

.nutrient-detail-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 410px;
  padding: 2rem;
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0%, var(--active-nutrient-soft, hsla(var(--clr-primary-coral), 0.18)), transparent 40%),
    hsl(var(--clr-primary-plum));
  background-color: hsl(var(--clr-primary-plum));
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.nutrient-detail-panel .eyebrow {
  color: hsla(var(--clr-bg-sand), 0.68);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nutrient-detail-panel h3 {
  margin: 0.6rem 0 1rem;
  font-size: 2rem;
}

.nutrient-detail-panel p {
  color: hsla(var(--clr-bg-sand), 0.82);
}

.nutrient-detail-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.nutrient-detail-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 800;
}

.formula-step-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem auto 0;
  max-width: 920px;
}

.formula-step {
  padding: 1rem;
  border: 1px solid hsla(var(--clr-primary-plum), 0.07);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.formula-step strong {
  display: block;
  color: hsl(var(--clr-primary-plum));
  font-family: var(--font-heading);
}

.formula-step span {
  display: block;
  margin-top: 0.25rem;
  color: hsl(var(--clr-text-muted));
  font-size: 0.86rem;
}

.formula-constellation .seed-node.active {
  transform: scale(1.06);
}

.formula-constellation .svg-line-dash {
  animation: dash-flow 14s linear infinite;
}

.formula-constellation .seed-node {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  text-align: left;
}

.formula-constellation .seed-node::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 1px solid hsla(var(--clr-primary-coral), 0);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.formula-constellation .seed-node:hover::after,
.formula-constellation .seed-node.active::after {
  border-color: hsla(var(--clr-primary-coral), 0.32);
  transform: scale(1.08);
}

.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: -1rem auto 2.3rem;
}

.faq-tab {
  padding: 0.72rem 1rem;
  border: 1px solid hsla(var(--clr-primary-plum), 0.12);
  border-radius: 999px;
  background: #fff;
  color: hsl(var(--clr-primary-plum));
  font-family: var(--font-heading);
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.faq-tab:hover,
.faq-tab.active {
  border-color: hsl(var(--clr-primary-coral));
  background: hsl(var(--clr-primary-plum));
  color: #fff;
}

.faq-summary {
  display: block;
  margin-top: 0.18rem;
  color: hsl(var(--clr-text-muted));
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
}

.faq-item.is-hidden {
  display: none;
}

@keyframes scroll-cue {
  0%,
  100% {
    transform: translate(-50%, 0);
    opacity: 0.35;
  }
  50% {
    transform: translate(-50%, 13px);
    opacity: 1;
  }
}

@keyframes rotate-soft {
  to {
    transform: rotate(360deg);
  }
}

@keyframes counter-rotate-soft {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes bubble-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(8px, -12px, 0) scale(1.08);
  }
}

@keyframes molecule-orbit {
  to {
    transform: translate(-50%, -50%) rotate(384deg);
  }
}

@keyframes dash-flow {
  to {
    stroke-dashoffset: -120;
  }
}

@media (max-width: 1080px) {
  .story-rail,
  .nutrient-pods,
  .formula-step-strip {
    grid-template-columns: 1fr 1fr;
  }
  .story-rail.style-3-steps {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .cycle-story-grid,
  .nutrient-theater {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .story-rail,
  .nutrient-pods,
  .formula-step-strip {
    grid-template-columns: 1fr;
  }

  .story-rail::before {
    display: none;
  }

  .cycle-visual-card {
    min-height: auto;
    padding: 1.2rem;
  }

  .cycle-orbit-ring {
    display: none;
  }

  .cycle-visual-card .wheel-inner-circle {
    position: static;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    padding: 1.2rem;
    transform: none !important;
  }

  .cycle-story-grid .cycle-phase-button,
  .cycle-story-grid .cycle-phase-button.segment-1,
  .cycle-story-grid .cycle-phase-button.segment-2,
  .cycle-story-grid .cycle-phase-button.segment-3,
  .cycle-story-grid .cycle-phase-button.segment-4 {
    position: static;
    width: 100%;
    margin-bottom: 0.75rem;
    transform: none !important;
  }

  .phase-quick-read {
    grid-template-columns: 1fr;
  }

  .nutrient-detail-panel {
    min-height: auto;
  }

  .formula-constellation .seed-node::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-mesh-bg,
  .hero-blob,
  .seed-float,
  .scroll-dot::after,
  .nutrient-bubble {
    animation: none !important;
  }

  .formula-constellation .svg-line-dash,
  .nutrient-pod[data-nutrient="myo"] .nutrient-visual::before,
  .nutrient-pod[data-nutrient="myo"] .nutrient-visual::after {
    animation: none !important;
  }
}

/* =============================================
   HERO REDESIGN — Editorial Wellness Cover
   ============================================= */

/* =============================================
   HERO REDESIGN v2 — Product-First Editorial
   ============================================= */

/* --- Background layers --- */
.hero {
  position: relative;
  padding: 5rem 0 3.5rem;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: hsl(var(--clr-bg-sand));
}

.hero-mesh-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 85% 15%, hsla(var(--clr-accent-sage), 0.45) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 10% 85%, hsla(var(--clr-accent-butter), 0.5) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, hsla(var(--clr-primary-coral), 0.06) 0%, transparent 50%);
}

/* Organic decorative blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.blob-sage {
  width: 420px;
  height: 420px;
  background: hsla(var(--clr-accent-sage), 0.55);
  top: -8%;
  right: -3%;
  animation: blob-float 12s ease-in-out infinite;
}

.blob-butter {
  width: 360px;
  height: 360px;
  background: hsla(var(--clr-accent-butter), 0.65);
  bottom: -3%;
  left: -3%;
  animation: blob-float 14s ease-in-out infinite reverse;
}

.blob-coral {
  width: 300px;
  height: 300px;
  background: hsla(var(--clr-primary-coral), 0.15);
  top: 45%;
  right: 25%;
  animation: blob-float 10s ease-in-out infinite;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-15px, 12px) scale(1.04); }
  66% { transform: translate(12px, -8px) scale(0.97); }
}

/* --- Grid Layout --- */
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

/* --- Content Side --- */
.hero-content {
  max-width: 580px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.2rem;
  color: hsl(var(--clr-primary-plum));
}

.title-line {
  display: block;
}

.title-accent {
  background: linear-gradient(135deg, hsl(var(--clr-primary-coral)) 0%, hsl(var(--clr-primary-coral-dark)) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-sub {
  display: block;
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  font-weight: 500;
  color: hsl(var(--clr-text-muted));
  margin-top: 0.4rem;
  letter-spacing: -0.01em;
}

.hero-lead {
  font-size: 1.05rem;
  color: hsl(var(--clr-text-muted));
  margin-bottom: 1.5rem;
  max-width: 500px;
  line-height: 1.65;
}

/* Benefits chips */
.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid hsla(var(--clr-primary-plum), 0.06);
  box-shadow: 0 2px 8px rgba(74, 46, 53, 0.04);
  color: hsl(var(--clr-primary-plum));
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

/* Rating */
.hero-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.hero-rating .hero-stars {
  color: #ffb703;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}

.hero-rating span:last-child {
  color: hsl(var(--clr-text-muted));
  font-size: 0.85rem;
  font-weight: 700;
}

/* CTA Row */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.hero-urgency {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, hsla(var(--clr-primary-coral), 0.12) 0%, hsla(var(--clr-primary-coral), 0.04) 100%);
  color: hsl(var(--clr-primary-coral-dark));
  font-size: 0.8rem;
  font-weight: 800;
  border: 1px solid hsla(var(--clr-primary-coral), 0.1);
  margin-right: 0.4rem;
}

.urgency-flame {
  animation: flame-pulse 2s ease-in-out infinite;
}

@keyframes flame-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.btn-hero {
  padding: 0.9rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
}

/* Trust bar */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: hsl(var(--clr-primary-plum-light));
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* =============================================
   VISUAL SIDE — Product Showcase
   ============================================= */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}

/* --- NEW HERO TIMELINE & SYNC WIDGET --- */
.hero-sync-widget {
  width: 100%;
  max-width: 520px;
  background: hsla(255, 100%, 100%, 0.62);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid hsla(var(--clr-primary-plum), 0.08);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.hero-sync-widget::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: hsla(var(--clr-primary-coral), 0.1);
  filter: blur(40px);
  pointer-events: none;
}

/* Timeline Track */
.widget-timeline {
  padding: 0.6rem 1.2rem;
  background: hsla(var(--clr-primary-plum), 0.03);
  border-radius: 99px;
  border: 1px solid hsla(var(--clr-primary-plum), 0.04);
}

.timeline-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 32px;
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: hsla(var(--clr-primary-plum), 0.08);
  border-radius: 2px;
  z-index: 0;
}

.timeline-progress {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: linear-gradient(to right, hsl(var(--clr-primary-coral)), hsl(var(--clr-primary-coral-dark)));
  border-radius: 2px;
  z-index: 1;
  width: 0%; /* 0% for Phase 1, 100% for Phase 2 */
  transition: width var(--transition-normal);
}

.timeline-node {
  position: relative;
  z-index: 2;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  outline: none;
}

.node-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  border: 3px solid hsl(var(--clr-primary-plum-light));
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.timeline-node:hover .node-dot {
  transform: scale(1.2);
  border-color: hsl(var(--clr-primary-coral));
}

.timeline-node.active .node-dot {
  background: hsl(var(--clr-primary-coral));
  border-color: white;
  box-shadow: 0 0 0 3px hsla(var(--clr-primary-coral), 0.25);
  transform: scale(1.3);
}

.node-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.76rem;
  color: hsl(var(--clr-primary-plum-light));
  margin-top: 4px;
  position: absolute;
  top: 100%;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.timeline-node.active .node-label {
  color: hsl(var(--clr-primary-plum));
  font-weight: 800;
}

/* Widget Cards Grid */
.widget-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.sync-card {
  background: white;
  border: 1px solid hsla(var(--clr-primary-plum), 0.06);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.sync-card-badge {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.phase-1-badge {
  background: hsla(var(--clr-accent-sage), 0.4);
  color: hsl(var(--clr-accent-sage-dark));
}

.phase-2-badge {
  background: hsla(var(--clr-primary-coral), 0.12);
  color: hsl(var(--clr-primary-coral-dark));
}

.sync-card-img-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsla(var(--clr-primary-plum), 0.02);
  border-radius: var(--radius-sm);
  padding: 0.8rem;
  margin-bottom: 0.8rem;
  transition: transform var(--transition-normal);
  aspect-ratio: 1.1;
}

.sync-card-img-wrap img {
  max-height: 120px;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.sync-card-info h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: hsl(var(--clr-primary-plum));
  margin-bottom: 0.35rem;
}

.sync-card-ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
  margin-bottom: 0.6rem;
}

.sync-card-ingredients span {
  font-size: 0.68rem;
  font-weight: 700;
  background: hsla(var(--clr-primary-plum), 0.04);
  color: hsl(var(--clr-primary-plum-light));
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.sync-card-benefit {
  font-size: 0.76rem;
  color: hsl(var(--clr-text-muted));
  line-height: 1.4;
}

/* Active State styling for Cards */
.sync-card.active {
  border-color: hsl(var(--clr-primary-coral));
  box-shadow: var(--shadow-md), 0 0 0 1px hsl(var(--clr-primary-coral));
  transform: translateY(-4px) scale(1.02);
  z-index: 5;
}

.sync-card.active .sync-card-img-wrap {
  background: hsla(var(--clr-primary-coral), 0.05);
}

.sync-card.active .sync-card-img-wrap img {
  transform: scale(1.08) translateY(-4px);
}

/* Entrance animation delay classes */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.65s; }
.delay-7 { animation-delay: 0.8s; }

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 992px) {
  .hero {
    padding: 4rem 0 2.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-benefits,
  .hero-rating,
  .hero-cta-row,
  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    min-height: auto;
    order: -1;
    margin-bottom: 1.5rem;
  }

  .hero-sync-widget {
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 3.5rem 0 2rem;
  }

  .hero-sync-widget {
    padding: 1.2rem;
    gap: 1.2rem;
  }

  .widget-cards-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .hero-cta-row {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-row .btn {
    width: 100%;
    text-align: center;
  }

  .hero-trust {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mesh-bg,
  .hero-blob,
  .urgency-flame {
    animation: none !important;
  }
}

/* =============================================
   HERO REDESIGN 2026 — Glassmorphism & High Impact
   ============================================= */

.hero-redesign {
  position: relative;
  padding: 6rem 0 5rem;
  overflow: hidden;
  background: #fff;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-redesign-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: 
    radial-gradient(ellipse 60% 50% at 75% 25%, hsla(var(--clr-accent-sage), 0.35) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 15% 75%, hsla(var(--clr-accent-butter), 0.45) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, hsla(var(--clr-primary-coral), 0.08) 0%, transparent 40%);
}

.glass-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
  animation: blob-float 12s ease-in-out infinite;
}

.glass-blob-1 { width: 450px; height: 450px; background: hsla(var(--clr-primary-plum), 0.15); top: -10%; right: -5%; }
.glass-blob-2 { width: 350px; height: 350px; background: hsla(var(--clr-primary-coral), 0.25); bottom: -10%; left: 10%; animation-direction: reverse; }
.glass-blob-3 { width: 300px; height: 300px; background: hsla(var(--clr-accent-butter), 0.4); top: 40%; right: 30%; animation-duration: 15s; }

.hero-redesign-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-redesign-content {
  max-width: 620px;
}

.hero-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: hsla(var(--clr-primary-plum), 0.05);
  border: 1px solid hsla(var(--clr-primary-plum), 0.1);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  color: hsl(var(--clr-primary-plum));
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: hsl(var(--clr-primary-coral));
  border-radius: 50%;
  box-shadow: 0 0 0 0 hsla(var(--clr-primary-coral), 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 hsla(var(--clr-primary-coral), 0.7); }
  70% { box-shadow: 0 0 0 10px hsla(var(--clr-primary-coral), 0); }
  100% { box-shadow: 0 0 0 0 hsla(var(--clr-primary-coral), 0); }
}

.hero-redesign-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: hsl(var(--clr-primary-plum));
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, hsl(var(--clr-primary-coral)) 0%, hsl(var(--clr-primary-plum)) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-redesign-lead {
  font-size: 1.15rem;
  color: hsl(var(--clr-text-muted));
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.text-highlight {
  color: hsl(var(--clr-primary-plum));
  background: hsla(var(--clr-accent-butter), 0.4);
  padding: 0 0.2rem;
}

.hero-redesign-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.btn-glow-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: hsl(var(--clr-primary-coral));
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px -5px hsla(var(--clr-primary-coral), 0.5);
  text-decoration: none;
}

.btn-glow-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px hsla(var(--clr-primary-coral), 0.6);
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: hsl(var(--clr-primary-plum));
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.hero-redesign-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid hsla(var(--clr-primary-plum), 0.08);
  padding-top: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-icon {
  font-size: 1.2rem;
}

.trust-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: hsl(var(--clr-primary-plum-light));
}

/* Right Side - Visual */
.hero-redesign-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.glass-product-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 40px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, hsla(var(--clr-accent-butter), 0.6) 0%, transparent 70%);
  z-index: 1;
}

.single-hero-product {
  width: 80%;
  max-width: 340px;
  z-index: 2;
  border-radius: 24px;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
  animation: float-obj 6s ease-in-out infinite;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-product-stage:hover .single-hero-product {
  transform: scale(1.05);
}

.hero-how-it-works {
  background: rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.2rem 0;
  margin-top: 4rem;
  width: 100%;
  grid-column: 1 / -1;
}

.how-it-works-strip {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.strip-num {
  background: hsl(var(--clr-primary-coral));
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 4px 10px hsla(var(--clr-primary-coral), 0.3);
}

.strip-text {
  font-weight: 600;
  color: hsl(var(--clr-primary-plum));
  font-size: 1.05rem;
}

.strip-arrow {
  color: hsl(var(--clr-primary-coral));
  font-size: 1.2rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .how-it-works-strip {
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 0 1rem;
  }
  .strip-arrow {
    display: none;
  }
  .hero-how-it-works {
    margin-top: 2rem;
    padding: 1.2rem 0;
  }
}

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

.glass-badge {
  position: absolute;
  z-index: 5;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.8rem 1.2rem;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: float-obj 5s ease-in-out infinite 0.5s;
}

.badge-rating {
  top: 10%;
  right: -10%;
}

.badge-rating .stars {
  color: #ffb703;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.badge-rating .text {
  font-size: 0.85rem;
  color: hsl(var(--clr-primary-plum));
}

.badge-ingredients {
  bottom: 10%;
  left: -15%;
}

.badge-ingredients .icon {
  font-size: 1.2rem;
}

.badge-ingredients .text {
  font-size: 0.8rem;
  font-weight: 700;
  color: hsl(var(--clr-text-muted));
}

@media (max-width: 992px) {
  .hero-redesign-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-redesign-content {
    margin: 0 auto;
  }
  .hero-redesign-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-redesign-actions {
    justify-content: center;
  }
  .hero-redesign-trust {
    justify-content: center;
  }
  .glass-product-stage {
    margin-top: 3rem;
  }
  .badge-rating {
    right: 5%;
    top: 5%;
  }
  .badge-ingredients {
    left: 5%;
    bottom: 5%;
  }
}

@media (max-width: 576px) {
  .hero-redesign {
    padding: 5rem 0 3rem;
  }
  .hero-redesign-title {
    font-size: 2.5rem;
  }
  .hero-redesign-actions {
    flex-direction: column;
  }
  .btn-glow-primary, .btn-glass {
    width: 100%;
  }
  .glass-product-stage {
    border-radius: 20px;
    padding: 2rem;
    height: 350px;
  }
  .floating-product {
    max-width: 160px;
  }
  .badge-ingredients {
    left: 0;
    right: 0;
    bottom: -10px;
    margin: auto;
    width: max-content;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }
  .badge-rating {
    right: 0;
    top: -10px;
    left: 0;
    margin: auto;
    width: max-content;
    padding: 0.5rem 1rem;
  }
}

/* Simple Menstrual Timeline styles (Component 5) */
.timeline-container {
  max-width: 900px;
  margin: 3rem auto 0 auto;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 32px;
  box-shadow: var(--shadow-md);
}

.timeline-track-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  max-width: 600px;
  margin: 0 auto 3rem auto;
  padding: 0 1rem;
}

.timeline-track-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(84, 51, 84, 0.1);
  transform: translateY(-50%);
  z-index: 1;
  border-radius: 2px;
}

.timeline-progress-bar {
  position: absolute;
  top: 50%;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, hsl(var(--clr-accent-sage)), hsl(var(--clr-primary-coral)));
  transform: translateY(-50%);
  z-index: 2;
  transition: width 0.4s ease;
  border-radius: 2px;
}

.timeline-node {
  position: relative;
  z-index: 3;
  background: white;
  border: 2px solid rgba(84, 51, 84, 0.15);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-node:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.timeline-node.active {
  border-color: hsl(var(--clr-primary-coral));
  background: hsl(var(--clr-primary-coral));
  color: white;
  box-shadow: 0 10px 20px hsla(var(--clr-primary-coral), 0.25);
}

.timeline-node .node-dot {
  font-size: 1.2rem;
}

.timeline-node .node-label {
  font-weight: 700;
  font-size: 0.95rem;
}

.timeline-info-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.phase-days-badge {
  background: hsla(var(--clr-primary-coral), 0.1);
  color: hsl(var(--clr-primary-coral));
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.phase-main-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: hsl(var(--clr-primary-plum));
  margin-bottom: 1.5rem;
}

.phase-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.benefit-icon {
  color: hsl(var(--clr-primary-coral));
  font-size: 1.1rem;
  line-height: 1.3;
}

.benefit-text {
  font-size: 1.05rem;
  color: hsl(var(--clr-text-muted));
  line-height: 1.4;
}

.timeline-product-display {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1.1;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  overflow: hidden;
}

.timeline-img {
  width: 75%;
  max-width: 200px;
  z-index: 2;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.1));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-container:hover .timeline-img {
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .timeline-info-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .timeline-track-wrap {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    max-width: 100%;
  }
  .timeline-track-wrap::before, .timeline-progress-bar {
    display: none;
  }
  .timeline-node {
    justify-content: center;
  }
  .timeline-container {
    padding: 1.5rem;
  }
}

/* --- THE Cycle of Balance (Infinity Loop Component) --- */
.infinity-loop-container {
  max-width: 800px;
  margin: 3rem auto 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.infinity-loop-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 300px;
}

.infinity-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: visible;
}

.infinity-path-bg {
  stroke: hsla(24, 15%, 85%, 0.5);
}

.infinity-path-glow {
  stroke: hsl(var(--clr-primary-coral));
  stroke-dasharray: 20, 200;
  stroke-linecap: round;
  animation: svg-dash-glow 4s linear infinite;
  opacity: 0.8;
}

@keyframes svg-dash-glow {
  to {
    stroke-dashoffset: -220;
  }
}

.heart-dot {
  offset-path: path('M 175,140 C 50,50 50,230 175,140 C 300,50 300,230 425,140 C 550,50 550,230 425,140 C 300,50 300,230 175,140 Z');
  animation: move-heart-dot 8s linear infinite;
}

@keyframes move-heart-dot {
  to {
    offset-distance: 100%;
  }
}

.loop-step {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -50%);
  width: 260px;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .infinity-loop-wrapper {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .infinity-svg {
    display: none;
  }
  .loop-step {
    position: static;
    transform: none;
    width: 100%;
  }
}

.loop-step-card {
  padding: 1.25rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid hsla(var(--clr-primary-plum), 0.06);
}

.loop-step-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: hsla(var(--clr-primary-coral), 0.3);
}

.loop-step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: hsl(var(--clr-primary-plum));
  margin: 0.5rem 0 0.25rem;
}

.loop-step-card p {
  font-size: 0.82rem;
  color: hsl(var(--clr-text-muted));
  line-height: 1.5;
  margin: 0;
}

.step-icon {
  font-size: 1.8rem;
}

/* --- Nutrient Block Redesign --- */
.periodic-element-box {
  border: 2px solid var(--element-color);
  border-radius: 12px;
  width: 84px;
  height: 84px;
  margin: 0 auto 1.2rem;
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.nutrient-pod:hover .periodic-element-box,
.nutrient-pod.active .periodic-element-box {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.periodic-number {
  position: absolute;
  top: 4px;
  left: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--element-color);
}

.periodic-symbol {
  font-family: var(--font-heading);
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--element-color);
  line-height: 1;
  margin-top: 6px;
}

.periodic-name {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--element-color);
}

/* --- Visual Equation Component --- */
.eq-row-wrapper {
  overflow-x: auto;
  padding: 1rem 0;
}

.equation-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .equation-row {
    flex-direction: column;
    gap: 2rem;
  }
  .eq-operator {
    transform: rotate(90deg);
    font-size: 2.2rem !important;
  }
}

.eq-term {
  flex-shrink: 0;
}

.eq-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.eq-val {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.eq-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsla(24, 20%, 90%, 0.8);
}

.seed-icons-cluster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.millet-visual {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.nutrients-minipods {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.minipod-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-fe { background: #C14A3F; }
.badge-mg { background: #D69F3C; }
.badge-myo { background: #7A5C91; }

.eq-operator {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 400;
  color: hsla(24, 20%, 90%, 0.5);
  user-select: none;
}

.eq-product-showcase {
  display: flex;
  align-items: center;
  position: relative;
  height: 180px;
  width: 220px;
  justify-content: center;
}

.eq-wrapper-img {
  width: auto;
  height: 130px;
  object-fit: contain;
  position: absolute;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}

.comfort-wrapper {
  left: 20px;
  transform: rotate(-12deg);
  z-index: 2;
}

.indulgence-wrapper {
  right: 20px;
  transform: rotate(18deg) scale(0.95);
  z-index: 1;
}

.eq-output:hover .comfort-wrapper {
  transform: rotate(-16deg) translate(-10px, -5px) scale(1.05);
  z-index: 3;
}

.eq-output:hover .indulgence-wrapper {
  transform: rotate(22deg) translate(10px, -5px) scale(1.05);
}

/* --- Ingredients Modal Overlay --- */
.ingredients-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(74, 46, 53, 0.45);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ingredients-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.ingredients-modal {
  background-color: #fff;
  border-radius: 24px;
  width: 90%;
  max-width: 580px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.ingredients-modal-overlay.active .ingredients-modal {
  transform: scale(1);
}

.ingredients-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  border-bottom: 1px solid hsl(var(--clr-border));
  padding-bottom: 1rem;
}

.ingredients-modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: hsl(var(--clr-primary-plum));
  margin: 0;
}

.ingredients-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: hsl(var(--clr-text-muted));
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color var(--transition-fast);
}

.ingredients-modal-close:hover {
  color: hsl(var(--clr-primary-plum));
}

.ingredient-detail-row {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
  align-items: start;
}

.ingredient-detail-row:not(:last-child) {
  border-bottom: 1px dashed hsl(var(--clr-border));
}

.ing-icon-box {
  width: 48px;
  height: 48px;
  background-color: hsla(var(--clr-primary-coral), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.ing-text-box h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: hsl(var(--clr-primary-plum));
  margin: 0 0 0.25rem;
}

.ing-text-box p {
  font-size: 0.88rem;
  color: hsl(var(--clr-text-muted));
  line-height: 1.5;
  margin: 0;
}


