@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #1e1b4b;
  --ink-soft: #6b6893;
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-soft: #818cf8;
  --primary-tint: #ede9fe;
  --primary-tint-strong: #eef2ff;
  --primary-tint-border: #c4b5fd;
  --accent: #10b981;
  --accent-hover: #059669;
  --accent-tint: #d1fae5;
  --accent-tint-border: #6ee7b7;
  --app-bg: #f5f3ff;
  --input-bg: #f8f7ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  background: var(--app-bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 243, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.08);
}

.navbar-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary);
  box-shadow: 0 3px 5px rgba(99, 102, 241, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
  white-space: nowrap;
}

.brand-name .agent {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 22px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    transform 0.15s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 3px 6px rgba(99, 102, 241, 0.32);
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 9px rgba(16, 185, 129, 0.3);
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--primary-tint);
  color: var(--primary);
  border: 1.5px solid var(--primary-tint-border);
  padding: 13.5px 30.5px;
  font-size: 16px;
  font-weight: 600;
}

.btn-secondary:hover {
  background: var(--primary-tint-border);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  font-weight: 600;
  padding: 8px 16px;
}

.btn-ghost:hover {
  color: var(--primary);
}

.btn-pricing {
  width: 100%;
  padding: 15px 0;
  font-size: 17px;
  font-weight: 700;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 0;
}

.hero-blob {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

.hero-blob-a {
  width: 560px;
  height: 560px;
  top: -160px;
  right: -60px;
  background: rgba(99, 102, 241, 0.06);
}

.hero-blob-b {
  width: 340px;
  height: 340px;
  bottom: -40px;
  left: -160px;
  background: rgba(16, 185, 129, 0.06);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-tint);
  border: 1px solid rgba(99, 102, 241, 0.18);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 17px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.hero h1 {
  font-size: 50px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin: 0;
}

.hero h1 .accent-text {
  color: var(--primary);
}

.hero p.lead {
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 20px 0 0;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}

.trust-item svg {
  width: 13px;
  height: 13px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Chat mockup */
.mock-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.mock {
  width: 360px;
  background: #fff;
  border: 1.5px solid rgba(99, 102, 241, 0.12);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(99, 102, 241, 0.18), 0 4px 16px rgba(99, 102, 241, 0.08);
  overflow: hidden;
  transform: rotate(1deg);
}

.mock-header {
  background: var(--primary);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mock-header-icon {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mock-header-icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.mock-header-name {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}

.mock-header-status {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.mock-header-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #4ade80;
}

.mock-header-status span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.mock-body {
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mock-date {
  align-self: center;
  background: var(--app-bg);
  color: var(--ink-soft);
  font-size: 11px;
  padding: 2px 12px;
  border-radius: 20px;
}

.bubble-row {
  display: flex;
  flex-direction: column;
}

.bubble-row.from-customer {
  align-items: flex-end;
}

.bubble-row.from-ai {
  flex-direction: row;
  align-items: flex-end;
  gap: 8px;
}

.bubble {
  max-width: 256px;
  padding: 11px 15px;
  font-size: 14px;
  line-height: 1.55;
}

.bubble-customer {
  background: var(--ink);
  color: #fff;
  border-radius: 18px 18px 4px 18px;
}

.bubble-ai {
  background: var(--primary-tint);
  border: 1px solid rgba(99, 102, 241, 0.12);
  color: var(--ink);
  border-radius: 18px 18px 18px 4px;
}

.bubble-ai .highlight {
  color: var(--primary);
  font-weight: 700;
}

.bubble-avatar {
  width: 28px;
  height: 28px;
  border-radius: 14px;
  background: var(--primary-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bubble-avatar svg {
  width: 13px;
  height: 13px;
  color: var(--primary);
}

.bubble-time {
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.typing-bubble {
  background: var(--primary-tint);
  border-radius: 18px 18px 18px 4px;
  padding: 10px 16px;
  display: flex;
  gap: 5px;
}

.typing-bubble span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary-soft);
}

.typing-bubble span:nth-child(1) {
  opacity: 0.55;
}

.typing-bubble span:nth-child(2) {
  opacity: 0.8;
}

.mock-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  padding: 9.5px 15.5px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.mock-chip-speed {
  top: -16px;
  right: 20px;
  border: 1.5px solid rgba(99, 102, 241, 0.12);
  box-shadow: 0 4px 8px rgba(99, 102, 241, 0.1);
}

.mock-chip-speed svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

.mock-chip-available {
  bottom: 8px;
  left: -12px;
  border: 1.5px solid rgba(16, 185, 129, 0.15);
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.1);
}

.mock-chip-available .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.section-label .line {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}

.section-label span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary);
}

.section-head {
  max-width: 620px;
}

.section-head.center {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.section-head.center .section-label {
  justify-content: center;
}

.section h2 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin: 0;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  margin: 12px 0 0;
}

/* Product bento grid */
.bento {
  display: grid;
  grid-template-columns: 1.62fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  margin-top: 48px;
}

.bento-card {
  background: #fff;
  border: 1.5px solid rgba(99, 102, 241, 0.1);
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.07);
  padding: 30px;
}

.bento-large {
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--primary-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.feature-icon.tint-blue {
  background: var(--primary-tint-strong);
}

.feature-icon.tint-green {
  background: var(--accent-tint);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.bento-card:not(.bento-large) .feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
}

.bento-card:not(.bento-large) .feature-icon svg {
  width: 24px;
  height: 24px;
}

.bento-large h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin: 0 0 12px;
}

.bento-card:not(.bento-large) h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 0 0 10px;
}

.bento-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
  max-width: 380px;
}

.bento-card:not(.bento-large) p {
  font-size: 14px;
  line-height: 1.65;
}

.files-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.72px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 28px 0 12px;
}

.file-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-tint);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 10px;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

.file-chip svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.bento-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-tint);
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 20px;
  width: fit-content;
}

.bento-pill svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

.bento-pill span {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

.bento-cta {
  display: inline-flex;
  align-items: center;
  background: var(--accent-tint);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 999px;
  padding: 9px 19px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-hover);
}

/* How it works */
.how-it-works {
  background: #fff;
  border-top: 1px solid rgba(99, 102, 241, 0.07);
  border-bottom: 1px solid rgba(99, 102, 241, 0.07);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 60px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 18%;
  right: 18%;
  border-top: 2px dashed rgba(99, 102, 241, 0.18);
}

.step {
  position: relative;
  text-align: center;
  padding: 0 32px;
}

.step-icon-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  border-radius: 44px;
  border: 2px solid rgba(99, 102, 241, 0.15);
  background: var(--primary-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(99, 102, 241, 0.08);
}

.step:nth-child(2) .step-icon-wrap {
  background: var(--primary-tint-strong);
  border-color: rgba(129, 140, 248, 0.15);
}

.step:nth-child(3) .step-icon-wrap {
  background: var(--accent-tint);
  border-color: rgba(16, 185, 129, 0.15);
}

.step-icon-wrap svg {
  width: 30px;
  height: 30px;
  color: var(--primary);
}

.step-number-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 11px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.32px;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 10px;
}

.step h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 0 0 12px;
}

.step p {
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--ink-soft);
  max-width: 304px;
  margin: 0 auto;
}

/* Pricing */
.price-card {
  position: relative;
  max-width: 460px;
  margin: 52px auto 0;
  background: #fff;
  border: 1.5px solid rgba(99, 102, 241, 0.1);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(99, 102, 241, 0.12);
  padding: 50px 42px 42px;
  text-align: center;
  overflow: hidden;
}

.price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  background: var(--primary-tint);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 999px;
  padding: 6px 15px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.price-amount {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -2.5px;
  margin: 0;
}

.price-sub {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-soft);
  margin: 4px 0 0;
}

.price-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 6px 0 0;
}

.price-divider {
  height: 1px;
  background: rgba(99, 102, 241, 0.08);
  margin: 28px 0;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.price-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.price-check {
  width: 24px;
  height: 24px;
  border-radius: 12px;
  background: var(--accent-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.price-check svg {
  width: 13px;
  height: 13px;
  color: var(--accent-hover);
}

.price-card .btn-pricing {
  margin-top: 20px;
}

.price-footnote {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 14px 0 0;
}

/* Footer */
footer {
  background: #fff;
  border-top: 1px solid rgba(99, 102, 241, 0.08);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-brand-icon svg {
  width: 13px;
  height: 13px;
  color: #fff;
}

.footer-copy {
  font-size: 13px;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}

.footer-links a:hover {
  color: var(--primary);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 56px;
  }
  .hero {
    padding-top: 48px;
    text-align: center;
  }
  .hero p.lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas,
  .trust-row {
    justify-content: center;
  }
  .hero h1 {
    font-size: 36px;
  }
  .mock-wrap {
    margin-top: 24px;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .bento-large {
    grid-row: auto;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .steps::before {
    display: none;
  }
  .section h2 {
    font-size: 28px;
  }
}

/* Legal pages */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.legal h1 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 8px;
}

.legal .updated {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0 0 40px;
}

.legal h2 {
  font-size: 19px;
  font-weight: 700;
  margin: 36px 0 12px;
}

.legal p,
.legal li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
}

.legal ul {
  padding-left: 20px;
}

.legal a {
  color: var(--primary);
  text-decoration: underline;
}
