/* 首页第六部分：常见问题 */
.faq-section {
    margin: 32px 0;
    background-color: #FFFFFF;
}

.faq-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 标题 */
.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

/* FAQ内容 */
.faq-content {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: #fff;
    padding: 0;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.2s ease;
}

.faq-header:hover {
    background-color: #f9fafb;
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    padding-right: 16px;
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f3f4f6;
    transition: all 0.5s ease;
}

.faq-icon {
    color: #6b7280;
    transition: transform 0.5s ease;
}

.faq-item.active .faq-toggle {
    background-color: #3b82f6;
}

.faq-item.active .faq-icon {
    color: #fff;
    transform: rotate(180deg);
}

.faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.faq-item.active .faq-answer-wrapper {
    max-height: 1000px;
}

.faq-answer {
    font-size: 14px;
    color: #606266;
    line-height: 1.6;
    margin: 0;
    padding: 0 24px 24px 24px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .faq-list {
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .faq-list {
        gap: 24px;
    }

    .faq-question {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .faq-answer {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .faq-section .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .faq-list {
        gap: 20px;
    }

    .faq-question {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .faq-answer {
        font-size: 12px;
    }
}