/* Worker Agents — Navy/Blue Brand */

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

:root {
  --navy:       #0d1b2e;
  --navy-mid:   #1a2f52;
  --blue:       #2d7dd2;
  --blue-light: #56b4f7;
  --white:      #ffffff;
  --off-white:  #e8f0f8;
  --gray-light: #f0f4f9;
  --gray-text:  #8aa0bc;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
header {
  padding: 14px 0;
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; }

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.3px;
}

.logo-io { color: var(--blue-light); }

.btn-header {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: var(--blue-light);
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
}

/* HERO */
.hero {
  padding: 80px 0 60px;
  background: var(--navy);
  color: var(--white);
}

.hero h1 {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--white);
}

.hero h1 span { color: var(--blue-light); }

.hero-sub {
  font-size: 18px;
  color: var(--gray-text);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.5;
}

.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
}

.btn-primary:hover { background: var(--blue-light); color: var(--navy); }

/* STATS */
.stats {
  padding: 48px 0;
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.stat .num {
  font-size: 42px;
  font-weight: 900;
  color: var(--blue-light);
  letter-spacing: -1px;
  line-height: 1;
}

.stat .label {
  font-size: 14px;
  color: var(--gray-text);
  margin-top: 6px;
  line-height: 1.4;
}

/* PROBLEM */
.problem {
  padding: 64px 0;
  background: var(--gray-light);
  border-bottom: 1px solid #dde5ef;
}

.problem h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: var(--navy);
}

.problem p {
  font-size: 17px;
  color: #445;
  margin-bottom: 24px;
  max-width: 620px;
}

.callout {
  background: var(--white);
  border-left: 4px solid var(--blue);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--navy);
}

/* SOLUTION */
.solution {
  padding: 64px 0;
  background: var(--navy);
  color: var(--white);
}

.solution h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  color: var(--white);
}

.solution-sub {
  font-size: 17px;
  color: var(--gray-text);
  margin-bottom: 40px;
  max-width: 580px;
}

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

.step {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 20px;
  background: var(--navy-mid);
}

.step-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--blue-light);
  margin-bottom: 10px;
  line-height: 1;
}

.step h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.step p  { font-size: 13.5px; color: var(--gray-text); line-height: 1.5; }

/* VS */
.vs {
  padding: 64px 0;
  background: var(--white);
  border-bottom: 1px solid #dde5ef;
}

.vs h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 32px;
  letter-spacing: -0.5px;
  color: var(--navy);
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.col { padding: 24px; border-radius: 8px; }
.col h3 { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.col ul { list-style: none; }
.col ul li { font-size: 14px; padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,0.06); line-height: 1.4; }
.col ul li:last-child { border-bottom: none; }

.col.bad  { background: var(--gray-light); border: 1px solid #dde5ef; color: #667; }
.col.bad h3 { color: #99a; }
.col.good { background: var(--navy); color: var(--off-white); }
.col.good h3 { color: var(--blue-light); }
.col.good ul li { border-color: rgba(255,255,255,0.08); }

/* SETUP */
.how-setup {
  padding: 64px 0;
  background: var(--gray-light);
  border-bottom: 1px solid #dde5ef;
}

.how-setup h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: var(--navy);
}

.how-setup p { font-size: 17px; color: #445; max-width: 580px; }

/* CONTACT */
.contact {
  padding: 80px 0;
  text-align: center;
  background: var(--navy-mid);
  color: var(--white);
}

.contact h2 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -1px;
  color: var(--white);
}

.contact p {
  font-size: 17px;
  color: var(--gray-text);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.or { margin-top: 16px !important; font-size: 14px !important; color: var(--gray-text) !important; }

/* FOOTER */
footer {
  padding: 28px 0;
  background: var(--navy);
  text-align: center;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 10px;
  opacity: 0.85;
}

footer p { font-size: 13px; color: #4a6080; }

/* MOBILE */
@media (max-width: 600px) {
  .hero { padding: 48px 0 40px; }
  .stats .container { grid-template-columns: 1fr; gap: 20px; }
  .steps { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
}

/* ===== LIVE DEMO SECTION ===== */
.live-demo {
  background: linear-gradient(135deg, #0a1628 0%, #0f2044 50%, #0a1628 100%);
  padding: 80px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.live-demo::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.demo-badge {
  display: inline-block;
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.4);
  color: #f87171;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.live-demo h2 {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.demo-sub {
  font-size: 17px;
  color: #94a3b8;
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.demo-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(96,165,250,0.2);
  border-radius: 20px;
  padding: 32px 36px;
  max-width: 480px;
  margin: 0 auto 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(96,165,250,0.08);
}

/* Avatar with pulsing rings */
.demo-avatar {
  position: relative;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
}

.avatar-face {
  position: relative;
  z-index: 3;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
}

.avatar-face svg { width: 100%; height: 100%; }

.avatar-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid rgba(96,165,250,0.5);
  animation: ring-pulse 2.4s ease-out infinite;
}

.ring-1 { width: 64px; height: 64px; animation-delay: 0s; }
.ring-2 { width: 90px; height: 90px; animation-delay: 0.5s; opacity: 0.6; }
.ring-3 { width: 116px; height: 116px; animation-delay: 1s; opacity: 0.3; }

@keyframes ring-pulse {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}

.demo-info { flex: 1; text-align: left; }
.demo-name { font-size: 18px; font-weight: 700; color: #fff; }
.demo-title { font-size: 13px; color: #64748b; margin-top: 2px; }
.demo-status { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; color: #4ade80; font-weight: 500; }

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: blink 1.8s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.demo-call-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(37,99,235,0.4);
  white-space: nowrap;
}

.demo-call-btn:hover {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(37,99,235,0.5);
}

.demo-call-btn:active { transform: translateY(0); }

.mic-icon { display: flex; align-items: center; }

/* Prompt chips */
.demo-prompts { margin-top: 8px; }
.try-label { font-size: 13px; color: #475569; margin-bottom: 12px; }

.prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

.chip {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #94a3b8;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 20px;
  font-style: italic;
  transition: all 0.2s;
  cursor: default;
}

.chip:hover {
  border-color: rgba(96,165,250,0.4);
  color: #cbd5e1;
  background: rgba(96,165,250,0.08);
}

@media (max-width: 600px) {
  .live-demo h2 { font-size: 30px; }
  .demo-card { flex-direction: column; text-align: center; padding: 28px 20px; gap: 16px; }
  .demo-info { text-align: center; }
  .demo-call-btn { width: 100%; justify-content: center; }
  .prompt-chips { gap: 6px; }
  .chip { font-size: 12px; }
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background: #0a1628;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.faq h2 {
  font-size: 32px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 40px;
}
.faq-item {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.faq-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #60a5fa;
  margin-bottom: 10px;
}
.faq-item p {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.7;
  max-width: 720px;
}
