:root {
  --brand: #22c55e;
  --brand-d: #16a34a;
  --teal: #0ea5a4;
  --ink: #0b1220;
  --ink-2: #111a2e;
  --text: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); font-size: 17px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1.5px solid transparent; cursor: pointer; transition: .18s ease; white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--teal)); color: #fff; box-shadow: 0 8px 22px rgba(34, 197, 94, .35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(34, 197, 94, .45); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-ghost-dark { color: var(--ink); border-color: var(--line); }
.btn-outline { color: var(--ink); border-color: var(--line); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-d); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.brand b { font-weight: 800; color: var(--brand-d); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.link-login { font-weight: 700; font-size: 15px; color: var(--ink); }
.nav-cta-mobile { display: none !important; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

@media (max-width: 960px) {
  .burger { display: block; }
  .link-login, .nav-actions .btn { display: none; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; gap: 0; padding: 10px 20px 20px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links .nav-cta-mobile { display: inline-flex !important; margin-top: 12px; border-bottom: 1.5px solid var(--line); }
  .nav-links .btn-primary.nav-cta-mobile { border-color: transparent; color: #fff; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 80px 0 40px;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(14, 165, 164, .35), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(34, 197, 94, .2), transparent 60%),
    linear-gradient(160deg, var(--ink), var(--ink-2));
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; margin-bottom: 22px;
  border-radius: 999px; font-size: 13px; font-weight: 600;
  color: #86efac; background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .3);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 54px); margin: 0 0 18px; font-weight: 800; }
.grad { background: linear-gradient(90deg, #4ade80, #2dd4bf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: #cbd5e1; max-width: 560px; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-tags { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 20px; color: #94a3b8; font-size: 14px; font-weight: 600; }

.hero-visual { position: relative; min-height: 470px; }
.campaign-card {
  position: absolute; left: 0; top: 30px; width: 320px; z-index: 2;
  background: rgba(255, 255, 255, .96); color: var(--text); border-radius: var(--radius);
  padding: 18px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.cc-head { display: flex; justify-content: space-between; align-items: flex-start; }
.cc-head small { display: block; color: var(--muted); font-size: 12px; }
.cc-head strong { color: var(--ink); }
.status-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--brand-d); background: #dcfce7; padding: 4px 10px; border-radius: 999px; }
.cc-progress { height: 8px; background: #e2e8f0; border-radius: 99px; margin: 16px 0; overflow: hidden; }
.cc-progress .bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--teal)); border-radius: 99px; transition: width .4s; }
.cc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; }
.cc-stats b { display: block; font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; }
.cc-stats small { font-size: 11px; color: var(--muted); }
.cc-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 11.5px; color: var(--muted); }

.phone {
  position: absolute; right: 0; top: 0; width: 280px; z-index: 1;
  background: #0b141a; border: 10px solid #05080a; border-radius: 36px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
}
.ph-top { display: flex; align-items: center; gap: 10px; padding: 14px; background: #1f2c34; }
.ph-top b { display: block; font-size: 14px; }
.ph-top small { color: #8696a0; font-size: 12px; }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: linear-gradient(135deg, var(--brand), var(--teal)); }
.ph-body { padding: 16px 12px; min-height: 360px; background: #0b141a; }
.bub { max-width: 82%; padding: 8px 11px; border-radius: 12px; font-size: 13px; color: #e9edef; margin-bottom: 10px; animation: pop .5s both; }
.bub small { display: block; text-align: right; font-size: 10px; color: #8696a0; margin-top: 2px; }
.bub.in { background: #1f2c34; border-top-left-radius: 3px; }
.bub.out { background: #005c4b; margin-left: auto; border-top-right-radius: 3px; }
.bub:nth-child(2) { animation-delay: .4s; } .bub:nth-child(3) { animation-delay: .8s; } .bub:nth-child(4) { animation-delay: 1.2s; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.typing { display: inline-flex; gap: 4px; background: #005c4b; padding: 10px 12px; border-radius: 12px; float: right; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: #cfe9e2; animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .25; } }

.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px;
  padding: 24px 20px; border-top: 1px solid rgba(255, 255, 255, .1);
}
.stats-strip b { display: block; font-size: 28px; font-weight: 800; color: #fff; }
.stats-strip span { color: #94a3b8; font-size: 14px; }

@media (max-width: 960px) {
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 20px; }
  .campaign-card, .phone { position: static; }
  .campaign-card { width: 100%; max-width: 360px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
}

/* Sections */
section { padding: 88px 0; }
section.alt { background: var(--bg-alt); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.sec-head h2, .split h2 { font-size: clamp(28px, 3.6vw, 38px); margin: 8px 0 12px; font-weight: 800; }
.sec-head p { color: var(--muted); font-size: 17px; margin: 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature .ico { width: 52px; height: 52px; display: grid; place-items: center; font-size: 26px; border-radius: 14px; background: linear-gradient(135deg, #dcfce7, #ccfbf1); margin-bottom: 16px; }
.feature h3 { margin: 0 0 8px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 0; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 2; }
}

.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: var(--brand);
}

/* Sheet mock */
.sheet { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; font-size: 14px; }
.sheet-head, .sheet-row { display: grid; grid-template-columns: .8fr 1.4fr 1fr 1fr; gap: 8px; padding: 11px 18px; align-items: center; }
.sheet-head { background: #f1f5f9; font-weight: 700; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.sheet-row { border-top: 1px solid var(--line); }
.sheet-row span:nth-child(2) { font-variant-numeric: tabular-nums; color: var(--muted); }
.st { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; justify-self: start; }
.st.ok { background: #dcfce7; color: #15803d; }
.st.reply { background: #ccfbf1; color: #0f766e; }
.st.wait { background: #f1f5f9; color: var(--muted); }
.sheet-tpl { margin: 14px; padding: 14px 16px; border-radius: 12px; background: #ecfdf5; border: 1px dashed #86efac; }
.sheet-tpl small { color: var(--muted); }
.sheet-tpl p { margin: 6px 0 0; }
.sheet-tpl mark { background: #bbf7d0; color: #166534; border-radius: 4px; padding: 0 4px; font-weight: 600; }
@media (max-width: 520px) {
  .sheet-head, .sheet-row { grid-template-columns: 1fr 1fr; }
  .sheet-head span:nth-child(3), .sheet-row span:nth-child(3),
  .sheet-head span:nth-child(2), .sheet-row span:nth-child(2) { display: none; }
}

/* Code */
.code-card { background: #0f172a; border-radius: var(--radius); box-shadow: 0 25px 50px rgba(15, 23, 42, .25); overflow: hidden; min-width: 0; }
.code-top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #1e293b; }
.code-top span { width: 11px; height: 11px; border-radius: 50%; background: #475569; }
.code-top span:nth-child(1) { background: #f87171; } .code-top span:nth-child(2) { background: #fbbf24; } .code-top span:nth-child(3) { background: #4ade80; }
.code-top small { margin-left: auto; color: #94a3b8; font-family: ui-monospace, monospace; }
.code-card pre { margin: 0; padding: 20px; overflow-x: auto; color: #e2e8f0; font: 13.5px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.code-card .c { color: #64748b; }
.code-card .s { color: #86efac; }

/* Flow */
.flow { display: flex; flex-direction: column; align-items: center; gap: 0; }
.node {
  display: flex; align-items: center; gap: 12px; width: 260px; padding: 18px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  font-weight: 700; color: var(--ink);
}
.node span { font-size: 26px; }
.node.main { background: var(--ink); color: #fff; border-color: transparent; }
.wire { width: 2px; height: 42px; background: repeating-linear-gradient(to bottom, var(--brand) 0 6px, transparent 6px 12px); background-size: 2px 12px; animation: flow 1s linear infinite; }
@keyframes flow { to { background-position: 0 12px; } }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; }
.plan h3 { margin: 0; font-size: 22px; }
.plan-desc { color: var(--muted); margin: 8px 0 18px; min-height: 52px; }
.price { font-size: 46px; font-weight: 800; color: var(--ink); line-height: 1; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.price small { font-size: 16px; font-weight: 700; color: var(--muted); }
.price span { font-size: 16px; font-weight: 600; color: var(--muted); }
.price em { width: 100%; font-style: normal; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.price.custom { font-size: 34px; }
.plan .checks { margin: 22px 0 26px; flex: 1; }
.plan .btn { width: 100%; }
.plan .note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 25px 50px rgba(34, 197, 94, .18); }
.badge { position: absolute; top: -14px; left: 30px; background: linear-gradient(135deg, var(--brand), var(--teal)); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.extras { margin: 0 0 22px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.extras summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.extras table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 13.5px; }
.extras td { padding: 7px 0; border-top: 1px solid var(--line); vertical-align: top; }
.extras td:last-child { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 10px; }
.extras td small { display: block; font-weight: 500; color: var(--muted); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .plan-desc { min-height: 0; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.steps b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; font-size: 18px; background: linear-gradient(135deg, var(--brand), var(--teal)); margin-bottom: 14px; }
.steps h3 { margin: 0 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 30px 16px 0; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 24px; color: var(--brand-d); transition: .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* CTA */
.cta { background: linear-gradient(135deg, #15803d, #0f766e); color: #fff; padding: 72px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0 0 8px; font-size: clamp(26px, 3.4vw, 36px); }
.cta p { margin: 0; color: #d1fae5; font-size: 17px; }
.cta-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cta-mail { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* Footer */
.site-footer { background: var(--ink); color: #94a3b8; padding: 40px 0; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer .brand { color: #fff; font-size: 18px; }
.site-footer .brand b { color: #4ade80; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer nav a:hover { color: #fff; }
.site-footer p { margin: 0; font-size: 14px; width: 100%; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; box-shadow: 0 10px 25px rgba(37, 211, 102, .5); transition: .2s;
}
.wa-float:hover { transform: scale(1.07); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
