/* ==========================================================================
   Comparison Landing Page Stylesheet (TawreedFlow vs WhatsApp & Excel)
   ========================================================================== */

.compare-page {
    background-color: var(--bg-primary, #050811);
    color: var(--text-primary, #f1f5f9);
    min-height: 100vh;
}

.compare-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
}

.compare-title {
    font-size: clamp(2.1rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: #ffffff;
}

.compare-tagline {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: var(--text-secondary, #cbd5e1);
    max-width: 860px;
}

/* Comparison Matrix Table */
.compare-matrix-wrapper {
    overflow-x: auto;
    margin: 40px 0;
    border-radius: 14px;
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    background: var(--surface-1, rgba(14, 22, 40, 0.7));
}

.compare-matrix {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.compare-matrix th, .compare-matrix td {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.06));
    vertical-align: top;
}

.compare-matrix th {
    background: rgba(14, 22, 40, 0.95);
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

.compare-matrix th.col-feature {
    width: 25%;
}

.compare-matrix th.col-legacy {
    width: 37.5%;
    color: #f87171;
    border-bottom: 2px solid #ef4444;
}

.compare-matrix th.col-tawreed {
    width: 37.5%;
    color: #34d399;
    border-bottom: 2px solid #10b981;
    background: rgba(16, 185, 129, 0.08);
}

.compare-matrix tr:last-child td {
    border-bottom: none;
}

.compare-matrix td.cell-tawreed {
    background: rgba(16, 185, 129, 0.03);
}

.compare-feature-title {
    font-weight: 600;
    color: #ffffff;
    display: block;
    margin-bottom: 4px;
}

.compare-feature-sub {
    font-size: 0.8rem;
    color: var(--text-dim, #7a8aa0);
    font-family: var(--font-mono, monospace);
}

.status-cross {
    color: #ef4444;
    font-weight: 700;
    margin-right: 6px;
}

.status-check {
    color: #10b981;
    font-weight: 700;
    margin-right: 6px;
}

/* Pain Point Cards */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 36px 0;
}

.pain-card {
    background: rgba(239, 68, 68, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 24px;
}

.pain-card h4 {
    color: #f87171;
    font-size: 1.15rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pain-card p {
    font-size: 0.925rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Solution Highlight Cards */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 36px 0;
}

.solution-card {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 12px;
    padding: 24px;
}

.solution-card h4 {
    color: #34d399;
    font-size: 1.15rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.solution-card p {
    font-size: 0.925rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .compare-matrix-wrapper {
        margin: 24px -16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}
