/* Features Comparison Page Styles */

.hero::after {
    display: none;
}

.hero {
    border-radius: 20px !important;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Back to Pricing Link */
.back-to-pricing {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    color: rgba(70, 125, 200, 1);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 40px;
    border: 1px solid rgba(229, 231, 235, 1);
    background-color: white;
    transition: all 0.2s ease;
}

.back-to-pricing:hover {
    background-color: rgba(225, 238, 248, 1);
}

.back-to-pricing img {
    width: 16px;
    height: 16px;
    transform: rotate(180deg);
}

/* Comparison Section */
.comparison-section {
    padding: 4rem 0;
    background-color: #fff;
}

.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px;
    box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(229, 231, 235, 1);
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    background-color: white;
}

.comparison-table thead {
    background: linear-gradient(180deg, #F9FAFB 0%, #E5E7EB 100%);
}

.comparison-table th {
    padding: 1.5rem 1rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: rgba(28, 35, 51, 1);
    border-bottom: 1px solid rgba(229, 231, 235, 1);
}

.comparison-table th.feature-column {
    text-align: left;
    padding-left: 1.5rem;
    width: 40%;
}

.comparison-table th.plan-column {
    width: 20%;
}

.comparison-table th.popular {
    background: linear-gradient(180deg, #CAE1F3 0%, #B8D4EC 100%);
    color: rgba(70, 125, 200, 1);
    position: relative;
}

.comparison-table th.popular::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(92, 151, 213, 1);
    border-radius: 4px 4px 0 0;
}

/* Table Body */
.comparison-table tbody tr {
    transition: background-color 0.2s ease;
}

.comparison-table tbody tr:hover {
    background-color: rgba(249, 250, 251, 1);
}

.comparison-table tbody tr:nth-child(even) {
    background-color: rgba(249, 250, 251, 0.5);
}

.comparison-table tbody tr:nth-child(even):hover {
    background-color: rgba(249, 250, 251, 1);
}

.comparison-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(229, 231, 235, 1);
}

.comparison-table td.feature-name {
    text-align: left;
    padding-left: 1.5rem;
    font-weight: 500;
    color: rgba(28, 35, 51, 1);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.comparison-table td.feature-check {
    text-align: center;
}

.comparison-table td.popular {
    background-color: rgba(202, 225, 243, 0.15);
}

.comparison-table tbody tr:hover td.popular {
    background-color: rgba(202, 225, 243, 0.3);
}

/* Check and Dash Icons */
.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: rgba(225, 238, 248, 1);
    border-radius: 50%;
}

.check-icon img {
    width: 14px;
    height: 14px;
}

.dash-icon {
    color: rgba(156, 163, 175, 1);
    font-size: 1.25rem;
    font-weight: 400;
}

/* Last row - no border */
.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* Final CTA Section */
.final-cta {
    padding: 5rem 0;
    background: linear-gradient(250.47deg, #E1EEF8 0%, #F2F7FC 99.15%);
}

.final-cta .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.final-cta .security-content {
    max-width: 700px;
    margin-bottom: 2rem;
}

.final-cta .tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 40px;
    border: 1px solid rgba(229, 231, 235, 1);
    background-color: white;
    margin-bottom: 1.5rem;
}

.final-cta .tag p {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(28, 35, 51, 1);
    margin: 0;
}

.final-cta .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(28, 35, 51, 1);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.final-cta .section-intro {
    font-size: 1.125rem;
    color: rgba(74, 85, 101, 1);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.75rem;
    }

    .comparison-table th.feature-column,
    .comparison-table td.feature-name {
        padding-left: 1rem;
    }
}

@media (max-width: 768px) {
    .comparison-section {
        padding: 2rem 0;
    }

    .comparison-table-wrapper {
        margin: 0 -1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .comparison-table th {
        font-size: 0.875rem;
        padding: 1rem 0.5rem;
    }

    .comparison-table td {
        padding: 1rem 0.5rem;
        font-size: 0.875rem;
    }

    .comparison-table td.feature-name {
        min-width: 180px;
    }

    .final-cta .section-title {
        font-size: 1.75rem;
    }

    .final-cta .section-intro {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .back-to-pricing {
        font-size: 0.875rem;
        padding: 0.625rem 1rem;
    }

    .comparison-table th {
        font-size: 0.75rem;
    }

    .comparison-table td.feature-name {
        font-size: 0.8125rem;
    }

    .check-icon {
        width: 20px;
        height: 20px;
    }

    .check-icon img {
        width: 12px;
        height: 12px;
    }
}
