.hero {
  position: fixed;
  inset: var(--hero-inset);
  isolation: isolate;
  border-radius: var(--hero-radius);
  overflow: hidden;
}

.scroll-spacer {
  height: 420vh;
}

.hero-bg {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(20rem, 62vw);
  height: clamp(4.5rem, 9vw, 6.25rem);
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    url("https://media.holataply.app/website/hero-bg.png") center center / cover no-repeat;
  background-color: #ffffff;
  box-shadow: 0 30px 70px rgba(77, 185, 51, 0.18);
  animation: bgExpand 1.22s var(--timing-smooth) forwards;
}

.hero-glow {
  position: absolute;
  inset: auto auto 8vh 50%;
  width: min(78vw, 70rem);
  height: min(78vw, 70rem);
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(165, 255, 70, 0.22) 0%, rgba(165, 255, 70, 0.08) 30%, rgba(165, 255, 70, 0) 72%);
  filter: blur(12px);
  opacity: 0;
  animation: glowReveal 0.9s ease forwards 1.05s;
}

.hero-copy {
  position: absolute;
  inset: 51% auto auto var(--hero-copy-left);
  z-index: 6;
  width: min(36rem, calc(100vw - 5rem));
  opacity: var(--text-reveal);
  transform: translateY(calc(-50% + var(--title-lift-y))) translateX(var(--text-slide-x));
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(18px);
  color: rgba(13, 20, 21, 0.75);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #61d535;
  box-shadow: 0 0 0 0.3rem rgba(97, 213, 53, 0.15);
}

.hero-copy h1 {
  margin: 0;
  max-width: none;
  white-space: nowrap;
  font-family: Aspekta, Roboto, "Segoe UI", system-ui, sans-serif;
  font-size: clamp(3.25rem, 6.55vw, 6.1rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: rgba(13, 20, 21, 0.92);
  font-weight: 700;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.32),
    0 8px 28px rgba(13, 20, 21, 0.14);
}

.hero-copy p {
  width: 100%;
  margin: 1.85rem 0 0;
  font-family: Roboto, Aspekta, "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.52rem, 3.2vw, 2.05rem);
  font-weight: 600;
  line-height: 1.48;
  color: var(--text);
  opacity: var(--desc-reveal);
  transform: translateX(var(--desc-slide-x));
}

.hero-cta {
  margin-top: 1.75rem;
  opacity: var(--cta-reveal);
  transform: translateX(var(--cta-slide-x));
}

.ingredient {
  position: fixed;
  z-index: 2;
  width: min(76vw, 58rem);
  pointer-events: none;
  user-select: none;
  opacity: 0;
  filter: drop-shadow(0 30px 60px rgba(31, 75, 16, 0.12));
}

.ingredient.left {
  top: 9vh;
  left: max(-4rem, calc(50% - 55rem));
  transform: translate3d(0, -6rem, 0) scale(0.92);
  filter: blur(var(--left-ingredient-blur)) drop-shadow(0 30px 60px rgba(31, 75, 16, 0.12));
  animation: leftIngredientIn 0.95s var(--timing-smooth) forwards var(--ingredients-delay);
}

.ingredient.right {
  right: max(-4rem, calc(50% - 55rem));
  bottom: 7vh;
  transform: translate3d(0, 6rem, 0) scale(0.92);
  animation: rightIngredientIn 0.95s var(--timing-smooth) forwards var(--ingredients-delay);
}

.phone-wrap {
  position: absolute;
  inset: 51% auto auto 50%;
  z-index: 5;
  width: min(34vw, 21rem);
  transform: translate(-50%, -45%) scale(0.32);
  opacity: 0;
  animation: phonePunchIn 0.75s var(--timing-snap) forwards var(--phone-delay);
}

.phone-track {
  transform: translateX(var(--phone-slide-x));
  will-change: transform;
}

.phone-wrap img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(var(--shadow-phone));
}

.hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  z-index: 6;
  transform: translateX(-50%);
  opacity: 0;
  color: rgba(13, 20, 21, 0.34);
  font-size: 2rem;
  line-height: 1;
  pointer-events: none;
  transition: opacity 0.65s var(--timing-smooth);
}

.hero-scroll-hint.is-visible {
  opacity: 1;
}

.hero-scroll-hint.is-visible i {
  animation: scrollHintPulse 0.85s ease-in-out infinite;
}

.hero-scroll-hint i {
  display: block;
}

.hero-bottom-row {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  z-index: 6;
  width: min(calc(100% - 2rem), 72rem);
  transform: translateX(-50%) translateY(14px);
  opacity: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  animation: bottomRowIn 0.72s var(--timing-smooth) forwards var(--nav-delay);
}

.hero-bottom-heading {
  margin: 0;
  text-align: left;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: rgba(13, 20, 21, 0.92);
  font-weight: 900;
  text-shadow: 0 10px 32px rgba(255, 255, 255, 0.14);
}

.hero-special-cta {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  border-radius: 0;
  overflow: visible;
  line-height: 0;
  gap: 1.2rem;
}

.hero-special-cta-spacer {
  width: 86px;
  height: 56px;
}

.hero-special-cta:focus-visible {
  outline: 3px solid rgba(97, 213, 53, 0.55);
  outline-offset: 6px;
}

.hero-special-cta__img {
  display: block;
  width: auto;
  height: auto;
  user-select: none;
}

.hero-special-cta__label {
  height: 56px;
  display: inline-flex;
  align-items: center;
  padding: 0 2.05rem;
  background: #22363a;
  border-radius: 22px 14px 14px 22px;
  color: #86ff62;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 1.02rem;
  font-family: Aspekta, Roboto, "Segoe UI", system-ui, sans-serif;
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.14);
  transition: filter 200ms var(--timing-smooth), transform 200ms var(--timing-smooth);
  position: relative;
  overflow: hidden;
}

/* Creates the angled inner edge facing the icon block */
.hero-special-cta__label::after {
  content: "";
  position: absolute;
  top: -12px;
  right: -16px;
  width: 46px;
  height: calc(100% + 24px);
  background: var(--page-bg);
  transform: skewX(-22deg);
  pointer-events: none;
}

.hero-special-cta__icon {
  height: 56px;
  width: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #cfff7a;
  border-radius: 18px 22px 22px 18px;
  transition: transform 200ms var(--timing-smooth);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

/* Creates the angled inner edge facing the label block */
.hero-special-cta__icon::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -16px;
  width: 46px;
  height: calc(100% + 24px);
  background: var(--page-bg);
  transform: skewX(22deg);
  pointer-events: none;
}

.hero-special-cta:hover .hero-special-cta__label {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.hero-special-cta:hover .hero-special-cta__icon {
  transform: translateX(1px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 62%, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.06) 65%, rgba(255, 255, 255, 0.16) 100%);
  z-index: 1;
  pointer-events: none;
}
