/* ========================================================
   ASTRONOMINAL — Landing Page NASA Space Aesthetics
   ======================================================== */

/* ── Hero Section ────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: calc(4.25rem + 2rem) clamp(1.25rem, 5vw, 5rem) 4rem;
  position: relative;
}

.hero-copy {
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  z-index: 2;
}

.hero-copy h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero-copy h1 span.gradient-text {
  color: #fff;
  text-shadow: 0 0 35px rgba(56, 189, 248, 0.35);
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--cyan);
}

.hero-copy .lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 40rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 0.75rem;
  max-width: max-content;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  backdrop-filter: blur(8px);
}
.hero-stat strong {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cyan);
}
.hero-stat span {
  font-size: 0.78rem;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

/* ── NASA Orrery Hero Centerpiece ───────────────────────── */
.orrery-hero-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
  aspect-ratio: 1;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orrery-canvas-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(10, 16, 32, 0.5) 0%, rgba(2, 4, 8, 0.95) 72%, transparent 100%);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 100px rgba(0, 0, 0, 0.9), inset 0 0 60px rgba(0, 0, 0, 0.8);
}

#heroOrreryCanvas {
  width: 100%;
  height: 100%;
  cursor: crosshair;
  border-radius: 50%;
}

/* Orrery HUD overlay controls */
.orrery-hud-badge {
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.8rem;
  background: rgba(4, 7, 14, 0.88);
  border: 1px solid var(--line-cyan);
  border-radius: var(--r-sm);
  backdrop-filter: blur(12px);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
  pointer-events: none;
  z-index: 5;
}

.orrery-controls-bar {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  background: rgba(4, 7, 14, 0.94);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  z-index: 5;
  box-shadow: var(--shadow-sm);
}

.orrery-ctrl-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-2);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
}
.orrery-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}
.orrery-ctrl-btn.active {
  background: var(--cyan-dim);
  border-color: rgba(56, 189, 248, 0.4);
  color: var(--cyan);
  font-weight: 700;
}

/* Floating telemetry tooltip */
.orrery-telemetry-card {
  position: absolute;
  right: -0.5rem;
  bottom: 2.5rem;
  z-index: 10;
  width: min(230px, 48vw);
  padding: 0.9rem 1rem;
  background: rgba(4, 8, 18, 0.94);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--r-md);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.orrery-telemetry-card .ot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 0.45rem;
  margin-bottom: 0.55rem;
}
.orrery-telemetry-card .ot-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.orrery-telemetry-card .ot-symbol { font-size: 1.15rem; }
.orrery-telemetry-card .ot-row {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--muted);
}
.orrery-telemetry-card .ot-row span:last-child { color: var(--cyan); font-weight: 600; }

/* ── Platform Section ────────────────────────────────────── */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.feature-card {
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  backdrop-filter: blur(18px);
  transition: border-color var(--t-med), transform var(--t-med), box-shadow var(--t-med);
}
.feature-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 30px rgba(56, 189, 248, 0.05);
}

.feature-card .fc-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--r-sm);
  margin-bottom: 1.15rem;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}
.fc-icon-cyan   { background: var(--cyan-dim);   border: 1px solid rgba(56, 189, 248, 0.2); color: var(--cyan); }
.fc-icon-gold   { background: rgba(255, 200, 59, 0.12); border: 1px solid rgba(255, 200, 59, 0.2); color: var(--sun-gold); }
.fc-icon-green  { background: var(--green-dim);  border: 1px solid rgba(16, 185, 129, 0.2); color: var(--green); }
.fc-icon-violet { background: var(--violet-dim); border: 1px solid rgba(139, 92, 246, 0.2); color: var(--violet); }
.fc-icon-rose   { background: var(--rose-dim);   border: 1px solid rgba(244, 63, 94, 0.2); color: var(--rose); }
.fc-icon-amber  { background: rgba(217, 119, 6, 0.12); border: 1px solid rgba(217, 119, 6, 0.2); color: #fbbf24; }

.feature-card h3 { margin-bottom: 0.55rem; font-size: 1.05rem; }
.feature-card p  { font-size: 0.85rem; color: var(--text-2); margin: 0; line-height: 1.62; }

/* ── Services Preview ────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.service-preview-card {
  position: relative;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  backdrop-filter: blur(18px);
  overflow: hidden;
  transition: all var(--t-med);
}
.service-preview-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.service-preview-card .spc-price {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sun-gold);
}
.service-preview-card .spc-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.service-preview-card h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.service-preview-card p  { font-size: 0.82rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* ── Pricing Teaser (Landing) ────────────────────────────── */
.pricing-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  align-items: start;
}

.price-card-landing {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  backdrop-filter: blur(18px);
  transition: transform var(--t-med), border-color var(--t-med);
}
.price-card-landing:hover { transform: translateY(-3px); }
.price-card-landing.featured {
  background: linear-gradient(160deg, rgba(56, 189, 248, 0.1), rgba(2, 6, 18, 0.95));
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 45px rgba(56, 189, 248, 0.1);
}

.pcl-name { font-size: 0.75rem; font-family: 'JetBrains Mono', monospace; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.85rem; }
.pcl-price { display: flex; align-items: flex-end; gap: 0.3rem; margin-bottom: 1.15rem; }
.pcl-price .amount { font-family: 'Space Grotesk', sans-serif; font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--text); }
.pcl-price .period { font-size: 0.8rem; color: var(--muted); padding-bottom: 0.25rem; }
.pcl-features { display: grid; gap: 0.45rem; margin-bottom: 1.4rem; }
.pcl-features li { font-size: 0.82rem; color: var(--text-2); display: flex; align-items: center; gap: 0.5rem; }
.pcl-features li::before { content: '—'; color: var(--cyan); font-size: 0.7rem; flex-shrink: 0; }

.campaign-banner-landing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.6rem;
  background: linear-gradient(135deg, rgba(255, 200, 59, 0.12), rgba(217, 119, 6, 0.06));
  border: 1px solid rgba(255, 200, 59, 0.3);
  border-radius: var(--r-md);
  margin-bottom: 2rem;
}
.campaign-banner-landing .cb-text strong { color: var(--sun-gold); font-size: 0.95rem; display: block; margin-bottom: 2px; }
.campaign-banner-landing .cb-text span   { font-size: 0.82rem; color: var(--text-2); }
.campaign-timer { font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; color: var(--sun-gold); font-weight: 700; white-space: nowrap; }

/* ── CTA Waitlist ────────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: clamp(4rem, 8vw, 6.5rem) clamp(1.25rem, 5vw, 5rem);
}
.cta-section h2 { margin-bottom: 0.85rem; }
.cta-section p  { font-size: 1rem; margin-bottom: 2.25rem; max-width: 42rem; margin-left: auto; margin-right: auto; }

.cta-form {
  display: flex;
  gap: 0.6rem;
  max-width: 26rem;
  margin: 0 auto;
}
.cta-form input {
  flex: 1;
  height: 2.9rem;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.cta-form input::placeholder { color: var(--muted); }
.cta-form input:focus {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}
.form-note { font-size: 0.75rem; color: var(--muted); margin-top: 0.75rem; }

/* ── Responsive Mobile Design ────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: calc(3.85rem + 1.25rem) 1rem 3rem;
    min-height: auto;
    text-align: center;
    gap: 1.75rem;
    overflow-x: hidden;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .hero-copy .eyebrow {
    font-size: 0.72rem;
    margin-bottom: 0.65rem;
    letter-spacing: 0.08em;
    text-align: center;
    line-height: 1.35;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 7.8vw, 3.2rem);
    line-height: 1.05;
    margin-bottom: 0.85rem;
    letter-spacing: -0.025em;
  }

  .hero-copy .lead {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.4rem;
    max-width: 94%;
    margin-inline: auto;
  }

  .hero-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.6rem;
  }

  .hero-actions .btn {
    width: 100%;
    height: 2.85rem;
    font-size: 0.9rem;
    justify-content: center;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-stat {
    padding: 0.55rem 0.6rem;
    align-items: center;
    text-align: center;
    gap: 2px;
  }
  .hero-stat strong {
    font-size: 1.1rem;
  }
  .hero-stat span {
    font-size: 0.7rem;
  }

  /* Orrery Hero Centerpiece */
  .orrery-hero-wrapper {
    max-width: min(315px, 86vw);
    width: 100%;
    aspect-ratio: 1;
    margin: 0 auto;
  }

  .orrery-hud-badge {
    top: 0.45rem;
    left: 0.45rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.62rem;
  }

  .orrery-controls-bar {
    bottom: 0.45rem;
    inset-inline: 0.35rem;
    padding: 0.25rem;
    gap: 0.2rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .orrery-ctrl-btn {
    padding: 0.2rem 0.4rem;
    font-size: 0.64rem;
    height: 1.6rem;
  }

  .orrery-telemetry-card {
    width: 145px;
    padding: 0.45rem 0.55rem;
    bottom: 0.45rem;
    right: 0.45rem;
  }

  /* Grid Layouts on Mobile */
  .platform-grid,
  .services-grid,
  .pricing-teaser {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .campaign-banner-landing {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
  }

  .cta-form {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }

  .cta-form input {
    width: 100%;
  }

  .cta-form .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-copy h1 {
    font-size: 2.1rem;
  }

  .orrery-hero-wrapper {
    max-width: 275px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
}
