/* ============================================================
   Hypersonic Hector — neon synthwave / arcade-space theme
   ============================================================ */

:root {
  --bg:        #05060d;
  --bg-2:      #0a0d1c;
  --panel:     rgba(18, 22, 42, 0.55);
  --panel-brd: rgba(120, 140, 255, 0.16);
  --text:      #d6dcf0;
  --muted:     #8b93b8;
  --magenta:   #ff2d95;
  --magenta-2: #ff63b3;
  --cyan:      #2be4ff;
  --blue:      #2b6bff;
  --ink-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
}

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

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(43, 107, 255, 0.18), transparent 60%),
    radial-gradient(1000px 600px at 85% 10%, rgba(255, 45, 149, 0.12), transparent 55%),
    radial-gradient(900px 700px at 10% 90%, rgba(43, 228, 255, 0.10), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* starfield canvas injected by stars.js */
#starfield {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
/* faint grid horizon glow under everything */
body::after {
  content: "";
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 38vh;
  background: linear-gradient(to top, rgba(43, 107, 255, 0.10), transparent);
  z-index: -1;
  pointer-events: none;
}

a { color: var(--cyan); text-decoration: none; transition: color .15s; }
a:hover { color: #fff; }

::selection { background: var(--magenta); color: #fff; }

/* ---------- logo bar ---------- */
header.logo-bar {
  padding: 2.4rem 1.5rem 0.6rem;
  text-align: center;
}
header.logo-bar a { display: inline-block; line-height: 0; }
header.logo-bar img {
  width: min(320px, 80vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 22px rgba(255, 45, 149, 0.35))
          drop-shadow(0 0 30px rgba(43, 228, 255, 0.25));
  transition: filter .3s, transform .3s;
}
header.logo-bar a:hover img {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 28px rgba(255, 45, 149, 0.55))
          drop-shadow(0 0 40px rgba(43, 228, 255, 0.4));
}

/* ---------- layout ---------- */
main {
  flex: 1;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 8rem;
  position: relative;
  z-index: 1;
}

/* shared eyebrow / kicker */
.kicker {
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(43, 228, 255, 0.55);
}

/* ---------- home splash ---------- */
.splash {
  text-align: center;
  padding: 2.4rem 0.5rem 0;
  animation: rise .7s cubic-bezier(.2,.7,.2,1) both;
}
.splash .kicker { display: block; margin-bottom: 1.6rem; }
.splash p.lead {
  font-size: 1.22rem;
  color: #c3cbe8;
  line-height: 1.65;
  max-width: 40rem;
  margin: 0 auto 1.1rem;
}
.splash p.lead b { color: #fff; font-weight: 600; }
.splash p.lead a {
  color: var(--magenta-2);
  border-bottom: 1px solid rgba(255, 99, 179, 0.4);
}
.splash p.lead a:hover { color: #fff; border-bottom-color: #fff; }

/* call to action button */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.4rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-family: "Orbitron", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(100deg, var(--magenta), var(--blue));
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset,
              0 10px 30px rgba(255, 45, 149, 0.35),
              0 6px 24px rgba(43, 107, 255, 0.3);
  transition: transform .18s, box-shadow .18s, filter .18s;
}
.cta:hover {
  color: #fff;
  transform: translateY(-2px);
  filter: saturate(1.15);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.14) inset,
              0 14px 40px rgba(255, 45, 149, 0.5),
              0 10px 30px rgba(43, 107, 255, 0.45);
}
.cta .arrow { transition: transform .18s; }
.cta:hover .arrow { transform: translateX(4px); }

/* founder credentials row on home */
.creds {
  margin: 3.2rem auto 0;
  max-width: 36rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.creds span {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--panel-brd);
  border-radius: 999px;
  background: var(--panel);
}

/* ---------- generic page titles ---------- */
.page-head {
  text-align: center;
  margin: 1rem 0 2.6rem;
  animation: rise .6s cubic-bezier(.2,.7,.2,1) both;
}
.page-head .kicker { display: block; margin-bottom: 0.9rem; }
.page-title {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 0 26px rgba(43, 107, 255, 0.35);
}
.page-title .glow-m { color: var(--magenta-2); text-shadow: 0 0 24px rgba(255, 45, 149, 0.6); }
.page-title .glow-c { color: var(--cyan); text-shadow: 0 0 24px rgba(43, 228, 255, 0.6); }

/* status badge ("releasing late 2026") */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.1rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--panel-brd);
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan), 0 0 18px var(--cyan);
  animation: pulse 1.8s ease-in-out infinite;
}

/* ---------- prose ---------- */
.prose {
  max-width: 44rem;
  margin: 0 auto;
}
.prose p {
  font-size: 1.12rem;
  color: #c3cbe8;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}
.prose .drop {
  color: var(--magenta-2);
  font-weight: 600;
}

/* ---------- feature grid (spacemaxxing) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2.8rem 0 0;
}
.feature {
  padding: 1.4rem 1.3rem;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--panel-brd);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 228, 255, 0.4);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 0 24px rgba(43, 228, 255, 0.12);
}
.feature .icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.7rem;
  display: block;
}
.feature h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.45rem;
}
.feature p {
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--muted);
}

/* section heading inside a page */
.section-label {
  font-family: "Orbitron", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin: 4rem 0 1.6rem;
  position: relative;
}
.section-label::before,
.section-label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 22%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--panel-brd), transparent);
}
.section-label::before { left: 0; }
.section-label::after  { right: 0; }

/* ---------- screenshots gallery ---------- */
.screenshots {
  display: flex;
  flex-direction: column;
  gap: 3.25rem;
  margin: 1.6rem 0 0;
}
.screenshots figure {
  position: relative;
  padding: 8px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(40, 48, 86, 0.5), rgba(12, 15, 30, 0.6));
  border: 1px solid var(--panel-brd);
  box-shadow: var(--ink-shadow);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.screenshots figure::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(120deg, rgba(255,45,149,0.5), rgba(43,228,255,0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.screenshots figure:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 60px rgba(0,0,0,0.6), 0 0 40px rgba(43, 228, 255, 0.16);
}
.screenshots figure:hover::before { opacity: 1; }
.screenshots figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  background: #000;
}

/* ---------- about photo ---------- */
figure.about-photo {
  max-width: 360px;
  margin: 0 auto 2.4rem;
  padding: 8px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(40, 48, 86, 0.5), rgba(12, 15, 30, 0.6));
  border: 1px solid var(--panel-brd);
  box-shadow: var(--ink-shadow);
}
figure.about-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  background: #000;
}

/* ---------- founder cards (about) ---------- */
.founders {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin: 3rem auto 0;
  max-width: 48rem;
}
.founder {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.5rem;
}
.founder.reverse { flex-direction: row-reverse; }
.founder .photo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder .photo img {
  height: 240px;
  width: auto;
  max-width: 100%;
  display: block;
  /* transparent cutout floating over the starfield */
  filter: drop-shadow(0 0 22px rgba(43, 228, 255, 0.3))
          drop-shadow(0 14px 26px rgba(0, 0, 0, 0.6));
  transition: transform .25s, filter .25s;
}
.founder:hover .photo img {
  transform: translateY(-5px);
  filter: drop-shadow(0 0 28px rgba(255, 45, 149, 0.45))
          drop-shadow(0 18px 30px rgba(0, 0, 0, 0.65));
}
.founder .bio { flex: 1; min-width: 0; }
.founder .bio h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 0.2rem;
}
.founder .bio .role {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.8rem;
}
.founder .bio p {
  font-size: 1rem;
  line-height: 1.65;
  color: #c3cbe8;
}

/* ---------- floating nav ---------- */
nav.floating {
  position: fixed;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 13, 28, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--panel-brd);
  border-radius: 999px;
  padding: 0.4rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.03) inset;
  z-index: 100;
}
nav.floating a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--muted);
  transition: background .15s, color .15s, box-shadow .15s;
}
nav.floating a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
nav.floating a.icon { padding: 0.5rem 0.65rem; color: var(--cyan); }
nav.floating a.icon:hover { box-shadow: 0 0 16px rgba(43, 228, 255, 0.4); }
nav.floating a.icon svg { width: 18px; height: 18px; display: block; }

/* ---------- footer ---------- */
.site-footer {
  text-align: center;
  padding: 0 1.5rem 7rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 1;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: #fff; }

/* ---------- animations ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 680px) {
  .founder, .founder.reverse {
    flex-direction: column;
    text-align: center;
    gap: 1.1rem;
  }
  .founder .photo { flex-basis: auto; }
  .founder .photo img { height: 220px; margin: 0 auto; }
  .founder .bio .role { letter-spacing: 0.18em; }
}

@media (max-width: 560px) {
  header.logo-bar { padding-top: 1.6rem; }
  header.logo-bar img { max-width: 86%; }
  main { padding-bottom: 7rem; }
  .splash p.lead { font-size: 1.08rem; }
  nav.floating { gap: 0.12rem; padding: 0.35rem 0.4rem; bottom: 1rem; }
  nav.floating a { padding: 0.5rem 0.75rem; font-size: 0.66rem; letter-spacing: 0.1em; }
}
