/* ============================================
   RocketGrid — 前台主题样式（灰蓝色精致风格）
   配色：主色 #3b82f6 / 深色 #1e293b / 浅色 #f1f5f9 / 文字 #334155
   ============================================ */

/* ===== 全局变量 ===== */
:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --accent: #6366f1;
    --green: #10b981;
    --red: #ef4444;
    --amber: #f59e0b;

    --bg: #f8fafc;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-surface: #f1f5f9;
    --bg-dark: #1e293b;

    --text: #334155;
    --text-strong: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    --border: #e2e8f0;
    --border-hover: #cbd5e1;

    --radius: 8px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-primary: 0 6px 20px rgba(59, 130, 246, 0.28);

    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --tr: 0.3s var(--ease);
}

/* ===== 基础重置 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* 滚动条美化 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ===== 容器 ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ============================================
   导航栏
   ============================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--tr);
    background: transparent;
}
.nav.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    box-shadow: var(--shadow);
}
.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: var(--text-strong);
}
.nav-logo-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-md);
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}
.nav-logo-mark {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.nav-logo-mark svg { width: 100%; height: 100%; }
.nav-logo-text { white-space: nowrap; }
.nav-logo-img {
    width: auto;
    height: 38px;
    display: block;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}
.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--tr);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--tr);
    border-radius: 1px;
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 100%; }

/* 二级栏目下拉 */
.nav-dropdown { position: relative; }
.nav-link-has-sub { display: inline-flex; align-items: center; gap: 4px; }
.nav-arrow { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav-dropdown:hover .nav-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(12px);
    min-width: 170px; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 14px; padding: 8px; box-shadow: 0 16px 48px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.05);
    opacity: 0; visibility: hidden; transition: all .3s cubic-bezier(.4,0,.2,1);
    z-index: 100; display: flex; flex-direction: column; gap: 2px;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.nav-dropdown-item {
    display: block; padding: 10px 16px; border-radius: 10px; font-size: .85rem;
    font-weight: 500; color: var(--text-secondary); transition: all .2s var(--ease);
    white-space: nowrap; line-height: 1.3; text-align: center;
    position: relative;
}
.nav-dropdown-item::before {
    content: ''; position: absolute; left: 8px; top: 50%; transform: translateY(-50%) scaleY(0);
    width: 3px; height: 0; border-radius: 2px; background: var(--primary);
    transition: all .2s var(--ease);
}
.nav-dropdown-item:hover { background: var(--primary-50); color: var(--primary); padding-left: 20px; text-align: left; }
.nav-dropdown-item:hover::before { height: 16px; transform: translateY(-50%) scaleY(1); }

/* 移动端下拉 */
@media(max-width:768px){
    .nav-dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible;
        box-shadow: none; border: none; background: var(--bg-surface); padding: 6px; margin: 4px 0 8px;
        min-width: 0; border-radius: 10px; }
    .nav-dropdown:hover .nav-dropdown-menu { transform: none; }
    .nav-dropdown-item { text-align: left; padding: 10px 14px; }
    .nav-dropdown-item::before { display: none; }
    .nav-dropdown-item:hover { padding-left: 14px; }
}

.nav-actions {
    display: flex;
    gap: 14px;
    align-items: center;
}
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}
.lang-link {
    color: var(--text-muted);
    padding: 4px 6px;
    border-radius: 6px;
    transition: var(--tr);
    font-weight: 500;
}
.lang-link:hover { color: var(--primary); }
.lang-link.active {
    color: var(--primary);
    background: var(--primary-50);
    font-weight: 600;
}
.lang-divider { color: var(--text-muted); }
.nav-cta { white-space: nowrap; }
.nav-cta-mobile { display: none; }

/* 头部搜索图标 + 展开式搜索框 */
.nav-search-wrap { position: relative; display: flex; align-items: center; }
.nav-search-btn {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border: none; background: transparent;
    color: var(--text-secondary); cursor: pointer; border-radius: var(--radius-md);
    transition: var(--tr);
}
.nav-search-btn svg { width: 20px; height: 20px; }
.nav-search-btn:hover { color: var(--primary); background: var(--primary-50); }
.nav-search-btn.is-active { color: var(--primary); background: var(--primary-50); }
.nav-search-form {
    position: absolute; right: 100%; top: 50%; transform: translateY(-50%) translateX(8px);
    display: flex; align-items: center; gap: 0;
    background: var(--bg-white); border: 1.5px solid var(--border);
    border-radius: var(--radius-full); box-shadow: var(--shadow-lg);
    padding: 0; margin-right: 8px;
    width: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transition: width .35s cubic-bezier(.4,0,.2,1), opacity .25s, padding .35s;
}
.nav-search-form.is-open {
    width: 280px; opacity: 1; pointer-events: auto; padding: 4px 4px 4px 18px;
}
.nav-search-input {
    flex: 1; border: none; outline: none; background: transparent;
    font-size: 0.9rem; color: var(--text-strong); min-width: 0;
}
.nav-search-input::placeholder { color: var(--text-muted); }
.nav-search-submit {
    flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border: none; cursor: pointer;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff; border-radius: var(--radius-full); transition: var(--tr);
}
.nav-search-submit svg { width: 16px; height: 16px; }
.nav-search-submit:hover { transform: scale(1.08); box-shadow: 0 4px 12px rgba(59,130,246,.35); }

/* 汉堡菜单按钮 */
.nav-burger {
    display: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    -webkit-tap-highlight-color: transparent;
    transition: var(--tr);
    z-index: 1001;
}
.nav-burger:hover { border-color: var(--primary); box-shadow: 0 4px 12px rgba(59,130,246,.15); }
.nav-burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-strong);
    border-radius: 2px;
    transition: var(--tr);
    transform-origin: center;
}
.nav-burger.is-open span { background: var(--primary); }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端菜单遮罩 */
.nav-backdrop {
    position: fixed; inset: 0; z-index: 998;
    background: rgba(15,23,42,0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
@keyframes mobSlideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

/* ============================================
   按钮
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--tr);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    padding: 12px 24px;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
}
.btn-sm { padding: 9px 18px; font-size: 0.82rem; }
.btn-lg { padding: 14px 28px; font-size: 0.95rem; }
.btn-xl { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.4);
}
.btn-outline {
    border: 1.5px solid var(--border-hover);
    color: var(--text-strong);
    background: var(--bg-white);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-50);
}
.btn-white {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.btn-ghost { color: var(--text-secondary); background: transparent; }
.btn-ghost:hover { color: var(--primary); background: var(--primary-50); }
.btn-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: var(--tr);
    filter: blur(10px);
}
.btn-glow:hover::before { opacity: 0.6; }

/* ============================================
   Hero 首屏
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 140px 48px 80px;
    overflow: hidden;
    background: linear-gradient(180deg, #eef2ff 0%, var(--bg) 100%);
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-grid {
    position: absolute;
    inset: -50%;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    transform: perspective(600px) rotateX(25deg);
    mask-image: radial-gradient(ellipse 70% 40% at 50% 0%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 40% at 50% 0%, black 20%, transparent 100%);
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orb-float 12s ease-in-out infinite;
}
.hero-orb-1 { width: 600px; height: 600px; background: rgba(59, 130, 246, 0.14); top: -15%; left: -5%; }
.hero-orb-2 { width: 500px; height: 500px; background: rgba(99, 102, 241, 0.1); top: 5%; right: -8%; animation-delay: -3s; }
.hero-orb-3 { width: 350px; height: 350px; background: rgba(16, 185, 129, 0.08); bottom: 15%; left: 25%; animation-delay: -6s; }
@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -25px) scale(1.05); }
    66% { transform: translate(-25px, 25px) scale(0.95); }
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 900px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 32px;
}
.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}
.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.04em;
    color: var(--text-strong);
    margin-bottom: 24px;
}
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0 auto 44px;
    max-width: 680px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 28px 44px;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.hero-stat { text-align: center; }
.hero-stat-top { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.hero-stat-num { font-size: 2.2rem; font-weight: 900; color: var(--text-strong); letter-spacing: -0.03em; line-height: 1; }
.hero-stat-unit { font-size: 1rem; font-weight: 700; color: var(--primary); }
.hero-stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; font-weight: 500; }
.hero-stat-divider { width: 1px; height: 44px; background: var(--border); }

/* ============================================
   区块头部
   ============================================ */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-50);
    border: 1px solid rgba(59, 130, 246, 0.12);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.25;
    color: var(--text-strong);
    margin-bottom: 14px;
}
.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   推荐内容 / Features
   ============================================ */
.features { padding: 96px 0; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    position: relative;
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: var(--tr);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--tr);
}
.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.feature-card:hover::before { opacity: 1; }
.feature-card-bg {
    position: absolute;
    top: -30%;
    right: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.04), transparent 60%);
    pointer-events: none;
}
.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.04));
    border: 1px solid rgba(59, 130, 246, 0.12);
    border-radius: var(--radius-lg);
    color: var(--primary);
    margin-bottom: 18px;
}
.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-strong);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.feature-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}
.feature-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--tr);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.feature-card:hover .feature-link { gap: 8px; }

/* ============================================
   最新动态 / News
   ============================================ */
.news { padding: 96px 0; background: var(--bg-surface); }
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--tr);
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}
.news-card-cover {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    text-align: center;
    position: relative;
}
.news-card-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), transparent);
}
.news-card-cover span { position: relative; z-index: 1; }
.news-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.news-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}
.news-card-body h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-strong);
    letter-spacing: -0.02em;
    line-height: 1.4;
    margin-bottom: 8px;
    transition: var(--tr);
}
.news-card:hover .news-card-body h3 { color: var(--primary); }
.news-card-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-link {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--tr);
}
.news-card:hover .news-link { letter-spacing: 0.02em; }

/* ============================================
   栏目导航 / Categories
   ============================================ */
.cats { padding: 96px 0; }
.cats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.cat-card {
    padding: 28px 22px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: var(--tr);
    text-align: center;
}
.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.cat-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: var(--radius-lg);
}
.cat-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-strong);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.cat-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
}
.cat-card-link {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--primary);
}

/* ============================================
   CTA 行动号召
   ============================================ */
.cta {
    padding: 96px 48px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}
.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}
.cta-glow-1 { width: 500px; height: 500px; background: rgba(255, 255, 255, 0.08); top: -25%; left: -10%; }
.cta-glow-2 { width: 400px; height: 400px; background: rgba(255, 255, 255, 0.06); bottom: -25%; right: -10%; }
.cta-content { position: relative; z-index: 1; }
.cta h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: #fff;
}
.cta p {
    font-size: 1.1rem;
    opacity: 0.92;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.92);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-actions { display: flex; justify-content: center; }

/* ============================================
   页面 Hero / 面包屑
   ============================================ */
.page-hero {
    padding: 160px 0 80px;
    background: linear-gradient(180deg, #eef2ff 0%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -20%;
    width: 140%; height: 200%;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateX(20deg);
    mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 20%, transparent 80%);
    pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--text-strong);
    margin-bottom: 16px;
}
.page-hero p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 面包屑 */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.88rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); transition: var(--tr); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text-muted); }
.breadcrumb .current { color: var(--text-strong); font-weight: 600; }

/* ============================================
   文章列表 / News List
   ============================================ */
.news-list-section { padding: 80px 0 100px; }
.news-list-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
}
.news-list-main { min-width: 0; }
.news-list-sidebar { display: flex; flex-direction: column; gap: 24px; }

.news-list-item {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    padding: 24px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: var(--tr);
    margin-bottom: 20px;
}
.news-list-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}
.news-list-cover {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    padding: 20px;
    position: relative;
}
.news-list-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), transparent);
}
.news-list-cover span { position: relative; z-index: 1; }
.news-list-body { display: flex; flex-direction: column; justify-content: center; }
.news-list-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.news-list-body h3 {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--text-strong);
    transition: var(--tr);
}
.news-list-item:hover .news-list-body h3 { color: var(--primary); }
.news-list-body p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-list-read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--tr);
}
.news-list-read-more:hover { gap: 10px; }
.news-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-50);
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
}

/* 侧边栏组件 */
.sidebar-widget {
    padding: 24px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
}
.sidebar-widget h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-strong);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-widget h4::before {
    content: '';
    width: 3px;
    height: 18px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 2px;
}
.sidebar-widget p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.sidebar-search { display: flex; gap: 8px; }
.sidebar-search input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.88rem;
    outline: none;
    transition: var(--tr);
    background: var(--bg);
    color: var(--text);
}
.sidebar-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
    background: var(--bg-white);
}
.sidebar-search button {
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--tr);
    white-space: nowrap;
}
.sidebar-search button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-primary);
}

/* ============================================
   分页
   ============================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.page-btn {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-white);
    transition: var(--tr);
    text-decoration: none;
}
.page-btn:hover:not(.disabled):not(.active) {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-50);
}
.page-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-primary);
}
.page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
.page-btn-arrow { font-size: 1.1rem; }

/* ============================================
   文章详情 / News Show
   ============================================ */
.news-show-section { padding: 80px 0 100px; }
.news-show-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
}
.news-show-main { min-width: 0; }

.article { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 40px; }
.article-meta-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.article-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.3;
    color: var(--text-strong);
    margin-bottom: 24px;
}
.article-cover {
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 32px;
    min-height: 360px;
    position: relative;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

/* 文章正文 */
.article-body {
    font-size: 1.05rem;
    line-height: 1.95;
    color: var(--text);
}
.article-body h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-strong);
    margin: 40px 0 16px;
    letter-spacing: -0.02em;
    padding-left: 16px;
    border-left: 4px solid var(--primary);
}
.article-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-strong);
    margin: 32px 0 12px;
}
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
    padding: 20px 24px;
    margin: 24px 0;
    background: var(--primary-50);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-secondary);
}
.article-body code {
    padding: 2px 8px;
    background: var(--bg-surface);
    border-radius: 6px;
    font-size: 0.9em;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    color: var(--accent);
}
.article-body pre {
    padding: 24px;
    background: var(--bg-dark);
    color: #e2e8f0;
    border-radius: var(--radius-lg);
    overflow-x: auto;
    margin: 24px 0;
}
.article-body pre code { background: none; color: inherit; padding: 0; }
.article-body img {
    width: 100%;
    border-radius: var(--radius-lg);
    margin: 24px 0;
}
.article-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* 文章标签 */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.article-tags-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 4px;
}
.tag-pill {
    padding: 6px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--tr);
}
.tag-pill:hover {
    background: var(--primary-50);
    border-color: rgba(59, 130, 246, 0.2);
    color: var(--primary);
}

/* 上下篇导航 */
.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}
.post-nav-item {
    padding: 22px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--tr);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.post-nav-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.post-nav-item.post-nav-next { text-align: right; }
.post-nav-item.post-nav-empty { visibility: hidden; }
.post-nav-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}
.post-nav-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-strong);
    line-height: 1.4;
}

/* 相关推荐 */
.related-posts { margin-top: 56px; }
.related-posts h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-strong);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.related-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--tr);
}
.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.related-card-cover {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    padding: 16px;
    text-align: center;
}
.related-card-body { padding: 16px; }
.related-card-body h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-strong);
    line-height: 1.4;
    margin-bottom: 6px;
}

/* ============================================
   关于我们 / About
   ============================================ */
.about-section { padding: 80px 0 100px; }
.about-story { margin-bottom: 80px; }
.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-story-visual {
    aspect-ratio: 4/3;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary-50), rgba(99, 102, 241, 0.04));
    border: 1px solid rgba(59, 130, 246, 0.1);
}
.about-story-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--text-strong);
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.about-story-content p {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 16px;
}
.about-story-content strong { color: var(--text-strong); font-weight: 700; }

/* 统计数据 */
.about-stats { padding: 60px 0; margin-bottom: 80px; }
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.about-stat-card {
    padding: 32px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--tr);
}
.about-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.about-stat-num {
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}
.about-stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* 价值观 */
.about-values { margin-bottom: 0; }
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.value-card {
    padding: 32px 24px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--tr);
}
.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}
.value-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-strong);
    margin-bottom: 10px;
}
.value-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   联系我们 / Contact
   ============================================ */
.contact-section { padding: 80px 0 100px; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-info h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-strong);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}
.contact-info > p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
}
.contact-methods { display: flex; flex-direction: column; gap: 16px; }
.contact-method {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 24px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--tr);
}
.contact-method:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateX(4px);
}
.contact-method-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}
.contact-method-value {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-strong);
}

/* 联系表单 */
.contact-form-card {
    padding: 40px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}
.contact-form-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-strong);
    margin-bottom: 24px;
}

/* ============================================
   表单元素
   ============================================ */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-strong);
}
.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.92rem;
    font-family: var(--font);
    outline: none;
    transition: var(--tr);
    background: var(--bg);
    color: var(--text);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
    background: var(--bg-white);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-submit { margin-top: 12px; }

/* ============================================
   搜索页 / Search
   ============================================ */
.search-section { padding: 80px 0 100px; }
.search-box {
    max-width: 720px;
    margin: 0 auto 48px;
    position: relative;
}
.search-input-large {
    width: 100%;
    padding: 18px 24px;
    padding-right: 120px;
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    font-size: 1.1rem;
    font-family: var(--font);
    background: var(--bg-white);
    outline: none;
    transition: var(--tr);
    box-shadow: var(--shadow);
    color: var(--text);
}
.search-input-large:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12), var(--shadow-lg);
}
.search-btn-large {
    position: absolute;
    right: 6px;
    top: 6px;
    bottom: 6px;
    padding: 0 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--tr);
}
.search-btn-large:hover { box-shadow: var(--shadow-primary); }
.search-info {
    text-align: center;
    margin-bottom: 36px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.search-info strong { color: var(--primary); font-weight: 800; }
.search-result-item {
    display: block;
    padding: 28px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
    transition: var(--tr);
}
.search-result-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.search-result-item h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-strong);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    transition: var(--tr);
}
.search-result-item:hover h3 { color: var(--primary); }
.search-result-item p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}
.search-result-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ============================================
   标签页 / Tags
   ============================================ */
.tags-section { padding: 80px 0 60px; }
.tags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.tag-card {
    padding: 24px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--tr);
    position: relative;
    overflow: hidden;
}
.tag-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--tr);
}
.tag-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}
.tag-card:hover::before { transform: scaleX(1); }
.tag-card-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-strong);
    margin-bottom: 4px;
}
.tag-card-count {
    font-size: 0.82rem;
    color: var(--text-muted);
}
.tags-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

/* 标签详情 */
.tag-detail-section { padding: 0 0 100px; }
.tag-detail-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.tag-detail-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-strong);
}
.tag-detail-count {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ============================================
   404 错误页
   ============================================ */
.error-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 32px 80px;
    text-align: center;
    background: linear-gradient(180deg, #eef2ff 0%, var(--bg) 100%);
}
.error-404-content { max-width: 600px; }
.error-404-icon {
    color: var(--primary);
    margin-bottom: 24px;
    display: inline-flex;
}
.error-404-code {
    font-size: clamp(5rem, 15vw, 8rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}
.error-404-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-strong);
    margin-bottom: 12px;
}
.error-404-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* ============================================
   页脚
   ============================================ */
.footer {
    padding: 72px 0 36px;
    border-top: 1px solid var(--border);
    background: var(--bg-white);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    max-width: 320px;
    line-height: 1.7;
}
.footer-links h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 16px;
}
.footer-links a {
    display: block;
    font-size: 0.92rem;
    color: var(--text-muted);
    padding: 6px 0;
    transition: var(--tr);
}
.footer-links a:hover { color: var(--primary); transform: translateX(2px); }

/* 友情链接 */
.mutual-links { margin: 28px 0; }
.mutual-links-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 600;
}
.mutual-links-list { display: flex; flex-wrap: wrap; gap: 10px; }
.mutual-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--bg-surface);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--tr);
}
.mutual-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p { font-size: 0.85rem; color: var(--text-muted); }
.footer-powered { font-weight: 600; color: var(--text-secondary); }

/* ============================================
   滚动动画
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-animate].visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ============================================
   响应式 — 平板
   ============================================ */
@media (max-width: 1200px) {
    .container, .nav-container { max-width: 100%; padding: 0 32px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .cats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .news-list-layout, .news-show-layout { grid-template-columns: 1fr; }
    .news-list-sidebar { order: -1; }
    .about-story-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .values-grid, .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .cats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   响应式 — 移动端 (≤768px)
   ============================================ */
@media (max-width: 768px) {
    html { font-size: 15px; }
    .container, .nav-container { padding: 0 16px; }

    /* 导航：桌面端隐藏，启用汉堡菜单 */
    .nav { padding: 12px 0; }
    .nav.scrolled { padding: 10px 0; }
    .nav-links { display: none; }
    .nav-actions .lang-switch,
    .nav-actions .nav-cta { display: none; }
    .nav-burger { display: flex; }
    /* 移动端搜索框适配 */
    .nav-search-form.is-open { width: 200px; }
    .nav-search-btn { width: 34px; height: 34px; }

    /* 移动端菜单展开 */
    .nav-links.is-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; right: 0; bottom: 0;
        width: min(320px, 85vw);
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        padding: 80px 24px 24px;
        gap: 4px;
        z-index: 999;
        box-shadow: -8px 0 40px rgba(0,0,0,0.12);
        animation: mobSlideIn 0.35s cubic-bezier(0.4,0,0.2,1) forwards;
        overflow-y: auto;
    }
    .nav-links.is-open .nav-link {
        font-size: 1.05rem; font-weight: 600;
        padding: 14px 16px; border-radius: 12px;
        width: 100%; text-align: left;
        color: var(--text); transition: all 0.2s;
        border-left: 3px solid transparent;
    }
    .nav-links.is-open .nav-link:hover,
    .nav-links.is-open .nav-link.active {
        background: var(--primary-50);
        color: var(--primary);
        border-left-color: var(--primary);
        padding-left: 20px;
    }
    .nav-links.is-open .nav-link::after { display: none; }
    .nav-links.is-open .nav-link-has-sub { justify-content: space-between; }
    .nav-links.is-open .nav-cta-mobile {
        display: flex; margin-top: 20px; padding: 14px; justify-content: center;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: #fff; border-radius: 12px; font-weight: 700;
        box-shadow: var(--shadow-primary); text-align: center;
    }

    /* Hero */
    .hero { padding: 100px 16px 48px; min-height: auto; }
    .hero-title { font-size: 1.8rem; line-height: 1.25; }
    .hero-desc { font-size: 0.92rem; margin-bottom: 28px; }
    .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
    .hero-actions .btn { width: 100%; }
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        padding: 0;
        background: transparent;
        box-shadow: none;
        border: none;
    }
    .hero-stat {
        padding: 16px 8px;
        background: var(--bg-white);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
    }
    .hero-stat:not(:last-child) { border-right: none; }
    .hero-stat-divider { display: none; }
    .hero-stat-num { font-size: 1.4rem; }
    .hero-stat-unit { font-size: 0.82rem; }
    .hero-stat-label { font-size: 0.7rem; }

    /* 区块 */
    .section-header { margin-bottom: 36px; }
    .section-title { font-size: 1.4rem; }

    /* Features */
    .features { padding: 56px 0; }
    .features-grid { grid-template-columns: 1fr; gap: 12px; }
    .feature-card { padding: 20px 18px; }

    /* News */
    .news { padding: 56px 0; }
    .news-grid { grid-template-columns: 1fr; gap: 16px; }
    .news-card-cover { min-height: 140px; }

    /* Cats */
    .cats { padding: 56px 0; }
    .cats-grid { grid-template-columns: 1fr; gap: 12px; }

    /* CTA */
    .cta { padding: 56px 16px; }
    .cta h2 { font-size: 1.5rem; }
    .cta p { font-size: 0.92rem; }

    /* Page Hero */
    .page-hero { padding: 110px 16px 48px; }
    .page-hero h1 { font-size: 1.6rem; }
    .page-hero p { font-size: 0.9rem; }
    .breadcrumb { font-size: 0.78rem; }

    /* 文章列表 */
    .news-list-section { padding: 56px 0 80px; }
    .news-list-item {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
        overflow: hidden;
    }
    .news-list-cover { min-height: 160px; border-radius: 0; }
    .news-list-body { padding: 18px; }

    /* 文章详情 */
    .news-show-section { padding: 56px 0 80px; }
    .article { padding: 24px 20px; }
    .article-title { font-size: 1.4rem; }
    .article-cover { min-height: 220px; }
    .article-body { font-size: 1rem; }
    .article-body h2 { font-size: 1.3rem; }
    .article-body pre { padding: 16px; font-size: 0.85rem; }

    .post-nav { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }

    /* 关于 */
    .about-section { padding: 56px 0 80px; }
    .about-story { margin-bottom: 56px; }
    .about-stats { padding: 40px 0; margin-bottom: 56px; }
    .about-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .about-stat-card { padding: 20px; }
    .about-stat-num { font-size: 2rem; }
    .values-grid { grid-template-columns: 1fr; }

    /* 联系 */
    .contact-section { padding: 56px 0 80px; }
    .contact-form-card { padding: 24px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-methods { gap: 12px; }

    /* 搜索 */
    .search-section { padding: 56px 0 80px; }
    .search-input-large {
        font-size: 0.95rem;
        padding: 14px 16px;
        padding-right: 96px;
    }
    .search-btn-large { padding: 0 18px; font-size: 0.85rem; }
    .search-result-item { padding: 20px; }

    /* 标签 */
    .tags-section { padding: 56px 0 40px; }
    .tags-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .tag-card { padding: 18px; }

    /* 404 */
    .error-404 { padding: 100px 16px 60px; }
    .error-404-code { font-size: 5rem; }
    .error-404-title { font-size: 1.2rem; }

    /* 页脚 */
    .footer { padding: 40px 0 24px; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    .footer-brand { display: flex; flex-direction: column; align-items: center; }
    .footer-desc { margin: 0 auto; }
    .footer-links a { display: inline; padding: 0 6px; }
    .footer-links a::after { content: ' · '; color: var(--text-muted); }
    .footer-links a:last-child::after { content: ''; }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .mutual-links-list { justify-content: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.5rem; }
    .hero-stat-num { font-size: 1.2rem; }
    .tags-grid { grid-template-columns: 1fr; }
    .about-stats-grid { grid-template-columns: 1fr; }
}

/* 移动端遮罩层 */
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s var(--ease), visibility 0s linear 0s;
}

/* 菜单打开时锁定滚动 */
body.menu-open { overflow: hidden; }
