/* Key Advantages Page Specific Styles */

/* Active nav link styling */
.nav-active {
    color: var(--accent-color) !important;
    position: relative;
}

.nav-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-color);
}

@media (max-width: 1023px) {
    .nav-active::after {
        display: none;
    }
}

/* Hero Section Adjustments */
.key-advantages-hero {
    padding-bottom: 2rem;
}

.key-advantages-hero h1 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.key-advantages-hero .section-subtitle {
    max-width: 800px;
}

/* Comparison Card Section */
.compare-section {
    padding: 0 2rem 4rem;
    margin-top: 0;
}

.compare-card {
    background: var(--card-background);
    border-radius: 60px;
    box-shadow: var(--shadow-card);
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem;
    overflow: hidden;
}

.compare-card-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.compare-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-text);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.0225rem;
}

.compare-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-text);
    margin: 0;
    letter-spacing: -0.0125rem;
}

/* Comparison Table */
.compare-table {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.compare-table-header {
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.compare-row {
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
    gap: 1rem;
    min-height: 84px;
}

.compare-col {
    display: flex;
    align-items: center;
    padding: 1rem;
}

.compare-col-category {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 0;
}

.category-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    color: var(--primary-text);
}

.category-label {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-text);
}

.compare-col-consumer {
    background: #F5F5F5;
    border-radius: var(--radius-md);
    justify-content: center;
    text-align: center;
}

.compare-col-fluentsphere {
    background: rgba(1, 113, 228, 0.1);
    border-radius: var(--radius-md);
    justify-content: center;
    text-align: center;
}

.column-label {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-text);
    letter-spacing: -0.015rem;
}

.fluentsphere-label {
    color: var(--accent-color);
}

.consumer-value {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--primary-text);
}

.fluentsphere-value {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--primary-text);
    line-height: 1.4;
}

/* Key Advantages FAQ Section */
.key-advantages-faq {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.key-advantages-faq h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-text);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.03rem;
}

.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.advantage-item {
    text-align: left;
}

.advantage-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.advantage-number {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 860;
    flex-shrink: 0;
}

.advantage-question {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-text);
    margin: 0;
    letter-spacing: -0.0225rem;
    line-height: 1.2;
}

.advantage-answer {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-text);
    line-height: 1.75rem;
    margin: 0;
    letter-spacing: -0.0125rem;
    padding-left: 60px;
}

/* Final CTA Section - Override background */
.final-cta {
    margin-top: 0;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .compare-table-header,
    .compare-row {
        grid-template-columns: 150px 1fr 1fr;
    }

    .category-label {
        font-size: 1rem;
    }

    .column-label {
        font-size: 1.25rem;
    }

    .consumer-value,
    .fluentsphere-value {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    /* Hero adjustments */

    .key-advantages-hero h1 {
        font-size: 1.5rem;
    }

    /* Compare card adjustments */
    .compare-section {
        padding: 0 1rem 2rem;
    }

    .compare-card {
        border-radius: var(--radius-md);
        padding: 1.5rem;
    }

    .compare-title {
        font-size: 1.25rem;
    }

    .compare-subtitle {
        font-size: 1rem;
        line-height: 1.375rem;
    }

    /* Mobile table layout - stack vertically */
    .compare-table-header {
        display: none;
    }

    .compare-row {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-light);
    }

    .compare-row:last-child {
        border-bottom: none;
    }

    .compare-col-category {
        margin-bottom: 0.5rem;
    }

    .category-icon {
        width: 30px;
        height: 30px;
    }

    .category-label {
        font-size: 1.125rem;
        font-weight: 700;
    }

    .compare-col-consumer,
    .compare-col-fluentsphere {
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 0.25rem;
    }

    .compare-col-consumer::before {
        content: 'Consumer Apps';
        font-size: 1rem;
        font-weight: 800;
        color: var(--primary-text);
        display: block;
        margin-bottom: 0.25rem;
    }

    .compare-col-fluentsphere::before {
        content: 'FluentSphere';
        font-size: 1rem;
        font-weight: 800;
        color: var(--accent-color);
        display: block;
        margin-bottom: 0.25rem;
    }

    .consumer-value,
    .fluentsphere-value {
        font-size: 0.875rem;
    }

    /* Key Advantages FAQ mobile */
    .key-advantages-faq {
        padding: 2rem 1rem;
    }

    .key-advantages-faq h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .advantages-list {
        gap: 2rem;
    }

    .advantage-header {
        gap: 0.75rem;
    }

    .advantage-number {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 1.25rem;
    }

    .advantage-question {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .advantage-answer {
        font-size: 1rem;
        line-height: 1.375rem;
        padding-left: 45px;
    }

    /* Final CTA mobile */
    .final-cta h2 {
        font-size: 1.5rem;
    }

    .cta-subtitle {
        font-size: 1rem;
        line-height: 1.375rem;
    }

    .pricing-guarantee {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .compare-card {
        padding: 1rem;
    }

    .advantage-answer {
        padding-left: 0;
        margin-top: 0.5rem;
    }
}
