/* BotBuddy — marketing site styles */
:root {
  --bg: #f4f5f4;
  --surface: #fff;
  --ink: #17324f;
  --ink-2: #4a5f75;
  --ink-3: #5d7186;
  --line: #dfe4e7;
  --blue: #1f7fc0;
  --teal: #2fb8b0;
  --teal-ink: #137a74;
  --teal-soft: #e2f4f2;
  --blue-soft: #e0eef8;
  --wa: #25d366;
  --wa-bg: #efeae2;
  --grad: linear-gradient(100deg, #2fb8b0, #1f7fc0);
  --radius: 24px;
  --max: 1200px;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--white { background: var(--surface); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; color: #fff; }
.eyebrow { font-family: var(--mono); font-size: 13px; color: var(--teal-ink); letter-spacing: .08em; text-transform: uppercase; }
.h2 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -.03em; line-height: 1.05; font-weight: 800; }
.lede { color: var(--ink-2); font-size: 17px; line-height: 1.55; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 28px; border-radius: 999px; font-weight: 700; font-size: 16px; border: 0; cursor: pointer; transition: filter .15s, background .15s, border-color .15s; }
.btn--primary { background: var(--grad); color: #fff; }
.btn--primary:hover { color: #fff; filter: brightness(1.08); }
.btn--ghost { border: 1.5px solid #c9d2d8; color: var(--ink); font-weight: 600; background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #0f2238; color: #fff; }
.btn--sm { padding: 11px 20px; font-size: 15px; font-weight: 600; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(244, 245, 244, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid #e3e6e6; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 22px; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand img { width: 40px; height: 40px; mix-blend-mode: multiply; border-radius: 8px; }
.brand b { font-weight: 800; }
.brand span { font-weight: 500; color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-login { color: var(--ink); font-weight: 600; font-size: 15px; padding: 11px 14px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

@media (max-width: 880px) {
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: block; }
  .nav-links, .nav-actions { display: none; width: 100%; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 8px; }
  .nav-links a { padding: 10px 0; font-size: 17px; }
  .nav-actions { padding: 8px 0 6px; }
  .nav.is-open .nav-links, .nav.is-open .nav-actions { display: flex; }
}

/* Hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 96px; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-ink); font-size: 13px; font-weight: 600; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.hero h1 { font-size: clamp(42px, 6vw, 74px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 540px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.stats { display: flex; gap: 32px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid #e0e4e6; }
.stat-num { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.stat-label { font-size: 14px; color: var(--ink-3); }

/* Chat demo */
.chat { background: #fff; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(23, 50, 79, .35), 0 0 0 1px #e3e6e6; overflow: hidden; max-width: 460px; width: 100%; justify-self: center; }
.chat-head { padding: 16px 20px; display: flex; align-items: center; gap: 12px; background: #075e54; color: #fff; }
.chat-avatar { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.chat-avatar img { width: 30px; height: 30px; }
.chat-title { flex: 1; min-width: 0; }
.chat-title strong { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.chat-title small { display: block; font-size: 13px; opacity: .85; }
.verified { width: 16px; height: 16px; }
.chat-badge { font-family: var(--mono); font-size: 11px; background: rgba(255, 255, 255, .18); padding: 4px 8px; border-radius: 6px; }
.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; height: 360px; overflow-y: auto; background: var(--wa-bg); }
.msg { max-width: 82%; padding: 9px 12px 18px; border-radius: 10px; font-size: 15px; line-height: 1.45; position: relative; box-shadow: 0 1px .5px rgba(0, 0, 0, .13); animation: pop .22s ease-out; white-space: pre-line; }
.msg time { position: absolute; right: 10px; bottom: 4px; font-size: 11px; color: #667781; }
.msg--bot { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.msg--user { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 2px; }
.msg--typing { color: #667781; padding-bottom: 9px; font-style: italic; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .msg { animation: none; } }
.chat-chips { padding: 14px 18px 18px; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid #eef0f0; min-height: 64px; }
.chip { border: 1.5px solid #cfe3ee; background: #fff; color: var(--blue); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; }
.chip:hover { background: #eaf5fb; }
.chip:disabled { opacity: .5; cursor: wait; }

/* Logos strip */
.channels { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.channels span.tag { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; background: #fff; }
.channels .label { font-size: 14px; color: var(--ink-3); margin-right: 6px; }

/* Services */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head .h2 { max-width: 640px; }
.section-head .lede { max-width: 400px; }
.stack { display: flex; flex-direction: column; gap: 48px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { padding: 32px; border-radius: var(--radius); background: var(--bg); display: flex; flex-direction: column; gap: 14px; }
.card .num { font-family: var(--mono); font-size: 13px; color: var(--blue); }
.card h3 { font-size: 23px; letter-spacing: -.02em; }
.card p { color: var(--ink-2); line-height: 1.55; }

/* Features */
.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.feature { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid #e6eaec; }
.feature .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-ink); display: grid; place-items: center; flex: none; }
.feature .ic svg { width: 20px; height: 20px; }
.feature h3 { font-size: 17px; margin-bottom: 4px; }
.feature p { font-size: 15px; color: var(--ink-2); }

/* Process */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; }
.split-intro { display: flex; flex-direction: column; gap: 20px; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-n { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; }
.step:nth-child(1) .step-n { background: var(--teal-soft); color: var(--teal-ink); }
.step:nth-child(2) .step-n { background: var(--blue-soft); color: var(--blue); }
.step:nth-child(3) .step-n { background: var(--ink); color: #fff; }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { color: var(--ink-2); line-height: 1.55; }

/* Pricing */
.pricing-head { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.pricing-head .lede { max-width: 560px; }
.pack { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); border-radius: 32px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(23, 50, 79, .35); }
.pack-main { background: var(--ink); color: #fff; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.pack-main h3 { font-size: 22px; }
.price-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price-tag { font-size: 13px; font-weight: 700; background: var(--teal); color: #0d2a2a; padding: 4px 10px; border-radius: 999px; }
.price-amount { font-size: clamp(44px, 5vw, 56px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.price-amount small { font-size: 16px; font-weight: 500; color: #a9bdd1; letter-spacing: 0; }
.pack-sub { color: #c9d7e4; }
.rates { margin: 0; display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, .14); }
.rate { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.rate dt { font-weight: 700; font-size: 17px; }
.rate dt small { display: block; font-weight: 400; font-size: 14px; color: #a9bdd1; margin-top: 2px; }
.rate dd { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.rate dd small { font-size: 14px; font-weight: 500; color: #a9bdd1; margin-left: 4px; letter-spacing: 0; }
.pack-main .btn { margin-top: 8px; }
.pack-includes { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 20px; }
.pack-includes h3 { font-size: 22px; }
.pack-includes ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px 24px; font-size: 15px; }
.pack-includes li { display: flex; gap: 10px; align-items: flex-start; }
.pack-includes li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23137a74' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.price-note { text-align: center; font-size: 14px; color: var(--ink-3); }

/* Calculator */
.calc { border-radius: var(--radius); background: var(--bg); padding: clamp(24px, 4vw, 40px); display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: center; }
.calc h3 { font-size: 26px; letter-spacing: -.02em; margin-bottom: 8px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.field label { font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; gap: 12px; }
.field output { font-family: var(--mono); color: var(--blue); }
.field input[type=range] { width: 100%; accent-color: var(--blue); }
.calc-result { background: #fff; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; border: 1px solid #e6eaec; }
.calc-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--ink-2); }
.calc-row b { color: var(--ink); font-family: var(--mono); font-weight: 500; }
.calc-total { border-top: 1px dashed #cfd7dc; padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc-total span { font-weight: 700; }
.calc-total strong { font-size: 34px; letter-spacing: -.02em; }
.calc-foot { font-size: 13px; color: var(--ink-3); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid #e6eaec; border-radius: 18px; padding: 4px 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); line-height: 1.6; }

/* Contact CTA */
.cta-box { border-radius: 32px; padding: clamp(36px, 6vw, 80px); background: linear-gradient(120deg, #2fb8b0, #1f7fc0 55%, #17324f); color: #fff; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px; align-items: center; }
.cta-box h2 { font-size: clamp(38px, 5vw, 64px); letter-spacing: -.035em; line-height: 1; font-weight: 800; margin-bottom: 16px; }
.cta-box p { font-size: 18px; line-height: 1.55; max-width: 440px; }
.form { display: flex; flex-direction: column; gap: 12px; }
.form input { padding: 16px 20px; border-radius: 999px; border: 2px solid transparent; font-weight: 500; font-size: 16px; color: var(--ink); outline: none; width: 100%; }
.form input:focus { border-color: var(--ink); }
.form-thanks { background: rgba(255, 255, 255, .15); padding: 24px; border-radius: 20px; font-size: 18px; font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* Footer */
.site-footer { padding: 8px 0 48px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--ink-3); font-size: 14px; border-top: 1px solid var(--line); padding-top: 32px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-3); }
.footer-links a:hover { color: var(--ink); }

/* Coming soon page */
.soon { min-height: 100vh; display: flex; flex-direction: column; }
.soon-main { flex: 1; display: grid; place-items: center; padding: 48px 24px; }
.soon-card { max-width: 560px; width: 100%; text-align: center; background: #fff; border-radius: 32px; padding: clamp(32px, 6vw, 56px); box-shadow: 0 30px 60px -30px rgba(23, 50, 79, .3), 0 0 0 1px #e3e6e6; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.soon-card .soon-logo { width: 200px; height: auto; mix-blend-mode: multiply; }
.soon-card h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -.03em; line-height: 1.05; font-weight: 800; }
.soon-card p { color: var(--ink-2); font-size: 17px; }
.soon-form { display: flex; gap: 8px; width: 100%; flex-wrap: wrap; margin-top: 6px; }
.soon-form input { flex: 1 1 220px; padding: 14px 18px; border-radius: 999px; border: 1.5px solid #c9d2d8; font-size: 16px; color: var(--ink); outline: none; }
.soon-form input:focus { border-color: var(--blue); }
.soon-form .btn { flex: 1 1 auto; padding: 14px 22px; }
.soon-back { font-weight: 600; font-size: 15px; }
.soon-card .form-thanks { background: var(--teal-soft); color: var(--teal-ink); width: 100%; font-size: 16px; padding: 18px; }
.soon-card .pill { align-self: center; }
@media (max-width: 600px) { .chat-body { height: 280px; } .hero { padding-top: 48px; } }
@media (max-width: 480px) { .rate { flex-direction: column; align-items: flex-start; gap: 6px; } }
