/* ============================================
   Neuromorphic — static rebuild
   ============================================ */

/* Satoshi, self-hosted (same files the original site loads) */
@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/satoshi-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/satoshi-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/satoshi-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050505;
  --bg-raised: #0d0d0d;
  --bg-card: #111111;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f5f5;
  --text-dim: #9a9a9a;
  --text-faint: #6b6b6b;
  --accent: #ff2e88;
  --accent-soft: rgba(255, 46, 136, 0.12);
  --radius-lg: 20px;
  --radius-pill: 999px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "blwf", "cv03", "cv04", "cv09", "cv11";
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  animation: nav-drop 0.7s var(--ease) both;
}

@keyframes nav-drop {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  font-size: 14px;
}

.brand img {
  width: 28px;
  height: 28px;
  filter: invert(1);
  transition: transform 0.6s var(--ease);
}

.brand:hover img {
  transform: rotate(90deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.nav-links a:not(.btn) {
  color: var(--text-dim);
  transition: color 0.25s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--text);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s ease,
    border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn .arrow {
  transition: transform 0.3s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn-light {
  background: #fff;
  color: #0a0a0a;
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.18);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
}

/* ---------- Hero ---------- */

.hero {
  padding: calc(var(--nav-h) + 96px) 0 96px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 18% 20%, rgba(255, 46, 136, 0.07), transparent 65%),
    radial-gradient(ellipse 45% 40% at 85% 75%, rgba(255, 255, 255, 0.03), transparent 60%);
  pointer-events: none;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 18ch;
}

.hero .sub {
  margin-top: 26px;
  color: var(--text-dim);
  font-size: 17px;
  max-width: 52ch;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* staggered entrance */
.hero .stagger {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s var(--ease) forwards;
}

.hero .stagger:nth-child(1) { animation-delay: 0.1s; }
.hero .stagger:nth-child(2) { animation-delay: 0.22s; }
.hero .stagger:nth-child(3) { animation-delay: 0.34s; }
.hero .stagger:nth-child(4) { animation-delay: 0.46s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Backed-by strip ---------- */

.backed {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 34px 0;
  background: var(--bg-raised);
}

.backed-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.backed-label .eyebrow {
  margin-bottom: 6px;
  color: var(--text-faint);
}

.backed-label p {
  color: var(--text-dim);
  font-size: 15px;
}

.badges {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.badge-yc {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 16px;
}

.badge-yc .yc-mark {
  width: 40px;
  height: 40px;
  background: #f26522;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}

.badge-nvidia img {
  height: 52px;
  width: auto;
  border-radius: 6px;
}

/* ---------- Full-bleed imagery ---------- */

.feature-image {
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: auto;
  transform: scale(1.06);
  transition: transform 1.4s var(--ease);
}

.feature-image.in-view img {
  transform: scale(1);
}

/* ---------- Sections ---------- */

section.block {
  padding: 110px 0;
}

.block h2 {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 24ch;
}

.block .lead {
  margin-top: 20px;
  color: var(--text-dim);
  font-size: 17px;
  max-width: 58ch;
}

/* ---------- Steps / cards ---------- */

.steps {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px 44px;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s ease;
}

.step::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 120%, var(--accent-soft), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.step:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 46, 136, 0.35);
}

.step:hover::after {
  opacity: 1;
}

.step .num {
  color: var(--text-faint);
  font-size: 13px;
  letter-spacing: 0.15em;
}

.step h3 {
  margin-top: 48px;
  font-size: 22px;
  font-weight: 500;
}

.step p {
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 15px;
}

/* ---------- Contact CTA ---------- */

.cta {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
}

.cta-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--border);
  padding: 44px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner .brand {
  font-size: 13px;
}

.footer-inner .tagline {
  color: var(--text-faint);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-dim);
  transition: color 0.3s ease, border-color 0.3s ease,
    transform 0.3s var(--ease), background 0.3s ease;
}

.socials a:hover {
  color: #fff;
  border-color: rgba(255, 46, 136, 0.55);
  background: var(--accent-soft);
  transform: translateY(-3px);
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ---------- Gamma page ---------- */

.gamma-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 60px;
  position: relative;
  overflow: hidden;
}

.gamma-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 75% 50%, rgba(255, 46, 136, 0.06), transparent 65%);
  pointer-events: none;
}

.gamma-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.gamma-copy h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.gamma-copy .sub {
  margin-top: 22px;
  color: var(--text-dim);
  max-width: 46ch;
}

.gamma-copy .hero-actions {
  margin-top: 36px;
}

.gamma-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.gamma-visual img {
  width: 100%;
  max-width: 460px;
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 0 42px rgba(255, 255, 255, 0.05));
}

.gamma-visual::before {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 46, 136, 0.1), transparent 70%);
  animation: pulse 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.08); }
}

/* blinking status dot for "coming soon" */
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 46, 136, 0.5); }
  50%      { opacity: 0.4; box-shadow: 0 0 0 6px rgba(255, 46, 136, 0); }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .gamma-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .gamma-visual {
    order: -1;
  }

  .gamma-visual img {
    max-width: 320px;
  }

  .gamma-copy .sub {
    margin-inline: auto;
  }

  .gamma-copy .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .nav-links a:not(.btn) {
    display: none;
  }

  section.block {
    padding: 72px 0;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 56px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
