/* =========================
   HERO SECTION
   ========================= */

/* Hero container - override base styles */
.hero {
  position: relative;
  overflow: hidden;
  min-height: auto;
  background: none;
  padding-top: 7rem;
  padding-bottom: 6rem;
}

.hero::before {
  content: none;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 9rem;
    padding-bottom: 8rem;
  }
}

/* Background video and overlays */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  pointer-events: none;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    oklch(13% 0.01 20 / 0.75),
    oklch(13% 0.01 20 / 0.55),
    oklch(13% 0.01 20 / 0.90)
  );
}

.hero__overlay--radial {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, oklch(0.62 0.22 25 / 0.18), transparent 60%),
    radial-gradient(circle at 80% 80%, oklch(0.78 0.16 75 / 0.12), transparent 60%);
}

/* Noise texture - subtle grain effect */
.hero__noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* Glowing orbs */
.hero__glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(64px);
}

.hero__glow--primary {
  left: -8rem;
  top: 33.33%;
  width: 420px;
  height: 420px;
  background: color-mix(in oklab, var(--primary) 25%, transparent);
  animation: pulse-glow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero__glow--accent {
  right: -8rem;
  bottom: 0;
  width: 460px;
  height: 460px;
  background: color-mix(in oklab, var(--accent) 15%, transparent);
}

/* Content container */
.hero__content {
  position: relative;
  margin-inline: auto;
  max-width: 64rem;
  padding-inline: 1rem;
  text-align: center;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 60%, transparent);
  padding: 0.25rem 0.75rem;
  font-size: var(--text-xs);
  color: var(--muted-foreground);
  backdrop-filter: blur(var(--blur-xl));
}

.hero__badge-icon {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--primary);
}

/* Title */
.hero__title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.05;
}

@media (min-width: 640px) {
  .hero__title {
    font-size: var(--text-5xl);
  }
}

@media (min-width: 768px) {
  .hero__title {
    font-size: var(--text-6xl);
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: var(--text-7xl);
  }
}

/* Subtitle */
.hero__subtitle {
  margin-top: 1.5rem;
  margin-inline: auto;
  max-width: 42rem;
  font-size: var(--text-base);
  color: color-mix(in oklab, var(--foreground) 90%, transparent);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

@media (min-width: 640px) {
  .hero__subtitle {
    font-size: var(--text-lg);
  }
}

/* CTA Buttons */
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: all 300ms var(--ease-in-out);
  cursor: pointer;
}

.hero__btn--primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 0 40px -8px oklch(0.62 0.22 25 / 0.7);
}

.hero__btn--primary:hover {
  background: var(--primary-glow);
}

.hero__btn--secondary {
  background: color-mix(in oklab, var(--surface) 50%, transparent);
  border: 1px solid var(--border);
  color: var(--foreground);
}

.hero__btn--secondary:hover {
  border-color: color-mix(in oklab, var(--primary) 50%, transparent);
  background: var(--surface);
}

.hero__btn-icon {
  width: 1rem;
  height: 1rem;
}

/* Social proof section */
.hero__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 1rem;
  margin-top: 2.5rem;
  font-size: var(--text-sm);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.hero__rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: color-mix(in oklab, var(--foreground) 85%, transparent);
}

.hero__stars {
  display: flex;
  gap: 0.25rem;
}

.hero__star {
  width: 1rem;
  height: 1rem;
  fill: var(--accent);
  color: var(--accent);
}

.hero__rating-text {
  color: color-mix(in oklab, var(--foreground) 85%, transparent);
}

/* Stats */
.hero__stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: color-mix(in oklab, var(--foreground) 85%, transparent);
}

.hero__stat-value {
  font-weight: 600;
  color: var(--foreground);
}

/* Pulse glow animation */
@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
