@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-tags { flex-wrap: wrap; }
    .case-card { padding: 2rem; }
    .content-item { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .footer-minimal { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* =========================================
   模型模块 - AI模型数据可视化
========================================= */
.models-section { background: var(--bg-secondary); }
.models-content { max-width: 1200px; margin: 0 auto; }
.models-intro { font-size: 1rem; color: var(--text-secondary); margin-bottom: 2rem; text-align: center; }

/* 统计卡片 */
.models-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 2.5rem; }
.model-stat-card { background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 8px; padding: 1.5rem; text-align: center; transition: all var(--transition-normal); }
.model-stat-card:hover { border-color: var(--border-dark); transform: translateY(-2px); }
.model-stat-card .stat-value { font-size: 2rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.model-stat-card .stat-label { font-size: 0.85rem; color: var(--text-tertiary); }

/* 筛选器 */
.model-filters { display: flex; gap: 1.5rem; margin-bottom: 2rem; justify-content: center; }
.filter-group { display: flex; flex-direction: column; gap: 0.5rem; }
.filter-group label { font-size: 0.8rem; color: var(--text-tertiary); }
.filter-group select { padding: 0.6rem 1rem; border: 1px solid var(--border-color); border-radius: 4px; background: var(--bg-primary); color: var(--text-primary); font-size: 0.9rem; cursor: pointer; min-width: 150px; }

/* 模型表格 */
.models-table-wrapper { background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; margin-bottom: 2.5rem; }
.models-table { width: 100%; border-collapse: collapse; }
.models-table th { padding: 1rem; text-align: left; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-tertiary); background: var(--bg-secondary); border-bottom: 1px solid var(--border-color); }
.models-table td { padding: 1rem; border-bottom: 1px solid var(--border-color); font-size: 0.9rem; }
.models-table tbody tr { transition: all var(--transition-fast); cursor: pointer; }
.models-table tbody tr:hover { background: var(--bg-secondary); }

/* 排名样式 */
.rank-col { width: 60px; text-align: center !important; }
.model-rank-badge { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; font-size: 0.75rem; font-weight: 600; }
.rank-1 { background: linear-gradient(135deg, #ffd700, #ffb347); color: #000; }
.rank-2 { background: linear-gradient(135deg, #c0c0c0, #a8a8a8); color: #000; }
.rank-3 { background: linear-gradient(135deg, #cd7f32, #b87333); color: #fff; }
.rank-default { background: var(--bg-tertiary); color: var(--text-secondary); }

/* 智能指数 */
.index-col { width: 200px; }
.intelligence-bar { display: flex; align-items: center; gap: 0.75rem; }
.intelligence-bar .bar { flex: 1; height: 6px; background: var(--bg-tertiary); border-radius: 3px; overflow: hidden; }
.intelligence-bar .bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, #333, #000); }
.index-value { font-weight: 600; min-width: 40px; }

/* 上下文 */
.context-col { white-space: nowrap; }
.context-badge { display: inline-block; padding: 0.25rem 0.6rem; background: var(--bg-tertiary); border-radius: 12px; font-size: 0.8rem; }

/* 开源标签 */
.license-col { text-align: center; }
.license-badge { display: inline-block; padding: 0.25rem 0.6rem; border-radius: 12px; font-size: 0.75rem; }
.license-open { background: rgba(39, 174, 96, 0.1); color: #27ae60; }
.license-proprietary { background: rgba(231, 76, 60, 0.1); color: #e74c3c; }

/* 时间线 */
.context-timeline { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border-color); }
.timeline-title { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1.5rem; text-align: center; }
.timeline-track { display: flex; justify-content: space-between; position: relative; padding: 0 1rem; }
.timeline-track::before { content: ''; position: absolute; top: 12px; left: 2rem; right: 2rem; height: 2px; background: var(--border-color); }
.timeline-node { flex: 1; text-align: center; position: relative; padding: 0 0.5rem; }
.timeline-dot { width: 24px; height: 24px; border-radius: 50%; background: var(--bg-primary); border: 2px solid var(--border-dark); margin: 0 auto 0.75rem; position: relative; z-index: 1; }
.timeline-node.active .timeline-dot { background: var(--text-primary); }
.timeline-content { background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 6px; padding: 0.75rem; font-size: 0.8rem; }
.timeline-year { font-weight: 600; margin-bottom: 0.25rem; }
.timeline-context { color: var(--text-secondary); margin-bottom: 0.25rem; }
.timeline-models { color: var(--text-tertiary); font-size: 0.75rem; }

.models-note { margin-top: 2rem; text-align: center; font-size: 0.8rem; color: var(--text-tertiary); }
.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }

@media (max-width: 1024px) { .models-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .models-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .model-stat-card { padding: 1rem; }
    .model-stat-card .stat-value { font-size: 1.5rem; }
    .model-filters { flex-direction: column; }
    .filter-group select { width: 100%; }
    .models-table-wrapper { overflow-x: auto; }
    .models-table { min-width: 600px; }
    .timeline-track { flex-direction: column; gap: 1rem; }
    .timeline-track::before { display: none; }
}
