/* ========== 全局重置 & 基础 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* ========== 面包屑 ========== */
.breadcrumb {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    font-size: 13px;
    color: #95a5a6;
}
.breadcrumb a {
    color: #3498db;
    text-decoration: none;
}
.breadcrumb span {
    margin: 0 8px;
    color: #000000;
}

/* ========== 容器 ========== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 24px;
    display: flex;
    gap: 24px;
}

.main-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar {
    width: 280px;
    flex-shrink: 0;
}

.section {
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* ========== 页面标题区 ========== */
.page-header {
    text-align: center;
    padding: 20px 0 32px;
}
.page-header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}
.page-header-top .title-bar {
    width: 4px;
    height: 22px;
    background: linear-gradient(180deg, #3498db 0%, #2980b9 100%);
    border-radius: 2px;
}
.page-header-top h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1f2d3d;
}
.page-header p {
    font-size: 14px;
    color: #8a96a3;
}

/* ========== FAQ 卡片列表 ========== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eef1f5;
    overflow: hidden;
    transition: all 0.3s;
}
.faq-card:hover {
    border-color: #bcd4ea;
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.08);
}
.faq-card.active {
    border-color: #3498db;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.12);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
}
.faq-question:hover {
    background: #fafbfd;
}
.faq-card.active .faq-question {
    background: #f8fbfe;
}

.faq-q-badge {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #eaf5fd 0%, #d6ecf7 100%);
    color: #3498db;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.faq-card.active .faq-q-badge {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
}

.faq-question h4 {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.5;
}

.faq-arrow {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s;
    color: #bbb;
}
.faq-card.active .faq-arrow {
    transform: rotate(180deg);
    color: #3498db;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-card.active .faq-answer {
    max-height: 800px;
}

.faq-answer-inner {
    padding: 0 20px 20px 66px;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

.faq-answer-inner p {
    margin-bottom: 12px;
}
.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

/* ========== 步骤列表 ========== */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 16px 0;
}
.step-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.step-num {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}
.step-content {
    flex: 1;
    padding-top: 3px;
}
.step-content h5 {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}
.step-content p {
    font-size: 13px;
    color: #666;
    margin-bottom: 0;
}

/* ========== 图片展示 ========== */
.faq-images {
    margin-top: 16px;
    display: grid;
    gap: 12px;
}
.faq-images.single {
    grid-template-columns: 1fr;
}
.faq-images.double {
    grid-template-columns: 1fr 1fr;
}
.faq-images.triple {
    grid-template-columns: 1fr 1fr 1fr;
}
.faq-img-item {
    border-radius: 10px;
    overflow: hidden;
    background: #f5f7fa;
    border: 1px solid #eef1f5;
}
.faq-img-item img {
    width: 100%;
    height: auto;
    display: block;
}
.faq-img-placeholder {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f2f5 0%, #e8ecf0 100%);
    color: #95a5a6;
    font-size: 12px;
    flex-direction: column;
    gap: 6px;
}
.faq-img-placeholder::before {
    content: '\1F5BC';
    font-size: 28px;
    opacity: 0.4;
}
.faq-images.single .faq-img-placeholder {
    height: 200px;
}

/* ========== 提示框 ========== */
.faq-tip {
    margin-top: 16px;
    padding: 12px 16px;
    background: #fff9e6;
    border-left: 3px solid #ffc107;
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    color: #856404;
}
.faq-tip strong {
    color: #d39e00;
}

/* ========== 分类标题 ========== */
.category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 28px 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef1f5;
}
.category-title:first-child {
    margin-top: 0;
}
.category-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.category-icon.account {
    background: #eaf5fd;
}
.category-icon.settle {
    background: #eefbf4;
}
.category-icon.verify {
    background: #f3eef8;
}
.category-title h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2d3d;
}
.category-title span {
    font-size: 12px;
    color: #95a5a6;
}

/* ========== 侧边栏 ========== */
.sidebar-section {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}
.sidebar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eef1f5;
}
.sidebar-title-bar {
    width: 3px;
    height: 16px;
    background: linear-gradient(180deg, #3498db 0%, #2980b9 100%);
    border-radius: 2px;
}
.sidebar-title h3 {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
}

.hot-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hot-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #fafbfc;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s;
    cursor: pointer;
}
.hot-item:hover {
    background: #eaf5fd;
}
.hot-rank {
    width: 20px;
    height: 20px;
    background: #e0e0e0;
    color: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}
.hot-item:nth-child(1) .hot-rank {
    background: #ff6b6b;
}
.hot-item:nth-child(2) .hot-rank {
    background: #ffa502;
}
.hot-item:nth-child(3) .hot-rank {
    background: #3498db;
}
.hot-item-title {
    flex: 1;
    font-size: 13px;
    color: #555;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hot-item:hover .hot-item-title {
    color: #3498db;
}

/* ========== 联系客服 ========== */
.contact-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f8fafc;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s;
    border: 1px solid transparent;
}
.contact-item:hover {
    background: #fff;
    border-color: #bcd4ea;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.08);
}
.contact-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.contact-item-icon.online {
    background: #e8f5e9;
}
.contact-item-icon.phone {
    background: #e3f2fd;
}
.contact-item-icon.email {
    background: #fff3e0;
}
.contact-item-info {
    flex: 1;
    min-width: 0;
}
.contact-item-info h5 {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2px;
}
.contact-item-info p {
    font-size: 12px;
    color: #8a96a3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.contact-item-arrow {
    color: #ccc;
    font-size: 14px;
    flex-shrink: 0;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .breadcrumb {
        padding: 12px 16px;
        font-size: 12px;
    }
    .container {
        padding: 0 16px 16px;
        gap: 16px;
    }
    .section {
        padding: 20px 16px;
        border-radius: 12px;
    }
    .page-header-top h2 {
        font-size: 18px;
    }
    .faq-question {
        padding: 14px 16px;
        gap: 12px;
    }
    .faq-answer-inner {
        padding: 0 16px 16px 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px 12px;
        gap: 12px;
    }
    .section {
        padding: 16px 12px;
    }
    .page-header-top h2 {
        font-size: 16px;
    }
    .page-header p {
        font-size: 13px;
    }
    .faq-question {
        padding: 12px 14px;
    }
    .faq-question h4 {
        font-size: 14px;
    }
    .faq-answer-inner {
        padding: 0 14px 14px 14px;
        font-size: 13px;
    }
    .step-item {
        gap: 12px;
    }
    .step-num {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    .faq-images.triple {
        grid-template-columns: 1fr;
    }
    .faq-images.double {
        grid-template-columns: 1fr;
    }
}