/* ========== 热门问题页专用样式 ========== */

/* 页面Banner */
.page-banner {
    position: relative;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top: 46px;
}

.page-banner-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #1976d2 100%);
    overflow: hidden;
}

.page-banner-bg .geo-shape {
    position: absolute;
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 4px;
}

.page-banner-bg .bg1 {
    width: 400px;
    height: 400px;
    right: -100px;
    top: -100px;
    transform: rotate(15deg);
}

.page-banner-bg .bg2 {
    width: 200px;
    height: 200px;
    left: -50px;
    bottom: -50px;
    transform: rotate(-20deg);
    background: rgba(255,255,255,0.03);
}

.page-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding-top: 40px;
}

.page-banner-content .breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.page-banner-content .breadcrumb a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s;
}

.page-banner-content .breadcrumb a:hover {
    color: #fff;
}

.page-banner-content h1 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.page-banner-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
}

/* FAQ主区域 */
.faq-full-section {
    padding: 60px 0 80px;
    background: #f5f7fa;
}

/* 分类按钮 */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}

.cat-btn {
    padding: 10px 22px;
    border: 2px solid #1565c0;
    border-radius: 50px;
    background: transparent;
    color: #1565c0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Noto Sans SC', sans-serif;
}

.cat-btn:hover {
    background: rgba(21, 101, 192, 0.08);
}

.cat-btn.active {
    background: #1565c0;
    color: #fff;
}

/* FAQ列表 */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(21, 101, 192, 0.12);
}

.faq-item.hidden {
    display: none;
}

.faq-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    transition: background 0.3s;
    gap: 16px;
}

.faq-item-header:hover {
    background: #f8fafc;
}

.faq-item.open .faq-item-header {
    background: #f0f4ff;
}

.faq-item-q {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.faq-q-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1565c0, #1976d2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-q-icon svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.faq-item-q h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.4;
}

.faq-item-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item-arrow svg {
    width: 20px;
    height: 20px;
    color: #888;
}

.faq-item.open .faq-item-arrow {
    transform: rotate(180deg);
}

.faq-item-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-item-body {
    max-height: 1000px;
}

.faq-item-content {
    padding: 16px 24px 24px 78px;
}

.faq-item-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
    font-size: 15px;
}

.faq-item-content h4 {
    color: #1565c0;
    font-size: 15px;
    font-weight: 600;
    margin: 16px 0 10px;
}

.faq-item-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-item-content li {
    color: #555;
    line-height: 1.8;
    padding: 4px 0;
    padding-left: 18px;
    position: relative;
    font-size: 15px;
}

.faq-item-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1565c0;
}

.faq-item-content li strong {
    color: #333;
}

.faq-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f0f4ff;
    border-left: 4px solid #1565c0;
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    margin-top: 16px;
}

.faq-tip svg {
    width: 18px;
    height: 18px;
    color: #1565c0;
    flex-shrink: 0;
    margin-top: 3px;
}

.faq-tip span {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.faq-tip a {
    color: #1565c0;
    font-weight: 600;
    text-decoration: none;
}

/* 底部CTA */
.faq-cta {
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #1976d2 100%);
    padding: 60px 0;
    text-align: center;
}

.cta-content h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cta-content > p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    margin-bottom: 30px;
}

.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: #fff;
    color: #1565c0;
    border: none;
}

.btn-white:hover {
    background: #f0f0f0;
    color: #0d47a1;
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

/* FAQ底部CTA按钮 - 统一尺寸 */
.faq-cta .cta-btns .btn {
    padding: 12px 24px !important;
    font-size: 15px !important;
}

.faq-cta .cta-btns .btn svg {
    width: 18px;
    height: 18px;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .page-banner {
        height: 240px;
        margin-top: 46px;
    }

    .page-banner-content h1 {
        font-size: 28px;
    }

    .faq-full-section {
        padding: 40px 0 60px;
        padding-top: 0;
    }

    .faq-item-content {
        padding-left: 24px;
    }

    .faq-item-content h3 {
        font-size: 15px;
    }

    .cat-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
    }
    
    /* 修复分类按钮一行显示不下的问题 */
    .faq-cats {
        flex-wrap: wrap;
        justify-content: center;
    }
}
