/* ==================== FEATURES PAGE - SIMPLE SCROLLING TABLE ==================== */

.features-page {
    padding-top: 6rem;
    min-height: 100vh;
    background: var(--white);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.features-header {
    text-align: center;
    margin-bottom: 3rem;
}

.features-header h1 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.features-header h2 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.features-header h3 {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* ==================== SIMPLE SCROLLING TABLE ==================== */

.features-section {
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.features-cards {
    display: none;
}

/* Simple wrapper with scroll */
.features-table {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}
.features-table {
    border-radius: 0;
    margin-top: 2rem;
}

.features-section >.features-table.first-table {
    border-radius: 16px 16px 0 0;
}

.features-section > .features-table:last-of-type {
    border-radius: 0 0 16px 16px;
}
table {
    width: 100%;
    border-collapse: collapse;
}

/* ==================== HEADER ==================== */

thead {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

th {
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
}

th:first-child {
    width: 60%;
    min-width: 250px;
}

th:not(:first-child) {
    text-align: center;
    width: 20%;
    min-width: 100px;
}

/* ==================== BODY ==================== */

tbody tr {
    border-bottom: 1px solid #e2e8f0;
}

tbody tr:last-child {
    border-bottom: none;
}

td {
    padding: 1.25rem 1rem;
    vertical-align: middle;
}
.spacer-row td {
    padding: 1rem 0;
    background: white;
    border: none;
    box-shadow: none;
}
td:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

td:not(:first-child) {
    text-align: center;
    font-weight: 600;
}

/* Alternating rows */
tbody tr:nth-child(odd) {
    background: #f8fafc;
}

tbody tr:nth-child(even) {
    background: var(--white);
}

tbody tr:hover {
    background: #f1f5f9;
}

/* ==================== CATEGORY ROWS ==================== */

.category-row {
    background: linear-gradient(135deg, #e0effe 0%, #dbeafe 100%) !important;
}

.category-row td {
    font-weight: 800;
    color: var(--primary-blue);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 1.5rem 1rem !important;
    border-top: 2px solid var(--primary-blue);
}

/* ==================== FEATURE NAMES & ICONS ==================== */

.feature-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    font-size: 1.5rem !important;
    flex-shrink: 0;
}

/* ==================== VALUES ==================== */

.check {
    color: var(--secondary-green);
    font-size: 1.25rem;
    font-weight: bold;
}

.cross {
    color: #cbd5e0;
    font-size: 1.5rem;
}

.limit {
    color: var(--accent-yellow);
    font-size: 1.0rem;
    font-weight: 700;
}

/* ==================== RESPONSIVE ==================== */

@media (min-width: 768px) {
    .features-container {
        padding: 3rem 2rem;
    }

    .features-header h1 {
        font-size: 3.25rem;
    }

    .features-header h2 {
        font-size: 1.5rem;
    }

    th {
        padding: 1.25rem 1.25rem;
        font-size: 1.1rem;
    }

    td {
        padding: 1.5rem 1.25rem;
        font-size: 1rem;
    }

    .feature-icon {
        font-size: 1.5rem !important;
    }
}

/* ==================== FINAL CTA ==================== */

.final-cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 50%, var(--secondary-green) 100%);
    padding: 3rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    color: var(--white);
    margin-top: 3rem;
    box-shadow: 0 10px 40px rgba(42, 92, 153, 0.3);
}

.final-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.final-cta p {
    opacity: 0.95;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.app-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.app-badge {
    display: block;
    transition: transform 0.3s ease;
}

.app-badge:hover {
    transform: translateY(-3px);
}

.app-badge img {
    height: 50px;
    border-radius: 8px;
}

@media (min-width: 768px) {
    .final-cta {
        padding: 4rem 2rem;
    }

    .final-cta h2 {
        font-size: 2.75rem;
    }

    .app-badge img {
        height: 60px;
    }
}