/* FAQ页面样式 */
.faq-page {
    width: 100%;
    overflow-x: hidden;
}

/* Banner区域 */
.faq-banner {
    position: relative;
    overflow: hidden;
}
.faq-banner-img{
    font-size: 0;
}

.faq-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.faq-banner-content {
    position: absolute;
    z-index: 2;
    text-align: center;
    top: 0;
    left: 0;
    top: 13.958vw;
    left: 19.375vw;
    font-weight: 700;
    font-size: 4.688vw;
    line-height: 150%;
    letter-spacing: 0;
}

.faq-title {
    font-size: 6.250vw;
    font-weight: 900;
    color: #1A1A1A;
    margin: 0;
    line-height: 1;
    letter-spacing: -2px;
}

/* FAQ内容区域 */
.faq-content {
    padding: 4.317vw 10.417vw;
}

.faq-content .container {
    max-width: 81.250vw;
    margin: 0 auto;
    padding: 0 1.042vw;
}
.faq-header {
    text-align: left;
    margin-bottom: 3.802vw;
}

.faq-main-title {
    font-weight: 700;
    font-size: 4.583vw;
    line-height: 150%;
    letter-spacing: 0;
    margin: 0;
}

.faq-subtitle {
    padding-left: 11.406vw;
    font-weight: 700;
    font-size: 4.583vw;
    line-height: 150%;
    letter-spacing: 0;
    color: #FD5000;
    margin: 0;
}

/* 标签导航 */
.faq-tabs{
    display: flex;
    flex-direction: row;
    gap: 1.979vw;
}

.faq-tab-nav {
    flex-direction: column;
    gap: 1.667vw;
    display: flex;
}

.faq-tab-btn {
    width: 19.271vw;
    height: 10.417vw;
    opacity: 1;
    padding: 0;
    align-items: center;
    text-align: center;
    border-radius: 0.938vw;
    font-weight: 700;
    font-size: 2.188vw;
    line-height: 150%;
    letter-spacing: 0;
    background: #F5F5F5;
    color: #000;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.faq-tab-btn:hover {
    color: #FD5000;
}

.faq-tab-btn.active {
    background: url('../images/faq/pc-btn-bg-active.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

/* 标签内容 */
.faq-tab-content {
    display: none;
    background: #F5F5F5;
    flex: 1;
    padding: 3.073vw 3.802vw;
    border-radius: 0.938vw;
}

.faq-tab-content.active {
    display: block;
}

/* FAQ分类 */
.faq-category {
    margin-bottom: 4.531vw;
}

.faq-category-title {
    color: #000;
    margin-bottom: 1.302vw;
    padding-bottom: 1.406vw;
    border-bottom: 1px solid #000;
    display: inline-block;
    font-weight: 700;
    font-size: 2.188vw;
    line-height: 150%;
    letter-spacing: 0;
    vertical-align: middle;
    width: 100%;
    text-align: left;
    /*跟设计图不一样*/
    margin-bottom: 1.302vw;
    padding-bottom: 0.833vw;
    border-bottom: 3px solid #FD5000;
    width: initial;
}

/* FAQ项目 */
.faq-items {
    background: #FFFFFF;
    border-radius: 0.625vw;
    overflow: hidden;
    box-shadow: 0 0.208vw 0.833vw rgba(0, 0, 0, 0.08);
}

.faq-item {
    border-bottom: 1px solid #E5E5E5;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 1.250vw 1.667vw;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #FFFFFF;
}

.faq-question:hover {
    background: #F8F8F8;
}

.faq-item.active .faq-question {
    /* background: #FFF5F0; */
    border-bottom: 1px solid #E5E5E5;
}

.faq-number {
    font-weight: 600;
    color: #000;
    margin-right: 0.417vw;
    min-width: 1.250vw;
    font-size: 1.354vw;
}

.faq-text {
    flex: 1;
    color: #000;
    font-weight: 500;
    font-size: 1.354vw;
    line-height: 150%;
    letter-spacing: 0;
    vertical-align: middle;
}

.faq-icon {
    color: #000;
    transition: transform 0.3s ease;
    width: 1.250vw;
    height: 1.250vw;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
    font-size: 2.396vw;
    line-height: 150%;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;
}

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

.faq-answer {
    padding: 1.042vw 3.750vw;
    align-items: center;
    display: none;
}

.faq-item.active .faq-answer {
    display: flex;
    animation: fadeInDown 0.3s ease;
}

.faq-answer p {
    color: #FD5000;
    margin: 0;
    font-family: Roboto;
    font-weight: 400;
    font-size: 1.250vw;
    line-height: 150%;
    letter-spacing: 0;
    vertical-align: middle;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 - 平板 */
@media (max-width: 1024px) {
    .faq-content .container {
        padding: 0;
        max-width: 90vw;
    }

    .faq-tabs{
        flex-direction: column;
        gap: 6.4vw;
    }

    .faq-tab-nav{
        flex-direction: row;
    }

    .faq-text,.faq-number{
        font-size: 3.73vw;
    }
    .faq-answer p{
        font-size: 3.46vw;
    }
    .faq-answer{
        padding: 3.5vw 3.75vw;
    }

    
    .faq-content {
        padding: 9.33vw 0;
    }
    
    .faq-content .container {
        padding: 0;
        width: 91.47vw;
    }
    
    .faq-main-title, .faq-subtitle {
        font-size: 8vw;
    }
    .faq-main-title{
        padding-left: 6.4vw;
    }
    .faq-subtitle{
        padding-left: 18.4vw;
    }
    .faq-header {
        margin-bottom: 5.3vw;
    }

    .faq-tab-btn{
        position: relative;
        flex: 0.5;
        height: 16.8vw;
        font-size: 4.26vw;
    }

    .faq-category-title {
        font-size: 6.66vw;
        margin: 0;        
        margin-bottom: 3vw;
        padding-bottom: 2vw;
    }
    .faq-tab-content{
        border-radius: 2.66vw;
        padding: 6.93vw 5.3vw; 
    }

    .faq-question{
        align-items: baseline;
    }

    .faq-items{
        border-radius: 1vw;
    }
    .faq-icon{
        font-size: 5.06vw;
        width: 2.8vw;
        height: 2.8vw;
    }
}

/* 响应式设计 - 手机 */
@media (max-width: 768px) {
    .faq-banner-content{
        top: 15.46vw;
        left: 50%;
        transform: translateX(-50%);
    }
    .faq-title {
        font-size: 8vw;
    }
    
    .faq-content {
        padding: 9.33vw 0;
    }
    
    .faq-content .container {
        padding: 0;
        width: 91.47vw;
    }
    
    .faq-main-title, .faq-subtitle {
        font-size: 8vw;
    }
    .faq-main-title{
        padding-left: 6.4vw;
    }
    .faq-subtitle{
        padding-left: 18.4vw;
    }
    .faq-header {
        margin-bottom: 5.3vw;
    }

    .faq-tab-btn.active {
        background-image: url('../images/faq/m-btn-bg-active.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

/* 超小屏幕 */
@media (max-width: 480px) {
    
}


/* 动画效果 */
.faq-item {
    transition: all 0.3s ease;
}

.faq-question {
    position: relative;
}

.faq-question::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #f2f2f2;
    transition: width 0.3s ease;
}

.faq-item.active .faq-question::after {
    width: 100%;
}

/* 滚动条样式 */
.faq-content::-webkit-scrollbar {
    width: 8px;
}

.faq-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.faq-content::-webkit-scrollbar-thumb {
    background: #FD5000;
    border-radius: 4px;
}

.faq-content::-webkit-scrollbar-thumb:hover {
    background: #E04500;
}
