/*
 * Competitor comparison page styles (page-scoped: loaded only on the comparison pages).
 * Reuses the visual language of home-20260617.css: brand #5d78ff, dark text #2a2f45, 14px card radius.
 */

.cmp-page {
    color: #595d6e;
    font-size: 15px;
    line-height: 1.6;
}

.cmp-page p {
    color: #595d6e;
}

.cmp-section {
    padding-top: 64px;
}

.cmp-section-head {
    text-align: center;
    margin-bottom: 32px;
}

.cmp-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #5d78ff;
    background: #eef1ff;
    border-radius: 20px;
    padding: 5px 14px;
    margin-bottom: 14px;
}

.cmp-title {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.25;
    color: #2a2f45;
    margin-bottom: 10px;
}

.cmp-lead {
    max-width: 720px;
    margin: 0 auto;
    font-size: 17px;
    color: #6b7184;
}

.cmp-microcopy {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #8a8fa3;
}

.cmp-btn {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(93, 120, 255, .25);
}

/* ── Compact hero (overrides the full-screen height .header-serpempire gets on desktop) ── */
.header-serpempire.cmp-hero {
    height: auto;
    flex-shrink: 0; /* the page wrappers are flex columns: never let the hero shrink below its content */
    padding: 130px 0 110px;
    background-color: #366cf3;
}

.cmp-hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, .18);
    border-radius: 20px;
    padding: 5px 14px;
    margin-bottom: 18px;
}

.cmp-hero-title {
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 18px;
}

.cmp-hero-title .homepage-keyword {
    font-size: 1em;
    padding: 4px 16px;
    margin: 8px 0 0;
}

.cmp-hero-subtitle {
    max-width: 600px;
    margin-bottom: 26px;
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .92);
}

.cmp-hero-form .input-group {
    max-width: 560px;
}

.cmp-hero-form .form-control {
    height: 58px;
    font-size: 16px;
    border: 0;
    border-radius: 10px 0 0 10px;
}

.cmp-hero-form .btn-brand {
    height: 58px;
    padding: 0 26px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 12px 28px rgba(13, 15, 20, .22);
}

.cmp-hero-microcopy {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, .9);
}

.cmp-hero-card {
    background: #fff;
    border-radius: 16px;
    padding: 26px 26px 22px;
    box-shadow: 0 24px 60px rgba(13, 15, 20, .25);
    color: #595d6e;
}

.cmp-hero-card-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #8a8fa3;
}

.cmp-hero-stats {
    display: flex;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #eef0f4;
}

.cmp-hero-stat {
    flex: 1;
    text-align: center;
    padding: 0 8px;
}

.cmp-hero-stat + .cmp-hero-stat {
    border-left: 1px solid #eef0f4;
}

.cmp-hero-stat-num {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    color: #2a2f45;
}

.cmp-hero-stat-label {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.3;
    color: #8a8fa3;
}

@media (max-width: 991px) {
    .header-serpempire.cmp-hero {
        padding: 110px 0 90px;
    }

    .cmp-hero-subtitle,
    .cmp-hero-form .input-group {
        margin-left: auto;
        margin-right: auto;
    }

    .cmp-hero-card {
        margin-top: 36px;
        text-align: left;
    }
}

@media (max-width: 575px) {
    .cmp-hero-title {
        font-size: 1.9rem;
    }

    .cmp-hero-form .input-group {
        flex-direction: column;
    }

    .cmp-hero-form .form-control {
        width: 100%;
        border-radius: 10px;
    }

    .cmp-hero-form .input-group-append {
        width: 100%;
        margin: 10px 0 0;
    }

    .cmp-hero-form .btn-brand {
        width: 100%;
        border-radius: 10px;
    }
}

/* ── Comparison table ── */
.cmp-table-card {
    background: #fff;
    border: 1px solid #ebedf2;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(13, 15, 20, .05);
    overflow: hidden;
}

.cmp-table {
    margin: 0;
    table-layout: fixed;
}

.cmp-table .cmp-col-label {
    width: 24%;
}

.cmp-table .cmp-col-vendor {
    width: 38%;
}

.cmp-table th,
.cmp-table td {
    padding: 16px 20px;
    vertical-align: middle;
    border-top: 1px solid #eef0f4;
}

.cmp-table thead th {
    border-top: 0;
    border-bottom: 0;
    text-align: center;
    padding-top: 22px;
    padding-bottom: 18px;
}

.cmp-table tbody th {
    width: 24%;
    font-weight: 600;
    color: #2a2f45;
}

.cmp-table .cmp-col-us {
    background: #f4f6ff;
    color: #2a2f45;
    font-weight: 500;
    border-left: 2px solid #5d78ff;
    border-right: 2px solid #5d78ff;
}

.cmp-table thead .cmp-col-us {
    border-top: 2px solid #5d78ff;
    border-radius: 14px 14px 0 0;
}

.cmp-table tfoot td {
    border-top: 0;
    text-align: center;
    padding-bottom: 24px;
}

.cmp-table tfoot .cmp-col-us {
    border-bottom: 2px solid #5d78ff;
}

.cmp-logo {
    max-height: 34px;
    max-width: 160px;
}

.cmp-badge {
    display: inline-block;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    background: #5d78ff;
    border-radius: 20px;
    padding: 3px 10px;
}

.cmp-icon-yes {
    color: #0abb87;
    margin-right: 8px;
}

.cmp-icon-neutral {
    color: #b5b8c5;
    margin-right: 8px;
}

/* ── Budget cards ── */
.cmp-budget-card {
    height: 100%;
    background: #fff;
    border: 1px solid #ebedf2;
    border-radius: 14px;
    padding: 22px 20px;
    box-shadow: 0 8px 24px rgba(13, 15, 20, .05);
}

.cmp-budget-plan {
    font-size: 13px;
    color: #8a8fa3;
}

.cmp-budget-plan strong {
    display: block;
    font-size: 16px;
    color: #2a2f45;
}

.cmp-bar-row {
    margin-top: 16px;
}

.cmp-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
}

.cmp-bar-label strong {
    color: #2a2f45;
}

.cmp-bar {
    height: 10px;
    border-radius: 6px;
    background: #f0f1f5;
    overflow: hidden;
}

.cmp-bar span {
    display: block;
    height: 100%;
    border-radius: 6px;
    background: #c5c9d6;
}

.cmp-bar--us span {
    background: linear-gradient(90deg, #5d78ff 0%, #8a9bff 100%);
}

.cmp-multiplier {
    display: inline-block;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 700;
    color: #0abb87;
    background: #e6f8f2;
    border-radius: 20px;
    padding: 4px 12px;
}

.cmp-footnote {
    margin-top: 14px;
    font-size: 12px;
    color: #a2a5b9;
    text-align: center;
}

/* ── CTA bands ── */
.cmp-cta-band {
    background: linear-gradient(135deg, #5d78ff 0%, #4b63e6 100%);
    border-radius: 14px;
    padding: 32px 36px;
    box-shadow: 0 18px 40px rgba(93, 120, 255, .25);
}

.cmp-cta-band h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
}

.cmp-cta-band p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, .85);
}

.cmp-cta-band .btn {
    background: #fff;
    border-color: #fff;
    color: #5d78ff;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    white-space: nowrap;
}

.cmp-cta-band .btn:hover {
    background: #eef1ff;
    border-color: #eef1ff;
    color: #4b63e6;
}

/* ── Feature cards ── */
.cmp-feature-card {
    height: 100%;
    background: #fff;
    border: 1px solid #ebedf2;
    border-radius: 14px;
    padding: 26px 24px;
    box-shadow: 0 8px 24px rgba(13, 15, 20, .05);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.cmp-feature-card:hover {
    transform: translateY(-4px);
    border-color: #d9e0ff;
    box-shadow: 0 18px 40px rgba(93, 120, 255, .14);
}

.cmp-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef1ff 0%, #f3eefe 100%);
    color: #5d78ff;
    font-size: 22px;
}

.cmp-feature-card h3,
.cmp-choice-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2a2f45;
    margin-bottom: 8px;
}

.cmp-feature-card p {
    margin: 0;
}

/* ── How to switch ── */
.cmp-step {
    text-align: center;
    padding: 0 12px;
}

.cmp-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #5d78ff;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(93, 120, 255, .3);
}

.cmp-step h3 {
    font-size: 17px;
    font-weight: 600;
    color: #2a2f45;
    margin-bottom: 6px;
}

/* ── Which one to choose ── */
.cmp-choice-card {
    height: 100%;
    background: #fff;
    border: 1px solid #ebedf2;
    border-radius: 14px;
    padding: 28px 26px;
}

.cmp-choice-card--us {
    border: 2px solid #5d78ff;
    box-shadow: 0 18px 40px rgba(93, 120, 255, .14);
}

.cmp-choice-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
}

.cmp-choice-list li {
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
}

/* ── FAQ ── */
.cmp-faq {
    max-width: 820px;
    margin: 0 auto;
}

.cmp-faq .card {
    border: 1px solid #ebedf2;
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.cmp-faq .card-header {
    background: #fff;
    border: 0;
    padding: 0;
}

.cmp-faq .card-title {
    position: relative;
    margin: 0;
    padding: 18px 48px 18px 22px;
    font-size: 16px;
    font-weight: 600;
    color: #2a2f45;
    cursor: pointer;
}

.cmp-faq .card-title::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    color: #5d78ff;
    transition: transform .18s ease;
}

.cmp-faq .card-title.collapsed::after {
    transform: translateY(-50%);
}

.cmp-faq .card-body {
    padding: 0 22px 20px;
}

.cmp-final {
    padding-bottom: 64px;
}

/* ── Mobile ── */
@media (max-width: 767px) {
    .cmp-section {
        padding-top: 44px;
    }

    .cmp-title {
        font-size: 24px;
    }

    .cmp-cta-band {
        padding: 26px 22px;
        text-align: center;
    }

    .cmp-cta-band .btn {
        margin-top: 18px;
        width: 100%;
    }

    .cmp-step {
        margin-bottom: 26px;
    }

    /* Comparison table becomes stacked rows so the SERP Empire column is never scrolled out of view. */
    .cmp-table {
        table-layout: auto;
    }

    .cmp-table colgroup,
    .cmp-table thead {
        display: none;
    }

    .cmp-table,
    .cmp-table tbody,
    .cmp-table tfoot,
    .cmp-table tr,
    .cmp-table th,
    .cmp-table td {
        display: block;
        width: 100% !important;
    }

    .cmp-table tbody tr {
        padding: 16px 18px;
        border-top: 1px solid #eef0f4;
    }

    .cmp-table tbody tr:first-child {
        border-top: 0;
    }

    .cmp-table tbody th,
    .cmp-table tbody td {
        border: 0;
        padding: 0;
    }

    .cmp-table tbody th {
        margin-bottom: 8px;
    }

    .cmp-table tbody td {
        padding: 8px 12px;
    }

    .cmp-table tbody td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: #8a8fa3;
    }

    .cmp-table tbody .cmp-col-us {
        margin-top: 6px;
        border: 0;
        border-radius: 10px;
    }

    .cmp-table tbody .cmp-col-us::before {
        color: #5d78ff;
    }

    .cmp-table tfoot td:not(.cmp-col-us) {
        display: none;
    }

    .cmp-table tfoot .cmp-col-us {
        background: none;
        border: 0;
        padding: 8px 18px 24px;
    }
}
