:root {
    --brand-primary: #25D366;
    --brand-dark: #075E54;
    --brand-deep: #128C7E;
    --ink: #0b141a;
    --ink-soft: #4a5568;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: #ffffff;
    scroll-behavior: smooth;
}

.text-brand { color: var(--brand-primary) !important; }
.bg-brand { background: var(--brand-primary) !important; }
.btn-brand {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
    font-weight: 600;
}
.btn-brand:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.btn-outline-brand {
    border: 1.5px solid var(--brand-primary);
    color: var(--brand-dark);
    font-weight: 600;
}
.btn-outline-brand:hover { background: var(--brand-primary); color: #fff; }

/* ---- Navbar ---- */
.home-navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.home-navbar .nav-link {
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.92rem;
}
.home-navbar .nav-link:hover { color: var(--brand-dark); }

/* ---- Hero ---- */
.hero-section {
    background:
        radial-gradient(circle at 15% 20%, rgba(37, 211, 102, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 85% 10%, rgba(7, 94, 84, 0.08) 0%, transparent 45%),
        #fbfdfc;
    padding: 6rem 0 4rem;
}
.hero-badge {
    background: rgba(37, 211, 102, 0.12);
    color: var(--brand-dark);
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: 999px;
    padding: 0.4rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.hero-title {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.hero-visual {
    background: linear-gradient(145deg, #0b141a 0%, #111b21 55%, var(--brand-dark) 100%);
    border-radius: 28px;
    box-shadow: 0 30px 60px -20px rgba(7, 94, 84, 0.35);
    padding: 2.5rem;
}

/* ---- Sections ---- */
.section { padding: 5rem 0; }
.section-alt { background: #f8fafc; }
.section-eyebrow {
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.section-title {
    font-weight: 800;
    letter-spacing: -0.01em;
}

/* ---- Feature cards ---- */
.feature-card {
    background: #fff;
    border: 1px solid #eef1f0;
    border-radius: 18px;
    padding: 1.75rem;
    height: 100%;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -24px rgba(11, 20, 26, 0.25);
}
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(37, 211, 102, 0.12);
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* ---- Steps ---- */
.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ---- Pricing ---- */
.pricing-card {
    background: #fff;
    border: 1.5px solid #eef1f0;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pricing-card.featured {
    border-color: var(--brand-primary);
    box-shadow: 0 24px 48px -28px rgba(37, 211, 102, 0.45);
    position: relative;
}
.pricing-card .price-amount {
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}
.pricing-feature-list { list-style: none; padding: 0; margin: 0; }
.pricing-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--ink-soft);
}
.pricing-feature-list i { color: var(--brand-primary); margin-top: 0.15rem; }

/* ---- FAQ ---- */
.faq-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid #eef1f0;
    background: transparent;
}
.faq-accordion .accordion-button {
    font-weight: 700;
    color: var(--ink);
    background: transparent;
    box-shadow: none;
    padding: 1.25rem 0.5rem;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--brand-dark); }
.faq-accordion .accordion-button::after { filter: hue-rotate(70deg) saturate(3); }
.faq-accordion .accordion-body { color: var(--ink-soft); padding: 0 0.5rem 1.25rem; }

/* ---- Contact ---- */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
}
.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(37, 211, 102, 0.12);
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ---- Footer ---- */
.home-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.7);
}
.home-footer a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.home-footer a:hover { color: #fff; }
.home-footer h6 { color: #fff; font-weight: 700; }

@media (max-width: 767px) {
    .hero-section { padding: 3rem 0 2.5rem; text-align: center; }
    .section { padding: 3.5rem 0; }
}

/* ==================== Marketing sections (benefit strip, feature groups, before/after, CTA) ==================== */
.benefit-strip { padding: 1.75rem 0; background: #fff; border-bottom: 1px solid #e2e8f0; }
.benefit-strip i { font-size: 1.6rem; color: var(--brand-primary); display: block; margin-bottom: .25rem; }

.cat-title {
    font-size: 1.15rem; font-weight: 700; color: var(--ink);
    margin: 2.25rem 0 1rem; display: flex; align-items: center; gap: .6rem;
}
.cat-title i {
    width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(37, 211, 102, .14); color: var(--brand-deep); font-size: 1rem;
}
.feature-card h5 { font-size: 1rem; }
.feature-card p a { color: var(--brand-deep); font-weight: 600; }

.badge-addon {
    display: inline-block; margin-left: .45rem; padding: .1rem .5rem; border-radius: 999px; vertical-align: middle;
    background: #fff7e6; color: #b45309; border: 1px solid #fcd9a0;
    font-size: .62rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
}

.ba-card { border-radius: 16px; padding: 1.75rem; height: 100%; }
.ba-before { background: #fff; border: 1px solid #fecaca; }
.ba-after { background: #f0fdf4; border: 2px solid var(--brand-primary); box-shadow: 0 10px 30px rgba(37, 211, 102, .12); }
.ba-before h5 { color: #b91c1c; }
.ba-after h5 { color: var(--brand-dark); }
.ba-list { list-style: none; padding: 0; margin: 0; }
.ba-list li { display: flex; gap: .6rem; align-items: flex-start; padding: .4rem 0; color: var(--ink-soft); }
.ba-list i { margin-top: .2rem; }
.ba-before .ba-list i { color: #ef4444; }
.ba-after .ba-list i { color: var(--brand-primary); }

.addon-strip {
    margin: 2rem auto 0; max-width: 760px; text-align: center; padding: 1.25rem 1.5rem;
    border: 2px dashed #cbd5e1; border-radius: 16px; background: #fff;
}
.addon-pill {
    display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .85rem; border-radius: 999px;
    background: #f0fdf4; border: 1px solid #bbf7d0; color: var(--brand-dark); font-size: .85rem; font-weight: 600;
}

.cta-banner {
    padding: 4.5rem 0; color: #fff;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-deep) 55%, #1fae5b 100%);
}

/* ==================== Feature explorer (tiered, interactive) ==================== */
.features-pro { background: linear-gradient(180deg, #ffffff 0%, #f6fbf8 100%); }

/* --- pillar list (left): six main areas --- */
.pillar-nav { display: flex; flex-direction: column; gap: .6rem; }
.pillar-btn {
    display: flex; align-items: center; gap: .85rem; text-align: left; width: 100%;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: .85rem 1rem;
    transition: all .2s ease; cursor: pointer;
}
.pillar-btn:hover { border-color: #b7ebcd; transform: translateX(3px); box-shadow: 0 6px 18px rgba(15, 23, 42, .06); }
.pillar-num {
    flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
    background: #f1f5f9; color: #64748b; font-weight: 800; font-size: .9rem; transition: all .2s ease;
}
.pillar-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.pillar-txt b { font-size: 1rem; color: var(--ink); }
.pillar-txt small { color: #64748b; font-size: .78rem; }
.pillar-arrow { color: #cbd5e1; transition: all .2s ease; }
.pillar-btn.active {
    background: linear-gradient(135deg, #f0fdf4, #ffffff); border-color: var(--brand-primary);
    box-shadow: 0 10px 28px rgba(37, 211, 102, .18); transform: translateX(6px);
}
.pillar-btn.active .pillar-num { background: linear-gradient(135deg, var(--brand-primary), var(--brand-deep)); color: #fff; box-shadow: 0 6px 14px rgba(37, 211, 102, .4); }
.pillar-btn.active .pillar-arrow { color: var(--brand-primary); transform: translateX(3px); }

/* --- panel (right) --- */
.pillar-panels {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 24px; padding: 1.75rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .07);
}
.pillar-tag {
    display: inline-flex; align-items: center; gap: .45rem; padding: .25rem .75rem; border-radius: 999px;
    background: rgba(37, 211, 102, .14); color: var(--brand-dark); font-size: .75rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
}
.pillar-head h3 { font-size: 1.85rem; font-weight: 800; color: var(--ink); margin: .75rem 0 .35rem; letter-spacing: -.02em; }
.pillar-head p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 1.25rem; }

/* --- star feature: the most important thing in this area --- */
.star-card {
    position: relative; overflow: hidden; border-radius: 20px; padding: 1.75rem; color: #fff;
    background: radial-gradient(120% 140% at 0% 0%, #0f3d33 0%, #0b141a 60%);
    box-shadow: 0 18px 40px rgba(11, 20, 26, .28);
}
.star-card::after {
    content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 211, 102, .35), transparent 65%); pointer-events: none;
}
.star-label {
    display: inline-flex; align-items: center; gap: .4rem; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    color: #0b141a; background: linear-gradient(90deg, #ffd666, #ffb020); padding: .2rem .6rem; border-radius: 999px; margin-bottom: .8rem;
}
.star-card h4 { font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-bottom: .4rem; }
.star-card h4 > i { color: var(--brand-primary); font-size: 1.6rem; }
.star-text { color: rgba(255, 255, 255, .78); margin-bottom: .9rem; }
.star-list { list-style: none; padding: 0; margin: 0; }
.star-list li { display: flex; gap: .55rem; align-items: flex-start; padding: .28rem 0; font-size: .95rem; color: rgba(255, 255, 255, .92); }
.star-list i { color: var(--brand-primary); margin-top: .2rem; }
.star-card .badge-addon { background: #fff7e6; }

/* --- supporting features --- */
.mini-feature {
    display: flex; gap: .8rem; height: 100%; padding: 1rem; border-radius: 16px; background: #f8fafc; border: 1px solid #eef2f6; transition: all .2s ease;
}
.mini-feature:hover { background: #fff; border-color: #b7ebcd; box-shadow: 0 8px 22px rgba(15, 23, 42, .08); transform: translateY(-3px); }
.mini-icon {
    flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(37, 211, 102, .15); color: var(--brand-deep); font-size: 1.1rem;
}
.mini-feature h5 { font-size: .95rem; font-weight: 700; margin: 0 0 .15rem; color: var(--ink); }
.mini-feature p { font-size: .82rem; color: #64748b; margin: 0; line-height: 1.45; }
.mini-feature p a { color: var(--brand-deep); font-weight: 600; }

/* --- mini product previews (pure CSS, decorative) --- */
.mock { background: #fff; border-radius: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); overflow: hidden; color: var(--ink); font-size: .78rem; position: relative; z-index: 1; }
.mock-bar { display: flex; align-items: center; gap: .3rem; padding: .5rem .7rem; background: #f1f5f9; border-bottom: 1px solid #e2e8f0; }
.mock-bar span { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.mock-bar span:nth-child(1) { background: #fb7185; } .mock-bar span:nth-child(2) { background: #fbbf24; } .mock-bar span:nth-child(3) { background: #34d399; }
.mock-bar b { margin-left: .5rem; font-size: .78rem; }
.mock-bar em { margin-left: auto; font-style: normal; color: #64748b; font-size: .7rem; }
.mock-bar em.live { color: #16a34a; font-weight: 700; animation: mockPulse 1.6s infinite; }
@keyframes mockPulse { 50% { opacity: .45; } }
.mock-body { padding: .8rem; display: flex; flex-direction: column; gap: .5rem; }
.bubble { max-width: 82%; padding: .45rem .7rem; border-radius: 12px; line-height: 1.35; }
.bubble.in { background: #f1f5f9; align-self: flex-start; border-bottom-left-radius: 3px; }
.bubble.out { background: #d9fdd3; align-self: flex-end; border-bottom-right-radius: 3px; }
.mock-note { background: #fffbeb; border: 1px dashed #fcd34d; color: #92400e; border-radius: 8px; padding: .35rem .55rem; font-size: .72rem; }
.mock-input { display: flex; align-items: center; justify-content: space-between; gap: .5rem; border: 1px solid #e2e8f0; border-radius: 999px; padding: .35rem .5rem .35rem .8rem; color: #94a3b8; }
.mock-input i { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; }
.mock-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #94a3b8; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.chip { font-style: normal; padding: .18rem .6rem; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: .7rem; font-weight: 600; white-space: nowrap; }
.chip.on { background: #d9fdd3; color: #166534; } .chip.warn { background: #fef3c7; color: #92400e; } .chip.bad { background: #fee2e2; color: #b91c1c; }
.mock-card { border: 1px solid #e2e8f0; border-radius: 10px; padding: .5rem .65rem; display: flex; flex-direction: column; }
.mock-card small { color: #16a34a; }
.mock-cta { background: linear-gradient(135deg, var(--brand-primary), var(--brand-deep)); color: #fff; font-weight: 700; text-align: center; border-radius: 10px; padding: .5rem; }
.mock-row { display: flex; align-items: center; gap: .6rem; padding: .3rem 0; border-bottom: 1px solid #f1f5f9; }
.mock-row > div { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.mock-row small { color: #94a3b8; }
.mock-row.done { opacity: .6; }
.av { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-style: normal; font-weight: 700; font-size: .72rem; flex: 0 0 auto; }
.a1 { background: #25D366; } .a2 { background: #6366f1; } .a3 { background: #f59e0b; }
.callbtn { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: .75rem; animation: callRing 2s infinite; }
@keyframes callRing { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 9px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.kpis div { background: #f8fafc; border-radius: 8px; padding: .4rem; text-align: center; display: flex; flex-direction: column; }
.kpis b { font-size: 1.05rem; color: var(--brand-dark); } .kpis small { color: #94a3b8; font-size: .62rem; }
.bars { display: flex; align-items: flex-end; gap: .35rem; height: 64px; padding: 0 .2rem; }
.bars i { flex: 1; background: linear-gradient(180deg, var(--brand-primary), var(--brand-deep)); border-radius: 4px 4px 0 0; }

/* --- footer strip --- */
.feature-foot {
    margin-top: 2.25rem; padding: 1.25rem 1.5rem; border-radius: 18px; background: #0b141a; color: #fff;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.feature-foot .text-secondary { color: rgba(255, 255, 255, .6) !important; }
.feature-foot .badge-addon { margin: 0 .4rem 0 0; }

/* --- reveal on scroll --- */
/* Only hidden once JS has confirmed it can reveal them (adds .reveal-ready), so a JS failure never leaves content invisible. */
.reveal-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal-ready .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-ready .reveal { opacity: 1; transform: none; transition: none; } .callbtn, .mock-bar em.live { animation: none; } }

/* --- mobile: pillars become a horizontal swipe row --- */
@media (max-width: 991px) {
    .pillar-nav { flex-direction: row; overflow-x: auto; gap: .5rem; padding-bottom: .5rem; scroll-snap-type: x proximity; }
    .pillar-btn { flex: 0 0 auto; width: auto; min-width: 210px; scroll-snap-align: start; }
    .pillar-btn.active, .pillar-btn:hover { transform: none; }
    .pillar-arrow { display: none; }
    .pillar-panels { padding: 1.1rem; }
    .pillar-head h3 { font-size: 1.45rem; }
    .star-card { padding: 1.25rem; }
}

/* Bootstrap g-5 rows push the hero ~12px wider than small screens; clip so the page never scrolls sideways. */
.hero-section { overflow-x: clip; }
