/* =========================
   HERO
========================= */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;

  background:
    radial-gradient(
      900px circle at 80% 40%,
      rgba(180, 200, 255, 0.28),
      rgba(2, 4, 9, 0.95) 60%
    ),
    #020409;
}

/* three.js canvas */
#webgl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* hero content */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding-left: clamp(6%, 8vw, 10%);
  max-width: 560px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 4.5vw, 4rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-content p {
  margin-top: 20px;
  margin-bottom: 36px;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(229, 231, 235, 0.65);
}

.hero-content button {
  width: fit-content;
  padding: 14px 34px;
  border-radius: 999px;
  border: none;

  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;

  color: #020409;
  background: linear-gradient(135deg, #f1f5f9, #cbd5e1);

  box-shadow:
    0 12px 32px rgba(255, 255, 255, 0.15),
    inset 0 1px 0 rgba(255,255,255,0.5);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-content button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 18px 40px rgba(255, 255, 255, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.6);
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}


@media (max-width: 768px) {
  .hero {
    height: 100svh;
  }

  .hero-content {
    padding: 0 20px;
    max-width: 100%;
    align-items: flex-start;
  }

  .hero-content h1 {
    font-size: 2.1rem;
    line-height: 1.1;
  }

  .hero-content p {
    font-size: 0.95rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-content {
    max-width: 460px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1600px) {
  .hero-content {
    max-width: 680px;
  }

  .hero-content h1 {
    font-size: 4.6rem;
  }
}
