@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Space+Grotesk:wght@400;600;700&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  overflow-x: hidden;
  background: #050510;
  color: #fff;
  font-family: "DM Sans", sans-serif;
}

.scene {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 73% 43%, rgba(128, 66, 255, .22), transparent 27%),
    radial-gradient(circle at 18% 25%, rgba(0, 207, 255, .12), transparent 24%),
    linear-gradient(135deg, #060613 0%, #0b0920 45%, #110b29 100%);
}

.scene::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.stars { position: absolute; inset: 0; pointer-events: none; }
.star {
  position: absolute;
  width: 3px; height: 3px; border-radius: 50%;
  background: white;
  opacity: .7;
  animation: twinkle 2s infinite alternate;
}

.nav {
  position: relative; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: 30px 6vw;
}
.logo {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700; letter-spacing: 3px; font-size: 14px;
}
.logo span { color: #9c6cff; margin-right: 8px; }
.nav button, .ghost, .primary {
  border: 0; cursor: pointer; font: inherit;
}
.nav button {
  color: white; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  padding: 11px 20px; border-radius: 30px;
  backdrop-filter: blur(12px);
  transition: .3s;
}
.nav button:hover { background: rgba(156,108,255,.22); transform: translateY(-2px); }

.hero {
  position: relative; z-index: 2;
  min-height: 640px;
  display: grid; grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 20px;
  padding: 30px 8vw 80px;
}

.hero-copy { max-width: 700px; animation: reveal 1s ease both; }
.eyebrow {
  color: #9e91bc; text-transform: uppercase; letter-spacing: 4px;
  font-size: 11px; margin-bottom: 24px;
}
h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(48px, 6.2vw, 88px);
  line-height: .98; letter-spacing: -4px;
}
h1 span {
  background: linear-gradient(90deg, #b993ff, #63d9ff, #ff82d6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.subtitle {
  max-width: 570px; color: #aaa5bd; font-size: 17px;
  line-height: 1.75; margin: 28px 0 34px;
}
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.primary {
  padding: 15px 22px; border-radius: 14px; color: #090611;
  background: linear-gradient(100deg, #c19aff, #65dfff);
  font-weight: 700; box-shadow: 0 12px 40px rgba(104,177,255,.18);
  transition: .3s;
}
.primary:hover { transform: translateY(-3px) scale(1.02); }
.primary b { margin-left: 12px; }
.ghost {
  padding: 14px 20px; border-radius: 14px; color: #ddd7eb;
  background: transparent; border: 1px solid #363146;
  transition: .3s;
}
.ghost:hover { background: rgba(255,255,255,.06); }

.orbital {
  position: relative; height: 550px;
  display: grid; place-items: center;
  animation: float 5s ease-in-out infinite;
}
.planet {
  position: relative; z-index: 3;
  width: 245px; height: 245px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 32% 27%, #e7d9ff 0 3%, #b37dff 18%, #6a3fd0 48%, #21104d 78%);
  box-shadow: 0 0 70px rgba(144,91,255,.45), inset -35px -30px 60px rgba(0,0,0,.42);
  animation: pulse 4s ease-in-out infinite;
}
.planet-glow {
  position: absolute; inset: -30px; border-radius: 50%;
  background: radial-gradient(circle, rgba(142,94,255,.25), transparent 68%);
  z-index: -1;
}
.planet-face { font-size: 70px; transform: translateY(38px); opacity: .75; }
.planet-eye {
  position: absolute; width: 16px; height: 23px; border-radius: 50%;
  background: #fff; top: 89px;
}
.eye-left { left: 86px; } .eye-right { right: 86px; }
.orbit {
  position: absolute; border: 1px solid rgba(171,133,255,.3);
  border-radius: 50%; transform: rotate(-22deg);
}
.orbit-one { width: 420px; height: 180px; }
.orbit-two { width: 520px; height: 250px; transform: rotate(40deg); border-color: rgba(93,210,255,.2); }
.floating-card {
  position: absolute; z-index: 4;
  padding: 12px 17px; border-radius: 15px;
  background: rgba(16,13,35,.72);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 14px 35px rgba(0,0,0,.25);
  backdrop-filter: blur(12px);
  color: #a98cff;
  font-size: 18px;
}
.floating-card span { color: #d7d1e5; font-size: 12px; margin-left: 5px; }
.card-one { top: 92px; right: 3%; animation: drift 4s infinite; }
.card-two { bottom: 90px; left: 0; animation: drift 5s infinite reverse; }
.card-three { top: 46%; right: -2%; animation: drift 4.5s 1s infinite; }

.journey {
  position: relative; z-index: 4;
  margin: 0 8vw 40px; padding: 28px 30px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
  border-radius: 24px;
  backdrop-filter: blur(12px);
}
.journey > p { color: #777188; font-size: 10px; letter-spacing: 3px; margin-bottom: 18px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.steps div { display: flex; align-items: center; gap: 12px; color: #ddd8e8; }
.steps strong { color: #8f6bdf; font-size: 12px; }
.steps span { font-size: 14px; }

.toast {
  position: fixed; z-index: 20; bottom: 30px; left: 50%;
  transform: translate(-50%, 30px); opacity: 0;
  padding: 13px 20px; border-radius: 30px;
  background: #fff; color: #171225; font-weight: 700;
  transition: .4s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes reveal { from { opacity:0; transform:translateY(25px); } to { opacity:1; transform:none; } }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes pulse { 50% { box-shadow: 0 0 100px rgba(144,91,255,.58), inset -35px -30px 60px rgba(0,0,0,.42); } }
@keyframes drift { 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes twinkle { to { opacity: .15; transform: scale(.6); } }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; padding-top: 50px; }
  .orbital { height: 430px; }
  .planet { width: 190px; height: 190px; }
  .eye-left { left: 67px; } .eye-right { right: 67px; }
  .planet-eye { top: 69px; }
  .planet-face { font-size: 55px; }
  .orbit-one { width: 330px; height: 145px; }
  .orbit-two { width: 400px; height: 190px; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .nav { padding: 22px 5vw; }
  .nav button { display: none; }
  .hero { padding: 45px 6vw 55px; }
  h1 { letter-spacing: -2px; }
  .subtitle { font-size: 15px; }
  .orbital { height: 350px; transform: scale(.85); }
  .journey { margin: 0 6vw 25px; }
}
