@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg: #06040a;
  --bg-2: #0b0712;
  --surface: rgba(255,255,255,.035);
  --surface-2: rgba(255,255,255,.055);
  --line: rgba(255,255,255,.09);
  --text: #f6f3fb;
  --muted: #a79eaf;
  --purple: #8b5cf6;
  --purple-2: #b18cff;
  --purple-3: #5b21b6;
  --shadow: 0 30px 80px rgba(0,0,0,.35);
  --radius: 28px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 8%, rgba(111, 66, 193, .16), transparent 30%),
    radial-gradient(circle at 10% 25%, rgba(139, 92, 246, .08), transparent 24%),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: var(--shell); margin: 0 auto; }
.section { padding: 120px 0; position: relative; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .brand-copy strong { font-family: "Space Grotesk", Inter, sans-serif; }
h1 {
  font-size: clamp(4rem, 8vw, 7.9rem);
  line-height: .91;
  letter-spacing: -.065em;
  max-width: 980px;
  margin-bottom: 32px;
}
h2 {
  font-size: clamp(2.7rem, 5vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.055em;
  margin-bottom: 26px;
}
h3 {
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -.025em;
}
p { color: var(--muted); }

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(139,92,246,.08), transparent 65%);
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0;
  transition: opacity .25s ease;
}
body:hover .cursor-glow { opacity: 1; }

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 4, 10, .68);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
}
.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(139,92,246,.18), rgba(139,92,246,.03));
  border: 1px solid rgba(139,92,246,.28);
  box-shadow: inset 0 0 24px rgba(139,92,246,.12);
}
.brand-mark svg { width: 24px; fill: var(--purple-2); }
.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-copy strong {
  font-size: 1rem;
  letter-spacing: .18em;
}
.brand-copy small {
  margin-top: 5px;
  color: var(--purple-2);
  letter-spacing: .35em;
  font-size: .53rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: .88rem;
  color: #c8c0cf;
}
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: white; }
.nav-cta {
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.035);
}
.nav-toggle { display: none; }

.hero { padding-top: 92px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 52px;
  min-height: 680px;
}
.eyebrow, .section-kicker, .mini-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--purple-2);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple-2);
  box-shadow: 0 0 18px var(--purple);
}
.gradient-text {
  display: block;
  background: linear-gradient(90deg, #fff, #c7b0ff 48%, #7550c8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 720px;
  font-size: 1.08rem;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: .92rem;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #9b6cff);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 14px 40px rgba(124,58,237,.25);
}
.btn-ghost { background: rgba(255,255,255,.035); }
.btn-ghost span, .text-link span { color: var(--purple-2); }
.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}
.hero-note > span {
  width: 34px;
  height: 1px;
  background: var(--purple);
}
.hero-note p { margin: 0; font-size: .84rem; }
.hero-note strong { color: white; }

.hero-visual {
  min-height: 550px;
  position: relative;
  display: grid;
  place-items: center;
}
.system-card {
  position: relative;
  width: min(100%, 500px);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015)),
    rgba(12, 8, 18, .72);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.system-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 38%, rgba(139,92,246,.16), transparent 32%);
  pointer-events: none;
}
.card-top {
  display: flex;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: #82798c;
  font-size: .64rem;
  letter-spacing: .13em;
}
.status { color: #c7b0ff; }
.status i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9b6cff;
  margin-right: 6px;
  box-shadow: 0 0 13px #9b6cff;
}
.core-graphic {
  height: 310px;
  position: relative;
  display: grid;
  place-items: center;
}
.core-ring {
  position: absolute;
  border: 1px solid rgba(139,92,246,.28);
  border-radius: 50%;
}
.ring-one { width: 220px; height: 220px; animation: spin 18s linear infinite; }
.ring-two { width: 160px; height: 160px; border-style: dashed; animation: spin-reverse 13s linear infinite; }
.ring-three { width: 95px; height: 95px; box-shadow: 0 0 40px rgba(139,92,246,.16); }
.core-node {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk";
  font-size: 1.35rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(145deg, #6d28d9, #9b6cff);
  box-shadow: 0 0 50px rgba(139,92,246,.38);
}
.node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 16px #8b5cf6;
}
.n1 { top: 72px; left: 92px; }
.n2 { top: 110px; right: 72px; }
.n3 { bottom: 82px; right: 115px; }
.n4 { bottom: 72px; left: 118px; }
.system-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.07);
}
.system-flow div {
  padding: 16px 12px;
  border-right: 1px solid rgba(255,255,255,.07);
}
.system-flow div:last-child { border-right: 0; }
.system-flow span {
  display: block;
  color: #675e70;
  font-size: .6rem;
}
.system-flow strong {
  display: block;
  margin-top: 3px;
  font-size: .62rem;
  letter-spacing: .08em;
  color: #d8d1df;
}
.float-card {
  position: absolute;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(9,6,14,.88);
  backdrop-filter: blur(14px);
  border-radius: 15px;
  box-shadow: 0 18px 50px rgba(0,0,0,.32);
}
.float-card small {
  display: block;
  color: #675e70;
  font-size: .55rem;
  letter-spacing: .16em;
}
.float-card strong {
  display: block;
  margin-top: 2px;
  font-size: .72rem;
  color: #d7c8ff;
}
.float-a { top: 95px; right: -10px; }
.float-b { bottom: 84px; left: -24px; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .28;
}
.orb-one { width: 250px; height: 250px; background: #7c3aed; top: 50px; right: 0; }
.orb-two { width: 180px; height: 180px; background: #4c1d95; bottom: 40px; left: 0; }

.hero-strip {
  margin-top: 80px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: #7f7688;
  font-size: .64rem;
  letter-spacing: .16em;
}
.hero-strip i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 12px var(--purple);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 780px;
  margin-bottom: 54px;
}
.section-heading .section-kicker { margin-bottom: 18px; }
.section-heading p {
  max-width: 640px;
  font-size: 1.02rem;
  line-height: 1.8;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.feature-card, .project-card, .founder-card, .contact-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)),
    rgba(255,255,255,.012);
  overflow: hidden;
}
.feature-card {
  padding: 34px;
  min-height: 330px;
}
.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -80px -130px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.13), transparent 65%);
}
.feature-number {
  position: absolute;
  top: 26px;
  right: 26px;
  color: #544c5c;
  font-size: .64rem;
  letter-spacing: .16em;
}
.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 70px;
  background: rgba(139,92,246,.10);
  border: 1px solid rgba(139,92,246,.22);
  color: #c4a7ff;
  font-family: "Space Grotesk";
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .06em;
}
.feature-card p { max-width: 480px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags span {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .65rem;
  color: #948b9e;
}

.tech-section {
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
  background:
    radial-gradient(circle at 75% 50%, rgba(139,92,246,.10), transparent 30%),
    rgba(255,255,255,.01);
}
.tech-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.tech-grid .section-heading { margin-bottom: 0; }
.stack {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.018);
}
.stack-row {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.018);
}
.stack-row.highlight {
  border-color: rgba(139,92,246,.22);
  background: rgba(139,92,246,.07);
}
.stack-row span {
  display: block;
  color: #766e7e;
  font-size: .58rem;
  letter-spacing: .17em;
}
.stack-row strong {
  display: block;
  margin-top: 5px;
  font-size: .75rem;
  letter-spacing: .05em;
}
.stack-arrow { text-align: center; color: #6f6578; padding: 5px 0; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.project-card {
  padding: 30px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.project-meta {
  display: flex;
  justify-content: space-between;
  color: #6f6678;
  font-size: .6rem;
  letter-spacing: .13em;
  margin-bottom: 76px;
}
.project-card h3 { max-width: 330px; font-size: 1.65rem; }
.project-card p { font-size: .88rem; }
.project-line {
  margin-top: auto;
  height: 1px;
  background: linear-gradient(90deg, var(--purple), transparent);
  opacity: .5;
}
.project-state {
  margin-top: 14px;
  color: #9f86d8;
  font-size: .6rem;
  letter-spacing: .14em;
}

.manifesto {
  padding: 150px 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(139,92,246,.17), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.015), transparent);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.manifesto-inner { text-align: center; }
.manifesto blockquote {
  margin: 28px auto 0;
  max-width: 980px;
  font-family: "Space Grotesk";
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -.055em;
}
.manifesto em { color: #b899ff; font-style: normal; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 90px;
}
.about-grid .section-heading { margin-bottom: 0; }
.about-copy p { line-height: 1.9; }
.lead-paragraph { color: #d9d2e0; font-size: 1.15rem; }
.founder-card {
  margin-top: 70px;
  padding: 34px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  align-items: center;
}
.founder-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 290px;
}
.founder-avatar {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #6d28d9, #9d74ff);
  box-shadow: 0 16px 40px rgba(109,40,217,.25);
  font-family: "Space Grotesk";
  font-weight: 700;
}
.founder-identity h3 { margin: 6px 0 4px; }
.founder-identity p { margin: 0; font-size: .8rem; }
.founder-bio { margin: 0; }
.text-link { font-size: .82rem; font-weight: 600; white-space: nowrap; }

.milestone-section {
  background:
    linear-gradient(90deg, rgba(82,44,129,.08), transparent 45%),
    rgba(255,255,255,.01);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.milestone {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 80px;
  align-items: end;
}
.milestone h2 { margin-top: 18px; margin-bottom: 0; }
.milestone-copy p { line-height: 1.85; }
.milestone-copy .subtle {
  font-size: .72rem;
  color: #655d6c;
  border-left: 1px solid #4d3b66;
  padding-left: 14px;
}

.contact-section { padding-bottom: 150px; }
.contact-card {
  padding: 70px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(139,92,246,.14), transparent 35%),
    rgba(255,255,255,.018);
}
.contact-card h2 { max-width: 820px; margin: 22px auto; }
.contact-card p { max-width: 680px; margin: 0 auto; }
.contact-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.email-note {
  display: block;
  margin-top: 18px;
  color: #5f5766;
  font-size: .65rem;
}

footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  background: #050308;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.footer-grid p {
  margin: 0;
  font-size: .68rem;
  letter-spacing: .1em;
  text-align: center;
}
.footer-grid p:last-child { text-align: right; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-reverse { to { transform: rotate(-360deg); } }

@media (max-width: 980px) {
  .hero-grid,
  .tech-grid,
  .about-grid,
  .milestone {
    grid-template-columns: 1fr;
  }
  .hero-visual { min-height: 500px; }
  .project-grid { grid-template-columns: 1fr; }
  .founder-card { grid-template-columns: 1fr; }
  .founder-bio { max-width: 720px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid p:last-child { text-align: center; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .section { padding: 88px 0; }
  .nav { height: 72px; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 0;
    background: transparent;
    padding: 8px;
    cursor: pointer;
  }
  .nav-toggle span {
    width: 24px;
    height: 1px;
    background: white;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 14px;
    right: 14px;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(8,5,12,.96);
    backdrop-filter: blur(18px);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px; }
  h1 { font-size: clamp(3.2rem, 17vw, 5.4rem); }
  .hero { padding-top: 54px; }
  .hero-grid { min-height: auto; gap: 18px; }
  .hero-visual { min-height: 430px; }
  .system-flow strong { font-size: .5rem; }
  .float-a { right: -2px; }
  .float-b { left: -2px; }
  .hero-strip {
    overflow-x: auto;
    justify-content: flex-start;
    white-space: nowrap;
    padding-right: 20px;
  }
  .card-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 300px; }
  .contact-card { padding: 48px 20px; }
  .founder-card { padding: 26px; }
}
