/* Planet Builder — landing page. Dark space theme, no external assets. */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #070b18;
  --bg-panel: #0d1428;
  --text: #e8edf7;
  --text-dim: #9aa7c4;
  --accent: #64d8ff;
  --accent-2: #7ee787;
  --border: #1d2a4a;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- starfield: two tiled radial-gradient layers drifting at different speeds --- */
.stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(1px 1px at 25px 35px, #ffffffaa, transparent),
    radial-gradient(1px 1px at 125px 95px, #ffffff66, transparent),
    radial-gradient(1.5px 1.5px at 75px 160px, #aaddffaa, transparent),
    radial-gradient(1px 1px at 180px 40px, #ffffff88, transparent),
    radial-gradient(1px 1px at 60px 220px, #ffffff55, transparent),
    radial-gradient(1.5px 1.5px at 210px 190px, #ffe9aa88, transparent);
  background-size: 240px 240px;
  animation: drift 180s linear infinite;
}
@keyframes drift {
  to { background-position: 240px 480px; }
}

section, header, footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
  text-align: center;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 4rem);
  letter-spacing: 0.04em;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin-bottom: 0.5rem; }

.section-sub {
  color: var(--text-dim);
  max-width: 34rem;
  margin: 0 auto 2rem;
}

/* --- hero --- */
.hero { padding-top: 4.5rem; }

.hero-planet {
  width: min(46vw, 260px);
  height: auto;
  filter: drop-shadow(0 0 45px #64d8ff44) drop-shadow(0 0 120px #2b6cff22);
  animation: float 7s ease-in-out infinite;
  margin-bottom: 1.5rem;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.tagline { font-size: clamp(1.1rem, 3vw, 1.4rem); margin-top: 0.75rem; }
.sub { color: var(--text-dim); margin-top: 0.5rem; }

.cta-row {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 2rem;
  border: 1px solid var(--border);
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  background: var(--bg-panel);
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 18px #0008; }

.btn-primary {
  background: linear-gradient(120deg, #1273b8, #14935e);
  border-color: transparent;
}

.btn-store { color: var(--text-dim); }
.btn-store.live { color: var(--text); border-color: var(--accent-2); }

/* --- journey --- */
.stage-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.stage-row img {
  width: clamp(52px, 13vw, 130px);
  height: auto;
  filter: drop-shadow(0 0 14px #0009);
}
.stage-row img:last-child { width: clamp(70px, 17vw, 170px); }
.arrow { color: var(--text-dim); font-size: 1.2rem; }

/* --- paths --- */
.path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.path-grid figure {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem 1rem;
}
.path-grid img { width: min(60%, 160px); height: auto; }
.path-grid figcaption { margin-top: 0.8rem; }
.path-grid figcaption strong { display: block; font-size: 1.1rem; }
.path-grid figcaption span { color: var(--text-dim); font-size: 0.9rem; }

/* --- features --- */
.features ul {
  list-style: none;
  max-width: 38rem;
  margin: 0 auto;
  text-align: left;
}
.features li {
  padding: 0.7rem 0 0.7rem 1.8rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.features li:last-child { border-bottom: none; }
.features li::before {
  content: "🪐";
  position: absolute;
  left: 0;
  top: 0.7rem;
  font-size: 0.9rem;
}

/* --- signup --- */
.notify {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  margin: 2rem auto;
  max-width: 720px;
}

#signup-form { max-width: 30rem; margin: 0 auto; }

.field-row { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; }

#email {
  flex: 1 1 240px;
  padding: 0.8rem 1.1rem;
  border-radius: 2rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
}
#email:focus { outline: 2px solid var(--accent); border-color: transparent; }

.consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  text-align: left;
  color: var(--text-dim);
  font-size: 0.82rem;
  margin-top: 1.1rem;
}
.consent input { margin-top: 0.25rem; flex-shrink: 0; }
.consent a { color: var(--accent); }

/* reCAPTCHA disclosure under the form — quieter than the consent text, which
   is the one line a visitor must actually read before ticking the box. */
.fineprint {
  text-align: left;
  color: var(--text-dim);
  font-size: 0.72rem;
  line-height: 1.5;
  margin-top: 0.9rem;
  opacity: 0.85;
}
.fineprint a { color: var(--accent); }

#form-status { margin-top: 1rem; min-height: 1.5rem; font-weight: 600; }
#form-status.ok { color: var(--accent-2); }
#form-status.err { color: #ff9c9c; }

/* --- footer --- */
footer { color: var(--text-dim); font-size: 0.9rem; padding-bottom: 4rem; }
footer a { color: var(--accent); }
.disclosure { font-size: 0.8rem; margin: 0.6rem 0; }
