/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0e0e16;
  --bg-2: #14141f;
  --bg-card: #1a1a28;
  --text: #e8e8f0;
  --text-muted: #8080a0;
  --accent: #6366f1;
  --accent-warm: #f59e0b;
  --accent-glow: rgba(99, 102, 241, 0.15);
  --font-head: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-w: 1100px;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

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

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(14, 14, 22, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.12);
  padding: 0 24px;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta-link {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px !important;
  font-weight: 600;
  color: #a5b4fc !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s !important;
}
.nav-cta-link:hover {
  background: rgba(99, 102, 241, 0.25) !important;
  border-color: rgba(99, 102, 241, 0.5) !important;
  color: #c7d2fe !important;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--text);
}
.headline-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #a78bfa 50%, var(--accent-warm) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 32px;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 20px;
}
.proof-stat {
  font-size: 13px;
  color: var(--text-muted);
}
.proof-stat strong {
  color: var(--text);
  font-weight: 600;
  font-family: var(--font-head);
}
.proof-sep {
  width: 1px; height: 20px;
  background: rgba(255,255,255,0.1);
}

/* ===== SWARM VISUAL ===== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.swarm-diagram {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.swarm-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}
.center-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ring-pulse 3s ease-in-out infinite;
}
.ring-1 { width: 60px; height: 60px; border: 1.5px solid rgba(99,102,241,0.3); animation-delay: 0s; }
.ring-2 { width: 90px; height: 90px; border: 1px solid rgba(99,102,241,0.15); animation-delay: 0.5s; }
.ring-3 { width: 120px; height: 120px; border: 1px solid rgba(245,158,11,0.1); animation-delay: 1s; }
@keyframes ring-pulse {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.05); }
}
.center-node {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
  position: relative;
  z-index: 2;
}
.orbit-lines {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.swarm-orbit { position: absolute; width: 100%; height: 100%; top: 0; }
.worker-node {
  position: absolute;
  width: 72px; height: 36px;
  background: var(--bg-card);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.node-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.node-marketing { top: 0; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(99,102,241,0.05)); border-color: rgba(99,102,241,0.3); }
.node-sales { top: 45%; right: 0; transform: translateY(-50%); background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(245,158,11,0.04)); border-color: rgba(245,158,11,0.25); }
.node-support { bottom: 5%; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(99,102,241,0.05)); border-color: rgba(99,102,241,0.2); }
.node-research { top: 15%; left: 5%; background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(245,158,11,0.03)); border-color: rgba(245,158,11,0.2); }
.node-content { bottom: 15%; right: 5%; background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(99,102,241,0.03)); border-color: rgba(99,102,241,0.15); }
.node-data { top: 35%; left: 0; transform: translateY(-50%); background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(99,102,241,0.03)); border-color: rgba(99,102,241,0.1); }

/* ===== PROBLEM ===== */
.problem { padding: 80px 24px; background: var(--bg-2); }
.problem-inner { max-width: var(--max-w); margin: 0 auto; }
.problem-header { margin-bottom: 48px; }
.section-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.problem-statement {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
  max-width: 600px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 48px;
}
.problem-card { background: var(--bg-card); padding: 36px 32px; }
.problem-num {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -1px;
}
.problem-desc { font-size: 15px; color: var(--text-muted); line-height: 1.6; }
.problem-punch {
  text-align: center;
  padding: 28px;
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(245,158,11,0.05));
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--radius);
}
.problem-punch p { font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--text); }

/* ===== HOW ===== */
.how { padding: 80px 24px; }
.how-inner { max-width: var(--max-w); margin: 0 auto; }
.how-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  margin: 40px 0;
}
.step { padding: 24px; }
.step-num {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: rgba(99,102,241,0.15);
  margin-bottom: 12px;
  letter-spacing: -1px;
}
.step h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.step-arrow {
  display: flex;
  align-items: center;
  padding: 24px 8px;
  color: var(--text-muted);
}
.how-cta {
  text-align: center;
  margin-top: 32px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
}
.how-cta p { font-size: 15px; color: var(--text-muted); font-style: italic; }

/* ===== VERTICALS ===== */
.verticals { padding: 80px 24px; background: var(--bg-2); }
.verticals-inner { max-width: var(--max-w); margin: 0 auto; }
.verticals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.vertical-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}
.vertical-card:hover {
  border-color: rgba(99, 102, 241, 0.25);
  transform: translateY(-2px);
}
.vertical-icon { margin-bottom: 16px; }
.vertical-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.vertical-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }
.vertical-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.vertical-tags span {
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.15);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}

/* ===== MANIFESTO ===== */
.manifesto { padding: 100px 24px; background: linear-gradient(180deg, var(--bg) 0%, rgba(99,102,241,0.04) 100%); }
.manifesto-inner { max-width: 760px; margin: 0 auto; }
.manifesto-quote {
  margin-bottom: 48px;
  padding-left: 28px;
  border-left: 3px solid var(--accent);
}
.manifesto-quote blockquote {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  letter-spacing: -0.3px;
}
.manifesto-body p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.manifesto-body em { color: var(--accent); font-style: normal; font-weight: 600; }

/* ===== CLOSING ===== */
.closing { padding: 100px 24px; text-align: center; }
.closing-inner { max-width: 760px; margin: 0 auto; }
.closing h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.closing-sub { font-size: 17px; color: var(--text-muted); line-height: 1.7; max-width: 540px; margin: 0 auto; }

/* ===== FOOTER ===== */
.footer { padding: 40px 24px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 4px;
}
.footer-tagline { font-size: 14px; color: var(--text-muted); }
.footer-copy { font-size: 12px; color: rgba(128,128,160,0.5); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-visual { order: -1; }
  .swarm-diagram { width: 260px; height: 260px; }
  .hero-sub { max-width: 100%; }
  .hero-proof { justify-content: center; flex-wrap: wrap; }
  .nav-links { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .verticals-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 36px; }
  .problem-num { font-size: 36px; }
  .step { padding: 16px; }
}