:root {
  --bg: #0B1628;
  --bg-2: #0F1E35;
  --bg-card: #132038;
  --fg: #E8EEF6;
  --fg-muted: #7A8FA8;
  --accent: #2563EB;
  --accent-glow: #3B82F6;
  --cyan: #06B6D4;
  --pass: #10B981;
  --progress: #F59E0B;
  --border: rgba(255,255,255,0.07);
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4rem;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 5rem 4rem 4rem;
  min-height: 88vh;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-stat-row {
  display: flex;
  gap: 3rem;
}
.hero-stat {}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-glow);
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 0.2rem;
}

/* Agent Widget */
.hero-widget {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.agent-window {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.agent-header {
  background: var(--bg-card);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.agent-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pass);
}
.agent-dot.live {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.agent-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-weight: 500;
}
.agent-feed {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.feed-item {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.feed-item:last-child { border-bottom: none; }
.feed-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--pass);
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.feed-icon.muted { background: rgba(255,255,255,0.1); color: var(--fg-muted); }
.feed-icon.spin { animation: spin 1.5s linear infinite; background: var(--progress); }
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.feed-text {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--fg);
}
.feed-sub {
  color: var(--fg-muted);
  font-size: 0.72rem;
}
.feed-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  flex-shrink: 0;
}
.feed-badge.pass { background: rgba(16, 185, 129, 0.15); color: var(--pass); }
.feed-badge.progress { background: rgba(245, 158, 11, 0.15); color: var(--progress); }
.feed-active { background: rgba(245, 158, 11, 0.05); border-radius: 8px; margin: 0.2rem -0.4rem; padding: 0.6rem 0.4rem; }
.feed-queue { opacity: 0.45; }
.widget-caption {
  font-size: 0.72rem;
  color: var(--fg-muted);
  text-align: center;
}

/* How It Works */
.how-it-works {
  padding: 5rem 4rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 3.5rem;
}
.pipeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.pipe-step {
  flex: 1;
  padding: 0 2rem;
}
.pipe-step:first-child { padding-left: 0; }
.pipe-step:last-child { padding-right: 0; }
.pipe-arrow {
  font-size: 1.5rem;
  color: var(--fg-muted);
  margin-top: 2rem;
  flex-shrink: 0;
}
.pipe-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}
.pipe-step h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.pipe-step p {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Features */
.features {
  padding: 5rem 4rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(37, 99, 235, 0.3); }
.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-glow);
  margin-bottom: 1.2rem;
}
.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.6rem;
}
.feature-card p {
  color: var(--fg-muted);
  font-size: 0.85rem;
  line-height: 1.65;
}

/* Manifesto */
.manifesto {
  padding: 5rem 4rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.manifesto-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.manifesto-text blockquote {
  font-family: 'Syne', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent);
}
.manifesto-text p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.big-stat {
  font-family: 'Syne', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent-glow);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.8rem;
}
.big-stat-label {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Closing */
.closing {
  padding: 5rem 4rem;
  text-align: center;
}
.closing h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.closing p {
  color: var(--fg-muted);
  font-size: 1rem;
}

/* Footer */
.footer {
  padding: 2.5rem 4rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
}
.footer-sub {
  color: var(--fg-muted);
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 3rem 2rem; gap: 2.5rem; }
  .hero-widget { order: -1; }
  .hero-stat-row { gap: 2rem; }
  .pipeline { flex-direction: column; gap: 2rem; }
  .pipe-arrow { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .manifesto-inner { grid-template-columns: 1fr; }
  .navbar, .features, .manifesto, .closing, .footer { padding-left: 2rem; padding-right: 2rem; }
  .how-it-works { padding: 3rem 2rem; }
  .footer { flex-direction: column; gap: 0.5rem; text-align: center; }
}
/* Broker Nav */
.broker-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4rem;
  border-bottom: 1px solid var(--border);
}
.nav-cta {
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-glow); }

/* Broker Hero */
.broker-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 5rem 4rem 4rem;
  min-height: 88vh;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

/* Positioning Block */
.positioning-section {
  padding: 4rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.positioning-block {
  max-width: 760px;
  margin: 0 auto;
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--fg);
  padding-left: 2rem;
  border-left: 4px solid var(--accent);
}

/* Signup Section */
.signup-section {
  padding: 5rem 4rem;
  text-align: center;
}
.signup-inner {
  max-width: 520px;
  margin: 0 auto;
}
.signup-sub {
  color: var(--fg-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
.signup-form input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  width: 100%;
  max-width: 380px;
  outline: none;
  transition: border-color 0.2s;
}
.signup-form input:focus { border-color: var(--accent); }
.signup-form input::placeholder { color: var(--fg-muted); }
.signup-form button {
  background: var(--accent);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  max-width: 380px;
  transition: background 0.2s;
}
.signup-form button:hover { background: var(--accent-glow); }

/* Responsive */
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero-stat-row { flex-wrap: wrap; }
  .navbar, .broker-nav { padding: 1rem 1.5rem; }
  .hero, .features, .manifesto, .closing, .broker-hero { padding-left: 1.5rem; padding-right: 1.5rem; }
  .how-it-works, .positioning-section { padding: 2.5rem 1.5rem; }
  .signup-section { padding: 3rem 1.5rem; }
}