/* FAQ Page Styles */

/* FAQ Section */
.faq-section {
    padding: 60px 0 80px;
}

/* Category Navigation */
.faq-categories {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 60px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-link {
    padding: 10px 20px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s;
}

.category-link:hover {
    background: var(--primary);
    color: white;
}

/* FAQ Categories */
.faq-category {
    margin-bottom: 60px;
    scroll-margin-top: 100px;
}

.category-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-primary);
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary);
}

/* FAQ Items */
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 2px solid var(--border);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-item.active .icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
}

.faq-answer p {
    padding: 0 24px 24px 24px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.faq-answer ul,
.faq-answer ol {
    padding: 0 24px 24px 48px;
    color: var(--text-secondary);
}

.faq-answer li {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.6;
}

.faq-answer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* FAQ CTA */
.faq-cta {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
    margin-top: 60px;
}

.faq-cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.faq-cta p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.faq-cta .btn-primary {
    background: white;
    color: var(--primary);
}

.faq-cta .btn-primary:hover {
    background: var(--bg-secondary);
}


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

    .hero h1 {
        font-size: 32px;
    }

    .category-title {
        font-size: 24px;
    }

    .faq-question {
        font-size: 16px;
        padding: 16px 20px;
    }

    .faq-answer p,
    .faq-answer li {
        font-size: 15px;
    }

    .faq-categories {
        gap: 8px;
    }

    .category-link {
        font-size: 14px;
        padding: 8px 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
    }

    .faq-cta {
        padding: 40px 24px;
    }

    .faq-cta h2 {
        font-size: 24px;
    }

    .faq-cta p {
        font-size: 16px;
    }
}