/* ==================== FAQ 专属样式 ==================== */

/* 面包屑 */
.breadcrumb {
    padding: 20px 5%;
    max-width: 900px;
    margin: 0 auto;
}

.breadcrumb a {
    color: #c084fc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #a855f7;
}

/* FAQ容器 */
.faq-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 5% 60px;
}

/* 分类标题 */
.faq-category {
    color: #c084fc;
    font-size: 1.3rem;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.faq-category:first-child {
    margin-top: 10px;
}

/* 单个FAQ项 */
.faq-item {
    border: 1px solid rgba(168, 85, 247, 0.12);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    background: rgba(30, 20, 60, 0.4);
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(168, 85, 247, 0.3);
}

/* 问题栏 */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(168, 85, 247, 0.06);
}

.faq-question span:first-child {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
    padding-right: 16px;
}

/* + / - 符号 */
.faq-toggle {
    color: #a855f7;
    font-size: 1.5rem;
    font-weight: 300;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(168, 85, 247, 0.3);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-item.open .faq-toggle {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff;
    border-color: #a855f7;
}

/* 答案栏（默认隐藏） */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-answer a {
    color: #c084fc;
    text-decoration: none;
}

.faq-answer a:hover {
    color: #a855f7;
    text-decoration: underline;
}

/* ==================== 响应式 ==================== */
@media screen and (max-width: 480px) {
    .faq-question {
        padding: 14px 16px;
    }

    .faq-question span:first-child {
        font-size: 0.9rem;
    }

    .faq-answer {
        padding: 0 16px;
    }

    .faq-item.open .faq-answer {
        padding: 0 16px 16px;
    }
}