/* ==============================
   FAQ List Page
   Future Power Color
================================= */

.faq-list-page {
    padding: 40px 0 60px;
}

/* 页面标题 */
.faq-list-head {
    margin: 0 auto 36px;
    text-align: center;
}

.faq-list-head span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #168a3a;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.faq-list-head h1 {
    margin: 0 0 16px;
    color: #14284b;
    font-size: 46px;
    line-height: 1.25;
    font-weight: 800;
}

.faq-list-head p {
    margin: 0 auto;
    max-width: 760px;
    color: #5b6472;
    font-size: 16px;
    line-height: 1.75;
}

/* 分类标题 */
.faq-list-category-title {
    margin: 0 auto 22px;
    padding: 26px 30px;
    background: linear-gradient(135deg, rgba(55,179,74,.08), rgba(16,155,215,.08));
    border: 1px solid #e7f2ee;
    border-radius: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.faq-list-category-title > i {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, #37b34a 0%, #109bd7 82%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 10px 24px rgba(55,179,74,.22);
}

.faq-list-category-title h2 {
    margin: 0 0 8px;
    color: #14284b;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 800;
}

.faq-list-category-title p {
    margin: 0;
    color: #5b6472;
    font-size: 15px;
    line-height: 1.6;
}

/* FAQ列表 */
.faq-accordion {
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 38px rgba(16, 36, 58, .08);
    border: 1px solid #e7f2ee;
}

.faq-accordion-item {
    border-bottom: 1px solid #e7f2ee;
    background: #fff;
}

.faq-accordion-item:last-child {
    border-bottom: none;
}

/* 问题 */
.faq-question {
    cursor: pointer;
    min-height: 86px;
    padding: 24px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: all .3s ease;
}

.faq-question-left {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.faq-num {
    flex: 0 0 auto;
    color: #168a3a;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
}

.faq-question h3 {
    margin: 0;
    color: #14284b;
    font-size: 19px;
    line-height: 1.55;
    font-weight: 700;
}

.faq-toggle {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f7fbf8;
    border: 1px solid #e7f2ee;
    color: #14284b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
}

.faq-toggle i {
    font-size: 16px;
    line-height: 1;
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(55,179,74,.06), rgba(16,155,215,.06));
}

.faq-question:hover .faq-toggle {
    background: linear-gradient(135deg, #37b34a 0%, #109bd7 82%);
    border-color: transparent;
    color: #fff;
}

/* 答案 */
.faq-answer {
    display: none;
    padding: 30px 50px;
}

.faq-answer p {
    margin: 0;
    padding: 22px 26px;
    background: #f7fbf8;
    border-left: 4px solid #37b34a;
    border-radius: 16px;
    color: #5b6472;
    font-size: 16px;
    line-height: 1.8;
}

/* 展开状态 */
.faq-accordion-item.active {
    background: #fff;
}

.faq-accordion-item.active .faq-question {
    background: linear-gradient(135deg, rgba(55,179,74,.06), rgba(16,155,215,.06));
}

.faq-accordion-item.active .faq-num {
    color: #37b34a;
}

.faq-accordion-item.active .faq-toggle {
    background: linear-gradient(135deg, #37b34a 0%, #109bd7 82%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 24px rgba(55,179,74,.22);
}

.faq-accordion-item.active .faq-answer {
    display: block;
}

/* ==============================
   Mobile
================================= */

@media (max-width: 768px) {
    .faq-list-page {
        padding: 30px 0 42px;
    }

    .faq-list-head {
        margin-bottom: 26px;
        text-align: left;
    }

    .faq-list-head h1 {
        font-size: 30px;
        line-height: 1.3;
    }

    .faq-list-head p {
        font-size: 15px;
        line-height: 1.65;
    }

    .faq-list-category-title {
        margin-bottom: 18px;
        padding: 22px 18px;
        border-radius: 18px;
        align-items: flex-start;
    }

    .faq-list-category-title > i {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        border-radius: 15px;
        font-size: 22px;
    }

    .faq-list-category-title h2 {
        font-size: 22px;
    }

    .faq-list-category-title p {
        font-size: 14px;
    }

    .faq-accordion {
        border-radius: 18px;
    }

    .faq-question {
        min-height: auto;
        padding: 20px 16px;
        gap: 12px;
    }

    .faq-question-left {
        gap: 12px;
    }

    .faq-num {
        font-size: 18px;
    }

    .faq-question h3 {
        font-size: 16px;
        line-height: 1.5;
    }

    .faq-toggle {
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
    }

    .faq-toggle i {
        font-size: 14px;
    }

    .faq-answer {
        padding: 0 16px 20px 46px;
    }

    .faq-answer p {
        padding: 18px;
        border-radius: 14px;
        font-size: 14px;
        line-height: 1.75;
    }
}