.hero-ai-visual {
  position: relative;
}

.hero-feature-loop {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.hero-feature-popup {
  --nh-feature-entry-x: -16px;
  --nh-feature-entry-y: 14px;
  --nh-feature-entry-rotate: -2deg;
  --nh-feature-exit-x: 12px;
  position: absolute;
  display: flex;
  align-items: center;
  gap: .6rem;
  width: max-content;
  min-width: 185px;
  max-width: 235px;
  height: 68px;
  padding: .55rem .7rem;
  border: 1px solid rgba(24, 207, 196, .3);
  border-radius: 14px;
  background: rgba(var(--bs-body-bg-rgb, 255, 255, 255), .88);
  color: var(--bs-body-color, #172334);
  box-shadow: 0 18px 42px rgba(9, 20, 35, .28), 0 0 20px rgba(24, 207, 196, .1);
  backdrop-filter: blur(10px);
  text-align: left;
  opacity: 0;
  transform: translateY(12px) scale(.96);
  animation: heroFeaturePopupCycle 24s ease-in-out infinite;
  animation-delay: var(--nh-feature-delay);
  will-change: opacity, transform;
}

.hero-feature-popup:nth-child(1) {
  top: 30%;
  left: -18%;
}

.hero-feature-popup:nth-child(2) {
  --nh-feature-entry-x: 18px;
  --nh-feature-entry-rotate: 2deg;
  --nh-feature-exit-x: -12px;
  top: 43%;
  left: 48%;
}

.hero-feature-popup:nth-child(3) {
  --nh-feature-entry-x: -12px;
  --nh-feature-entry-y: 18px;
  top: 58%;
  left: -13%;
}

.hero-feature-popup:nth-child(4) {
  --nh-feature-entry-x: 20px;
  --nh-feature-entry-rotate: 2deg;
  --nh-feature-exit-x: -14px;
  top: 68%;
  left: 46%;
}

.hero-feature-popup:nth-child(5) {
  --nh-feature-entry-x: -20px;
  --nh-feature-entry-y: 10px;
  top: 47%;
  left: -22%;
}

.hero-feature-popup:nth-child(6) {
  --nh-feature-entry-x: 14px;
  --nh-feature-entry-y: 18px;
  --nh-feature-entry-rotate: 1.5deg;
  --nh-feature-exit-x: -10px;
  top: 74%;
  left: 26%;
}

.hero-feature-popup:nth-child(7) {
  --nh-feature-entry-x: -18px;
  --nh-feature-entry-y: 12px;
  top: 36%;
  left: 5%;
}

.hero-feature-popup:nth-child(8) {
  --nh-feature-entry-x: 18px;
  --nh-feature-entry-rotate: 2deg;
  --nh-feature-exit-x: -12px;
  top: 61%;
  left: 42%;
}

.hero-feature-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 2.25rem;
  border-radius: 12px;
  background: rgba(24, 207, 196, .14);
  color: #0fa89f;
  font-size: 1.15rem;
  animation: heroFeatureIconPulse 1.4s ease-in-out infinite;
}

.hero-feature-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  line-height: 1.15;
}

.hero-feature-copy strong,
.hero-feature-copy small {
  display: block;
}

.hero-feature-copy strong {
  font-size: .9rem;
}

.hero-feature-copy small {
  margin-top: .12rem;
  color: var(--bs-muted, #64748b);
  font-size: .68rem;
  line-height: 1.25;
}

@keyframes heroFeaturePopupCycle {

  0%,
  .8% {
    opacity: 0;
    transform:
      translate3d(var(--nh-feature-entry-x), var(--nh-feature-entry-y), 0) rotate(var(--nh-feature-entry-rotate)) scale(.94);
  }

  2.5% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0) scale(1);
  }

  6% {
    opacity: 1;
    transform: translate3d(0, -5px, 0) rotate(-.4deg) scale(1);
  }

  10.5% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0) scale(1);
  }

  12.5%,
  100% {
    opacity: 0;
    transform: translate3d(var(--nh-feature-exit-x), -10px, 0) rotate(.8deg) scale(.96);
  }
}

@keyframes heroFeatureIconPulse {

  0%,
  100% {
    transform: scale(1) rotate(0);
    box-shadow: 0 0 0 0 rgba(24, 207, 196, .22);
  }

  50% {
    transform: scale(1.1) rotate(-4deg);
    box-shadow: 0 0 0 7px rgba(24, 207, 196, 0);
  }
}

@media (max-width: 991.98px) {
  .hero-feature-popup {
    gap: .5rem;
    min-width: 170px;
    max-width: 210px;
    height: 64px;
    padding: .5rem .65rem;
  }

  .hero-feature-popup:nth-child(1) {
    left: -20%;
  }

  .hero-feature-popup:nth-child(2) {
    left: 30%;
  }

  .hero-feature-popup:nth-child(3) {
    left: -14%;
  }

  .hero-feature-popup:nth-child(4) {
    left: 32%;
  }

  .hero-feature-popup:nth-child(5) {
    left: -18%;
  }

  .hero-feature-popup:nth-child(6) {
    left: 18%;
  }

  .hero-feature-popup:nth-child(7) {
    left: -10%;
  }

  .hero-feature-popup:nth-child(8) {
    left: 28%;
  }

  .hero-feature-icon {
    width: 2.05rem;
    height: 2.05rem;
    flex-basis: 2.05rem;
    border-radius: 11px;
    font-size: 1.05rem;
  }

  .hero-feature-copy strong {
    font-size: .82rem;
  }

  .hero-feature-copy small {
    font-size: .62rem;
  }
}

@media (max-width: 767.98px) {
  .hero-feature-popup:nth-child(1) {
    top: 22%;
    right: auto;
    left: 0;
  }

  .hero-feature-popup:nth-child(2) {
    top: 36%;
    right: 0;
    left: auto;
  }

  .hero-feature-popup:nth-child(3) {
    top: 52%;
    right: auto;
    left: 4%;
  }

  .hero-feature-popup:nth-child(4) {
    top: 66%;
    right: 0;
    left: auto;
  }

  .hero-feature-popup:nth-child(5) {
    top: 43%;
    right: auto;
    left: 6%;
  }

  .hero-feature-popup:nth-child(6) {
    top: 72%;
    right: 8%;
    left: auto;
  }

  .hero-feature-popup:nth-child(7) {
    top: 29%;
    right: auto;
    left: 8%;
  }

  .hero-feature-popup:nth-child(8) {
    top: 58%;
    right: 4%;
    left: auto;
  }

}

.nh-affiliate-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 24% 50%, rgba(24, 207, 196, .14), transparent 30%),
    radial-gradient(circle at 76% 50%, rgba(255, 190, 77, .09), transparent 32%);
}

.nh-affiliate-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 22%;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(24, 207, 196, .18);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(24, 207, 196, .035),
    0 0 0 70px rgba(255, 190, 77, .025);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.nh-affiliate-section .container {
  position: relative;
  z-index: 1;
}

.nh-affiliate-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.nh-affiliate-robot {
  position: relative;
  z-index: 2;
  width: min(78%, 350px);
  filter: drop-shadow(0 22px 30px rgba(7, 25, 35, .2));
  animation: nhAffiliateRobotFloat 4s ease-in-out infinite;
}

.nh-affiliate-commission {
  position: absolute;
  right: 0;
  bottom: 8%;
  z-index: 3;
  min-width: 175px;
  padding: .75rem 1rem;
  border: 1px solid rgba(255, 205, 92, .48);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(13, 43, 55, .96), rgba(17, 73, 75, .94));
  color: #fff;
  box-shadow: 0 16px 32px rgba(8, 29, 37, .28), 0 0 22px rgba(24, 207, 196, .14);
  backdrop-filter: blur(8px);
  text-align: left;
  animation: nhAffiliateCommissionPulse 2.8s ease-in-out infinite;
}

.nh-affiliate-commission span,
.nh-affiliate-commission strong,
.nh-affiliate-commission small {
  display: block;
}

.nh-affiliate-commission span {
  color: #8fe8de;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nh-affiliate-commission strong {
  margin: .05rem 0;
  color: #ffd15c;
  font-size: 1.75rem;
  line-height: 1.05;
}

.nh-affiliate-commission small {
  color: rgba(255, 255, 255, .72);
  font-size: .68rem;
}

.nh-affiliate-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border: 1px solid rgba(24, 207, 196, .22);
  border-radius: 22px;
  background: rgba(var(--bs-body-bg-rgb, 255, 255, 255), .72);
  box-shadow: 0 22px 55px rgba(8, 28, 40, .12);
  backdrop-filter: blur(10px);
}

.nh-affiliate-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #18cfc4, #ffd15c, transparent);
}

.nh-affiliate-card.nh-pricing-features-card::before {
  display: none;
}

.nh-comparison-system-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  animation: nhComparisonSystemGlow 2.5s ease-in-out infinite;
}

.nh-comparison-system-card::before,
.nh-comparison-system-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nh-comparison-system-card::before {
  z-index: 0;
  background: rgba(var(--bs-black-rgb), .3);
}

.nh-comparison-system-card::after {
  z-index: 1;
  background: linear-gradient(105deg, transparent 32%, rgba(var(--bs-white-rgb), .3) 48%, transparent 64%);
  transform: translateX(-115%);
  animation: heroAiShine 5s ease-in-out infinite;
  will-change: transform;
}

.nh-comparison-system-card > * {
  position: relative;
  z-index: 2;
}

.nh-comparison-savings-badge {
  transform-origin: center;
  animation: nhComparisonSavingsBadge 2.2s ease-in-out infinite;
  will-change: transform, box-shadow;
}

@keyframes nhComparisonSavingsBadge {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 .25rem rgba(var(--bs-white-rgb), .12);
  }

  50% {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 1rem rgba(var(--bs-white-rgb), .36);
  }
}

@keyframes nhComparisonSystemGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 .25rem rgba(var(--bs-black-rgb), .12)) drop-shadow(0 0 .3rem rgba(var(--bs-white-rgb), .08));
  }

  50% {
    filter: drop-shadow(0 .15rem .85rem rgba(var(--bs-black-rgb), .22)) drop-shadow(0 0 1rem rgba(var(--bs-white-rgb), .24));
  }
}

.nh-original-price-wrap {
  line-height: 1;
  margin-bottom: -.5rem;
}

.nh-original-price {
  transform: translateX(-25%);
}

.nh-price-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.nh-price-vs::before,
.nh-price-vs::after {
  content: "";
  flex: 1 1 0;
  max-width: 220px;
  height: 2px;
  opacity: .4;
  animation: nhPriceVsLinePulse 2.8s ease-in-out infinite;
}

.nh-price-vs::before {
  background: linear-gradient(90deg, transparent, currentColor);
}

.nh-price-vs::after {
  background: linear-gradient(90deg, currentColor, transparent);
}

.nh-price-vs-label {
  position: relative;
  isolation: isolate;
  width: 6rem;
  height: 6rem;
  flex: 0 0 6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  line-height: 1;
  filter: drop-shadow(0 0 1rem currentColor);
  animation: nhPriceVsFloat 3.2s ease-in-out infinite,
    nhPriceVsGlow 2.4s ease-in-out infinite;
}

.nh-price-vs-label::before {
  content: "";
  position: absolute;
  inset: -.45rem;
  z-index: -1;
  border: 1px solid currentColor;
  border-radius: 50%;
  pointer-events: none;
  animation: nhPriceVsRing 2.4s ease-out infinite;
}

@keyframes nhPriceVsFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-.35rem) scale(1.02);
  }
}

@keyframes nhPriceVsGlow {

  0%,
  100% {
    filter: drop-shadow(0 0 .75rem currentColor);
  }

  50% {
    filter: drop-shadow(0 0 1.4rem currentColor);
  }
}

@keyframes nhPriceVsRing {
  0% {
    opacity: .5;
    transform: scale(.9);
  }

  75%,
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes nhPriceVsLinePulse {

  0%,
  100% {
    opacity: .25;
    transform: scaleX(.92);
  }

  50% {
    opacity: .6;
    transform: scaleX(1);
  }
}

@media (min-width: 576px) {
  .nh-price-vs-label {
    font-size: 4rem;
  }
}

.nh-comparison-arrow {
  animation: nhComparisonArrowDesktop 1.35s ease-in-out infinite,
    nhComparisonArrowGlow 1.8s ease-in-out infinite;
}

.nh-cost-value {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

.nh-cost-value.nh-count-complete {
  animation: nhCostValueSettle .45s ease-out;
}

@keyframes nhComparisonArrowDesktop {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(.4rem);
  }
}

@keyframes nhComparisonArrowMobile {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(.35rem);
  }
}

@keyframes nhComparisonArrowGlow {

  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(var(--bs-white-rgb), 0));
  }

  50% {
    filter: drop-shadow(0 0 .65rem rgba(var(--bs-white-rgb), .3));
  }
}

@keyframes nhCostValueSettle {
  0% {
    transform: translateY(.2rem) scale(.96);
  }

  65% {
    transform: translateY(0) scale(1.06);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 991.98px) {
  .nh-comparison-arrow {
    animation-name: nhComparisonArrowMobile, nhComparisonArrowGlow;
  }
}

@media (max-width: 575.98px) {
  .nh-price-vs {
    gap: .75rem;
  }

  .nh-price-vs-label {
    width: 6rem;
    height: 6rem;
    flex-basis: 6rem;
  }
}

.nh-affiliate-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: .85rem;
  padding: .38rem .7rem;
  border: 1px solid rgba(24, 207, 196, .24);
  border-radius: 999px;
  background: rgba(24, 207, 196, .1);
  color: #12aaa2;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nh-affiliate-list li {
  display: flex;
  align-items: flex-start;
  padding: .65rem .75rem;
  border-radius: 12px;
  background: rgba(24, 207, 196, .055);
}

@keyframes nhAffiliateRobotFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-9px) rotate(-1deg);
  }
}

@keyframes nhAffiliateCommissionPulse {

  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 16px 32px rgba(8, 29, 37, .28), 0 0 18px rgba(24, 207, 196, .1);
  }

  50% {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 38px rgba(8, 29, 37, .32), 0 0 28px rgba(255, 209, 92, .16);
  }
}

@media (max-width: 991.98px) {
  .nh-affiliate-visual {
    min-height: 320px;
  }

  .nh-affiliate-commission {
    right: -4%;
  }

  .nh-affiliate-card {
    padding: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .nh-affiliate-section::before {
    top: 28%;
    left: 50%;
    width: 300px;
    height: 300px;
  }

  .nh-affiliate-visual {
    min-height: 330px;
  }

  .nh-affiliate-robot {
    width: min(72%, 300px);
  }

  .nh-affiliate-commission {
    right: 3%;
    bottom: 4%;
  }

  .nh-affiliate-card {
    margin-top: 1.5rem;
    padding: 1.35rem;
  }
}

.nh-countdown-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

@media (max-width: 575.98px) {
  .nh-countdown-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }

  .nh-countdown-grid>.avatar {
    width: min(35vw, 140px) !important;
    height: min(35vw, 140px) !important;
    margin: 0 !important;
    justify-self: center;
  }
}

@media (max-width: 390px) {
  [data-niagahub-countdown] .nh-countdown-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 120px) !important;
    gap: .75rem;
    max-width: 252px;
  }

  [data-niagahub-countdown] .nh-countdown-grid>.avatar {
    width: 120px !important;
    height: 120px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-feature-popup {
    animation: none;
    opacity: 0;
    transform: none;
  }

  .hero-feature-popup:first-child {
    opacity: 1;
  }

  .hero-feature-icon {
    animation: none;
  }

  .nh-affiliate-robot,
  .nh-affiliate-commission {
    animation: none;
  }

  .nh-price-vs::before,
  .nh-price-vs::after,
  .nh-price-vs-label,
  .nh-price-vs-label::before {
    animation: none;
  }

  .nh-comparison-arrow,
  .nh-cost-value.nh-count-complete {
    animation: none;
  }

  .nh-comparison-system-card,
  .nh-comparison-system-card::after,
  .nh-comparison-savings-badge {
    animation: none;
  }
}


.hero-ai-announcement {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  max-width: 100%;
  margin-top: .75rem;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(25, 211, 162, .62);
  background: linear-gradient(135deg, rgba(9, 96, 87, .88), rgba(13, 77, 85, .82));
  color: #eafff8;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18), 0 0 18px rgba(25, 211, 162, .16);
  backdrop-filter: blur(8px);
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform, box-shadow;
  animation: heroAiGlow 4.2s cubic-bezier(.45, 0, .25, 1) infinite;
}

.hero-ai-announcement::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-115%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
  animation: heroAiShine 3.6s ease-in-out infinite;
}

.hero-ai-announcement span {
  position: relative;
  z-index: 1;
}

.hero-ai-announcement-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 999px;
  background: #19d3a2;
  box-shadow: 0 0 0 rgba(25, 211, 162, .55);
  animation: heroAiDotPulse 1.7s ease-out infinite;
}

.hero-ai-visual {
  position: relative;
}

.hero-ai-visual .hero-ai-announcement {
  position: absolute;
  top: 18%;
  left: -8%;
  z-index: 4;
  margin-top: 0;
}

.hero-title-wrap {
  position: relative;
}

.hero-ai-announcement-mobile {
  margin: 0;
  transform: rotate(-2deg);
}

@media (max-width: 575.98px) {
  .hero-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .5rem;
  }

  .hero-cta-actions .btn {
    margin: 0 !important;
  }
}


@keyframes heroAiGlow {

  0%,
  100% {
    transform: translate3d(0, 0, 0);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18), 0 0 18px rgba(25, 211, 162, .16);
  }

  50% {
    transform: translate3d(0, -4px, 0);
    box-shadow: 0 15px 34px rgba(0, 0, 0, .22), 0 0 24px rgba(25, 211, 162, .24);
  }
}

@keyframes heroAiShine {

  0%,
  35% {
    transform: translateX(-115%);
  }

  65%,
  100% {
    transform: translateX(115%);
  }
}

@keyframes heroAiDotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(25, 211, 162, .55);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(25, 211, 162, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(25, 211, 162, 0);
  }
}


@media (max-width: 767.98px) {
  .hero-title-wrap {
    padding-bottom: 0;
  }

  .hero-ai-announcement-mobile {
    position: relative;
    display: inline-flex;
    width: max-content;
    margin: 0 auto 1.25rem;
    padding: 7px 11px;
    font-size: .74rem;
  }

}


@media (prefers-reduced-motion: reduce) {

  .hero-ai-announcement,
  .hero-ai-announcement::before,
  .hero-ai-announcement-dot {
    animation: none;
  }
}
