/* =========================================================
   Maple CRM — Site Styles
   Built on top of main.css
   ========================================================= */

/* ---------- Base ---------- */
body {
    font-family: Raleway, sans-serif;
    color: var(--foreground);
    background: var(--background);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Raleway, sans-serif;
    font-weight: 700;
    color: var(--foreground);
}

a {
    color: var(--theme);
    text-decoration: none;
    transition: color .2s ease-in-out;
}

a:hover {
    color: var(--theme-hover);
}

/* Brand color utilities */
.text-theme   { color: var(--theme) !important; }
.bg-theme     { background: var(--theme) !important; }
.bg-secondary-soft { background: var(--secondary-bg) !important; }

/* ---------- Buttons ---------- */
.btn-theme {
    background: var(--theme);
    color: #fff;
    border: 1px solid var(--theme);
    font-weight: 600;
    padding: .6rem 1.25rem;
    border-radius: 8px;
    transition: all .2s ease-in-out;
}
.btn-theme:hover,
.btn-theme:focus {
    background: var(--theme-hover);
    border-color: var(--theme-hover);
    color: #fff;
    box-shadow: 0 4px 14px rgba(13, 131, 221, .35);
}

.btn-outline-theme {
    background: transparent;
    color: var(--theme);
    border: 1px solid var(--theme);
    font-weight: 600;
    padding: .6rem 1.25rem;
    border-radius: 8px;
    transition: all .2s ease-in-out;
}
.btn-outline-theme:hover,
.btn-outline-theme:focus {
    background: var(--theme);
    color: #fff;
}

/* ---------- Sticky Header (full-width, top of page) ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
    z-index: 1030;
    padding: .6rem 1.25rem;
}

.site-header .navbar-brand img {
    height: 52px;
    width: auto;
}

.site-header .nav-link {
    color: var(--foreground) !important;
    font-weight: 500;
    margin: 0 .35rem;
    transition: color .2s ease-in-out;
}
.site-header .nav-link:hover {
    color: var(--theme) !important;
}

.site-header .navbar-toggler {
    border: none;
    padding: .25rem .5rem;
}
.site-header .navbar-toggler:focus { box-shadow: none; }

/* Push content below sticky header */
main { padding-top: 88px; }

/* ---------- Hero Section ---------- */
.hero {
    padding: 3rem 0 4rem;
    background:
        radial-gradient(1200px 600px at -10% -10%, rgba(13,131,221,0.10), transparent 60%),
        radial-gradient(900px 500px at 110% 20%, rgba(13,131,221,0.08), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.15;
    font-weight: 800;
    color: var(--foreground);
    margin-bottom: 1rem;
}
.hero h1 .accent { color: var(--theme); }

.hero h2 {
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    color: var(--muted-foreground);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 1.75rem;
}

.hero .hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; }

.hero .hero-image-wrap {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(13,131,221,0.18);
    border: 1px solid var(--border);
    background: #fff;
}
.hero .hero-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 600 / 400;
    object-fit: cover;
}

.hero .hero-meta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .75rem;
    margin-bottom: 1rem;
    background: rgba(13,131,221,0.08);
    color: var(--theme);
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
}

/* ---------- Section base ---------- */
.section {
    padding: 5rem 0;
}
.section-title {
    text-align: center;
    max-width: 880px;
    margin: 0 auto 3rem;
}
.section-title h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.25rem);
    font-weight: 800;
    line-height: 1.25;
}
.section-title p {
    color: var(--muted-foreground);
    margin-top: .75rem;
    font-size: 1.05rem;
}
.section.alt-bg { background: var(--secondary-bg); }

/* ---------- Feature Cards ---------- */
.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex;
    flex-direction: column;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(13,131,221,0.12);
    border-color: rgba(13,131,221,0.4);
}
.feature-card .icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(13,131,221,0.10);
    color: var(--theme);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}
.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .65rem;
}
.feature-card p {
    color: var(--muted-foreground);
    font-size: .95rem;
    line-height: 1.55;
    flex-grow: 1;
}
.feature-card .learn-more {
    font-weight: 600;
    color: var(--theme);
    margin-top: .75rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.feature-card .learn-more:hover { color: var(--theme-hover); gap: .55rem; }

/* ---------- Workflow / How it works ---------- */
.workflow-subtitle {
    display: inline-block;
    background: rgba(13,131,221,0.10);
    color: var(--theme);
    padding: .35rem .9rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: 1rem;
}
.workflow-block {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 18px rgba(0,0,0,0.04);
}
.workflow-block h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.flow {
    display: flex;
    flex-wrap: wrap;
    gap: 2.25rem 2.25rem; /* extra horizontal gap leaves room for arrows */
    align-items: stretch;
}
.flow .step {
    flex: 1 1 180px;
    background: var(--secondary-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1rem 1.1rem;
    position: relative;
    transition: all .25s ease;
}
.flow .step:hover {
    background: #fff;
    border-color: var(--theme);
    box-shadow: 0 8px 20px rgba(13,131,221,0.12);
    transform: translateY(-3px);
}
.flow .step .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--theme);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    margin-bottom: .6rem;
}
.flow .step h4 {
    font-size: .98rem;
    font-weight: 700;
    margin: 0 0 .3rem 0;
    color: var(--foreground);
}
.flow .step p {
    margin: 0;
    color: var(--muted-foreground);
    font-size: .82rem;
    line-height: 1.4;
}

/* Arrow between steps — proper SVG arrow placed in the gap (desktop only) */
@media (min-width: 992px) {
    .flow { flex-wrap: nowrap; gap: 2.25rem; }
    .flow .step + .step::before {
        content: "";
        position: absolute;
        left: -2rem;                /* sit inside the gap, not over the card */
        top: 50%;
        transform: translateY(-50%);
        width: 1.6rem;
        height: 1.2rem;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24' fill='none' stroke='%230d83dd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M2 12 H26'/><path d='M19 5 L28 12 L19 19'/></svg>");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        pointer-events: none;
        opacity: .9;
    }
}

/* Vertical arrows on mobile (between stacked steps) */
@media (max-width: 991.98px) {
    .flow { flex-direction: column; gap: 2rem; }
    .flow .step + .step::before {
        content: "";
        position: absolute;
        left: 50%;
        top: -1.75rem;
        transform: translateX(-50%) rotate(90deg);
        width: 1.6rem;
        height: 1.2rem;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24' fill='none' stroke='%230d83dd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M2 12 H26'/><path d='M19 5 L28 12 L19 19'/></svg>");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        pointer-events: none;
        opacity: .9;
    }
}

/* ---------- Video Section ---------- */
.video-section {
    position: relative;
    min-height: 460px;
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.video-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.55), rgba(15,23,42,0.7));
}
.video-section .inner {
    position: relative;
    z-index: 2;
    padding: 4rem 1rem;
    max-width: 820px;
}
.video-section h2 {
    color: #fff;
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 1rem;
}
.video-section p { color: rgba(255,255,255,0.85); margin-bottom: 1.75rem; }

.play-btn {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--theme);
    color: #fff;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(13,131,221,0.5);
    animation: pulse 2s infinite;
    margin-bottom: 1.25rem;
    transition: transform .2s ease;
}
.play-btn:hover { transform: scale(1.06); background: var(--theme-hover); }
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(13,131,221,0.55); }
    70%  { box-shadow: 0 0 0 22px rgba(13,131,221,0); }
    100% { box-shadow: 0 0 0 0 rgba(13,131,221,0); }
}

/* Video Modal */
.video-modal .modal-dialog {
    /* Constrain to viewport so the dialog never exceeds screen size.
       Width is capped at 900px; height is capped at 80vh and the
       16:9 ratio derives width from that when the viewport is short. */
    max-width: min(900px, calc(80vh * 16 / 9), calc(100vw - 24px));
    margin: 1.75rem auto;
}
.video-modal .modal-content {
    background: #000;
    border: none;
    border-radius: 14px;
    overflow: visible; /* so the close button can poke out slightly */
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.video-modal .ratio {
    background: #000;
    border-radius: 14px;
    overflow: hidden;
}
.video-modal iframe { border-radius: 14px; }

/* Custom close button — always visible, in the top-right corner of the modal */
.video-modal .video-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #0f172a;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);
    transition: transform .15s ease, background .15s ease;
}
.video-modal .video-close:hover {
    background: var(--theme);
    color: #fff;
    transform: rotate(90deg);
}
.video-modal .video-close:focus-visible {
    outline: 3px solid rgba(13,131,221,0.5);
    outline-offset: 2px;
}

/* On very small screens, keep the close button inside the dialog */
@media (max-width: 575.98px) {
    .video-modal .modal-dialog { margin: 1rem auto; }
    .video-modal .video-close {
        top: 8px;
        right: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    }
}

/* ---------- Footer ---------- */
.site-footer {
    background: #ffffff;
    color: var(--muted-foreground);
    padding-top: 4rem;
    border-top: 1px solid var(--border);
}
.site-footer h5 {
    color: var(--foreground);
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 1.1rem;
}
.site-footer a {
    color: var(--muted-foreground);
    display: inline-block;
    padding: .25rem 0;
    transition: color .2s ease;
}
.site-footer a:hover { color: var(--theme); }
.site-footer .brand-block img {
    height: 56px;
    width: auto;
    margin-bottom: 1.25rem;
}
.site-footer p {
    color: var(--muted-foreground);
    line-height: 1.65;
}
.footer-divider {
    border-color: var(--border);
    margin-top: 3rem;
    margin-bottom: 0;
}

/* Dark bottom strip — separates copyright from the main footer */
.footer-bottom {
    background: #0f172a;
    color: #cbd5e1;
    padding: 1.1rem 0;
    font-size: .85rem;
    margin-top: 0;
}
.footer-bottom .text-theme { color: #60a5fa !important; }
.footer-bottom i { color: var(--theme); }

/* ---------- Mobile Floating Bottom Bar ---------- */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1050;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: .5rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    justify-content: space-around;
    align-items: center;
    gap: .4rem;
}
.mobile-bottom-bar .mbb-item {
    flex: 1;
    text-align: center;
    padding: .55rem .4rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: .8rem;
    color: var(--foreground);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.mobile-bottom-bar .mbb-item i { font-size: 1.15rem; color: var(--theme); }
.mobile-bottom-bar .mbb-item.primary {
    background: var(--theme);
    color: #fff;
}
.mobile-bottom-bar .mbb-item.primary i { color: #fff; }
.mobile-bottom-bar .mbb-item.whatsapp i { color: #25D366; }

@media (max-width: 767.98px) {
    .mobile-bottom-bar { display: flex; }
    body { padding-bottom: 90px; }
    .site-header .header-ctas { display: none; }
    .hero { padding: 2rem 0 3rem; }
    main { padding-top: 84px; }
    .site-header .navbar-brand img { height: 44px; }
    .site-header .navbar-collapse {
        background: #fff;
        margin-top: .5rem;
        padding: 1rem;
        border-radius: 12px;
        border: 1px solid var(--border);
        box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    }
}

/* ---------- Misc ---------- */
.shadow-soft { box-shadow: 0 10px 30px rgba(15,23,42,0.06); }
.trust-stat { color: var(--theme); font-weight: 700; }

/* =========================================================
   Pricing Page
   ========================================================= */

/* Pricing hero (smaller than home hero) */
.pricing-hero {
    padding: 4rem 0 2.5rem;
    background:
        radial-gradient(800px 400px at 50% -10%, rgba(13,131,221,0.10), transparent 60%),
        #ffffff;
    text-align: center;
}
.pricing-hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 800;
    margin-bottom: .75rem;
}
.pricing-hero p {
    color: var(--muted-foreground);
    font-size: 1.05rem;
    max-width: 720px;
    margin: 0 auto;
}

/* USP strip */
.usp-strip {
    padding: 1.5rem 0 3rem;
}
.usp-card {
    text-align: center;
    padding: 1.25rem 1rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
    height: 100%;
    transition: all .25s ease;
}
.usp-card:hover {
    transform: translateY(-3px);
    border-color: var(--theme);
    box-shadow: 0 8px 20px rgba(13,131,221,0.10);
}
.usp-card .usp-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(13,131,221,0.10);
    color: var(--theme);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: .75rem;
}
.usp-card h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .25rem;
}
.usp-card p {
    margin: 0;
    color: var(--muted-foreground);
    font-size: .85rem;
}

/* Billing toggle */
.billing-toggle-wrap {
    text-align: center;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.billing-toggle {
    display: inline-flex;
    background: var(--secondary-bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px;
}
.billing-toggle button {
    border: none;
    background: transparent;
    color: var(--foreground);
    font-weight: 600;
    padding: .55rem 1.4rem;
    border-radius: 999px;
    cursor: pointer;
    font-size: .95rem;
    transition: all .2s ease;
}
.billing-toggle button.active {
    background: var(--theme);
    color: #fff;
    box-shadow: 0 4px 10px rgba(13,131,221,0.25);
}
.save-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(34,197,94,0.12);
    color: #15803d;
    padding: .35rem .75rem;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700;
}

/* Plan cards */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}
.plan-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2rem 1.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all .25s ease;
}
.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15,23,42,0.10);
}
.plan-card.featured {
    border: 2px solid var(--theme);
    box-shadow: 0 14px 36px rgba(13,131,221,0.18);
    transform: translateY(-6px);
}
.plan-card.featured:hover { transform: translateY(-10px); }
.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--theme);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: .35rem .9rem;
    border-radius: 999px;
    white-space: nowrap;
}
.plan-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(13,131,221,0.10);
    color: var(--theme);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 1rem;
}
.plan-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: .25rem;
}
.plan-price {
    margin: 1rem 0 .25rem;
    display: flex;
    align-items: baseline;
    gap: .35rem;
}
.plan-price .currency {
    font-size: 1rem;
    font-weight: 700;
    color: var(--muted-foreground);
}
.plan-price .amount {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--foreground);
    line-height: 1;
}
.plan-price .per { font-size: .9rem; color: var(--muted-foreground); }
.plan-billing-note {
    color: var(--muted-foreground);
    font-size: .85rem;
    margin-bottom: 1rem;
}
.plan-addon {
    background: var(--secondary-bg);
    border-radius: 8px;
    padding: .5rem .75rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1.25rem;
}
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}
.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .45rem 0;
    color: var(--foreground);
    font-size: .92rem;
}
.plan-features li i {
    color: var(--theme);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}
.plan-cta { margin-top: auto; }

.plans-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--muted-foreground);
    font-size: .92rem;
    font-style: italic;
}

/* Comparison table */
.compare-table-wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15,23,42,0.05);
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .92rem;
}
.compare-table th,
.compare-table td {
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--border);
    text-align: center;
    vertical-align: middle;
}
.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    color: var(--foreground);
    font-weight: 500;
    min-width: 240px;
}
.compare-table thead th {
    background: var(--secondary-bg);
    font-weight: 700;
    color: var(--foreground);
    font-size: .95rem;
    border-bottom: 2px solid var(--border);
}
.compare-table thead th .plan-head-price {
    font-size: 1.4rem;
    color: var(--theme);
    font-weight: 800;
    display: block;
    margin-top: .15rem;
}
.compare-table thead th .plan-head-note {
    display: block;
    color: var(--muted-foreground);
    font-size: .75rem;
    font-weight: 500;
    margin-bottom: .5rem;
}
.compare-table tr.group-row td {
    background: rgba(13,131,221,0.06);
    color: var(--theme);
    font-weight: 700;
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: .06em;
    text-align: left;
}
.compare-table td .ck {
    color: var(--theme);
    font-size: 1.1rem;
}
.compare-table td .dash { color: #cbd5e1; }
.compare-table tbody tr:hover td:not(.group-cell) {
    background: rgba(13,131,221,0.04);
}
.compare-table .pill {
    display: inline-block;
    background: var(--secondary-bg);
    color: var(--foreground);
    border-radius: 999px;
    padding: .15rem .55rem;
    font-size: .8rem;
    font-weight: 600;
}
.compare-table thead .request-demo {
    display: inline-block;
    margin-top: .35rem;
    background: var(--theme);
    color: #fff;
    font-weight: 600;
    font-size: .8rem;
    padding: .3rem .75rem;
    border-radius: 6px;
}
.compare-table thead .request-demo:hover {
    background: var(--theme-hover);
    color: #fff;
}
@media (max-width: 767.98px) {
    .compare-table { font-size: .82rem; }
    .compare-table th, .compare-table td { padding: .6rem .55rem; }
    .compare-table th:first-child, .compare-table td:first-child { min-width: 170px; }
}

/* FAQ */
.faq-accordion .accordion-item {
    border: 1px solid var(--border);
    border-radius: 12px !important;
    margin-bottom: .75rem;
    overflow: hidden;
}
.faq-accordion .accordion-button {
    background: #fff;
    color: var(--foreground);
    font-weight: 700;
    font-size: 1rem;
    padding: 1.1rem 1.25rem;
}
.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(13,131,221,0.06);
    color: var(--theme);
    box-shadow: none;
}
.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: var(--theme);
}
.faq-accordion .accordion-body {
    color: var(--muted-foreground);
    line-height: 1.6;
    font-size: .95rem;
}

/* =========================================================
   Features Page
   ========================================================= */

/* Hero */
.feat-hero {
    background: linear-gradient(135deg, #eaf4fc 0%, #f7fbff 60%, #ffffff 100%);
    padding: 5rem 0 3rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.feat-hero::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, #bddef3 0%, transparent 70%);
    opacity: .6;
    pointer-events: none;
}
.feat-hero .eyebrow {
    display: inline-block;
    background: #fff;
    border: 1px solid #d4e4f0;
    border-radius: 999px;
    padding: .35rem 1rem;
    font-size: .75rem;
    color: #0a5fa0;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
    box-shadow: 0 6px 20px rgba(13, 131, 221, .08);
}
.feat-hero h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.01em;
    color: var(--foreground);
    margin: 0 0 1rem;
}
.feat-hero h1 .accent { color: var(--theme); }
.feat-hero p.lead {
    color: var(--muted-foreground);
    font-size: 1.08rem;
    max-width: 760px;
    margin: 0 auto 1.5rem;
}
.feat-hero .hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 880px;
    margin: 2.5rem auto 0;
}
.feat-hero .hero-stat {
    background: #fff;
    border: 1px solid #e6ecf2;
    border-radius: 14px;
    padding: 1.1rem .8rem;
    text-align: center;
    box-shadow: 0 8px 22px rgba(13, 131, 221, .06);
}
.feat-hero .hero-stat .num {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--theme);
    line-height: 1;
}
.feat-hero .hero-stat .lbl {
    font-size: .99rem;
    color: var(--muted-foreground);
    margin-top: 4px;
}
@media (max-width: 700px) {
    .feat-hero .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Category filter pills (sticky just below header on desktop only) */
.cat-filter {
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: .8rem 0;
    position: sticky;
    top: 76px;
    z-index: 1020;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Disable docking on mobile — gives precious viewport back to content */
@media (max-width: 991.98px) {
    .cat-filter {
        position: static;
        top: auto;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}
.cat-filter .pills {
    display: flex;
    gap: .6rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}
.cat-filter .pills a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem 1rem;
    border-radius: 999px;
    background: #f5f9fd;
    color: var(--foreground);
    font-size: .85rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: all .18s ease;
    text-decoration: none;
}
.cat-filter .pills a:hover,
.cat-filter .pills a.active {
    background: var(--theme);
    color: #fff;
    border-color: var(--theme);
}
.cat-filter .pills a i { font-size: 1rem; }

/* Feature group block */
.feat-group { padding-top: 3rem; scroll-margin-top: 140px; }
.feat-group:first-of-type { padding-top: 2rem; }
.feat-group .group-head {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: .25rem;
}
.feat-group .group-head .num {
    background: var(--theme);
    color: #fff;
    font-weight: 700;
    font-size: .78rem;
    padding: .35rem .75rem;
    border-radius: 6px;
    letter-spacing: .08em;
}
.feat-group .group-head h3 {
    font-size: 1.55rem;
    margin: 0;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--foreground);
}
.feat-group .group-head .gline {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #bddef3, transparent);
}

/* Feature row (one feature per row, alternating background) */
.feat-row {
    padding: 2.75rem 0;
    border-bottom: 1px solid #eef3f7;
    transition: background .25s ease;
}
.feat-row:last-of-type { border-bottom: none; }
.feat-row:nth-child(even) { background: #f9fcfe; }
.feat-row:hover { background: #f5f9fd; }

.feat-row-img { display: flex; align-items: center; justify-content: center; }
.feat-mock-lg {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #eaf4fc, #ffffff);
    border: 1px solid #e6ecf2;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(13, 131, 221, .10);
    transition: transform .3s ease, box-shadow .3s ease;
}
.feat-mock-lg:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(13, 131, 221, .18);
}
.feat-mock-lg > i {
    font-size: 5.5rem;
    color: var(--theme);
}
/* When a real image is used, show the FULL image (no crop) */
.feat-mock-lg:has(> img) {
    padding: 1rem;          /* small breathing room */
    background: #ffffff;     /* clean white inside */
}
.feat-mock-lg > img {
    width: 100%;
    height: 100%;
    object-fit: contain;     /* show entire flyer, no cropping */
    display: block;
}
.feat-mock-lg .float-i {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    padding: .55rem .8rem;
    box-shadow: 0 8px 22px rgba(13, 131, 221, .14);
    font-size: 1.25rem;
    color: #0a5fa0;
}
.feat-mock-lg .float-i.t1 { top: 22px; left: 22px; }
.feat-mock-lg .float-i.t2 { bottom: 22px; right: 22px; }
.feat-mock-lg .float-i.t3 { top: 50%; right: 18px; transform: translateY(-50%); }

.feat-row-body .icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eaf4fc, #f7fbff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.feat-row-body .icon-box i { font-size: 1.55rem; color: var(--theme); }
.feat-row-body h3.feat-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--foreground);
    margin: 0 0 .8rem;
    letter-spacing: -.01em;
}
.feat-row-body .desc {
    color: var(--muted-foreground);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 1.1rem;
    max-width: 580px;
}
.feat-row-body .chiprow {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: 1.1rem;
}
.feat-row-body .chip {
    background: #eaf4fc;
    color: #0a5fa0;
    font-size: .78rem;
    font-weight: 600;
    padding: .35rem .75rem;
    border-radius: 999px;
}
.feat-row-body .more {
    color: var(--theme);
    font-weight: 700;
    font-size: .95rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.feat-row-body .more::after {
    content: "→";
    transition: transform .15s ease;
}
.feat-row-body .more:hover::after { transform: translateX(4px); }

@media (max-width: 991.98px) {
    .feat-row { padding: 2rem 0; }
    .feat-row-img { margin-bottom: 1.25rem; }
    .feat-mock-lg { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 575.98px) {
    .feat-mock-lg { aspect-ratio: 16 / 10; border-radius: 16px; }
    .feat-mock-lg > i { font-size: 3.4rem; }
    .feat-mock-lg .float-i {
        padding: .35rem .55rem;
        font-size: 1rem;
        border-radius: 9px;
    }
    .feat-mock-lg .float-i.t1 { top: 12px; left: 12px; }
    .feat-mock-lg .float-i.t2 { bottom: 12px; right: 12px; }
}

/* Mid stats strip */
.mid-stats {
    background: linear-gradient(135deg, var(--theme), #0a5fa0);
    color: #fff;
    border-radius: 22px;
    padding: 2.25rem;
    margin: 3.5rem 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
    box-shadow: 0 18px 40px rgba(13, 131, 221, .18);
}
.mid-stats .v { font-size: 2rem; font-weight: 800; line-height: 1; }
.mid-stats .l { font-size: .88rem; opacity: .9; margin-top: .35rem; }
@media (max-width: 760px) { .mid-stats { grid-template-columns: repeat(2, 1fr); } }

/* CTA strip */
.cta-strip {
    background: linear-gradient(135deg, var(--theme), #0a5fa0);
    color: #fff;
    border-radius: 22px;
    padding: 2.5rem 2rem;
    margin: 3.5rem 0 1rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.75rem;
    align-items: center;
    box-shadow: 0 18px 40px rgba(13, 131, 221, .18);
}
.cta-strip h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 .35rem;
    color: #fff;
}
.cta-strip p { margin: 0; opacity: .92; color: #fff; }
.cta-strip .demo-btn {
    background: #fff;
    color: #0a5fa0;
    border: none;
    padding: .85rem 1.5rem;
    font-weight: 700;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    transition: all .2s ease;
}
.cta-strip .demo-btn:hover { background: #ffd700; color: #0a5fa0; }
@media (max-width: 760px) {
    .cta-strip { grid-template-columns: 1fr; text-align: center; }
    .cta-strip .demo-btn { justify-self: center; }
}

/* Comparison band */
.compare-band { padding: 4rem 0; background: var(--secondary-bg); }
.compare-band .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(13, 131, 221, .08);
}
.compare-band table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
}
.compare-band th,
.compare-band td {
    padding: .85rem 1.1rem;
    text-align: left;
    border-bottom: 1px solid #eef3f7;
    font-size: .94rem;
    white-space: nowrap;
}
.compare-band th { background: var(--theme); color: #fff; font-weight: 700; }
.compare-band th.maple { background: #0a5fa0; }
.compare-band td.cell-yes { color: #1b8d3a; font-weight: 700; }
.compare-band td.cell-no  { color: #a8aebd; }
.compare-band tr:last-child td { border-bottom: none; }
@media (max-width: 575.98px) {
    .compare-band th, .compare-band td { padding: .6rem .75rem; font-size: .85rem; }
}

/* Workflow stages */
.workflow-stage {
    background: #fff;
    border: 1px solid #e6ecf2;
    border-radius: 14px;
    padding: 1.4rem 1rem;
    text-align: center;
    position: relative;
    height: 100%;
    transition: all .25s ease;
}
.workflow-stage:hover {
    transform: translateY(-3px);
    border-color: var(--theme);
    box-shadow: 0 10px 24px rgba(13, 131, 221, .12);
}
.workflow-stage .step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--theme);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto .75rem;
}
.workflow-stage > i {
    font-size: 1.55rem;
    color: var(--theme);
    margin-bottom: .5rem;
    display: block;
}
.workflow-stage h5 { font-weight: 700; font-size: 1rem; margin: 0 0 .35rem; }
.workflow-stage p  { font-size: .85rem; color: var(--muted-foreground); margin: 0; }

/* Section heading helper used on features page */
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 2.5rem; }
.sec-head h2 {
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0 0 .5rem;
    color: var(--foreground);
}
.sec-head p { color: var(--muted-foreground); margin: 0; }
.sec-head .ruler {
    width: 60px;
    height: 4px;
    background: var(--theme);
    border-radius: 4px;
    margin: .65rem auto .85rem;
}

/* Top three-image banner (Lead / Process / Billing overview) */
.top-feat-banner {
    background: linear-gradient(135deg, #eaf4fc 0%, #f7fbff 60%, #ffffff 100%);
    border: 1px solid #d4e4f0;
    border-radius: 22px;
    padding: 2rem 1.25rem;
    margin: 2rem 0 3rem;
    box-shadow: 0 18px 40px rgba(13, 131, 221, 0.08);
}
.top-feat-banner .tfb-img {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(13, 131, 221, 0.10);
    border: 1px solid #e6ecf2;
    transition: transform .25s ease, box-shadow .25s ease;
}
.top-feat-banner .tfb-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(13, 131, 221, 0.18);
}
.top-feat-banner .tfb-img img {
    width: 100%;
    height: auto;
    display: block;
}
