/* Public marketing landing page — self-contained, no admin-theme dependency. */
:root {
    --wa-green: #25d366;
    --wa-green-dark: #128c4a;
    --ink: #0b1220;
    --ink-soft: #4b5768;
    --bg-soft: #f5f8f7;
    --border: #e6ebe9;
}

* { box-sizing: border-box; }
body.lp { margin: 0; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
.lp img { max-width: 100%; display: block; }
.lp a { color: inherit; text-decoration: none; }
.lp .container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.lp section { padding: 72px 0; }
.lp h1, .lp h2, .lp h3 { line-height: 1.2; margin: 0 0 14px; font-weight: 700; }
.lp h2 { font-size: 32px; }
.lp p { line-height: 1.65; color: var(--ink-soft); margin: 0 0 12px; }
.lp .eyebrow { color: var(--wa-green-dark); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; display: block; }
.lp .text-center { text-align: center; }
.lp .section-head { max-width: 640px; margin: 0 auto 44px; }

/* Buttons */
.lp .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 14.5px; border: 2px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.lp .btn:hover { transform: translateY(-1px); }
.lp .btn-primary { background: var(--wa-green); color: #fff; box-shadow: 0 6px 16px rgba(37,211,102,.28); }
.lp .btn-primary:hover { background: var(--wa-green-dark); }
.lp .btn-outline { background: transparent; border-color: var(--border); color: var(--ink); }
.lp .btn-outline:hover { border-color: var(--wa-green); }
.lp .btn-light { background: #fff; color: var(--ink); }
.lp .btn-block { width: 100%; }

/* Navbar */
.lp-nav { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid var(--border); }
.lp-nav .row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.lp-nav .brand img { height: 34px; }
.lp-nav .brand { font-size: 20px; font-weight: 800; }
.lp-nav .links { display: flex; align-items: center; gap: 28px; }
.lp-nav .links a.navlink { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.lp-nav .links a.navlink:hover { color: var(--ink); }
.lp-nav .actions { display: flex; align-items: center; gap: 10px; }
.lp-burger { display: none; background: none; border: none; padding: 6px; cursor: pointer; }
.lp-burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Offcanvas mobile menu */
.lp-offcanvas-backdrop { position: fixed; inset: 0; background: rgba(10,15,20,.5); z-index: 1050; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.lp-offcanvas-backdrop.show { opacity: 1; pointer-events: auto; }
.lp-offcanvas { position: fixed; top: 0; right: 0; bottom: 0; width: 82%; max-width: 340px; background: #fff; z-index: 1060; transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; box-shadow: -12px 0 30px rgba(0,0,0,.15); }
.lp-offcanvas.show { transform: translateX(0); }
.lp-offcanvas-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.lp-offcanvas-body { padding: 12px 20px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.lp-offcanvas-body a.navlink { padding: 12px 4px; font-weight: 600; border-bottom: 1px solid var(--border); }
.lp-offcanvas-body .actions { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.lp-offcanvas-close { background: none; border: none; font-size: 24px; line-height: 1; cursor: pointer; padding: 4px 8px; }

/* Hero */
.lp-hero { background: linear-gradient(180deg, #eefaf3 0%, #fff 60%); padding: 80px 0 60px; }
.lp-hero .row { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.lp-hero h1 { font-size: 44px; }
.lp-hero .lead { font-size: 17px; margin-bottom: 26px; }
.lp-hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.lp-hero .stat-strip { display: flex; gap: 28px; flex-wrap: wrap; }
.lp-hero .stat-strip div b { display: block; font-size: 20px; }
.lp-hero .stat-strip div span { font-size: 12.5px; color: var(--ink-soft); }

/* Mock phone chat card */
.lp-mock { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 20px 50px rgba(20,40,30,.12); padding: 18px; max-width: 380px; margin: 0 auto; }
.lp-mock-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.lp-mock-head .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--wa-green); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; }
.lp-mock-body { background: #ECE5DD; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.lp-mock-bubble { max-width: 78%; padding: 9px 12px; border-radius: 10px; font-size: 13.5px; line-height: 1.4; }
.lp-mock-bubble.in { background: #fff; align-self: flex-start; }
.lp-mock-bubble.out { background: #DCF8C6; align-self: flex-end; }
.lp-mock-bubble.ai { background: #ede7ff; align-self: flex-start; }

/* Feature grid */
.lp-features { background: var(--bg-soft); }
.lp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 26px; transition: box-shadow .15s ease, transform .15s ease; }
.lp-card:hover { box-shadow: 0 12px 26px rgba(20,40,30,.08); transform: translateY(-2px); }
.lp-card .icn { width: 46px; height: 46px; border-radius: 12px; background: #e8fbf0; color: var(--wa-green-dark); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.lp-card h3 { font-size: 17px; margin-bottom: 6px; }
.lp-card p { font-size: 14px; margin: 0; }

/* Highlight strip */
.lp-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 34px; padding: 26px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-strip div { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-soft); font-size: 14px; }
.lp-strip i { color: var(--wa-green-dark); font-size: 20px; }

/* Pricing */
.lp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; align-items: stretch; }
.lp-plan { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px 24px; display: flex; flex-direction: column; position: relative; }
.lp-plan.featured { border-color: var(--wa-green); box-shadow: 0 16px 34px rgba(37,211,102,.16); }
.lp-plan .badge-featured { position: absolute; top: -12px; right: 20px; background: var(--wa-green); color: #fff; font-size: 11.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.lp-plan h3 { font-size: 19px; margin-bottom: 4px; }
.lp-plan .price { font-size: 30px; font-weight: 800; margin: 10px 0 4px; }
.lp-plan .price span { font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.lp-plan ul { list-style: none; padding: 0; margin: 18px 0; flex-grow: 1; }
.lp-plan ul li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); padding: 6px 0; }
.lp-plan ul li i { color: var(--wa-green-dark); margin-top: 2px; }

/* Dark CTA-ish stat band */
.lp-band { background: #0b1220; color: #fff; }
.lp-band h2 { color: #fff; }
.lp-band p { color: #b7c2cf; }
.lp-band .lp-grid-3 { text-align: center; }
.lp-band .stat b { font-size: 34px; display: block; color: var(--wa-green); }
.lp-band .stat span { color: #b7c2cf; font-size: 13.5px; }

/* FAQ */
.lp-faq details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.lp-faq summary { cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary .chev { transition: transform .2s ease; color: var(--ink-soft); }
.lp-faq details[open] summary .chev { transform: rotate(180deg); }
.lp-faq details p { margin-top: 10px; }

/* CTA banner */
.lp-cta { background: linear-gradient(120deg, var(--wa-green-dark), var(--wa-green)); color: #fff; border-radius: 20px; padding: 48px 40px; text-align: center; }
.lp-cta h2 { color: #fff; }
.lp-cta p { color: rgba(255,255,255,.9); }

/* Footer */
.lp-footer { background: #f5f8f7; border-top: 1px solid var(--border); padding: 48px 0 24px; }
.lp-footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; margin-bottom: 30px; }
.lp-footer h4 { font-size: 13.5px; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 12px; }
.lp-footer ul { list-style: none; padding: 0; margin: 0; }
.lp-footer li { margin-bottom: 8px; }
.lp-footer li a { color: var(--ink-soft); font-size: 14px; }
.lp-footer li a:hover { color: var(--wa-green-dark); }
.lp-footer .bottom { border-top: 1px solid var(--border); padding-top: 18px; font-size: 13px; color: var(--ink-soft); text-align: center; }

/* Responsive */
@media (max-width: 991px) {
    .lp-nav .links, .lp-nav .actions { display: none; }
    .lp-burger { display: block; }
    .lp-hero .row { grid-template-columns: 1fr; }
    .lp-hero h1 { font-size: 32px; }
    .lp-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .lp-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .lp section { padding: 52px 0; }
    .lp-grid-3 { grid-template-columns: 1fr; }
    .lp-hero h1 { font-size: 27px; }
    .lp-strip { gap: 18px; }
    .lp-cta { padding: 36px 22px; }
    .lp-footer .cols { grid-template-columns: 1fr; }
}
