/* Typography */
:root {
  --bg: #0A1628;
  --surface: #111C30;
  --surface-2: #162035;
  --fg: #F0F4FF;
  --fg-muted: #8899AA;
  --accent: #F59E0B;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --trust: #10B981;
  --danger: #EF4444;
  --border: rgba(240, 244, 255, 0.08);
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 32px;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: rtl;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  direction: rtl;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--fg); }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
}
.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero-headline {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 1.1;
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 480px;
  margin-bottom: 48px;
  line-height: 1.7;
}
.hero-stats-row {
  display: flex;
  gap: 40px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--fg);
}
.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Call Widget */
.hero-visual { display: flex; justify-content: center; }
.call-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 380px;
  overflow: hidden;
}
.call-widget-header {
  background: var(--surface-2);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
}
.call-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fg-muted);
}
.call-dot.active {
  background: var(--trust);
  box-shadow: 0 0 8px var(--trust);
}
.call-widget-body { padding: 24px; }
.waveform {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  margin-bottom: 24px;
}
.wave-bar {
  flex: 1;
  background: var(--accent);
  border-radius: 3px;
  height: 100%;
  opacity: 0.7;
}
.wave-bar:nth-child(1) { height: 30%; }
.wave-bar:nth-child(2) { height: 70%; }
.wave-bar:nth-child(3) { height: 45%; }
.wave-bar:nth-child(4) { height: 90%; }
.wave-bar:nth-child(5) { height: 60%; }
.wave-bar:nth-child(6) { height: 80%; }
.wave-bar:nth-child(7) { height: 40%; }
.wave-bar:nth-child(8) { height: 100%; }
.wave-bar:nth-child(9) { height: 55%; }
.wave-bar:nth-child(10) { height: 75%; }
.wave-bar:nth-child(11) { height: 50%; }
.wave-bar:nth-child(12) { height: 35%; }
.call-insights { display: flex; flex-direction: column; gap: 12px; }
.insight {
  background: var(--surface-2);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.insight.trust {
  border: 1px solid rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.06);
}
.insight-label {
  font-size: 12px;
  color: var(--fg-muted);
}
.insight-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}
.insight.trust .insight-value { color: var(--trust); }

/* Proof */
.proof {
  padding: 80px 32px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proof-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  align-items: center;
}
.proof-stat {
  flex: 1;
  text-align: center;
  padding: 0 40px;
}
.proof-number {
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}
.proof-text {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}
.proof-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* How */
.how {
  padding: 120px 32px;
}
.how-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.how-step {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.step-number {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
}
.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Features */
.features {
  padding: 120px 32px;
  background: var(--surface);
}
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-4px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.feature-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Closing */
.closing {
  padding: 120px 32px;
}
.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
}
.closing-content { flex: 1; }
.closing-headline {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.2;
}
.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
}
.closing-visual {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}
.closing-graphic {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.graphic-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.ring-1 { width: 240px; height: 240px; animation: rotate 12s linear infinite; }
.ring-2 { width: 180px; height: 180px; animation: rotate 8s linear infinite reverse; }
.ring-3 { width: 120px; height: 120px; border-color: rgba(245, 158, 11, 0.35); animation: rotate 6s linear infinite; }
.graphic-center {
  width: 80px;
  height: 80px;
  background: var(--accent-dim);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  z-index: 1;
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Footer */
.footer {
  padding: 80px 32px 40px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
  max-width: 260px;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 60px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--fg-muted);
}

/* ── Operator Widget (hero visual) ── */
.operator-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
}
.operator-widget-header {
  background: var(--surface-2);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.operator-widget-body { padding: 20px; }
.op-feed { display: flex; flex-direction: column; gap: 10px; }
.op-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 12px; border-radius: 8px;
  background: var(--bg); border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.op-item.op-active { border-color: rgba(245,158,11,0.25); background: rgba(245,158,11,0.03); }
.op-item.op-done { opacity: 0.65; }
.op-badge {
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
.op-badge.done { background: rgba(16,185,129,0.15); color: var(--trust); }
.op-badge.active { background: rgba(245,158,11,0.15); color: var(--accent); animation: spin 2s linear infinite; }
.op-badge.pending { background: rgba(240,244,255,0.06); color: var(--fg-muted); }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.op-title { font-size: 12px; font-weight: 600; color: var(--fg); }
.op-sub { font-size: 11px; color: var(--fg-muted); margin-top: 2px; }

/* ── Pain Section ── */
.pain-section {
  padding: 120px 32px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pain-inner { max-width: 1200px; margin: 0 auto; }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.pain-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.3s;
}
.pain-card:hover { border-color: rgba(239,68,68,0.2); }
.pain-card-icon { font-size: 28px; margin-bottom: 16px; }
.pain-card-title {
  font-size: 18px; font-weight: 700; margin-bottom: 12px;
  font-family: 'Syne', sans-serif;
}
.pain-card-body {
  font-size: 14px; color: var(--fg-muted); line-height: 1.75; margin-bottom: 16px;
}
.pain-quote {
  font-size: 13px; color: var(--fg-muted); font-style: italic;
  border-right: 2px solid rgba(239,68,68,0.35);
  padding-right: 12px; line-height: 1.5;
}

/* Pain trap box */
.pain-trap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}
.pain-trap-header {
  display: flex; align-items: center; gap: 14px; margin-bottom: 32px;
}
.pain-trap-icon { font-size: 24px; }
.pain-trap-title {
  font-size: 20px; font-weight: 700;
  font-family: 'Syne', sans-serif;
}
.pain-trap-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}
.pain-trap-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
}
.pain-trap-item.pain-trap-solution {
  border-color: rgba(245,158,11,0.3);
  background: linear-gradient(160deg, rgba(245,158,11,0.04), var(--surface));
}
.trap-item-head { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.trap-item-body { font-size: 13px; color: var(--fg-muted); line-height: 1.6; }
.pain-trap-divider {
  font-size: 13px; font-weight: 700; color: var(--fg-muted);
  text-align: center; padding: 0 16px;
}

/* ── Agent Network (features section) ── */
.agent-network {
  margin-bottom: 60px;
}
.network-center {
  display: flex; justify-content: center; margin-bottom: 40px;
}
.network-hub {
  position: relative;
  width: 100px; height: 100px;
  background: var(--accent-dim);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
}
.hub-pulse {
  position: absolute; inset: -8px;
  border-radius: 50%; border: 1px solid rgba(245,158,11,0.3);
  animation: hubPulse 2s ease-in-out infinite;
}
@keyframes hubPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.15); }
}
.hub-icon { font-size: 28px; }
.hub-label { font-size: 10px; font-weight: 700; color: var(--accent); text-align: center; letter-spacing: 0.05em; }

.agent-cards-ring {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.agent-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.agent-card:hover { border-color: rgba(245,158,11,0.3); transform: translateY(-3px); }
.agent-card-icon {
  font-size: 24px; margin-bottom: 14px;
  width: 44px; height: 44px;
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: var(--surface-2);
}
.agent-card-name {
  font-size: 15px; font-weight: 700; margin-bottom: 8px;
  font-family: 'Syne', sans-serif;
}
.agent-card-desc { font-size: 13px; color: var(--fg-muted); line-height: 1.6; }

/* Self-improving banner */
.self-improve-banner {
  background: linear-gradient(135deg, rgba(16,185,129,0.06), var(--surface));
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 16px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.sib-left { display: flex; align-items: flex-start; gap: 16px; flex: 1; }
.sib-icon { font-size: 28px; flex-shrink: 0; }
.sib-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; font-family: 'Syne', sans-serif; }
.sib-desc { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }
.sib-right { display: flex; align-items: center; gap: 32px; flex-shrink: 0; }
.sib-metric { text-align: center; }
.sib-num { display: block; font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; color: var(--trust); }
.sib-lab { font-size: 11px; color: var(--fg-muted); letter-spacing: 0.04em; text-transform: uppercase; }
.sib-divider { width: 1px; height: 40px; background: var(--border); }

/* ── Journey Steps (how section) ── */
.journey-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 64px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.journey-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0;
}
.journey-step-num {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
}
.journey-step-num span {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
}
.journey-line {
  width: 1px;
  flex: 1;
  background: linear-gradient(to bottom, rgba(245,158,11,0.3), transparent);
  margin-top: 12px;
  min-height: 40px;
}
.journey-step-content {
  padding: 0 0 48px 24px;
  border-right: none;
}
.journey-step-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.journey-step-badge.demo { background: rgba(99,102,241,0.15); color: #818cf8; }
.journey-step-badge.cold { background: rgba(14,165,233,0.15); color: #38bdf8; }
.journey-step-badge.warm { background: rgba(245,158,11,0.15); color: var(--accent); }
.journey-step-badge.full { background: rgba(16,185,129,0.15); color: var(--trust); }
.journey-step-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.journey-step-desc { font-size: 15px; color: var(--fg-muted); line-height: 1.75; margin-bottom: 16px; }
.journey-step-result {
  font-size: 13px; font-weight: 600; color: var(--trust);
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 8px;
  padding: 8px 14px;
  display: inline-block;
}

/* ── Closing agent network visual ── */
.closing-agent-net {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.can-center {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}
.can-pulse {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245,158,11,0.25);
}
.can-pulse.r1 { width: 100px; height: 100px; animation: hubPulse 3s ease-in-out infinite; }
.can-pulse.r2 { width: 180px; height: 180px; animation: hubPulse 3s ease-in-out infinite 1s; }
.can-hub {
  width: 64px; height: 64px;
  background: var(--accent-dim);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; z-index: 1;
}
.can-nodes {
  position: absolute;
  width: 240px; height: 240px;
}
.can-node {
  position: absolute;
  width: 36px; height: 36px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.can-node.n1 { top: 0; right: 50%; transform: translateX(50%); }
.can-node.n2 { top: 50%; right: 0; transform: translateY(-50%); }
.can-node.n3 { bottom: 0; right: 50%; transform: translateX(50%); }
.can-node.n4 { top: 50%; left: 0; transform: translateY(-50%); }
.can-node.n5 { top: 16%; left: 16%; }
.can-label {
  position: absolute;
  bottom: -24px;
  font-size: 11px;
  font-weight: 700;
  color: var(--trust);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .hero-stats-row { flex-wrap: wrap; gap: 24px; }
  .proof-inner { flex-direction: column; gap: 40px; }
  .proof-divider { display: none; }
  .pain-grid { grid-template-columns: 1fr; }
  .pain-trap-grid { grid-template-columns: 1fr; gap: 16px; }
  .pain-trap-divider { text-align: right; }
  .agent-cards-ring { grid-template-columns: 1fr; }
  .self-improve-banner { flex-direction: column; gap: 24px; }
  .sib-right { justify-content: space-around; width: 100%; }
  .journey-step { grid-template-columns: 60px 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .closing-inner { flex-direction: column; }
  .closing-visual { display: none; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .nav { padding: 0 20px; }
  .hero, .how, .features, .closing { padding-left: 20px; padding-right: 20px; }
  .proof { padding: 60px 20px; }
  .pain-section { padding: 80px 20px; }
}