/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

/* Planet / orbit graphic */
.hero-planet {
  position: relative;
  width: 320px;
  height: 220px;
  margin-bottom: 20px;
}

.planet-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff, #7dc8ff 40%, #1a6dff 80%);
  box-shadow: 0 0 60px 20px rgba(59, 158, 255, 0.5), 0 0 120px 40px rgba(59, 158, 255, 0.2);
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1.5px solid rgba(59, 158, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(70deg) rotateZ(-20deg);
}

.orbit-1 {
  width: 200px;
  height: 200px;
  border-color: rgba(59, 158, 255, 0.35);
}

.orbit-2 {
  width: 300px;
  height: 300px;
  border-color: rgba(59, 158, 255, 0.2);
}

/* Shooting star / streak */
.streak {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  transform: rotate(-25deg);
}

.streak-1 {
  top: 18%;
  right: 5%;
  width: 200px;
}

.streak-2 {
  bottom: 30%;
  left: 2%;
  width: 150px;
  opacity: 0.5;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.hero h1 span {
  color: #3b9eff;
}

.hero h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 600px;
}

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 420px;
  line-height: 1.6;
  margin-bottom: 36px;
}

/* ---- Home features section ---- */
.features {
  position: relative;
  z-index: 1;
  padding: 80px 24px 120px;
  text-align: center;
}

.features::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(10, 60, 140, 0.3) 0%, transparent 70%),
    radial-gradient(ellipse at 50% 0%, rgba(5, 13, 26, 0.8) 0%, transparent 50%);
  pointer-events: none;
}

.features h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 60px;
  position: relative;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.cards .card {
  flex: 1;
  max-width: 270px;
  text-align: center;
}

.cards .card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
}

.cards .card-icon svg {
  width: 40px;
  height: 40px;
}

/* ---- Bottom glow ---- */
.bottom-glow {
  position: relative;
  height: 300px;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(10, 60, 160, 0.25) 0%, transparent 60%),
    linear-gradient(180deg, transparent, #050d1a);
  overflow: hidden;
}

.bottom-glow::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 158, 255, 0.5), transparent);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-planet {
    width: 240px;
    height: 170px;
  }

  .planet-core {
    width: 60px;
    height: 60px;
  }

  .orbit-1 {
    width: 150px;
    height: 150px;
  }

  .orbit-2 {
    width: 220px;
    height: 220px;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .cards .card {
    max-width: 320px;
  }

  .features h2 {
    font-size: 28px;
  }
}
