.hero {
  height: 70vh;
  padding-top: 70px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 5;
}

.hero-content h1 {
  font-family: var(--font-title);
  font-size: 3rem;
  letter-spacing: 2px;
}

.highlight {
  color: var(--purple-light);
}

.tagline {
  color: var(--text-dim);
  margin: 10px 0 25px;
  font-size: 1.2rem;
}
@keyframes neonGlow {
  0% {
    text-shadow: 0 0 4px var(--purple-light), 0 0 8px var(--purple);
  }
  50% {
    text-shadow: 0 0 10px var(--purple-light), 0 0 18px var(--purple);
  }
  100% {
    text-shadow: 0 0 4px var(--purple-light), 0 0 8px var(--purple);
  }
}

.hero-content h1 span.highlight {
  animation: neonGlow 2.5s infinite ease-in-out;
}

.hero-content h1,
.hero-content .tagline,
.hero-content .cta-btn {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s ease forwards;
}

.hero-content h1 {
  animation-delay: 0.1s;
}
.hero-content .tagline {
  animation-delay: 0.4s;
}
.hero-content .cta-btn {
  animation-delay: 0.7s;
}

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

.cta-btn {
  padding: 12px 30px;
  border: 2px solid var(--purple-light);
  border-radius: 8px;
  color: var(--purple-light);
  font-weight: 600;
  transition: 0.3s;
}

.cta-btn:hover {
  background: var(--purple-light);
  color: var(--bg);
}
