:root {
  --bg: #07080c;
  --surface: #0d0e14;
  --surface-2: #13151e;
  --fg: #e8eaf2;
  --fg-2: #8a8fa8;
  --accent: #00d4ff;
  --accent-dim: rgba(0, 212, 255, 0.12);
  --accent-border: rgba(0, 212, 255, 0.25);
  --font-head: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  background: rgba(7, 8, 12, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.nav-badge {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 4px 12px;
  border-radius: 20px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}
.stat-label {
  font-size: 0.72rem;
  color: var(--fg-2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* Portal visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
}
.portal-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.2);
}
.portal-ring-1 { width: 320px; height: 320px; animation: spin 20s linear infinite; }
.portal-ring-2 { width: 240px; height: 240px; animation: spin 14s linear infinite reverse; border-color: rgba(0,212,255,0.35); }
.portal-ring-3 { width: 160px; height: 160px; animation: spin 9s linear infinite; border-color: rgba(0,212,255,0.5); }
.portal-core {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 3s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 30px rgba(0,212,255,0.15); } 50% { box-shadow: 0 0 60px rgba(0,212,255,0.3); } }

/* Manifesto */
.manifesto {
  padding: 100px 48px;
  background: var(--surface);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.manifesto-inner {
  max-width: 780px;
  margin: 0 auto;
}
.manifesto-quote {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--fg);
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}
.manifesto-body {
  font-size: 1.05rem;
  color: var(--fg-2);
  line-height: 1.8;
  margin-bottom: 20px;
}
.manifesto-body strong { color: var(--accent); font-weight: 500; }

/* Platforms */
.platforms {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 16px;
}
.section-title.light { color: var(--fg); }
.section-sub {
  font-size: 1rem;
  color: var(--fg-2);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 60px;
}
.section-sub.light { color: var(--fg-2); }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.platform-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.platform-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
}
.platform-icon {
  color: var(--accent);
  margin-bottom: 16px;
}
.platform-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.platform-card p {
  font-size: 0.875rem;
  color: var(--fg-2);
  line-height: 1.6;
}

/* Agents */
.agents {
  padding: 100px 48px;
  background: var(--surface);
  border-top: 1px solid rgba(255,255,255,0.04);
}
.agents-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.agent-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.agent-card {
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 32px;
}
.agent-avatar {
  width: 56px; height: 56px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.agent-card h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.agent-card p {
  font-size: 0.9rem;
  color: var(--fg-2);
  line-height: 1.6;
}

/* Closing */
.closing {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.closing-statement {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--fg);
}

/* Footer */
footer {
  padding: 40px 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  display: block;
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 0.8rem;
  color: var(--fg-2);
}
.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-links span {
  font-size: 0.8rem;
  color: var(--fg-2);
  font-weight: 500;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
}

/* Responsive */
@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  .hero { padding: 100px 24px 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .manifesto, .platforms, .agents, .closing { padding: 60px 24px; }
  .platform-grid { grid-template-columns: 1fr 1fr; }
  .agent-cards { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 480px) {
  .platform-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-sep { display: none; }
}