/* ===================================
   LONG-TERM COMPARISON TABLE
   =================================== */

.comparison-table-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    margin-top: 40px;
    border: 2px solid #e8e8e8;
}

.comparison-title {
    font-size: 26px;
    color: #1a4d2e;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.comparison-title i {
    color: #d4af37;
    font-size: 28px;
}

.comparison-subtitle {
    font-size: 16px;
    color: #555;
    margin: 0 0 25px 0;
    font-weight: 500;
}

.comparison-notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.note-item {
    padding: 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.8;
    border: 2px solid;
}

.plan1-note {
    background: #e3f2fd;
    border-color: #2c5f7c;
    color: #1a3d5c;
}

.plan2-note {
    background: #fff9e6;
    border-color: #d4af37;
    color: #6b5a0d;
}

.comparison-table-scroll {
    overflow-x: auto;
    margin: 20px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.comparison-table thead {
    background: linear-gradient(135deg, #1a4d2e 0%, #2d5a3d 100%);
    color: white;
}

.comparison-table th {
    padding: 16px 12px;
    text-align: center;
    font-weight: 700;
    border: 2px solid #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table tbody tr.even {
    background: #f8f8f8;
}

.comparison-table tbody tr.odd {
    background: #fff;
}

.comparison-table tbody tr:hover {
    background: #f0f7ff;
    transform: scale(1.01);
    transition: all 0.2s ease;
}

.comparison-table td {
    padding: 16px 12px;
    text-align: center;
    border: 2px solid #ddd;
    font-size: 15px;
}

.year-cell {
    background: #d4edda !important;
    font-weight: 700;
    color: #155724;
    font-size: 17px;
    border-right: 3px solid #28a745 !important;
}

.plan1-cell {
    background: #cfe2f3 !important;
    color: #0d3c61;
    font-weight: 600;
}

.plan2-cell {
    background: #fff3cd !important;
    color: #856404;
    font-weight: 600;
}

.legacy-zero {
    color: #999;
    font-style: italic;
    font-weight: 400;
    text-decoration: line-through;
}

.legacy-value {
    font-weight: 700;
    color: #155724;
    font-size: 17px;
    background: #d4edda !important;
}

.comparison-insights {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #fff9e6 0%, #fffaeb 100%);
    border: 2px solid #d4af37;
    border-radius: 8px;
}

.insight-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    font-weight: 500;
}

.insight-box i {
    color: #d4af37;
    font-size: 24px;
    margin-top: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .comparison-notes {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 13px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }
    
    .comparison-title {
        font-size: 20px;
    }
}
