.hero-wrap {
  position: relative;
  height: 60vh;
  height: 60svh;
  min-height: 380px;
  overflow: hidden;
  background-color: #020617;
}

.hero-wrap * {
  box-sizing: border-box;
}

.hero-wrap #gridCanvas {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
}

.hero {
  pointer-events: none;
  z-index: 3;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: #fff;
  text-align: center;
  font-family: "Roboto", sans-serif;
}

.hero-content {
  max-width: 800px;
  padding-top: 72px; /* clear the fixed header */
}

.hero h1 {
  pointer-events: auto;
  font-family: "Orbitron", sans-serif;
  /* Scales with the screen so the 12-letter name always fits on one line. */
  font-size: clamp(1.5rem, 7.2vw, 3rem);
  margin: 0 0 1rem;
  letter-spacing: clamp(0.5px, 0.4vw, 2px);
  white-space: nowrap;
}

.hero p {
  pointer-events: auto;
  font-size: 1.2rem;
  margin: 0 0 2rem;
  line-height: 1.6;
}

.cta-btn {
  pointer-events: auto;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  font-family: "Orbitron", sans-serif;
  background-color: transparent;
  border: 2px solid #0ea5e9;
  color: #0ea5e9;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(14, 165, 233, 0.2);
  transition: all 0.4s ease;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn:hover {
  color: #fff;
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.8),
    0 0 30px rgba(14, 165, 233, 0.6);
}

.cta-btn:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .hero-content {
    max-width: 95%;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-btn {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
}