/* ============================================================
   BabyCo — Hero enhancements (homepage), CENTERED layout
   Layered on top of style.css (loaded after it, so it overrides).
   ============================================================ */

/* Center the hero content vertically + horizontally */
.hero-section {
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Balanced full scrim (was a left-only gradient) so centered text reads */
.hero-section::before {
  background: linear-gradient(
    180deg,
    rgba(10, 16, 28, 0.62) 0%,
    rgba(10, 16, 28, 0.46) 45%,
    rgba(10, 16, 28, 0.66) 100%
  );
}

/* Soft bottom darkening for the scroll cue */
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 16, 28, 0.4) 0%, rgba(10, 16, 28, 0) 24%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 96px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.hero-actions {
  justify-content: center;
}

/* Staggered fade-up entrance */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}

.hero-content > * {
  opacity: 0;
  animation: heroUp 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.hero-content > .hero-eyebrow      { animation-delay: 0.10s; }
.hero-content > .hero-headline     { animation-delay: 0.24s; }
.hero-content > .hero-description  { animation-delay: 0.40s; }
.hero-content > .hero-actions      { animation-delay: 0.54s; }
.hero-content > .hero-trust        { animation-delay: 0.68s; }

/* Trust chips — centered */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 22px;
  margin-top: 30px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.2px;
}

.hero-trust i {
  color: var(--brand-secondary);
  font-size: 14px;
}

.hero-actions .btn i {
  font-size: 14px;
}

/* Scroll-down cue — centered at the bottom */
.hero-scrollcue {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 26px;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.hero-scrollcue .hero-scrollcue-line {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
  order: 2;
}

.hero-scrollcue .hero-scrollcue-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-secondary);
  transform: translateY(-100%);
  animation: heroCueSlide 2.2s ease-in-out infinite;
}

@keyframes heroCueSlide {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

@media (max-width: 768px) {
  .hero-content { padding-top: 84px; }
  .hero-trust { gap: 10px 16px; }
  .hero-trust span { font-size: 12.5px; }
  /* full-width, thumb-friendly CTAs */
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: none;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content > * { opacity: 1; animation: none; }
  .hero-scrollcue .hero-scrollcue-line::after { animation: none; display: none; }
}
