/* Warm & friendly theme: WhatsApp-teal brand, cream background, sunny accent */
:root {
  --bg: #fbf8f2; --card: #ffffff; --text: #1f2a24; --muted: #6b756f; --line: #ece6da;
  --brand: #0e8a6e; --brand-strong: #0a6e58; --brand-soft: #e3f4ee; --brand-ink: #fff;
  --accent: #ffb547; --accent-soft: #fff3dc;
  --ok: #138a4f; --warn: #c97a06; --bad: #d93b3b;
  --shadow: 0 1px 2px rgba(31, 42, 36, .05), 0 6px 20px rgba(31, 42, 36, .06);
  --radius: 16px;
  --wa-bg: #efeae2; --wa-out: #fff; --wa-in: #d9fdd3; --wa-head: #075e54;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121714; --card: #1a211d; --text: #e9efeb; --muted: #9db0a6; --line: #2a342e;
          --brand: #2bbf97; --brand-strong: #39d3a9; --brand-soft: #173a30; --brand-ink: #062019;
          --accent: #ffbe5c; --accent-soft: #3a2e17;
          --shadow: 0 1px 2px rgba(0,0,0,.3);
          --wa-bg: #0b141a; --wa-out: #202c33; --wa-in: #005c4b; --wa-head: #202c33; }
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Heebo", system-ui, sans-serif; background: var(--bg); color: var(--text); font-size: 15px; }
a { color: var(--brand); text-decoration: none; }
h1 { font-size: 26px; margin: 8px 0 16px; } h2 { font-size: 19px; margin: 0; } h3 { font-size: 16px; margin: 0 0 10px; }
h4 { margin: 10px 0 4px; font-size: 14px; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar nav { display: flex; gap: 14px; align-items: center; }
.brand { font-weight: 800; font-size: 19px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.logo { width: 30px; height: 30px; flex: none; }
.modes { font-size: 12px; color: var(--muted); padding: 4px 20px; }
.container { max-width: 1200px; margin: 0 auto; padding: 8px 16px 40px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; display: block; color: inherit; box-shadow: var(--shadow); }
.empty { text-align: center; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.biz-card:hover { border-color: var(--brand); }
.biz-head { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.muted { color: var(--muted); } .small { font-size: 13px; } .center { text-align: center; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.kpis.big { grid-template-columns: repeat(5, 1fr); margin-bottom: 18px; }
.kpis > div { background: var(--bg); border-radius: 12px; padding: 12px 10px; text-align: center; }
.kpis.big > div { background: var(--card); border: 1px solid var(--line); }
.kpis b { display: block; font-size: 20px; } .kpis span { font-size: 12px; color: var(--muted); }
.kpis .warn b { color: var(--warn); }
.btn { display: inline-block; border: 0; background: var(--brand); color: var(--brand-ink); padding: 10px 18px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--brand-strong); }
.btn:active { transform: translateY(1px); }
.btn-small { padding: 6px 14px; font-size: 14px; }
.btn-ghost { background: var(--card); color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-wa { background: #25d366; color: #fff; }
.flash { background: var(--brand-soft); color: var(--text); border: 1px solid var(--line); padding: 12px 16px; border-radius: 12px; margin-bottom: 14px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; } .actions form { margin: 0; }
.layout { display: grid; grid-template-columns: 1fr 340px; gap: 18px; align-items: start; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.tabs { display: flex; gap: 4px; } .tabs a { padding: 5px 12px; border-radius: 999px; color: var(--muted); }
.tabs a.on { background: var(--brand); color: #fff; }
.review.urgent { border-color: var(--bad); box-shadow: 0 0 0 1px var(--bad) inset; }
.review-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.review-text { margin: 8px 0; line-height: 1.55; }
.stars { letter-spacing: -2px; }
.tag { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.tag-ok { color: var(--ok); } .tag-warn { color: var(--warn); } .tag-bad { color: var(--bad); } .tag-gray { color: var(--muted); }
.chip { display: inline-block; font-size: 12px; background: var(--bg); padding: 1px 8px; border-radius: 6px; margin-inline-start: 4px; }
.reply { background: var(--bg); padding: 10px; border-radius: 8px; margin-top: 8px; white-space: pre-line; }
.reply-form textarea { margin-top: 8px; }
.row { display: flex; gap: 8px; margin-top: 8px; } .row input { flex: 1; }
.stack { display: flex; flex-direction: column; gap: 8px; }
input, select, textarea { width: 100%; font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--text); }
label { display: block; margin-bottom: 10px; font-weight: 500; font-size: 14px; }
label input, label select, label textarea { margin-top: 4px; font-weight: 400; }
label.check { display: flex; gap: 8px; align-items: center; font-weight: 400; }
label.check input { width: auto; margin: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-row { display: flex; gap: 20px; align-items: end; }
.comp { display: grid; grid-template-columns: 1fr auto auto auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.comp form { margin: 0; } .x { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 18px; }
details summary { cursor: pointer; list-style: none; } details summary h3 { display: inline; }
ul { padding-inline-start: 18px; margin: 4px 0; }
/* WhatsApp simulator */
.phone { max-width: 460px; margin: 0 auto; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--wa-bg); }
.phone-head { background: var(--wa-head); color: #fff; padding: 12px 16px; font-weight: 500; }
.chat { height: 560px; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 85%; padding: 8px 10px 4px; border-radius: 10px; white-space: pre-line; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.bubble.out { background: var(--wa-out); align-self: flex-start; }
.bubble.in { background: var(--wa-in); align-self: flex-end; }
.bubble .time { font-size: 11px; color: var(--muted); text-align: left; }
.wa-buttons { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; border-top: 1px solid var(--line); padding-top: 6px; }
.wa-buttons form { margin: 0; }
.wa-buttons button { width: 100%; background: none; border: 0; color: #027eb5; font: inherit; padding: 6px; cursor: pointer; border-radius: 6px; }
.wa-buttons button:hover { background: var(--bg); }
.composer { display: flex; gap: 8px; padding: 10px; background: var(--card); }
.composer input { border-radius: 999px; }
.composer button { border: 0; background: #00a884; color: #fff; border-radius: 50%; width: 42px; cursor: pointer; }
/* public site */
.topbar nav form { margin: 0; }
.btn-lg { padding: 14px 30px; font-size: 17px; box-shadow: 0 6px 18px rgba(14, 138, 110, .28); }
.flash-error { background: #fdecec; color: #7f1d1d; border-color: #f5c2c2; }
@media (prefers-color-scheme: dark) { .flash-error { background: #3a1c1c; color: #ffd6d6; border-color: #5a2a2a; } }
.narrow { max-width: 480px; margin: 24px auto; }
.prose { max-width: 720px; line-height: 1.7; }
.big-emoji { font-size: 56px; margin-top: 30px; }
/* hero */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 48px 0 24px; }
.eyebrow { display: inline-block; background: var(--accent-soft); color: var(--text); padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.hero h1 { font-size: 46px; font-weight: 800; line-height: 1.15; margin: 16px 0; letter-spacing: -.5px; isolation: isolate; }
.hero h1 .hl { color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; inset-inline: 0; bottom: 4px; height: 12px; background: var(--accent); opacity: .45; z-index: -1; border-radius: 6px; }
.lead { font-size: 18px; color: var(--muted); line-height: 1.7; margin: 0 0 26px; }
.cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: 14px; }
.trust span::before { content: "✓ "; color: var(--brand); font-weight: 700; }
/* phone mockup */
.phone-mock { background: #1f2a24; border-radius: 40px; padding: 12px; box-shadow: 0 30px 60px rgba(31,42,36,.25); max-width: 340px; margin: 0 auto; transform: rotate(-2deg); }
.phone-mock .screen { background: var(--wa-bg); border-radius: 30px; overflow: hidden; }
.phone-mock .wa-top { background: var(--wa-head); color: #fff; padding: 14px 16px; font-weight: 600; font-size: 14px; display: flex; gap: 8px; align-items: center; }
.phone-mock .wa-top .avatar { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.phone-mock .msgs { padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 330px; }
.phone-mock .bubble { font-size: 13.5px; max-width: 100%; }
.wa-buttons.static span { display: block; text-align: center; color: #027eb5; padding: 5px; font-weight: 500; border-top: 1px solid var(--line); }
.posted { align-self: center; background: #fff8; color: #1f2a24; border-radius: 8px; padding: 4px 12px; font-size: 12px; }
section { margin: 64px 0; }
section h2 { text-align: center; font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 28px; max-width: 560px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid3 p { color: var(--muted); margin: 6px 0 0; line-height: 1.6; }
.step-num { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 19px; margin-bottom: 12px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .ico { font-size: 22px; width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); }
.feature b { display: block; margin-bottom: 4px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.band { background: var(--brand-soft); border-radius: 28px; padding: 44px 28px; }
.price { text-align: center; padding: 28px 22px; position: relative; }
.price ul { list-style: none; padding: 0; color: var(--muted); line-height: 2; }
.price .amount { font-size: 40px; font-weight: 800; margin: 6px 0 10px; } .price .amount span { font-size: 15px; font-weight: 400; color: var(--muted); }
.price.featured { border: 2px solid var(--brand); transform: translateY(-6px); }
.price .badge { position: absolute; top: -13px; inset-inline-start: 50%; transform: translateX(50%); background: var(--accent); color: #1f2a24; font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.faq { max-width: 760px; margin-inline: auto; }
.faq details summary { font-weight: 600; cursor: pointer; }
.faq details p { color: var(--muted); line-height: 1.7; margin-bottom: 0; }
.final-cta { background: var(--brand); color: var(--brand-ink); border-radius: 28px; padding: 46px 24px; }
.final-cta h2 { color: var(--brand-ink); }
.final-cta .btn { background: var(--accent); color: #1f2a24; }
.footer { padding: 20px 0 40px; }
.onboard { border: 2px solid var(--brand); background: var(--brand-soft); }
@media (max-width: 900px) {
  .grid3, .feature-grid { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 24px; }
  .cta-row, .trust { justify-content: center; }
  .hero h1 { font-size: 32px; }
  .phone-mock { transform: none; }
  .price.featured { transform: none; }
  .layout { grid-template-columns: 1fr; }
  .kpis.big { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
}
