/* ===== 基础重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1a1a1a;
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ===== 容器 ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ===== 导航栏 ===== */
.navbar {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.navbar .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.nav-logo {
    display: flex; align-items: center; gap: 8px;
    font-size: 18px; font-weight: 700; color: #1a1a1a;
}
.nav-logo img { height: 28px; width: auto; }
.nav-logo span { color: #6157f2; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
    padding: 6px 14px; font-size: 14px; color: #374151;
    border-radius: 8px; transition: all .2s;
}
.nav-links a:hover { background: #f3f4f6; color: #1a1a1a; }
.nav-links a.active { color: #6157f2; background: #eeeffe; }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.btn-nav {
    padding: 7px 16px; font-size: 13px; font-weight: 500;
    border-radius: 8px; transition: all .2s;
}
.btn-outline {
    color: #374151; border: 1px solid #d1d5db;
}
.btn-outline:hover { border-color: #9ca3af; background: #f9fafb; }
.btn-primary {
    background: #6157f2; color: #fff;
}
.btn-primary:hover { background: #4f46e5; }

/* 语言选择器 */
.lang-selector {
    padding: 6px 10px; font-size: 13px;
    border: 1px solid #d1d5db; border-radius: 8px;
    background: transparent; color: #374151;
    cursor: pointer; outline: none;
}

/* ===== Hero 区域（新版） ===== */
.hero {
    position: relative;
    padding: 100px 0 80px;
    text-align: center;
    background: #0a0a1a;
    overflow: hidden;
    min-height: 680px;
    display: flex;
    align-items: center;
}
.hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(97,87,242,0.15) 0%, rgba(118,75,162,0.05) 50%, transparent 70%);
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(97,87,242,0.15);
    border: 1px solid rgba(97,87,242,0.3);
    color: #a5b4fc;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
    animation: fadeInDown 0.8s ease both;
}
.badge-dot {
    width: 8px; height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-size: clamp(40px, 7vw, 76px);
    font-weight: 800; line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.1s both;
    color: #fff;
}
.accent-gradient {
    background: linear-gradient(135deg, #818cf8, #c084fc, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subtitle {
    font-size: 18px;
    color: #94a3b8;
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.75;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-search {
    max-width: 580px;
    margin: 0 auto 28px;
    position: relative;
    animation: fadeInUp 0.8s ease 0.3s both;
}
.hero-search input {
    width: 100%;
    padding: 16px 56px 16px 24px;
    font-size: 16px;
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    outline: none;
    background: rgba(255,255,255,0.06);
    color: #fff;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 0 0 rgba(97,87,242,0);
    transition: all .3s;
}
.hero-search input::placeholder { color: #64748b; }
.hero-search input:focus {
    border-color: rgba(97,87,242,0.6);
    background: rgba(97,87,242,0.08);
    box-shadow: 0 0 0 4px rgba(97,87,242,0.15);
}
.search-btn {
    position: absolute;
    right: 6px; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6157f2, #764ba2);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: all .25s;
}
.search-btn:hover {
    background: linear-gradient(135deg, #4f46e5, #6b3fa0);
    transform: translateY(-50%) scale(1.05);
}
.search-btn svg { width: 18px; height: 18px; }

.hero-tags {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 8px;
    animation: fadeInUp 0.8s ease 0.4s both;
}
.tag-chip {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
    transition: all .2s;
    cursor: default;
}
.tag-chip:hover {
    color: #a5b4fc;
    border-color: rgba(97,87,242,0.4);
    background: rgba(97,87,242,0.1);
}

/* 能力横滚条 */
.capabilities-strip {
    background: #f5f5f7;
    padding: 18px 0;
    overflow: hidden;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}
.strip-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: stripScroll 30s linear infinite;
}
.strip-track:hover { animation-play-state: paused; }
@keyframes stripScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.strip-item {
    display: flex; align-items: center; gap: 10px;
    padding: 0 32px;
    border-right: 1px solid #e5e7eb;
    white-space: nowrap;
}
.strip-icon { font-size: 22px; }
.strip-name { font-size: 15px; font-weight: 600; color: #374151; }

/* 数据统计 */
.stats-section {
    padding: 80px 0;
    background: #fff;
}
.stats-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.stat-item {
    text-align: center;
    padding: 32px 16px;
    border-radius: 16px;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    transition: transform .3s, box-shadow .3s;
}
.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(97,87,242,0.1);
    border-color: rgba(97,87,242,0.2);
}
.stat-number {
    font-size: 52px;
    font-weight: 800;
    background: linear-gradient(135deg, #6157f2, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.stat-unit {
    font-size: 28px;
    font-weight: 700;
    color: #6157f2;
}
.stat-label {
    font-size: 14px;
    color: #9ca3af;
    margin-top: 8px;
}

/* 内嵌网站 */
.embed-section {
    padding: 60px 0;
    background: #fff;
}
.embed-section .section-desc {
    color: #6b7280;
    margin-top: 8px;
}
.embed-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    background: #f3f4f6;
    min-height: 600px;
}
.embed-iframe {
    width: 100%;
    height: 80vh;
    min-height: 600px;
    display: block;
    border: none;
}

/* 核心能力 */
.features-section {
    padding: 100px 0;
    background: #fafafa;
}
.section-header.centered { text-align: center; }
.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6157f2;
    background: #eeeffe;
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 14px;
}
.section-desc {
    font-size: 17px;
    color: #6b7280;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 52px;
}
.feature-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #e5e7eb;
    transition: all .35s;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(97,87,242,0.3), rgba(118,75,162,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(97,87,242,0.12);
    border-color: rgba(97,87,242,0.2);
}
.feature-card.feature-large {
    grid-column: span 2;
}
.feature-icon { font-size: 36px; margin-bottom: 16px; }
.feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: #1a1a1a; }
.feature-card p { font-size: 14px; color: #6b7280; line-height: 1.7; }
.feature-skill-badge {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-top: 16px;
}
.feature-skill-badge span {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    background: #f3f4f6;
    color: #374151;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}
.feature-tag {
    position: absolute;
    top: 20px; right: 20px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    background: linear-gradient(135deg, #6157f2, #764ba2);
    color: #fff;
    border-radius: 100px;
}
.feature-demo { margin-top: 20px; }
.demo-chat {
    background: #0a0a1a;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.demo-msg {
    max-width: 85%;
    font-size: 13px;
    line-height: 1.6;
    padding: 10px 14px;
    border-radius: 12px;
    animation: msgAppear 0.5s ease both;
}
.demo-user {
    align-self: flex-end;
    background: #6157f2;
    color: #fff;
    border-bottom-right-radius: 4px;
    animation-delay: 0.3s;
}
.demo-ai {
    align-self: flex-start;
    background: #1f1f2e;
    color: #e2e8f0;
    border-bottom-left-radius: 4px;
    animation-delay: 0.8s;
}
@keyframes msgAppear {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 模型家族 */
.model-family-section {
    padding: 100px 0;
    background: #fff;
}
.models-table {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 48px;
}
.model-row {
    display: grid;
    grid-template-columns: 2fr 1.2fr 2fr auto;
    align-items: center;
    gap: 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px 28px;
    transition: all .3s;
}
.model-row:hover {
    border-color: #6157f2;
    box-shadow: 0 4px 20px rgba(97,87,242,0.1);
    transform: translateX(4px);
}
.model-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    display: block;
    margin-bottom: 4px;
}
.model-desc {
    font-size: 13px;
    color: #9ca3af;
}
.model-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.model-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
    background: #eeeffe;
    color: #6157f2;
    border: 1px solid rgba(97,87,242,0.2);
}
.model-benchmarks { display: flex; flex-direction: column; gap: 8px; }
.benchmark { display: flex; align-items: center; gap: 8px; }
.bmark-name { font-size: 11px; color: #9ca3af; width: 42px; flex-shrink: 0; }
.bmark-bar {
    flex: 1;
    height: 6px;
    background: #f3f4f6;
    border-radius: 3px;
    overflow: hidden;
}
.bmark-fill {
    height: 100%;
    background: linear-gradient(90deg, #6157f2, #764ba2);
    border-radius: 3px;
    transition: width 1.5s ease;
}
.bmark-val { font-size: 12px; font-weight: 600; color: #6157f2; width: 36px; text-align: right; }
.model-try-btn {
    font-size: 13px;
    font-weight: 600;
    color: #6157f2;
    white-space: nowrap;
    transition: color .2s;
}
.model-try-btn:hover { color: #4f46e5; text-decoration: underline; }

.models-cta {
    display: flex; align-items: center; gap: 16px;
    margin-top: 36px;
}
.btn-primary-lg {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px;
    background: linear-gradient(135deg, #6157f2, #764ba2);
    color: #fff;
    font-size: 14px; font-weight: 600;
    border-radius: 12px;
    transition: all .25s;
}
.btn-primary-lg:hover {
    background: linear-gradient(135deg, #4f46e5, #6b3fa0);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(97,87,242,0.3);
}
.btn-secondary-lg {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px;
    border: 1.5px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 14px; font-weight: 600;
    border-radius: 12px;
    transition: all .25s;
}
.btn-secondary-lg:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}
.btn-github {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px; font-weight: 600;
    color: #374151;
    background: #fff;
    transition: all .25s;
}
.btn-github:hover { border-color: #6157f2; color: #6157f2; background: #eeeffe; transform: translateY(-2px); }
.btn-github svg { width: 18px; height: 18px; }

/* 场景应用 */
.scenarios-section {
    padding: 100px 0;
    background: #fafafa;
}
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 52px;
}
.scenario-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #e5e7eb;
    transition: all .3s;
    position: relative;
    overflow: hidden;
}
.scenario-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6157f2, #764ba2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}
.scenario-card:hover::after { transform: scaleX(1); }
.scenario-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.scenario-icon { margin-bottom: 20px; }
.scenario-icon svg { width: 48px; height: 48px; }
.scenario-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.scenario-card p { font-size: 14px; color: #6b7280; line-height: 1.7; margin-bottom: 16px; }
.scenario-stat {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    background: #eeeffe;
    color: #6157f2;
    border-radius: 100px;
}

/* 开源成就 */
.opensource-section {
    padding: 100px 0;
    background: #0a0a1a;
    color: #fff;
}
.opensource-inner {
    text-align: center;
}
.opensource-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
}
.opensource-badge svg { width: 18px; height: 18px; }
.opensource-section h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.opensource-section p {
    font-size: 17px;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.opensource-section p strong { color: #a5b4fc; font-weight: 700; }
.github-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.gh-stat { text-align: center; }
.gh-num {
    display: block;
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gh-label {
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
    display: block;
}
.btn-github-lg {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px;
    background: #fff;
    color: #0a0a1a;
    font-size: 15px; font-weight: 700;
    border-radius: 12px;
    transition: all .25s;
}
.btn-github-lg:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.btn-github-lg svg { width: 20px; height: 20px; }

/* 合作伙伴 */
.partners-section {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}
.partners-label {
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.partners-logos {
    display: flex; justify-content: center; align-items: center;
    flex-wrap: wrap; gap: 40px;
}
.partner-logo {
    opacity: 0.4;
    transition: opacity .2s;
    filter: grayscale(100%);
}
.partner-logo:hover { opacity: 0.8; filter: grayscale(0%); }
.partner-logo svg { width: 120px; height: 40px; }

/* 回到顶部 */
.back-top {
    position: fixed;
    bottom: 32px; right: 32px;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #374151;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    z-index: 900;
    opacity: 0;
    transform: translateY(12px);
    transition: all .3s;
    pointer-events: none;
}
.back-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.back-top:hover {
    background: #6157f2;
    color: #fff;
    border-color: #6157f2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(97,87,242,0.3);
}
.back-top svg { width: 18px; height: 18px; }

/* 滚动动画 */
.reveal-up, .reveal-card, .reveal-right {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up { transform: translateY(24px); }
.reveal-card { transform: translateY(20px); }
.reveal-right { transform: translateX(-20px); }
.reveal-up.visible, .reveal-card.visible { opacity: 1; transform: translateY(0); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* logo */
.logo-icon svg { width: 32px; height: 32px; }

/* 动画入口 */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== 内嵌网站 ===== */
.embedded-site {
    width: 100%;
}
.embedded-site iframe {
    display: block;
    width: 100%;
    border: none;
}

/* ===== 产品卡片区域 ===== */
.products-section { padding: 64px 0; }
.section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 32px;
}
.section-header h2 { font-size: 28px; font-weight: 700; }
.section-header .view-all {
    font-size: 14px; color: #6157f2; font-weight: 500;
    display: flex; align-items: center; gap: 4px;
}
.section-header .view-all:hover { text-decoration: underline; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.product-card {
    border-radius: 16px; overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    background: #fff;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: #6157f2;
}
.card-link { display: block; }
.card-cover {
    height: 180px; overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .card-cover img { transform: scale(1.05); }
.card-body { padding: 20px; }
.card-tag {
    display: inline-block; font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em;
    color: #6157f2; background: #eeeffe;
    padding: 3px 10px; border-radius: 20px;
    margin-bottom: 10px;
}
.card-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.card-body p { font-size: 13px; color: #6b7280; margin-bottom: 12px; line-height: 1.6; }
.card-date { font-size: 12px; color: #9ca3af; }

/* ===== 研究区域 ===== */
.research-section { padding: 64px 0; background: #fafafa; }
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.research-card {
    background: #fff; border-radius: 14px;
    padding: 24px; border: 1px solid #e5e7eb;
    transition: transform .25s, box-shadow .25s;
}
.research-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.research-card .rcategory {
    font-size: 11px; font-weight: 600; text-transform: uppercase;
    color: #6157f2; margin-bottom: 8px;
}
.research-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.research-card p { font-size: 13px; color: #6b7280; line-height: 1.6; margin-bottom: 12px; }
.research-card .rmeta { font-size: 12px; color: #9ca3af; }

/* ===== 下载区域 ===== */
.download-section { padding: 80px 0; text-align: center; }
.download-section h2 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.download-section p { font-size: 16px; color: #6b7280; margin-bottom: 36px; }
.download-platforms {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 12px;
}
.download-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 24px; border-radius: 10px;
    background: #1a1a1a; color: #fff;
    font-size: 14px; font-weight: 600;
    transition: background .2s, transform .2s;
}
.download-btn:hover { background: #374151; transform: translateY(-2px); }
.download-btn svg { width: 20px; height: 20px; }
.download-btn .app-icon {
    width: 22px; height: 22px; background: #fff; border-radius: 5px;
    display: flex; align-items: center; justify-content: center;
}
.download-btn .app-icon svg { color: #1a1a1a; width: 14px; height: 14px; }

/* ===== 文章列表（articles.html） ===== */
.articles-page { padding: 60px 0; }
.articles-page h1 { font-size: 32px; font-weight: 800; margin-bottom: 40px; }
.articles-list { display: flex; flex-direction: column; gap: 24px; }
.article-item {
    border-radius: 14px; overflow: hidden;
    border: 1px solid #e5e7eb; background: #fff;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.article-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border-color: #6157f2;
}
.article-link { display: flex; gap: 0; }
.article-cover {
    width: 280px; flex-shrink: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-info { padding: 24px; flex: 1; }
.article-info h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.article-info p { font-size: 14px; color: #6b7280; margin-bottom: 14px; line-height: 1.6; }
.article-date { font-size: 13px; color: #9ca3af; }

/* ===== 文章详情页 ===== */
.article-detail { padding: 60px 0; }
.article-detail .container { max-width: 800px; }
.article-meta-top { margin-bottom: 24px; }
.article-meta-top .tag { display: inline-block; font-size: 12px; font-weight: 600; color: #6157f2; background: #eeeffe; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }
.article-meta-top .date { font-size: 13px; color: #9ca3af; }
.article-detail h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; line-height: 1.25; margin-bottom: 16px; letter-spacing: -0.02em; }
.article-cover-full { width: 100%; max-height: 440px; border-radius: 16px; overflow: hidden; margin-bottom: 36px; }
.article-cover-full img { width: 100%; height: 100%; object-fit: cover; }
.article-content { font-size: 16px; line-height: 1.85; color: #374151; }
.article-content p { margin-bottom: 20px; }
.article-content h2, .article-content h3 { font-weight: 700; margin: 32px 0 16px; color: #1a1a1a; }
.article-content h2 { font-size: 24px; }
.article-content h3 { font-size: 19px; }
.article-content img { max-width: 100%; border-radius: 10px; margin: 20px 0; }
.article-content a { color: #6157f2; }
.article-content a:hover { text-decoration: underline; }
.article-content ul, .article-content ol { margin: 16px 0; padding-left: 24px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 8px; }
.article-content blockquote { border-left: 4px solid #6157f2; padding: 12px 20px; background: #f9fafb; margin: 24px 0; border-radius: 0 8px 8px 0; font-style: italic; }
.article-content pre { background: #1a1a1a; color: #e5e7eb; padding: 20px; border-radius: 10px; overflow-x: auto; margin: 20px 0; font-size: 13px; line-height: 1.6; }
.article-content code { font-family: 'Fira Code', 'Cascadia Code', monospace; font-size: 0.9em; }
.article-content :not(pre) > code { background: #f3f4f6; color: #6157f2; padding: 2px 6px; border-radius: 4px; }

/* ===== 页脚 ===== */
.footer { background: #0f0f0f; color: #9ca3af; padding: 60px 0 32px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px; margin-bottom: 48px;
}
.footer-brand p { font-size: 13px; line-height: 1.7; margin-top: 12px; max-width: 280px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #e5e7eb; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: #9ca3af; transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid #2a2a2a;
    padding-top: 28px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px;
}
.footer-bottom a { color: #9ca3af; transition: color .2s; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom-links { display: flex; gap: 20px; }

/* ===== 后台登录页 ===== */
.login-page {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.login-box {
    background: #fff; border-radius: 20px; padding: 48px;
    width: 100%; max-width: 420px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.login-box h1 { font-size: 24px; font-weight: 800; margin-bottom: 8px; text-align: center; }
.login-box p { font-size: 14px; color: #6b7280; text-align: center; margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: #374151; }
.form-group input {
    width: 100%; padding: 12px 16px; font-size: 14px;
    border: 1.5px solid #e5e7eb; border-radius: 10px; outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus {
    border-color: #6157f2;
    box-shadow: 0 0 0 3px rgba(97,87,242,0.15);
}
.btn-login {
    width: 100%; padding: 13px; font-size: 15px; font-weight: 600;
    background: #6157f2; color: #fff; border-radius: 10px;
    transition: background .2s;
}
.btn-login:hover { background: #4f46e5; }
.login-error { background: #fef2f2; color: #dc2626; padding: 12px 16px; border-radius: 8px; font-size: 13px; margin-bottom: 20px; display: none; }

/* ===== 后台仪表盘 ===== */
.admin-layout { min-height: 100vh; background: #f9fafb; }
.admin-header {
    background: #fff; border-bottom: 1px solid #e5e7eb;
    padding: 0 24px; height: 64px;
    display: flex; align-items: center; justify-content: space-between;
}
.admin-header h2 { font-size: 18px; font-weight: 700; }
.admin-header .user-info { display: flex; align-items: center; gap: 16px; }
.admin-body { padding: 32px; max-width: 1400px; margin: 0 auto; }
.stats-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px; margin-bottom: 36px;
}
.stat-card {
    background: #fff; border-radius: 14px; padding: 24px;
    border: 1px solid #e5e7eb;
}
.stat-card .num { font-size: 36px; font-weight: 800; color: #6157f2; }
.stat-card .label { font-size: 13px; color: #6b7280; margin-top: 4px; }
.admin-table-wrap {
    background: #fff; border-radius: 14px; border: 1px solid #e5e7eb; overflow: hidden;
}
.admin-table-wrap h3 { font-size: 16px; font-weight: 700; padding: 20px 24px; border-bottom: 1px solid #e5e7eb; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
    padding: 12px 16px; text-align: left; font-size: 12px; font-weight: 600;
    color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em;
    background: #f9fafb; border-bottom: 1px solid #e5e7eb;
}
.admin-table td {
    padding: 14px 16px; font-size: 13px; border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #f9fafb; }
.btn-sm {
    padding: 5px 12px; font-size: 12px; font-weight: 500;
    border-radius: 6px; transition: all .2s;
}
.btn-edit { background: #eeeffe; color: #6157f2; margin-right: 6px; }
.btn-edit:hover { background: #dddffe; }
.btn-del { background: #fef2f2; color: #dc2626; }
.btn-del:hover { background: #fee2e2; }
.btn-back { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 14px; font-weight: 500; margin-bottom: 24px; }
.btn-back:hover { background: #f9fafb; }

/* ===== 文章编辑器 ===== */
.editor-wrap { background: #fff; border-radius: 14px; border: 1px solid #e5e7eb; padding: 28px; }
.editor-wrap h2 { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.toolbar {
    display: flex; flex-wrap: wrap; gap: 4px; padding: 10px;
    background: #f9fafb; border: 1px solid #e5e7eb;
    border-radius: 8px 8px 0 0; border-bottom: none;
}
.toolbar button {
    width: 34px; height: 34px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; color: #374151;
    transition: all .15s;
}
.toolbar button:hover { background: #e5e7eb; }
.toolbar button.active { background: #6157f2; color: #fff; }
.toolbar .sep { width: 1px; background: #d1d5db; margin: 4px 6px; }
#articleContent {
    width: 100%; min-height: 400px; padding: 16px;
    border: 1px solid #e5e7eb; border-radius: 0 0 8px 8px;
    font-size: 15px; line-height: 1.7; outline: none;
    resize: vertical; font-family: inherit;
}
#articleContent:focus { border-color: #6157f2; }
.editor-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.cover-upload {
    border: 2px dashed #d1d5db; border-radius: 10px; padding: 28px;
    text-align: center; cursor: pointer; transition: all .2s;
    position: relative;
}
.cover-upload:hover { border-color: #6157f2; background: #fafafe; }
.cover-upload input[type=file] {
    position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.cover-upload .hint { font-size: 13px; color: #9ca3af; margin-top: 8px; }
.cover-preview { max-width: 100%; max-height: 200px; border-radius: 8px; margin-top: 12px; }
.btn-publish {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; font-size: 14px; font-weight: 600;
    background: #6157f2; color: #fff; border-radius: 10px;
    transition: background .2s;
}
.btn-publish:hover { background: #4f46e5; }
.btn-save-draft {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; font-size: 14px; font-weight: 600;
    background: #fff; color: #374151; border: 1px solid #d1d5db; border-radius: 10px;
    transition: all .2s;
}
.btn-save-draft:hover { background: #f9fafb; }
.action-row { display: flex; gap: 12px; margin-top: 24px; }
.msg-success { background: #f0fdf4; color: #16a34a; padding: 14px 20px; border-radius: 10px; font-size: 14px; margin-bottom: 20px; display: none; border: 1px solid #bbf7d0; }
.msg-error { background: #fef2f2; color: #dc2626; padding: 14px 20px; border-radius: 10px; font-size: 14px; margin-bottom: 20px; display: none; border: 1px solid #fecaca; }

/* ===== 移动端侧边栏 ===== */
.mobile-menu-btn { display: none; width: 36px; height: 36px; align-items: center; justify-content: center; font-size: 20px; border-radius: 8px; }
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; }
.mobile-nav {
    display: none; position: fixed; top: 0; right: 0;
    width: 280px; height: 100vh; background: #fff;
    z-index: 1001; padding: 24px;
    transform: translateX(100%); transition: transform .3s;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { display: block; padding: 12px 0; font-size: 16px; border-bottom: 1px solid #f3f4f6; }

/* ===== 法律页面通用 ===== */
.page-header {
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
    padding: 60px 0 40px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}
.page-header h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.page-subtitle {
    font-size: 14px;
    color: #9ca3af;
}

.legal-page {
    padding: 48px 0 80px;
}
.legal-page .container {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    max-width: 1100px;
}

/* 左侧导航 */
.legal-nav {
    position: sticky;
    top: 88px;
    align-self: start;
}
.legal-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.legal-nav li a {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    transition: all .2s;
}
.legal-nav li:last-child a {
    border-bottom: none;
}
.legal-nav li a:hover {
    background: #f9fafb;
    color: #6157f2;
}

/* 右侧内容 */
.legal-content {
    max-width: 720px;
}
.legal-content section {
    margin-bottom: 52px;
    scroll-margin-top: 88px;
}
.legal-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #6157f2;
    display: inline-block;
}
.legal-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 24px 0 12px;
}
.legal-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 14px;
}
.legal-content ul {
    margin: 12px 0 16px;
    padding-left: 24px;
}
.legal-content ul li {
    font-size: 15px;
    line-height: 1.75;
    color: #374151;
    margin-bottom: 8px;
    list-style: disc;
}
.legal-content ul li strong {
    color: #1a1a1a;
    font-weight: 600;
}
.legal-content a {
    color: #6157f2;
    font-weight: 500;
}
.legal-content a:hover {
    text-decoration: underline;
}

/* 响应式 */
@media (max-width: 768px) {
    .legal-page .container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .legal-nav {
        position: static;
    }
    .legal-nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        border: 1px solid #e5e7eb;
        border-radius: 10px;
    }
    .legal-nav li a {
        border: 1px solid #e5e7eb;
        border-radius: 6px;
        margin: 4px;
        font-size: 12px;
        padding: 6px 10px;
    }
    .legal-nav li:last-child a {
        border-bottom: 1px solid #e5e7eb;
    }
    .legal-content {
        max-width: 100%;
    }
}
