.hero {
  position: relative;
  width: 100%;
  min-height: 110vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
  padding-bottom: 5rem;
}

/* Background videos */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s linear;
  pointer-events: none;
}

.hero__video.is-active {
  opacity: 1;
}

/* Hero content */
.hero__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
  max-width: var(--max-hero);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.375rem 1rem;
  margin-bottom: 1.25rem;
  background: var(--black-40);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--white-10);
  border-radius: 9999px;
}

.hero__badge-dot {
  width: 0.375rem;
  height: 0.375rem;
  background: var(--accent-green);
  border-radius: 9999px;
  box-shadow: 0 0 8px var(--accent-green);
}

.hero__badge-text {
  font-size: 11px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--font);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.hero__subtitle {
  color: var(--white-70);
  font-size: 1.125rem;
  line-height: 1.625;
  margin-bottom: 2.5rem;
  max-width: 42rem;
}

.hero__subtitle-break {
  display: none;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  height: 54px;
  width: 100%;
  border-radius: 9999px;
  font-size: 15px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: var(--white);
  color: #000;
  font-weight: 700;
  box-shadow: 0 10px 15px -3px rgba(255, 255, 255, 0.05);
}

.btn--primary:hover {
  background: #f3f4f6;
}

.btn--ghost {
  background: var(--btn-dark);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white);
  font-weight: 500;
  border: 1px solid var(--white-5);
}

.btn--ghost:hover {
  background: var(--btn-dark-hover);
}

.btn__icon {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/* Social proof */
.social-proof {
  position: relative;
  z-index: 10;
  margin-top: 4rem;
  margin-bottom: 5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.625rem 1.5rem 0.625rem 0.625rem;
  background: var(--black-40);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--white-10);
  border-radius: 9999px;
}

.social-proof__avatars {
  display: flex;
}

.social-proof__avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  border: 2px solid var(--black-50);
  object-fit: cover;
}

.social-proof__avatar + .social-proof__avatar {
  margin-inline-start: -0.75rem;
}

.social-proof__text {
  font-size: 13px;
  color: var(--white-90);
  font-weight: 500;
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    width: auto;
  }

  .btn--primary {
    width: 220px;
  }

  .btn--ghost {
    width: 180px;
  }
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 4.5rem;
  }

  .hero__subtitle {
    font-size: 17px;
  }

  .hero__subtitle-break {
    display: block;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 80px;
  }
}
