/* ==========================================================================
   SmileCare — Compare page styles
   Reuses brand tokens, nav, buttons, and footer from landing-page.css.
   Only page-specific rules (hero, comparison table, status icons, CTA card)
   live here.
   ========================================================================== */

/* ---- Compact centered hero (this page doesn't need the two-column hero) ---- */
.compare-hero {
    padding: 64px 0 48px;
    text-align: center;
    background: linear-gradient(180deg, var(--teal-50) 0%, #fff 100%);
}
.compare-hero h1 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--slate-900);
    margin: 14px 0 16px;
    letter-spacing: -0.02em;
}
.compare-hero h1 .accent { color: var(--teal-600); }
.compare-hero p {
    font-size: 18px;
    color: var(--slate-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ---- Comparison table ---- */
.compare-section { padding: 0 0 84px; }
.table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-md);
    background: #fff;
}
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 600px; }
.table-wrap thead th {
    padding: 20px 24px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--slate-700);
    border-bottom: 2px solid var(--slate-200);
    background: var(--slate-50);
}
.table-wrap thead th:first-child { text-align: left; width: 35%; }
.table-wrap thead th:nth-child(2) { background: var(--teal-50); color: var(--teal-800); position: relative; }
.table-wrap thead th:nth-child(2)::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--teal-500); border-radius: 0 0 2px 2px;
}
.table-wrap tbody td {
    padding: 16px 24px; text-align: center; font-size: 14px; color: var(--slate-600);
    border-bottom: 1px solid var(--slate-100);
}
.table-wrap tbody td:first-child { text-align: left; font-weight: 500; color: var(--slate-800); }
.table-wrap tbody td:nth-child(2) { background: rgba(240,253,250,0.5); }
.table-wrap tbody tr:last-child td { border-bottom: none; }
.table-wrap tbody tr:hover { background: var(--slate-50); }
.table-wrap tbody tr:hover td:nth-child(2) { background: var(--teal-50); }

/* Status icons */
.status-full, .status-partial, .status-none, .status-star {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%; font-size: 16px; font-weight: 700;
}
.status-full { background: rgba(22,163,74,0.12); color: var(--green); }
.status-partial { background: rgba(245,158,11,0.12); color: var(--amber); }
.status-none { background: rgba(230,23,57,0.08); color: var(--red); font-size: 15px; }
.status-star { background: rgba(245,158,11,0.15); color: var(--amber); font-weight: 400; }
.status-text { font-size: 13px; color: var(--slate-400); font-style: italic; }

/* ---- CTA card ---- */
.compare-cta-section { padding: 0 0 88px; text-align: center; }
.compare-cta-card {
    background: linear-gradient(135deg, var(--teal-600), var(--teal-800));
    border-radius: var(--radius);
    padding: 60px 40px;
    color: #fff;
    box-shadow: var(--shadow-lg);
}
.compare-cta-card h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; color: #fff; }
/* .compare-cta-card p { font-size: 16px; opacity: 0.9; margin: 0 auto 28px; max-width: 500px; } */
.compare-cta-card p { font-size: 16px; opacity: 0.9; margin: 0 auto 28px;}
.compare-cta-card .btn-primary { background: #fff; color: var(--teal-700); }
.compare-cta-card .btn-primary:hover { background: var(--teal-50); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .compare-hero { padding: 48px 0 36px; }
    .compare-hero p { font-size: 16px; }
    .compare-cta-card { padding: 40px 24px; }
    .compare-cta-card h2 { font-size: 22px; }
    .table-wrap thead th, .table-wrap tbody td { padding: 12px 14px; }
}
