/* ============================================================
   LifeNik Hero V3
   Scoped to the home Hero and loaded only by index-v3.html.
   ============================================================ */

.hero {
  min-height: clamp(700px, 90svh, 900px);
  isolation: isolate;
}

.hero-bg-video {
  filter: saturate(.72) contrast(.92) brightness(.88);
  animation: heroV3WhaleFloat 16s ease-in-out infinite alternate;
  will-change: margin-top;
}

.hero-overlay {
  background:
    radial-gradient(circle at 50% 52%, rgba(210, 226, 234, .13) 0%, rgba(47, 91, 112, .07) 25%, transparent 52%),
    radial-gradient(circle at 50% 22%, rgba(228, 186, 66, .07) 0%, transparent 38%),
    linear-gradient(180deg, rgba(7, 18, 38, .18) 0%, rgba(8, 23, 43, .3) 55%, rgba(7, 17, 35, .7) 100%) !important;
}

.hero .mist-layer {
  opacity: .34;
  filter: blur(34px);
  animation-duration: 72s;
}

.hero .hero-inner {
  max-width: 820px;
  padding-top: 104px;
  padding-bottom: 94px;
}

.hero .h-display {
  max-width: 760px;
  margin-inline: auto;
  font-family: var(--f-bold);
  font-size: clamp(39px, 4.7vw, 62px);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 12px 44px rgba(2, 10, 24, .36);
}

.hero .h-display .gold-word {
  color: #dfba48 !important;
  text-shadow: 0 8px 30px rgba(215, 173, 50, .16);
}

.hero .hero-sub {
  max-width: 730px;
  margin: 27px auto 38px;
  font-family: var(--f-regular);
  font-size: clamp(15px, 1.35vw, 17px);
  font-weight: 400;
  line-height: 2.08;
  letter-spacing: 0;
  text-shadow: 0 4px 20px rgba(2, 10, 24, .28);
}

.hero .hero-cta {
  gap: 12px;
}

.hero .hero-cta .btn {
  min-width: 224px;
  padding: 14px 29px;
  border-radius: 999px;
  transition:
    transform 280ms var(--ease),
    background-color 280ms var(--ease),
    border-color 280ms var(--ease),
    color 280ms var(--ease),
    box-shadow 280ms var(--ease);
}

.hero .hero-cta .btn-gold {
  background: #d9ae34;
  box-shadow: 0 12px 30px -17px rgba(231, 190, 67, .72);
}

.hero .hero-cta .btn-gold:hover {
  background: #e3bb47;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 34px -17px rgba(231, 190, 67, .82);
}

.hero .hero-cta .btn-outline {
  background: rgba(7, 20, 40, .2);
  border-color: rgba(255, 255, 255, .48);
  box-shadow: inset 0 1px rgba(255, 255, 255, .06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero .hero-cta .btn-outline:hover {
  background: rgba(255, 255, 255, .11);
  border-color: rgba(255, 255, 255, .72);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -20px rgba(0, 0, 0, .6);
}

.hero .hero-cta .btn:active {
  transform: translateY(0) scale(1);
}

.hero .hero-cta .btn:focus-visible {
  outline: 2px solid #f5d878;
  outline-offset: 4px;
}

.hero .scroll-cue {
  bottom: 27px;
  height: 38px;
  opacity: .54;
}

@keyframes heroV3WhaleFloat {
  from { margin-top: -3px; }
  to { margin-top: 3px; }
}

@media (max-width: 920px) {
  .hero {
    min-height: clamp(690px, 88svh, 820px);
  }

  .hero .hero-inner {
    max-width: 760px;
    padding-top: 100px;
    padding-bottom: 88px;
  }

  .hero .h-display {
    font-size: clamp(37px, 6.3vw, 54px);
  }

  .hero .hero-sub {
    max-width: 650px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: max(700px, 100svh);
  }

  .hero .hero-inner {
    padding-top: 94px;
    padding-bottom: 82px;
  }

  .hero .h-display {
    max-width: 350px;
    font-size: clamp(33px, 9.5vw, 42px);
    line-height: 1.48;
  }

  .hero .hero-sub {
    max-width: 348px;
    margin-top: 22px;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 2;
  }

  .hero .hero-cta {
    width: min(100%, 340px);
    margin-inline: auto;
  }

  .hero .hero-cta .btn {
    width: 100%;
    min-width: 0;
    padding: 13px 20px;
  }

  .hero .scroll-cue {
    bottom: 20px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-bg-video,
  .hero .mist-layer {
    animation: none;
  }

  .hero .hero-bg-video {
    margin-top: 0;
    will-change: auto;
  }

  .hero .hero-cta .btn {
    transition-duration: 0.01ms;
  }
}
