/* FAQ Page - Accordion Style Design */

.faq-page-wrapper {
    padding-bottom: 60px;
}

/* Category FAQ section (below category text) */
.category-faq-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.category-faq-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 24px 0;
    text-align: center;
}

/* FAQ Content */
.faq-content {
    margin: 40px 0;
}

/* Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(52, 45, 62, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 158, 253, 0.3);
}

.faq-item.active {
    border-color: #ff9efd;
}

/* Question Button */
.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    text-align: right;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 158, 253, 0.05);
}

.faq-question-text {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    flex: 1;
    text-align: right;
}

.faq-icon {
    color: #ff9efd;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

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

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 24px 24px;
}

.faq-answer-content {
    padding-top: 16px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.faq-answer-content p {
    margin: 0 0 12px 0;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content ul,
.faq-answer-content ol {
    margin: 12px 0;
    padding-right: 20px;
}

.faq-answer-content li {
    margin-bottom: 8px;
}

.faq-answer-content a {
    color: #ff9efd;
    text-decoration: underline;
}

.faq-answer-content a:hover {
    color: #ffccfe;
}

/* Empty State */
.faq-empty {
    background: rgba(52, 45, 62, 0.8);
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-empty p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* CTA Section */
.faq-cta {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-cta-content {
    background: rgba(52, 45, 62, 0.8);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-cta-content svg {
    color: #ff9efd;
    margin-bottom: 20px;
}

.faq-cta-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px 0;
}

.faq-cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.faq-cta-content .btn {
    display: inline-flex;
    width: auto;
    min-width: 200px;
}

/* Responsive */
@media (min-width: 768px) {
    .faq-content {
        margin: 50px 0;
    }
    
    .faq-accordion {
        gap: 20px;
    }
    
    .faq-question {
        padding: 24px 32px;
    }
    
    .faq-question-text {
        font-size: 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 32px 32px;
    }
    
    .faq-answer {
        padding: 0 32px;
    }
    
    .faq-answer-content {
        font-size: 17px;
    }
    
    .faq-cta {
        margin-top: 80px;
        padding-top: 60px;
    }
    
    .faq-cta-content {
        padding: 50px;
    }
    
    .faq-cta-content h3 {
        font-size: 28px;
    }
    
    .faq-cta-content p {
        font-size: 18px;
    }
}

@media (min-width: 1024px) {
    .faq-content {
        max-width: 900px;
        margin: 60px auto;
    }
    
    .faq-cta-content {
        max-width: 700px;
        margin: 0 auto;
    }
}
