/* ===== FAQ 页专属样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    background: #f8fafc;
    color: #0f172a;
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 头部导航 ===== */
.header {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid #e2e8f0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 16px 0;
    gap: 16px;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b, #3b82f6);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #334155;
    transition: color 0.2s;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: #3b82f6;
}

/* ===== Hero ===== */
.faq-hero {
    background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
    padding: 60px 0 40px;
    text-align: center;
}

.faq-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.faq-hero h1 span {
    background: linear-gradient(to right, #2563eb, #7c3aed);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.faq-hero p {
    color: #475569;
    font-size: 1.1rem;
    margin-bottom: 28px;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.cat-link {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 8px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: #1e293b;
    transition: all 0.2s;
}

.cat-link:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #2563eb;
}

/* ===== 分类标题 ===== */
.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 28px;
    text-align: center;
    color: #0f172a;
}

/* ===== 问答区域 ===== */
.faq-section {
    padding: 56px 0;
    background: white;
}

.faq-section.alt-bg {
    background: #f8fafc;
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 22px 20px;
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: 0 6px 14px -4px rgba(0,0,0,0.08);
}

.faq-question {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #1e293b;
}

.faq-answer p {
    font-size: 0.95rem;
    color: #334155;
    margin-bottom: 10px;
}

.faq-answer ul {
    list-style: disc;
    padding-left: 22px;
    margin-bottom: 14px;
}

.faq-answer ul li {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 6px;
}

.faq-more {
    display: inline-block;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 4px;
}

.faq-more:hover {
    text-decoration: underline;
}

/* ===== 底部 CTA ===== */
.cta-faq-download {
    background: #0f172a;
    padding: 48px 0;
    color: white;
    text-align: center;
}

.cta-faq-box p:first-child {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.cta-faq-sub {
    color: #cbd5e1;
    margin-bottom: 24px;
}

.btn-cta-faq {
    display: inline-block;
    background: #2563eb;
    color: white;
    font-weight: 700;
    padding: 14px 38px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 10px 18px -8px rgba(37,99,235,0.5);
    transition: all 0.2s;
}

.btn-cta-faq:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* ===== 页脚 ===== */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 56px 0 32px;
    font-size: 0.9rem;
    border-top: 1px solid #1e293b;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 0.95rem;
}

.footer-col a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid #1e293b;
    color: #64748b;
    font-size: 0.8rem;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-links {
        gap: 18px;
        width: 100%;
        flex-wrap: wrap;
    }
    .faq-hero h1 {
        font-size: 2rem;
    }
}