/* ═══════════════════════════════════════════════════════════════════════════
   VistoShield — Comparison Landing Page Styles
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Compare Hero ────────────────────────────────────────────────────────── */
.compare-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
    text-align: center;
}

.compare-hero__breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--slate-400);
    margin-bottom: 20px;
}

.compare-hero__breadcrumb a {
    color: var(--slate-400);
    text-decoration: none;
    transition: color .2s;
}

.compare-hero__breadcrumb a:hover {
    color: var(--teal);
}

.compare-hero__breadcrumb span {
    color: var(--slate-500);
}

.compare-hero__title {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.compare-hero__subtitle {
    font-size: 18px;
    color: var(--slate-400);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Compare Table Section ───────────────────────────────────────────────── */
.compare-table-section {
    padding: 60px 0;
}

.compare-table-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 32px;
    text-align: center;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    font-size: 15px;
}

.compare-table thead th {
    background: var(--slate-900);
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 20px;
    text-align: left;
    border-bottom: 2px solid var(--slate-700);
}

.compare-table thead th:first-child {
    width: 40%;
}

.compare-table__vs {
    color: var(--teal) !important;
}

.compare-table tbody td {
    padding: 14px 20px;
    color: var(--slate-700);
    border-bottom: 1px solid var(--slate-200);
    vertical-align: middle;
}

.compare-table tbody tr:nth-child(even) td {
    background: var(--slate-50);
}

.compare-table tbody tr:hover td {
    background: rgba(36, 191, 179, 0.04);
}

.compare-table tbody td:first-child {
    font-weight: 600;
    color: var(--slate-800);
}

.compare-win {
    color: var(--teal-dark);
    font-weight: 600;
    background: rgba(36, 191, 179, 0.08);
    border-radius: 4px;
    padding: 2px 0;
}

/* ── Compare Details ─────────────────────────────────────────────────────── */
.compare-details {
    padding: 60px 0;
    background: var(--slate-50);
}

.compare-details h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 12px;
}

.compare-details p {
    color: var(--slate-600);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 720px;
}

.compare-details__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.compare-details__grid > div {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--slate-200);
}

.compare-details__grid h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--slate-800);
}

.compare-details__grid ul {
    list-style: none;
    padding: 0;
}

.compare-details__grid ul li {
    padding: 8px 0;
    color: var(--slate-600);
    font-size: 14px;
    border-bottom: 1px solid var(--slate-100);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.compare-details__grid ul li:last-child {
    border-bottom: none;
}

/* ── Compare Pricing ─────────────────────────────────────────────────────── */
.compare-pricing {
    padding: 60px 0;
}

.compare-pricing h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--slate-900);
    text-align: center;
    margin-bottom: 12px;
}

.compare-pricing > .container > p {
    text-align: center;
    color: var(--slate-500);
    margin-bottom: 40px;
    font-size: 16px;
}

.compare-pricing__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.compare-pricing__card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}

.compare-pricing__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.compare-pricing__card--highlight {
    border-color: var(--teal);
    position: relative;
}

.compare-pricing__card--highlight::before {
    content: "Recommended";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--teal);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 16px;
    border-radius: 20px;
}

.compare-pricing__card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 8px;
}

.compare-pricing__card .price {
    font-size: 36px;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 4px;
}

.compare-pricing__card .price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--slate-500);
}

.compare-pricing__card .price-note {
    font-size: 13px;
    color: var(--slate-400);
    margin-bottom: 20px;
}

.compare-pricing__card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 24px;
}

.compare-pricing__card ul li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--slate-600);
    border-bottom: 1px solid var(--slate-100);
}

.compare-pricing__card ul li:last-child {
    border-bottom: none;
}

/* ── Compare CTA ─────────────────────────────────────────────────────────── */
.compare-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
    text-align: center;
}

.compare-cta h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.compare-cta p {
    color: var(--slate-400);
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.compare-cta .btn {
    margin: 0 8px;
}

/* ── Compare Cards (Index Page) ──────────────────────────────────────────── */
.compare-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 60px 0;
}

.compare-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.compare-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--teal);
}

.compare-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 8px;
}

.compare-card__desc {
    font-size: 14px;
    color: var(--slate-500);
    line-height: 1.6;
    margin-bottom: 16px;
}

.compare-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--teal-dark);
    transition: color .2s, gap .2s;
}

.compare-card__link:hover {
    color: var(--teal);
    gap: 10px;
}

.compare-card__link::after {
    content: "\2192";
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .compare-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .compare-hero {
        padding: 100px 0 48px;
    }

    .compare-hero__title {
        font-size: 28px;
    }

    .compare-hero__subtitle {
        font-size: 16px;
    }

    .compare-table-section {
        padding: 40px 0;
        overflow-x: auto;
    }

    .compare-table {
        min-width: 600px;
        font-size: 14px;
    }

    .compare-table thead th,
    .compare-table tbody td {
        padding: 10px 14px;
    }

    .compare-details {
        padding: 40px 0;
    }

    .compare-details__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .compare-pricing {
        padding: 40px 0;
    }

    .compare-pricing__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .compare-cards {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 40px 0;
    }

    .compare-cta {
        padding: 60px 0;
    }

    .compare-cta h2 {
        font-size: 24px;
    }

    .compare-cta .btn {
        display: block;
        margin: 0 0 12px;
    }
}
