/* =============================================
   HERO.CSS — Hero section styles
   ============================================= */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
  background: var(--color-bg);
}

/* ---- Background grid pattern ---- */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,255,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,255,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ---- Ambient glow orbs ---- */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,255,0,0.15) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  animation: orb-drift 8s ease-in-out infinite alternate;
}

.hero-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168,85,247,0.12) 0%, transparent 70%);
  bottom: -100px;
  left: -80px;
  animation: orb-drift 10s ease-in-out infinite alternate-reverse;
}

/* ---- Main content ---- */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-eyebrow {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  opacity: 0;
  animation: fade-up 0.8s 0.2s forwards;
}

.hero-title {
  font-size: clamp(4rem, 10vw, var(--fs-6xl));
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.hero-title .line {
  display: block;
  opacity: 0;
  animation: fade-up 0.8s forwards;
}

.hero-title .line:nth-child(1) { animation-delay: 0.3s; }
.hero-title .line:nth-child(2) { animation-delay: 0.5s; }
.hero-title .line:nth-child(3) { animation-delay: 0.7s; }

.hero-title .accent {
  color: var(--color-accent);
  text-shadow: 0 0 60px var(--color-accent-glow);
}

.hero-sub {
  font-size: var(--fs-lg);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fade-up 0.8s 0.9s forwards;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 0.8s 1.1s forwards;
}

/* ---- Stats bar ---- */
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fade-up 0.8s 1.4s forwards;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: 0.05em;
}

.stat-label {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .hero-stats {
    gap: var(--space-lg);
  }

  .hero-title {
    font-size: clamp(3rem, 14vw, 5rem);
  }
}

/* ---- Keyframes ---- */
@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.05); }
}
