.hero > .hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-external-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  min-width: 190px;
  padding: 12px 21px 12px 24px;
  border: 1px solid rgba(76, 238, 232, .58);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(22, 216, 216, .94), rgba(20, 153, 196, .92));
  color: #fff;
  line-height: 1.4;
  box-shadow:
    0 9px 28px rgba(0, 194, 210, .24),
    inset 0 1px 0 rgba(255, 255, 255, .35);
  text-shadow: 0 1px 2px rgba(0, 34, 48, .35);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.hero-external-button::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -80%;
  left: -45%;
  width: 34%;
  height: 260%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .52), transparent);
  transform: rotate(20deg);
  animation: hero-button-shine 3.2s ease-in-out infinite;
}

.hero-external-button b {
  font-size: .97rem;
  font-weight: 850;
  letter-spacing: -.01em;
}

.hero-external-button i {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: rgba(5, 45, 63, .28);
  font-size: 1.05rem;
  font-style: normal;
  transition: transform .2s ease, background .2s ease;
}

.hero-external-button:hover {
  transform: translateY(-3px);
  color: #fff;
  text-decoration: none;
  filter: brightness(1.08);
  box-shadow:
    0 13px 34px rgba(0, 215, 225, .34),
    0 0 0 3px rgba(22, 216, 216, .12),
    inset 0 1px 0 rgba(255, 255, 255, .4);
}

.hero-external-button:hover i {
  transform: translateX(3px);
  background: rgba(5, 45, 63, .42);
}

@keyframes hero-button-shine {
  0%, 58% { left: -45%; }
  82%, 100% { left: 125%; }
}

@media (max-width: 800px) {
  .hero-external-button {
    margin-top: 14px;
    min-width: 174px;
    padding: 10px 16px 10px 19px;
  }

  .hero-external-button b {
    font-size: .88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero > .hero-video {
    display: none;
  }

  .hero:has(> .hero-video) {
    background: url("/assets/images/home-hero.webp") center / cover no-repeat;
  }

  .hero-external-button::before {
    animation: none;
  }
}
