/* Comparison Table Styles */
.comparison-table {
    overflow-x: auto;
    margin: 40px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #2c3e50;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    position: relative;
}

th::after {
    content: "⬍";
    position: absolute;
    right: 10px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

th:hover::after {
    opacity: 1;
}

th.asc::after {
    content: "⬆";
}

th.desc::after {
    content: "⬇";
}

tr:hover {
    background-color: #f5f5f5;
}

td {
    color: #666;
}

.comparison-cta {
    text-align: center;
    margin: 40px 0;
    font-size: 1.2rem;
    color: #2c3e50;
}

.comparison-cta a {
    color: #3498db;
    font-weight: bold;
}

.comparison-cta a:hover {
    color: #2980b9;
}

/* Responsive Table */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
    }

    th, td {
        white-space: nowrap;
    }
}