body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    animation: fadeIn 0.6s ease-in;
}

header {
    background-color: #333;
    color: white;
    padding: 20px 15px;
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-size: 2rem;
    margin: 0;
    padding: 0 15px;
    word-wrap: break-word;
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }
}

.table-container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto 40px auto;
    padding: 0 15px;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-table:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    border: 1px solid #ccc;
    text-align: center;
    vertical-align: middle;
    transition: background-color 0.3s ease;
}

.comparison-table th:hover,
.comparison-table td:hover {
    background-color: #eef6ff;
}

.comparison-table thead {
    background-color: #f8f8f8;
}

.comparison-table tr:last-child td {
    padding-bottom: 30px;
}

/* Button styles */
button {
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #007BFF;
    transform: scale(1.05);
}

.btn {
    background-color: #007bff;
    color: #fff;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .comparison-table thead {
        display: none;
    }

    .comparison-table,
    .comparison-table tbody,
    .comparison-table tr,
    .comparison-table td {
        display: block;
        width: 100%;
    }

    .comparison-table tr {
        margin-bottom: 20px;
        border: 1px solid #ccc;
    }

    .comparison-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    .comparison-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 20px;
        width: 45%;
        padding-left: 10px;
        font-weight: bold;
        text-align: left;
    }

    /* Center buttons in mobile view */
    .comparison-table td button {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

/* Highlighted column */
.highlight {
    background-color: #e0f7ff !important;
}

/* Center CTA section */
.cta {
    text-align: center;
    margin: 40px auto;
}
