/* ai.gaspersic.xyz — temporary placeholder for the AI stack.
   Shares the blue-galaxy look of gaspersic.xyz. The nebula + starfield are
   injected at runtime by js/background.js; this file styles the content. */

:root {
  --text-color: #ffffff;
  --muted-color: rgba(255, 255, 255, 0.66);
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, "Courier New", monospace;
  --primary-color: #8ab4ff;
  --primary-light: #b9d2ff;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.28);
  --maxw: 1000px;
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
  /* Instant deep-space base so there's no white flash before background.js
     injects the nebula. The body stays transparent so the negative-z
     nebula/star layers show through. */
  background: #050516;
}

html, body {
  font-family: var(--font-main);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-color);
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}
body {
  background: transparent;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; display: flex; }

#starbg {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

a { color: var(--primary-light); text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Hero -------------------------------------------------------------- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 32px 0;
}
.hero .wrap {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  color: var(--primary-color);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(40px, 8vw, 76px);
  line-height: 1.04;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  text-shadow: 0 0 48px rgba(138, 180, 255, 0.35), 0 2px 12px rgba(0, 0, 0, 0.85);
}
.hero h1 .dim { color: var(--primary-light); }
.hero-lead {
  max-width: 620px;
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--muted-color);
  margin-bottom: 26px;
}

/* Status pill ("coming soon") */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 30px;
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--muted-color);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
}
.status-dot {
  width: 8px; height: 8px;
  flex: none;
  border-radius: 50%;
  background: #ffb347;
  box-shadow: 0 0 8px rgba(255, 179, 71, 0.85);
}
@media (prefers-reduced-motion: no-preference) {
  .status-dot { animation: pulse 2.4s ease-in-out infinite; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 179, 71, 0.5); }
  50% { box-shadow: 0 0 9px 2px rgba(255, 179, 71, 0.9); }
}

/* ---- Footer ------------------------------------------------------------ */
.site-footer {
  flex-shrink: 0;
  text-align: center;
  padding: 24px 0 28px;
  color: var(--muted-color);
  font-size: 14px;
}
.site-footer a { border-bottom: 1px solid rgba(138, 180, 255, 0.4); }
.site-footer .foot-note {
  font-family: var(--font-mono);
  font-size: 12px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.55);
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
}
