:root {
  --bg: #0a0e17;
  --bg-surface: #111827;
  --bg-elevated: #1a2234;
  --fg: #e2e8f0;
  --fg-dim: #94a3b8;
  --fg-muted: #64748b;
  --accent: #22d3ee;
  --accent-dim: rgba(34, 211, 238, 0.4);
  --accent-glow: rgba(34, 211, 238, 0.15);
  --accent-warm: #a78bfa;
  --border: rgba(148, 163, 184, 0.1);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Hero ── */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 80px 48px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #fff;
}

.hero h1 .accent {
  color: var(--accent);
}

.lede {
  font-size: 1.15rem;
  color: var(--fg-dim);
  max-width: 520px;
  line-height: 1.7;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pulse-ring {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid var(--accent-dim);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: pulse-outer 4s ease-in-out infinite;
}

.pulse-ring::before,
.pulse-ring::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--accent-dim);
}

.pulse-ring::before {
  width: 200px;
  height: 200px;
  animation: pulse-mid 4s ease-in-out infinite 0.5s;
}

.pulse-ring::after {
  width: 340px;
  height: 340px;
  opacity: 0.3;
  animation: pulse-out 4s ease-in-out infinite 1s;
}

.pulse-core {
  width: 120px;
  height: 120px;
  background: var(--accent-glow);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.synapse-icon {
  width: 80px;
  height: 80px;
}

@keyframes pulse-outer {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes pulse-mid {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.03); }
}

@keyframes pulse-out {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.04); }
}

/* ── Capabilities ── */
.capabilities {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 64px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--fg-dim);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cap-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.cap-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-4px);
}

.cap-card.featured {
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-elevated));
  border-color: var(--accent-dim);
  position: relative;
}

.cap-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 16px 16px 0 0;
}

.cap-number {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.cap-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}

.cap-card p {
  color: var(--fg-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Proof / Stats ── */
.proof {
  padding: 100px 48px;
  background: var(--bg-surface);
  position: relative;
}

.proof::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.proof-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.proof h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.proof-context {
  color: var(--fg-dim);
  font-size: 1.05rem;
  margin-bottom: 56px;
  max-width: 600px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat {
  text-align: center;
  padding: 32px 16px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--fg-dim);
  line-height: 1.5;
}

/* ── Vision ── */
.vision {
  padding: 120px 48px;
  max-width: 800px;
  margin: 0 auto;
}

.vision h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 32px;
  line-height: 1.35;
}

.vision p {
  color: var(--fg-dim);
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.75;
}

.vision-closer {
  color: var(--accent) !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem !important;
  margin-top: 40px !important;
}

/* ── Footer ── */
.site-footer {
  padding: 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}

.footer-line {
  color: var(--fg-muted);
  font-size: 0.9rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero { padding: 60px 24px 40px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-visual { order: -1; }
  .lede { margin: 0 auto; }
  .capabilities { padding: 60px 24px; }
  .cap-grid { grid-template-columns: 1fr; }
  .proof { padding: 60px 24px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .vision { padding: 60px 24px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .stats-row { grid-template-columns: 1fr; }
  .pulse-ring { width: 200px; height: 200px; }
  .pulse-ring::after { width: 260px; height: 260px; }
  .pulse-ring::before { width: 150px; height: 150px; }
}