/* ========== 核心变量 ========== */
:root {
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-lighter: #f3f4f6;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --radius-sm: 6px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    
    --transition: 150ms ease;
    --transition-base: 200ms ease;
}

/* ========== 重置与基础 ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== 导航栏 ========== */
.header,
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}

.nav a:hover {
    color: var(--text-primary);
}

.nav a.active {
    color: var(--text-primary);
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}



.lang-switch {
    display: flex;
    gap: 4px;
    background: var(--bg-lighter);
    padding: 4px;
    border-radius: var(--radius);
}

.lang-switch button {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    background: transparent;
    color: var(--text-muted);
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition);
}

.lang-switch button.active {
    background: white;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.lang-switch button:hover:not(.active) {
    color: var(--text-primary);
}

/* ========== 主内容区 ========== */
main {
    padding-top: 64px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== Hero区域 ========== */
.hero {
    padding: 80px 24px 60px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 32px;
    line-height: 1.7;
}



/* ========== 搜索框 ========== */
.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.search-box {
    display: flex;
    align-items: center;
    max-width: 520px;
    width: 100%;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

.search-box:hover {
    border-color: #d1d5db;
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1), 0 1px 3px rgba(0,0,0,0.06);
}

.search-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #9ca3af;
    margin-right: 14px;
}

.search-input {
    flex: 1;
    height: 24px;
    border: none !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    background: transparent !important;
    background-image: none !important;
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--text-primary);
    outline: none !important;
    outline-width: 0 !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    margin: 0;
    padding: 0;
    line-height: 24px;
    vertical-align: middle;
    border-radius: 0;
    -webkit-border-radius: 0;
}

.search-input:focus,
.search-input:active,
.search-input:hover {
    border: none !important;
    border-width: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

.search-input::-webkit-input-placeholder {
    color: #9ca3af;
}

.search-input::-moz-placeholder {
    color: #9ca3af;
}

.search-input:-ms-input-placeholder {
    color: #9ca3af;
}

.search-input::placeholder {
    color: #9ca3af;
}

/* ========== 统计数据 ========== */
.stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}



/* ========== 区块通用容器 ========== */
.section {
    padding: 60px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}



.section-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    transition: color var(--transition);
}

.section-link:hover {
    color: var(--primary-dark);
}

/* ========== 查看更多按钮 ========== */
.view-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: var(--bg-white);
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    color: var(--primary);
    font-weight: 500;
    font-size: 15px;
    transition: all var(--transition-base);
    cursor: pointer;
    text-decoration: none;
    min-height: 60px;
}

.view-more-btn:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========== 卡片网格 ========== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========== 笔记卡片 ========== */
.note-card {
    display: block;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition);
}

.note-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.note-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.note-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.note-card-tag {
    flex-shrink: 0;
    padding: 4px 10px;
    background: #eff6ff;
    color: var(--primary);
    font-size: 12px;
    font-weight: 500;
    border-radius: 100px;
}

.note-card-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.note-card-meta {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
}

/* ========== 分类卡片 ========== */
.category-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    transition: all var(--transition);
}

.category-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.category-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.category-content {
    flex: 1;
}

.category-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.category-count {
    font-size: 13px;
    color: var(--text-muted);
}



.category-arrow {
    color: var(--text-light);
    transition: transform var(--transition);
}

.category-card:hover .category-arrow {
    transform: translateX(4px);
    color: var(--primary);
}

/* ========== 行业卡片 ========== */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.industry-card {
    display: block;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition);
}

.industry-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.industry-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 12px 0 8px;
    color: var(--text-primary);
}

.industry-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

.note-count {
    display: inline-block;
    padding: 4px 10px;
    background: var(--bg-lighter);
    color: var(--primary);
    font-size: 12px;
    font-weight: 500;
    border-radius: 100px;
}

.industry-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.industry-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ========== 技能分类网格 ========== */
.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-card {
    display: block;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition);
}

.skill-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.skill-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.skill-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ========== 页脚 ========== */
.footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    padding: 48px 24px;
    margin-top: 60px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-copy {
    font-size: 13px;
    color: var(--text-light);
}

/* ========== 内容页 ========== */
.content-page {
    padding: 32px 24px;
    max-width: 900px;
    margin: 0 auto;
}

.content-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.content-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.content-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.content-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.content-body h1, .content-body h2, .content-body h3 {
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 16px;
}

.content-body h1 { font-size: 28px; }
.content-body h2 { font-size: 24px; }
.content-body h3 { font-size: 20px; }

.content-body p {
    margin-bottom: 16px;
}

.content-body ul, .content-body ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.content-body li {
    margin-bottom: 8px;
}

.content-body code {
    font-family: var(--font-mono);
    font-size: 14px;
    background: var(--bg-light);
    padding: 2px 6px;
    border-radius: 4px;
}

.content-body pre {
    background: var(--text-primary);
    color: #e5e7eb;
    padding: 16px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin-bottom: 16px;
}

.content-body pre code {
    background: none;
    padding: 0;
}

.content-body blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 16px;
    margin: 16px 0;
    color: var(--text-muted);
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .header-inner {
        padding: 0 16px;
    }
    
    .nav {
        gap: 12px;
    }
    
    .nav a {
        font-size: 12px;
    }
    
    .hero {
        padding: 60px 16px 40px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .stats {
        gap: 24px;
    }
    
    .section {
        padding: 40px 16px;
    }
    
    .card-grid, .industry-grid, .skill-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}


/* ========== 双语切换通用样式 ========== */
/* 核心：使用 !important 确保CSS优先级最高，JS只设置body类名 */

/* 默认隐藏 */
.zh, .en,
[data-lang="zh"], [data-lang="en"] {
    display: none !important;
}

/* 中文模式（默认）- 显示中文 */
body:not(.lang-en) [data-lang="zh"] { display: block !important; }
body:not(.lang-en) span[data-lang="zh"] { display: inline !important; }
body:not(.lang-en) .zh { display: inline !important; }
body:not(.lang-en) span.zh { display: inline !important; }

/* 中文模式 - 隐藏英文 */
body:not(.lang-en) [data-lang="en"],
body:not(.lang-en) .en { display: none !important; }

/* 英文模式 - 显示英文 */
body.lang-en [data-lang="en"] { display: block !important; }
body.lang-en span[data-lang="en"] { display: inline !important; }
body.lang-en .en { display: inline !important; }
body.lang-en span.en { display: inline !important; }

/* 英文模式 - 隐藏中文 */
body.lang-en [data-lang="zh"],
body.lang-en .zh { display: none !important; }

/* 兼容lang-zh类名 */
body.lang-zh [data-lang="zh"] { display: block !important; }
body.lang-zh span[data-lang="zh"] { display: inline !important; }
body.lang-zh [data-lang="en"], body.lang-zh .en { display: none !important; }

/* 内容页样式 */
.article-header, .note-header {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px 24px;
    border-bottom: 1px solid var(--border);
}

.article-title, .note-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.article-meta, .note-meta {
    font-size: 14px;
    color: var(--text-muted);
}

.article-content, .note-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 24px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-content h1, .note-content h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 32px 0 16px;
    color: var(--text-primary);
}

.article-content h2, .note-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 28px 0 14px;
    color: var(--text-primary);
}

.article-content h3, .note-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--text-primary);
}

.article-content p, .note-content p {
    margin-bottom: 16px;
}

.article-content ul, .article-content ol, .note-content ul, .note-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.article-content li, .note-content li {
    margin-bottom: 8px;
}

.article-content code, .note-content code {
    font-family: var(--font-mono);
    font-size: 14px;
    background: var(--bg-light);
    padding: 2px 6px;
    border-radius: 4px;
}

.article-content pre, .note-content pre {
    background: #1f2937;
    color: #e5e7eb;
    padding: 16px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin-bottom: 16px;
}

.article-content pre code, .note-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.article-content table, .note-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.article-content th, .article-content td, .note-content th, .note-content td {
    border: 1px solid var(--border);
    padding: 12px;
    text-align: left;
}

.article-content th, .note-content th {
    background: var(--bg-light);
    font-weight: 600;
}

.article-content blockquote, .note-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 16px;
    margin: 16px 0;
    color: var(--text-muted);
}

.article-content hr, .note-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 24px 0;
}

.table-wrapper {
    overflow-x: auto;
    margin-bottom: 16px;
}

/* 其他内容页样式 */
.article-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.article-stats {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 12px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.toc {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 32px;
}

.toc h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    column-count: 2;
    column-gap: 24px;
}

.toc li {
    margin-bottom: 8px;
    break-inside: avoid;
}

.toc a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color var(--transition);
}

.toc a:hover {
    color: var(--primary);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    transition: color var(--transition);
}

.back-link:hover {
    color: var(--primary);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .toc ul {
        column-count: 1;
    }
}
/* ========== 成长路线页面样式 ========== */
.roadmap-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

.roadmap-hero {
    text-align: center;
    margin-bottom: 48px;
}

.roadmap-hero h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.roadmap-hero .subtitle {
    font-size: 16px;
    color: var(--text-muted);
}

.section-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 32px;
}

.section-card .section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.section-card .section-icon {
    font-size: 24px;
}

.section-card .section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.section-card .section-badge {
    font-size: 12px;
    padding: 4px 12px;
    background: var(--bg-light);
    border-radius: 100px;
    color: var(--text-muted);
}

.step-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
}

.step-card:last-child {
    margin-bottom: 0;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.step-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.step-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-muted);
}

.step-meta-item .icon {
    font-size: 16px;
}

.step-content {
    margin-top: 16px;
}

.step-resources {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
}

.step-resources-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.step-resource {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 8px;
}

.step-resource:last-child {
    margin-bottom: 0;
}

.step-resource a {
    color: var(--primary);
    text-decoration: none;
}

.step-resource a:hover {
    text-decoration: underline;
}

.step-flag {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
    background: #ecfdf5;
    border-radius: var(--radius);
    font-size: 14px;
    color: #065f46;
}

.step-flag .icon {
    font-size: 18px;
    flex-shrink: 0;
}

.step-flag-text {
    line-height: 1.5;
}

/* 核心能力列表 */
.ability-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.ability-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.ability-item .icon {
    font-size: 20px;
}

.ability-item .text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.verification-standard {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: #ecfdf5;
    border-radius: var(--radius-lg);
    margin-top: 24px;
}

.verification-standard .icon {
    font-size: 24px;
    flex-shrink: 0;
}

.verification-standard .text {
    font-size: 14px;
    color: #065f46;
    line-height: 1.6;
}

/* 成长心法 */
.bottom-tips {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.bottom-tips h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tip-item {
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.tip-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.tip-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .tips-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .roadmap-container {
        padding: 24px 16px;
    }
    
    .step-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .ability-list {
        grid-template-columns: 1fr;
    }
}

/* ========== 成长分享页面样式 ========== */
.growth-hero {
    text-align: center;
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}

.growth-hero h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.growth-hero .subtitle {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
}

.category-section {
    margin-bottom: 40px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.category-icon {
    font-size: 24px;
}

.category-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.category-count {
    font-size: 14px;
    color: var(--text-muted);
}

/* 成长笔记卡片 */
.note-card {
    display: block;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 16px;
    transition: all var(--transition);
}

.note-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.note-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    flex: 1;
    margin-right: 16px;
}

.note-date {
    font-size: 13px;
    color: var(--text-light);
    white-space: nowrap;
}

.note-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.note-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    background: var(--bg-light);
    color: var(--text-muted);
    border-radius: 100px;
}

@media (max-width: 768px) {
    .growth-hero {
        padding: 32px 0;
    }
    
    .note-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .note-date {
        margin-top: 4px;
    }
}
/* ========== 每日精选 ========== */
.daily-picks {
    background: var(--bg-light);
    padding: 40px 0;
}

.daily-picks .section-header {
    margin-bottom: 24px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.section-date {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.picks-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.pick-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    text-decoration: none;
    color: inherit;
}

.pick-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.pick-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
}

.pick-content {
    flex: 1;
    min-width: 0;
}

.pick-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.pick-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.pick-meta {
    display: flex;
    gap: 8px;
}

.pick-tag {
    font-size: 12px;
    padding: 2px 8px;
    background: var(--bg-lighter);
    color: var(--text-muted);
    border-radius: 4px;
}

.pick-arrow {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--text-light);
    transition: all var(--transition);
}

.pick-item:hover .pick-arrow {
    color: var(--primary);
    transform: translate(2px, -2px);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .daily-picks {
        padding: 24px 0;
    }
    
    .pick-item {
        padding: 16px;
        gap: 12px;
    }
    
    .pick-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .pick-title {
        font-size: 15px;
    }
    
    .pick-desc {
        font-size: 13px;
    }
    
    .pick-arrow {
        width: 16px;
        height: 16px;
    }
}

/* Cache bust: 1776178801 */

/* Pagefind搜索结果样式 */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: 8px;
}

.search-results-header {
    padding: 12px 16px;
    font-size: 0.85rem;
    color: #666;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.search-result-item {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #f8f9fa;
}

.search-result-title {
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.search-result-excerpt {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-excerpt mark {
    background: #fff3cd;
    color: inherit;
    padding: 0 2px;
}

.search-loading, .search-no-results {
    padding: 24px 16px;
    text-align: center;
    color: #666;
}


/* ===== Key Insights Section ===== */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 1.5rem auto 0;
}

.insight-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: all var(--transition);
}

.insight-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.insight-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.insight-content {
    flex: 1;
}

.insight-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.insight-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .insights-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== 详情页相关区域样式 ========== */

/* 学习来源区域 */
.article-content .source-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.article-content .source-box a {
    color: #fff;
    text-decoration: underline;
}

.article-content .source-box a:hover {
    color: #f0f0f0;
}

/* 相关笔记区域 */
.related-section {
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--border);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.related-section .notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 1rem auto 0;
}

.related-section .related-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Skill来源区域 */
.skill-source {
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--border);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.skill-source .skill-source-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.skill-source-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-source-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 1rem;
}

.skill-source-card-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.skill-source-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.skill-source-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* 评论区域 */
.comment-section {
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--border);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.comment-count {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.comment-form {
    margin-bottom: 2rem;
}

.comment-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.875rem;
    resize: vertical;
}

.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.comment-form-row {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
    align-items: center;
}

.comment-form-row input {
    flex: 1;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
}

.submit-comment {
    padding: 0.5rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.875rem;
    transition: background var(--transition);
}

.submit-comment:hover {
    background: var(--primary-dark);
}

.rating-select {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.rating-select button {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.4;
    transition: opacity var(--transition);
}

.rating-select button:hover,
.rating-select button.active {
    opacity: 1;
}

.comment-list {
    margin-top: 2rem;
}

.comment-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-author {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.comment-rating {
    color: #f59e0b;
    font-size: 0.75rem;
}

.comment-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.comment-content {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== 核心能力区域 ========== */
.core-skills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.core-skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.core-skill-item:hover {
    background: var(--bg-white);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.core-skill-item .icon {
    font-size: 32px;
}

.core-skill-item .name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

/* ========== 进阶方向区域 ========== */
.direction-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.direction-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
}

.direction-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.direction-icon {
    font-size: 28px;
}

.direction-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.direction-count {
    font-size: 13px;
    color: var(--text-muted);
}

.direction-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.direction-tag {
    font-size: 13px;
    padding: 6px 12px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.direction-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.direction-more {
    display: inline-block;
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.direction-more:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .core-skills {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .direction-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .core-skills {
        grid-template-columns: 1fr;
    }
}

/* ========== 3D图标样式 ========== */
.section-icon-img {
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-right: 8px;
    border-radius: 50%;
    object-fit: cover;
}

.insight-icon img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.category-icon img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* Changelog 页面样式 */
.changelog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

.changelog-header {
    text-align: center;
    margin-bottom: 48px;
}

.changelog-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.changelog-header p {
    font-size: 16px;
    color: var(--text-muted);
}

.version-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.version-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.version-tag {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
}

.version-date {
    color: var(--text-muted);
    font-size: 14px;
}

.version-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.version-content li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.version-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    background: var(--primary-light);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .changelog-container {
        padding: 24px 16px;
    }
}

/* 404 错误页面样式 */
.error-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.error-icon {
    font-size: 80px;
    margin-bottom: 24px;
}

.error-container h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.error-container p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.error-container a {
    display: inline-block;
    padding: 12px 32px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-base);
}

.error-container a:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .error-container {
        padding: 40px 16px;
    }
    
    .error-container h1 {
        font-size: 32px;
    }
}
/* ========== Emoji图标样式 ========== */
.emoji-icon {
    display: inline-block;
    vertical-align: middle;
    margin: 0 2px;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.emoji-icon:hover {
    transform: scale(1.1);
}

/* 在卡片和列表项中使用的emoji样式 */
.card .emoji-icon,
.list-item .emoji-icon {
    width: 20px;
    height: 20px;
}

/* 在标题中使用的emoji样式 */
h1 .emoji-icon,
h2 .emoji-icon,
h3 .emoji-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

/* ========== SVG图标样式 ========== */
.icon-svg {
    display: inline-block;
    vertical-align: middle;
    margin: 0 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    /* 使用当前文本颜色 */
    color: currentColor;
    fill: currentColor;
}

/* SVG图标悬停效果 */
.icon-svg:hover {
    transform: scale(1.1);
    opacity: 0.85;
}

/* 在卡片和列表项中使用的SVG图标样式 */
.card .icon-svg,
.list-item .icon-svg {
    width: 20px;
    height: 20px;
}

/* 在标题中使用的SVG图标样式 */
h1 .icon-svg,
h2 .icon-svg,
h3 .icon-svg {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

/* 大图标样式（用于首页特色区域） */
.feature-icon,
.category-icon-large img {
    width: 48px;
    height: 48px;
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    .icon-svg {
        color: var(--text-secondary, #9ca3af);
        fill: var(--text-secondary, #9ca3af);
    }
    
    h1 .icon-svg,
    h2 .icon-svg,
    h3 .icon-svg {
        color: var(--text-primary, #f3f4f6);
        fill: var(--text-primary, #f3f4f6);
    }
}
/* Cache bust: 1776317504 */


/* Article meta icons */
.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.meta-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
/* Cache bust: 1776573505 */

/* ========== 移动端响应式导航 ========== */
@media (max-width: 768px) {
    .header-inner {
        padding: 0 12px;
    }
    
    .nav {
        gap: 4px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 8px 0;
        margin: 0 -12px;
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .nav::-webkit-scrollbar {
        display: none;
    }
    
    .nav a {
        font-size: 12px;
        padding: 6px 8px;
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    .nav a span {
        display: inline-block;
    }
    
    .nav a .en {
        display: none !important;
    }
    
    .nav a:nth-child(2) .zh,
    .nav a:nth-child(3) .zh,
    .nav a:nth-child(4) .zh,
    .nav a:nth-child(5) .zh {
        font-size: 12px;
    }
    
    .logo {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .nav {
        gap: 2px;
    }
    
    .nav a {
        font-size: 11px;
        padding: 5px 6px;
    }
}
