/* ============================================
   ALIEN-OPERATIONS.AI — Hero Section
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

/* Particle canvas */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  width: 100%;
  padding: 0 1rem;
}

/* Subtitle */
.hero-subtitle {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--hud-amber);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 1;
}

.hero-subtitle-line {
  width: 2rem;
  height: 1px;
  background: rgba(255, 107, 0, 0.4);
}

/* Headline — typewriter */
.hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--alien-green);
  text-shadow: 0 0 10px var(--glow-green-mid), 0 0 30px var(--glow-green);
  margin-bottom: 1.5rem;
  min-height: 2.4em;
}

.hero-headline .typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background: var(--alien-green);
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: cursor-blink 0.75s step-end infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Subline */
.hero-subline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-primary);
  opacity: 1;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* CTA button */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  padding: 1rem 2rem;
  border: 1px solid rgba(57, 255, 20, 0.4);
  border-radius: 50px;
  background: rgba(57, 255, 20, 0.05);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  opacity: 1;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.15), inset 0 0 10px rgba(57, 255, 20, 0.1);
  animation: none;
}

.hero-cta:hover {
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.4), inset 0 0 15px rgba(57, 255, 20, 0.2);
  transform: translateY(-2px);
  background: rgba(57, 255, 20, 0.1);
}

.hero-cta .cta-sweep {
  position: absolute;
  inset: 0;
  background: rgba(57, 255, 20, 0.08);
  transform: translateX(-100%) skewX(12deg);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.hero-cta:hover .cta-sweep {
  transform: translateX(0) skewX(12deg);
}

.hero-cta .cta-arrow {
  color: var(--alien-green);
  transition: transform 0.3s ease;
  font-size: 1.2rem;
}

.hero-cta:hover .cta-arrow {
  transform: translateX(4px);
}

/* CTA pulse animation — starts after reveal */
.hero-cta.pulsing {
  animation: cta-pulse 2.5s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.15), inset 0 0 10px rgba(57, 255, 20, 0.1);
  }
  50% {
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.35), inset 0 0 20px rgba(57, 255, 20, 0.2);
  }
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.6;
}

.hero-scroll-text {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.hero-scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, var(--alien-green), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); transform-origin: top; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-headline .typewriter-cursor { animation: none; opacity: 1; }
  .hero-scroll-line { animation: none; }
  .hero-cta.pulsing { animation: none; }
}
