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

:root {
  --navy: #0f172a;
  --slate: #1e293b;
  --blue: #3b82f6;
  --blue-light: #eff6ff;
  --green: #10b981;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-700);
  line-height: 1.6;
  background: var(--white);
}

img { max-width: 100%; display: block; }

/* ── Navigation ─────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--blue); }
.nav-cta {
  background: var(--navy);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--slate); }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  padding: 80px 24px 72px;
  text-align: center;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.hero-eyebrow {
  display: inline-block;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 700px;
  margin: 0 auto 16px;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue);
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s, transform 0.1s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #2563eb; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1.5px solid var(--gray-200);
  display: inline-block;
  transition: border-color 0.15s, background 0.15s;
}
.btn-ghost:hover { border-color: var(--gray-400); background: var(--gray-50); }
.hero-image-wrap {
  margin-top: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 20px 60px rgba(0,0,0,0.12);
}
.hero-image-wrap img {
  width: 100%;
  object-fit: cover;
}

/* ── Social proof bar ─────────────────────────────────── */
.proof-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 24px;
  text-align: center;
}
.proof-bar p {
  font-size: 0.875rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}
.proof-bar strong { color: var(--navy); }

/* ── Section spacing ───────────────────────────────────── */
.section {
  padding: 72px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.section-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--gray-500);
  max-width: 520px;
  line-height: 1.65;
}

/* ── Service tiles ────────────────────────────────────── */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.service-card {
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 24px rgba(59,130,246,0.08);
}
.service-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ── Pricing ──────────────────────────────────────────── */
.pricing { background: var(--gray-50); border-top: 1px solid var(--gray-200); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.plan-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.plan-card:hover { border-color: var(--blue); }
.plan-card.featured {
  border-color: var(--blue);
  box-shadow: 0 4px 24px rgba(59,130,246,0.12);
  position: relative;
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.plan-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-400);
}
.plan-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 24px;
  min-height: 40px;
}
.plan-features {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
}
.plan-features li {
  font-size: 0.9rem;
  color: var(--gray-700);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}
.plan-cta {
  display: block;
  text-align: center;
  background: var(--navy);
  color: var(--white);
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background 0.15s;
}
.plan-cta:hover { background: var(--slate); }
.plan-card.featured .plan-cta { background: var(--blue); }
.plan-card.featured .plan-cta:hover { background: #2563eb; }

/* ── Chatbot demo ─────────────────────────────────────── */
.demo { background: var(--navy); }
.demo .section-label { color: #93c5fd; }
.demo .section-title { color: var(--white); }
.demo .section-sub { color: #94a3b8; }
.demo-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  align-items: start;
}
@media (max-width: 700px) { .demo-wrap { grid-template-columns: 1fr; } }
.demo-prompt {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.5;
}
.demo-prompt strong { color: var(--white); }
.demo-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-top: 8px;
  transition: background 0.15s;
}
.demo-cta:hover { background: #2563eb; }
.chat-window {
  background: #0d1421;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}
.chat-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar {
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.chat-info h4 { font-size: 0.9rem; color: var(--white); font-weight: 600; }
.chat-info span { font-size: 0.75rem; color: #10b981; }
.chat-body {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}
.msg { font-size: 0.9rem; line-height: 1.5; padding: 10px 14px; border-radius: 10px; max-width: 85%; }
.msg.bot { background: rgba(255,255,255,0.06); color: #e2e8f0; align-self: flex-start; }
.msg.user { background: var(--blue); color: var(--white); align-self: flex-end; }
.msg-time { font-size: 0.7rem; color: #475569; margin-top: 2px; }
.chat-input-row {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  gap: 10px;
}
.chat-input-row input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--white);
  font-size: 0.875rem;
  outline: none;
}
.chat-input-row input::placeholder { color: #475569; }
.chat-input-row input:focus { border-color: rgba(59,130,246,0.5); }
.chat-send {
  background: var(--blue);
  border: none;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: background 0.15s;
}
.chat-send:hover { background: #2563eb; }
.chat-typing {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  align-self: flex-start;
  max-width: 70px;
}
.chat-typing.active { display: flex; }
.chat-typing span { width: 6px; height: 6px; background: #475569; border-radius: 50%; animation: bounce 1.2s infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 0%,80%,100%{transform:translateY(0)} 40%{transform:translateY(-5px)} }

/* ── Contact form ─────────────────────────────────────── */
.contact { background: var(--white); border-top: 1px solid var(--gray-200); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}
@media (max-width: 700px) { .contact-inner { grid-template-columns: 1fr; } }
.contact-info h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.contact-info p { color: var(--gray-500); margin-bottom: 24px; line-height: 1.6; }
.contact-detail { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 0.9rem; color: var(--gray-500); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.9375rem;
  color: var(--gray-900);
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
  background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-error { font-size: 0.8rem; color: #ef4444; margin-top: 4px; display: none; }
.form-group.error input, .form-group.error textarea { border-color: #ef4444; }
.form-group.error .form-error { display: block; }
#form-success {
  display: none;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 16px 20px;
  color: #065f46;
  font-size: 0.9375rem;
  margin-bottom: 16px;
}

/* ── Social proof: callout banner ─────────────────────── */
.social-proof-callout {
  background: #eff6ff;
  border-bottom: 1px solid #dbeafe;
  padding: 28px 24px;
}
.callout-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.callout-badge {
  font-size: 1.25rem;
  color: var(--blue);
  flex-shrink: 0;
  line-height: 1;
}
.callout-inner p {
  font-size: 1rem;
  color: #1e3a5f;
  line-height: 1.6;
  font-weight: 500;
}
@media (max-width: 480px) {
  .callout-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ── Social proof: results statement ─────────────────── */
.results-statement {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 28px 24px;
  text-align: center;
}
.results-statement p {
  font-size: 1.0625rem;
  color: var(--gray-700);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
}
.results-statement strong { color: var(--navy); }

/* ── Social proof: client logos ──────────────────────── */
.client-logos {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 28px 24px;
  text-align: center;
}
.logotypes-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.logotypes-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 32px;
}
.logotype {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-400);
  opacity: 0.5;
  letter-spacing: -0.01em;
}
@media (max-width: 480px) {
  .logotypes-row { gap: 6px 20px; }
}

/* ── Testimonial ──────────────────────────────────────── */
.testimonial-block {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 64px 24px;
}
.testimonial-quote {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  position: relative;
}
.quote-mark {
  font-size: 4rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
  opacity: 0.4;
  font-family: Georgia, serif;
}
.testimonial-quote blockquote {
  font-size: 1.125rem;
  color: var(--gray-700);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-attribution {
  display: flex;
  align-items: center;
  gap: 12px;
}
.attr-line {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--blue);
  flex-shrink: 0;
}
.testimonial-attribution strong {
  font-size: 0.9375rem;
  color: var(--navy);
  font-weight: 700;
}
.testimonial-attribution {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ── Footer ───────────────────────────────────────────── */
.footer {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  padding: 32px 24px;
  text-align: center;
  color: var(--gray-400);
  font-size: 0.875rem;
}
.footer a { color: var(--gray-500); text-decoration: none; }
.footer a:hover { color: var(--navy); }