/* 深色居中首页骨架。强调色改为暮紫与暖杏，避免沿用青蓝。 */
:root {
    --bg: #120e1a;
    --bg-gradient: radial-gradient(circle at 50% 8%, rgba(124, 92, 196, 0.28), rgba(18, 14, 26, 0.98) 68%);
    --surface: rgba(36, 26, 52, 0.72);
    --surface-border: rgba(196, 181, 253, 0.22);
    --surface-hover: rgba(48, 34, 70, 0.88);
    --text-main: #f6f1ff;
    --text-muted: #b3a6c4;
    --primary: #c4b5fd;
    --primary-hover: #ddd4ff;
    --primary-text: #1a1224;
    --accent: #f0b48a;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --container-max: 1040px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--bg);
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: all 0.25s ease; }
img { max-width: 100%; }
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }

.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: 72px;
    display: flex;
    align-items: center;
    background: rgba(18, 14, 26, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--surface-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.3px; }
.brand img { width: 38px; height: 38px; object-fit: contain; border-radius: var(--radius-sm); background: #f4f1fb; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-size: 0.95rem; color: var(--text-muted); }
.nav a:hover, .nav a.is-on { color: var(--primary); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    border: 1px solid transparent;
    text-align: center;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #e7b08a);
    color: var(--primary-text);
    box-shadow: 0 4px 18px rgba(196, 181, 253, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); color: var(--primary-text); }
.btn-secondary {
    background: rgba(196, 181, 253, 0.08);
    color: var(--primary);
    border-color: rgba(196, 181, 253, 0.35);
}
.btn-secondary:hover { background: rgba(196, 181, 253, 0.16); color: var(--primary); }

.hero-center { padding-top: 150px; padding-bottom: 70px; text-align: center; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    margin-bottom: 24px;
    background: rgba(196, 181, 253, 0.12);
    border: 1px solid rgba(196, 181, 253, 0.35);
    border-radius: 999px;
    color: var(--primary);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}
.hero-center h1 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.5px;
    max-width: 820px;
    margin: 0 auto 32px;
    background: linear-gradient(135deg, #ffffff 36%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 48px; }
.hero-media {
    max-width: 760px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    padding: 8px;
    background: linear-gradient(135deg, rgba(196, 181, 253, 0.28), rgba(240, 180, 138, 0.12));
    border: 1px solid var(--surface-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.hero-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: calc(var(--radius-lg) - 6px);
    background: var(--surface);
}

.section-header { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-title { font-size: 1.9rem; font-weight: 700; margin-bottom: 12px; color: #fff; }
.section-desc { color: var(--text-muted); font-size: 0.95rem; }

.section-stats { padding: 40px 0 70px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
}
.stat-card:hover { border-color: rgba(196, 181, 253, 0.45); transform: translateY(-3px); background: var(--surface-hover); }
.stat-number { font-size: 2.2rem; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.stat-label { color: var(--text-muted); font-size: 0.9rem; }

.section-features, .section-platforms, .section-news, .section-faq { padding: 70px 0; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    padding: 32px;
}
.feature-card:hover { border-color: rgba(196, 181, 253, 0.45); background: var(--surface-hover); transform: translateY(-3px); }
.feature-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(196, 181, 253, 0.12);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    font-size: 1.25rem;
    border: 1px solid rgba(196, 181, 253, 0.28);
}
.feature-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.feature-desc { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; }

.platforms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.platform-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.platform-card:hover { border-color: rgba(196, 181, 253, 0.5); background: var(--surface-hover); transform: translateY(-4px); }
.platform-badge {
    font-size: 0.75rem;
    color: var(--accent);
    background: rgba(240, 180, 138, 0.12);
    border: 1px solid rgba(240, 180, 138, 0.28);
    padding: 3px 8px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.platform-name { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; color: #fff; }
.platform-version { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }
.platform-card .btn { width: 100%; padding: 9px 12px; font-size: 0.85rem; margin-top: auto; }

.news-header-wrap { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; }
.news-header-wrap .section-header { margin: 0; text-align: left; }
.news-more-link { color: var(--primary); font-size: 0.9rem; font-weight: 600; }
.news-more-link:hover { text-decoration: underline; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
}
.news-card:hover { border-color: rgba(196, 181, 253, 0.4); background: var(--surface-hover); transform: translateY(-3px); }
.news-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.news-category {
    font-size: 0.75rem;
    color: var(--primary);
    background: rgba(196, 181, 253, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
}
.news-date { font-size: 0.8rem; color: var(--text-muted); }
.news-card h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.45; margin-bottom: 12px; }
.news-summary { font-size: 0.86rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; flex-grow: 1; }
.news-tag {
    font-size: 0.75rem;
    color: var(--accent);
    align-self: flex-start;
    border: 1px solid rgba(240, 180, 138, 0.28);
    padding: 2px 8px;
    border-radius: 999px;
}

.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.faq-item:hover, .faq-item[open] { border-color: rgba(196, 181, 253, 0.45); }
.faq-item summary {
    padding: 18px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--primary); transition: transform 0.25s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 20px; font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; }

.section-cta { padding: 80px 0 100px; text-align: center; }
.cta-box {
    background: linear-gradient(180deg, rgba(36, 26, 52, 0.9), rgba(18, 14, 26, 0.96));
    border: 1px solid rgba(196, 181, 253, 0.32);
    border-radius: var(--radius-lg);
    padding: 56px 32px;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.cta-title { font-size: 2rem; font-weight: 800; margin-bottom: 16px; color: #fff; }
.cta-desc { color: var(--text-muted); font-size: 1rem; max-width: 580px; margin: 0 auto 32px; line-height: 1.7; }

.footer { border-top: 1px solid var(--surface-border); background: rgba(10, 8, 16, 0.92); padding: 60px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-desc { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; max-width: 300px; }
.footer-column h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.88rem; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: 24px; text-align: center; color: #8d7ea0; font-size: 0.82rem; }

@media (max-width: 900px) {
    .stats-grid, .features-grid, .news-grid, .footer-top { grid-template-columns: 1fr; }
    .platforms-grid { grid-template-columns: repeat(2, 1fr); }
    .nav { display: none; }
}
@media (max-width: 600px) {
    .hero-center { padding-top: 110px; padding-bottom: 40px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .platforms-grid { grid-template-columns: 1fr; }
    .hero-media { display: none; }
    .cta-box { padding: 36px 20px; }
    .brand { font-size: 0.95rem; }
}
