/* ==========================================================================
   Leadzill.com — Public marketing site
   ========================================================================== */

body.pub { background: #fff; }

/* ---- Header ---- */
.pub-header {
    position: sticky; top: 0; z-index: 50; background: rgba(11, 31, 58, .96);
    backdrop-filter: blur(6px); border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.pub-nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.pub-logo { font-size: 21px; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: .3px; display: inline-flex; align-items: center; }
.pub-logo-img { max-height: 40px; width: auto; display: block; }
.pub-nav-backdrop { display: none; }
.pub-links { display: flex; align-items: center; gap: 22px; }
.pub-links a { color: #cbd5e1; text-decoration: none; font-size: 15px; font-weight: 500; }
.pub-links a:hover, .pub-links a.active { color: #fff; }
.pub-links a.btn { color: #fff; }
.pub-toggle { display: none; background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; }

/* ---- Hero ---- */
.hero {
    background: radial-gradient(1200px 600px at 50% -20%, #16345f 0%, #0b1f3a 60%);
    color: #fff; text-align: center; padding: 90px 20px 100px;
}
.hero .badge {
    display: inline-block; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
    color: #dbeafe; padding: 6px 16px; border-radius: 999px; font-size: 13px; margin-bottom: 24px;
}
.hero h1 { font-size: 48px; line-height: 1.1; margin: 0 0 18px; font-weight: 800; max-width: 860px; margin-inline: auto; }
.hero p.sub { font-size: 19px; color: #cbd5e1; max-width: 640px; margin: 0 auto 32px; line-height: 1.6; }
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.hero .trust { margin-top: 22px; font-size: 13px; color: #94a3b8; }

/* ---- Sections ---- */
.section { padding: 74px 20px; }
.section.alt { background: var(--bg); }
.section h2 { font-size: 32px; text-align: center; margin: 0 0 10px; color: var(--navy); }
.section .lead { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 46px; font-size: 17px; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.feature {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
    box-shadow: var(--shadow);
}
.feature .ic { font-size: 30px; margin-bottom: 12px; }
.feature h3 { font-size: 18px; margin: 0 0 8px; color: var(--navy); }
.feature p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.6; }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
    counter-increment: step; content: counter(step);
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 12px;
}
.step h3 { font-size: 16px; margin: 0 0 6px; color: var(--navy); }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---- Pricing ---- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; align-items: stretch; }
.price-card {
    background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px;
    display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.price-card.popular { border: 2px solid var(--blue); position: relative; }
.price-card.popular .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.price-card h3 { margin: 0 0 6px; font-size: 20px; color: var(--navy); }
.price-card .amount { font-size: 38px; font-weight: 800; color: var(--navy); }
.price-card .amount small { font-size: 15px; color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; padding: 0; margin: 18px 0; flex: 1; }
.price-card li { padding: 7px 0; color: #334155; font-size: 15px; border-bottom: 1px solid #f1f5f9; }
.price-note { text-align: center; color: var(--muted); margin-top: 24px; font-size: 14px; }

/* ---- FAQ ---- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 4px 18px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; color: var(--navy); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq p { color: var(--muted); line-height: 1.6; }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; text-align: center; padding: 66px 20px; }
.cta-band h2 { font-size: 30px; margin: 0 0 12px; }
.cta-band p { color: #dbeafe; margin: 0 0 26px; }

/* ---- Footer ---- */
.pub-footer { background: #0b1f3a; color: #cbd5e1; padding: 54px 20px 0; }
.pub-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.pub-footer h4 { color: #fff; font-size: 14px; margin: 0 0 14px; text-transform: uppercase; letter-spacing: .05em; }
.pub-footer a { display: block; color: #94a3b8; text-decoration: none; font-size: 14px; margin-bottom: 9px; }
.pub-footer a:hover { color: #fff; }
.pub-footer-desc { color: #94a3b8; font-size: 14px; line-height: 1.6; max-width: 320px; }
.pub-social { display: flex; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.pub-social a { display: inline; margin: 0; }
.pub-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding: 20px 0; font-size: 13px; color: #64748b; }

/* ---- Static content pages ---- */
.content-page { max-width: 820px; margin: 0 auto; padding: 60px 20px; }
.content-page h1 { color: var(--navy); font-size: 34px; margin-bottom: 8px; }
.content-page .updated { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.content-page :is(h2,h3) { color: var(--navy); margin-top: 28px; }
.content-page p, .content-page li { color: #334155; line-height: 1.7; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 900px; margin: 0 auto; }
.contact-info p { color: var(--muted); line-height: 1.8; }

@media (max-width: 820px) {
    .pub-footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .pub-toggle { display: block; }
    /* Left slide-in drawer */
    .pub-links {
        position: fixed; top: 0; left: 0; bottom: 0; width: 76%; max-width: 320px; z-index: 60;
        background: #0b1f3a; flex-direction: column; align-items: flex-start;
        padding: 74px 24px 24px; gap: 18px; border-right: 1px solid rgba(255,255,255,.08);
        transform: translateX(-100%); transition: transform .28s ease; box-shadow: 4px 0 24px rgba(0,0,0,.35);
    }
    .pub-links.open { transform: translateX(0); }
    .pub-links a { font-size: 16px; }
    .pub-nav-backdrop {
        position: fixed; inset: 0; z-index: 55; background: rgba(2, 8, 20, .55);
        opacity: 0; visibility: hidden; transition: opacity .28s ease;
    }
    .pub-nav-backdrop.open { opacity: 1; visibility: visible; }
    body.pub-nav-open { overflow: hidden; }
    .hero h1 { font-size: 34px; }
    .hero p.sub { font-size: 17px; }
    .section h2 { font-size: 26px; }
}
