/* ===== FAQ 页面样式 ===== */

/* 面包屑 */
.breadcrumb-section {
    padding: 100px 0 24px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
}
.breadcrumb a {
    color: var(--text-gray);
    transition: color 0.2s;
}
.breadcrumb a:hover {
    color: var(--primary);
}
.breadcrumb .separator {
    color: var(--text-light);
}
.breadcrumb .current {
    color: var(--text-dark);
    font-weight: 500;
}

/* ===== FAQ Hero ===== */
.faq-hero {
    padding: 64px 0 52px;
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 55%, #ede9fe 100%);
    text-align: center;
    border-bottom: 1px solid rgba(59, 130, 246, 0.12);
}
.faq-hero h1 {
    font-size: 38px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.faq-hero-sub {
    font-size: 16px;
    color: #334155;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== FAQ 主体 ===== */
.faq-main {
    padding: 56px 0 80px;
    background: #fff;
}

.faq-category {
    max-width: 1200px;
    margin: 0 auto 56px;
}
.faq-category:last-of-type {
    margin-bottom: 0;
}

.faq-cat-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
}
.faq-cat-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--primary);
    border-radius: 14px;
    margin-bottom: 16px;
}
.faq-cat-head h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.faq-cat-head p {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== FAQ 问答卡片（两列网格，答案直接展开） ===== */
.faq-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.faq-item {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}
.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: var(--shadow-sm);
}
.faq-q {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 24px 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
}
.faq-q::before {
    content: 'Q';
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}
.faq-answer {
    padding: 0 24px 20px 58px;
    flex: 1;
}
.faq-answer p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.75;
    margin: 0;
}

/* ===== CTA 区块 ===== */
.faq-cta {
    max-width: 1200px;
    margin: 64px auto 0;
    padding: 48px 40px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 16px;
    text-align: center;
    color: #fff;
}
.faq-cta h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}
.faq-cta p {
    font-size: 15px;
    opacity: 0.92;
    margin-bottom: 28px;
}
.faq-cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.faq-cta .btn-primary {
    background: #fff;
    color: var(--primary-dark);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.faq-cta .btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}
.faq-cta .btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
}
.faq-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .breadcrumb-section {
        padding: 80px 0 16px;
    }
    .container {
        padding: 0 20px;
    }
    .faq-hero {
        padding: 40px 0 32px;
    }
    .faq-hero h1 {
        font-size: 28px;
    }
    .faq-hero-sub {
        font-size: 14px;
    }
    .faq-main {
        padding: 40px 0 60px;
    }
    .faq-category {
        margin-bottom: 40px;
    }
    .faq-cat-head h2 {
        font-size: 22px;
    }
    .faq-list {
        grid-template-columns: 1fr;
    }
    .faq-q {
        padding: 16px 18px 10px;
        font-size: 15px;
    }
    .faq-answer {
        padding: 0 18px 16px 52px;
    }
    .faq-answer p {
        font-size: 13px;
    }
    .faq-cta {
        padding: 36px 24px;
        margin-top: 48px;
    }
    .faq-cta h2 {
        font-size: 22px;
    }
    .faq-cta-actions {
        flex-direction: column;
    }
    .faq-cta-actions .btn {
        width: 100%;
    }
}
