.hero {
  position: relative;
  min-height: 110vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  top: -5rem;
  will-change: transform;
}

.hero-bg-img {
  width: 100%;
  height: calc(100% + 10rem);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.9));
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
}

.hero-glow-1 {
  top: 25%;
  right: 25%;
  width: 16rem;
  height: 16rem;
  background: hsl(160 84% 39% / 0.1);
  animation: float 6s ease-in-out infinite;
}

.hero-glow-2 {
  bottom: 33%;
  left: 20%;
  width: 12rem;
  height: 12rem;
  background: rgba(45, 212, 191, 0.1);
  animation: float 6s ease-in-out infinite;
  animation-delay: 2s;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8rem 1rem 0;
  will-change: opacity, transform;
}

@media (min-width: 640px) {
  .hero-content { padding: 8rem 1.5rem 0; }
}

@media (min-width: 768px) {
  .hero { align-items: center; }
  .hero-content { padding: 0 2rem; }
}

.hero-content > * {
  max-width: 48rem;
}

/* Staggered entry animations (matching Next.js framer-motion delays) */
.hero-badge,
.hero-title,
.hero-subtitle,
.hero-actions {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 0.6s ease-out forwards;
}

.hero-badge { animation-delay: 0.2s; }
.hero-title { animation-delay: 0.3s; }
.hero-subtitle { animation-delay: 0.4s; }
.hero-actions { animation-delay: 0.5s; }

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 2rem;
}

.hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: hsl(160 84% 39%);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-badge span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: white;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-title { font-size: 3rem; }
}

@media (min-width: 768px) {
  .hero-title { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 4.5rem; }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 42rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .hero-subtitle { font-size: 1.25rem; }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: color var(--duration-normal), opacity 0.8s ease;
  background: none;
  border: none;
  opacity: 0;
}

.hero-scroll.visible {
  opacity: 1;
}

.hero-scroll:hover {
  color: rgba(255, 255, 255, 0.8);
}

.hero-scroll-text {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}