:root {
    --primary-color: #e53e3e;
    --primary-hover: #c53030;
    --text-dark: #2a2a2d;
    --text-muted: #4b5563;
    --bg-light: #f8fafc;
    --bg-gradient: radial-gradient(circle at 80% 50%, #e0f2fe 0%, #ffffff 70%);
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --accent-blue: #2563eb;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Noto Sans SC', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.7;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    margin: 0 auto;
    width: 100%;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: #eff8ff;
    border-bottom: 1px solid rgba(62, 95, 255, 0.1);
}
.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 32px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 22px;
    color: #0640b7;
    text-decoration: none;
}
.logo img {
    height: 32px;
    width: auto;
    display: block;
}
.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
}
.nav-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.nav-item a {
    color: var(--text-dark);
    text-decoration: none;
}
.nav-secondary {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    font-size: 14px;
}
.nav-secondary a {
    color: var(--text-dark);
    text-decoration: none;
}
.nav-secondary li {
    display: flex;
    align-items: center;
    gap: 4px;
}
.lang-selector {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}
.btn-primary:hover {
    background-color: var(--primary-hover);
}

/* ---- FAQ Hero 区域（含创意搜索和标签） ---- */
.faq-hero {
    background: var(--bg-gradient);
    padding: 180px 40px 60px 40px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}
.faq-hero-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}
.faq-hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* 搜索框 */
.faq-search {
    display: flex;
    max-width: 480px;
    margin: 0 auto 24px auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-radius: 12px;
    overflow: hidden;
}
.faq-search-input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: 12px 0 0 12px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}
.faq-search-input:focus {
    border-color: var(--accent-blue);
}
.faq-search-btn {
    background-color: var(--accent-blue);
    color: #ffffff;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    border-radius: 0 12px 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}
.faq-search-btn:hover {
    background-color: #1d4ed8;
}

/* 热门标签 */
.faq-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}
.faq-tag {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}
.faq-tag:hover {
    background-color: #eff6ff;
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* ---- FAQ 列表主体 ---- */
.faq-layout {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px;
}
.faq-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin: 40px 0 20px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.faq-section-title:first-of-type {
    margin-top: 0;
}
.faq-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.faq-question {
    padding: 24px;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.2s;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    flex-shrink: 0;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: #f8fafc;
}
.faq-answer-content {
    padding: 0 24px 24px 24px;
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    border-top: 1px solid var(--border-color);
    margin-top: -1px;
}
.faq-answer-content p {
    margin-bottom: 12px;
    margin-top: 20px;
}
.faq-answer-content p:first-child {
    margin-top: 24px;
}
.faq-answer-content ul {
    margin-left: 20px;
    margin-bottom: 12px;
}
.faq-answer-content li {
    margin-bottom: 6px;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}
.faq-item.active .faq-answer {
    max-height: 2000px;
}

/* 联系客服创意版块 */
.faq-contact-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 40px;
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    gap: 32px;
}
.contact-text h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}
.contact-text p {
    color: #cbd5e1;
    font-size: 15px;
}
.contact-btn {
    background-color: #ffffff;
    color: #0f172a;
    padding: 12px 28px;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s;
}
.contact-btn:hover {
    background-color: #e2e8f0;
}

/* ---- 页脚 ---- */
.site-footer {
    background-color: #0b0e17;
    color: #9ca3af;
    padding: 80px 40px 40px 40px;
    margin-top: 100px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    border-bottom: 1px solid #22293a;
    padding-bottom: 48px;
}
.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #ffffff;
}

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
    .faq-contact-banner {
        flex-direction: column;
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .nav-links, .nav-secondary {
        display: none;
    }
    .faq-hero {
        padding: 140px 20px 40px 20px;
    }
    .faq-layout {
        padding: 40px 20px;
    }
    .faq-hero h1 {
        font-size: 30px;
    }
    .faq-question {
        font-size: 16px;
        padding: 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}