/* ==========================================================================
   Ingredients Hero — Dark hero with headline + animated ingredient orb
   ========================================================================== */

.ingredients-hero {
  background: #1a1a1a;
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 80px 40px;
  min-height: 520px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #fff;
}

.ingredients-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  gap: 60px;
}

/* --- Left Column: Headline --- */
.ingredients-hero__copy {
  flex: 0 0 45%;
  max-width: 520px;
  margin-left: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.ingredients-hero__headline {
  font-family: termina, sans-serif;
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 24px;
}

.ingredients-hero__sub {
  font-family: new-science-mono, sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* --- Right Column: Orb + Ingredient Tags --- */
.ingredients-hero__orb-wrap {
  flex: 0 0 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.ingredients-hero__orb-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
}

/* Animated gradient orb */
.ingredients-hero__orb {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 40% 35%,
    rgba(200, 200, 200, 0.5) 0%,
    rgba(150, 150, 150, 0.3) 30%,
    rgba(80, 80, 80, 0.2) 60%,
    rgba(40, 40, 40, 0.1) 80%,
    transparent 100%
  );
  position: relative;
  overflow: hidden;
}

.ingredients-hero__orb::before {
  content: '';
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0.08),
    rgba(180, 180, 180, 0.15),
    rgba(255, 255, 255, 0.05),
    rgba(200, 200, 200, 0.12),
    rgba(255, 255, 255, 0.08)
  );
  animation: ingredients-orb-spin 12s linear infinite;
}

.ingredients-hero__orb::after {
  content: '';
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    rgba(220, 220, 220, 0.25) 0%,
    rgba(160, 160, 160, 0.1) 40%,
    transparent 70%
  );
  animation: ingredients-orb-pulse 6s ease-in-out infinite alternate;
}

@keyframes ingredients-orb-spin {
  to { transform: rotate(360deg); }
}

@keyframes ingredients-orb-pulse {
  0% { opacity: 0.6; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1.05); }
}

/* --- Ingredient Tags --- */
.ingredients-hero__tag {
  position: absolute;
  font-family: new-science-mono, sans-serif;
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  white-space: nowrap;
  z-index: 3;
  pointer-events: none;
}

/* Tag positions — overlapping the orb, not just on edges */
.ingredients-hero__tag:nth-of-type(1) { top: 5%;   right: 15%; }
.ingredients-hero__tag:nth-of-type(2) { top: 18%;  right: 5%;  }
.ingredients-hero__tag:nth-of-type(3) { top: 28%;  left: 5%;   }
.ingredients-hero__tag:nth-of-type(4) { top: 48%;  left: 12%;  }
.ingredients-hero__tag:nth-of-type(5) { top: 40%;  right: 3%;  }
.ingredients-hero__tag:nth-of-type(6) { bottom: 30%; left: 10%; }
.ingredients-hero__tag:nth-of-type(7) { bottom: 15%; right: 12%; }
.ingredients-hero__tag:nth-of-type(8) { bottom: 8%;  left: 20%; }

/* Subtle float animation for tags */
.ingredients-hero__tag:nth-of-type(odd) {
  animation: ingredients-tag-float-a 5s ease-in-out infinite alternate;
}

.ingredients-hero__tag:nth-of-type(even) {
  animation: ingredients-tag-float-b 6s ease-in-out infinite alternate;
}

@keyframes ingredients-tag-float-a {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

@keyframes ingredients-tag-float-b {
  0% { transform: translateY(0); }
  100% { transform: translateY(5px); }
}

/* --- Mobile --- */
@media (max-width: 767px) {
  .ingredients-hero {
    padding: 60px 20px 40px;
    min-height: auto;
  }

  .ingredients-hero__inner {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .ingredients-hero__copy {
    flex: none;
    max-width: 100%;
    margin-left: 0;
  }

  .ingredients-hero__headline {
    font-size: 1.75rem;
  }

  .ingredients-hero__orb-wrap {
    flex: none;
    width: 100%;
  }

  .ingredients-hero__orb-container {
    max-width: 320px;
    margin: 0 auto;
  }

  .ingredients-hero__tag {
    font-size: 0.5625rem;
    padding: 5px 10px;
  }
}
