/* 常见问题页样式 - FAQ Styles */

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-intro {
    text-align: center;
    margin-bottom: 50px;
}

.faq-intro p {
    font-size: 16px;
    color: var(--text-gray);
    margin-top: 15px;
}

/* FAQ分类 */
.faq-category {
    margin-bottom: 40px;
}

.faq-category-title {
    font-size: 22px;
    color: var(--text-main);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-category-title .icon {
    font-size: 24px;
}

/* FAQ项目 */
.faq-list {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    border-bottom: 1px solid var(--border-color);
}

.faq-question:last-child {
    border-bottom: none;
}

.faq-question-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question-header:hover {
    background: var(--bg-light);
}

.faq-question-header h3 {
    font-size: 16px;
    color: var(--text-main);
    font-weight: 500;
}

.faq-question-header .toggle {
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question.active .faq-question-header .toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* 快捷咨询 */
.faq-cta {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    color: #fff;
    margin-top: 50px;
}

.faq-cta h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.faq-cta p {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.faq-cta .contact-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.faq-cta .method {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.faq-cta .method .icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-cta a {
    color: var(--accent-yellow);
    font-weight: bold;
}

/* 响应式 */
@media (max-width: 576px) {
    .faq-question-header {
        padding: 15px 20px;
    }
    
    .faq-question-header h3 {
        font-size: 14px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-question.active .faq-answer {
        padding: 0 20px 15px;
    }
    
    .faq-cta {
        padding: 30px 20px;
    }
    
    .faq-cta .contact-methods {
        flex-direction: column;
        gap: 15px;
    }
}
