/* ===== 基础重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: #1d1d1f;
    background: #fff;
    line-height: 1.5;
    font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #0066cc; text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ===== 容器 ===== */
.container { max-width: 980px; margin: 0 auto; padding: 0 22px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 22px; }

/* ===== 导航 ===== */
.site-nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid #e8e8ed;
}
.site-nav .nav-inner {
    max-width: 1024px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: 44px; padding: 0 22px;
}
.site-nav .logo { color: #1d1d1f; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.site-nav nav ul { display: flex; gap: 28px; }
.site-nav nav a { color: #1d1d1f; font-size: 12px; opacity: 0.8; }
.site-nav nav a:hover { opacity: 1; text-decoration: none; }

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    color: #fff;
    text-align: center;
    padding: 80px 22px 0;
    overflow: hidden;
}
.hero h1 {
    font-size: 56px; font-weight: 700;
    letter-spacing: -0.02em; line-height: 1.07;
    margin-bottom: 12px;
}
.hero .tagline {
    font-size: 28px; font-weight: 600;
    background: linear-gradient(90deg, #93c5fd, #c4b5fd, #f9a8d4);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; margin-bottom: 16px;
}
.hero .subtitle-text {
    font-size: 19px; color: #c7d2fe;
    max-width: 600px; margin: 0 auto 24px; line-height: 1.5;
}
.hero .cta-group {
    display: flex; gap: 16px; justify-content: center; margin-bottom: 50px;
}
.btn {
    display: inline-block; padding: 12px 24px;
    border-radius: 980px; font-size: 17px;
    transition: all 0.2s;
}
.btn-primary { background: #0071e3; color: #fff; }
.btn-primary:hover { background: #0077ed; text-decoration: none; }
.btn-secondary { color: #93c5fd; }
.btn-secondary:hover { text-decoration: underline; }

/* ===== 通用区块 ===== */
.section { padding: 100px 0; }
.section-gray { background: #f5f5f7; }
.section-dark { background: #0f172a; color: #fff; }
.section h2 {
    font-size: 48px; font-weight: 700;
    text-align: center; letter-spacing: -0.02em;
    line-height: 1.08; margin-bottom: 20px;
}
.section .subtitle {
    font-size: 21px; text-align: center;
    color: #6e6e73; max-width: 680px;
    margin: 0 auto 50px; line-height: 1.52;
}
.section-dark .subtitle { color: #94a3b8; }

/* ===== 功能卡片 ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; margin-top: 40px;
}
.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
}
.section-dark .feature-card { background: #1e293b; }
.feature-card h3 {
    font-size: 21px; font-weight: 600;
    margin-bottom: 10px;
}
.feature-card p {
    font-size: 14px; color: #6e6e73; line-height: 1.6;
}
.section-dark .feature-card p { color: #94a3b8; }
.feature-card .platform {
    display: inline-block;
    font-size: 12px;
    color: #6366f1;
    background: #eef2ff;
    padding: 3px 10px;
    border-radius: 980px;
    margin-bottom: 12px;
}

/* ===== FAQ入口 ===== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; margin-top: 40px;
}
.faq-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    border: 1px solid #e8e8ed;
    transition: box-shadow 0.2s;
}
.faq-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    text-decoration: none;
}
.faq-card h3 {
    font-size: 17px; font-weight: 600;
    color: #1d1d1f; margin-bottom: 8px;
}
.faq-card p {
    font-size: 14px; color: #6e6e73; line-height: 1.5;
}

/* ===== FAQ文章页 ===== */
.article-page {
    padding: 60px 0 100px;
    max-width: 720px;
    margin: 0 auto;
}
.article-page h1 {
    font-size: 40px; font-weight: 700;
    letter-spacing: -0.02em; line-height: 1.2;
    margin-bottom: 20px;
}
.article-page .meta {
    font-size: 14px; color: #86868b;
    margin-bottom: 40px; padding-bottom: 20px;
    border-bottom: 1px solid #e8e8ed;
}
.article-page h2 {
    font-size: 26px; font-weight: 700;
    margin: 40px 0 16px;
    letter-spacing: -0.01em;
}
.article-page p {
    font-size: 17px; line-height: 1.7;
    color: #1d1d1f; margin-bottom: 16px;
}
.article-page ul {
    margin: 16px 0; padding-left: 20px;
}
.article-page ul li {
    font-size: 16px; line-height: 1.8;
    color: #3a3a3c; list-style: disc;
}
.article-page .related {
    margin-top: 50px; padding: 30px;
    background: #f5f5f7; border-radius: 18px;
}
.article-page .related h3 {
    font-size: 17px; font-weight: 600; margin-bottom: 12px;
}
.article-page .related a {
    display: inline-block;
    margin: 4px 12px 4px 0;
    font-size: 15px;
}

/* ===== 404 ===== */
.error-page {
    min-height: 70vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; padding: 40px 22px;
}
.error-page .code {
    font-size: 120px; font-weight: 700;
    line-height: 1; margin-bottom: 16px;
}
.error-page h1 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.error-page p {
    font-size: 17px; color: #6e6e73;
    max-width: 400px; margin-bottom: 30px;
}

/* ===== 页脚 ===== */
.site-footer {
    background: #f5f5f7;
    padding: 40px 0;
    font-size: 12px; color: #86868b; line-height: 1.5;
}
.site-footer .footer-links {
    border-top: 1px solid #d2d2d7;
    padding-top: 20px; margin-top: 20px;
    display: flex; gap: 20px; flex-wrap: wrap;
}
.site-footer a { color: #515154; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .hero h1 { font-size: 40px; }
    .hero .tagline { font-size: 21px; }
    .section h2 { font-size: 32px; }
    .article-page h1 { font-size: 28px; }
    .feature-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .site-nav nav ul { gap: 16px; }
    .site-nav nav a { font-size: 11px; }
}
