/* ========== Z_3 个人门户 - 信息科技 × 健康生活 ========== */
/* 基于四站整体设计方案（最终版）2026-10-05 */

:root {
    /* 主色调 - Electric Blue 保留 */
    --accent: #0052FF;
    --accent-2: #2F6BFF;
    --accent-fg: #FFFFFF;

    /* 华为红 - 仅标题/Logo等关键位置点缀 */
    --huawei-red: #C7000B;
    --huawei-red-dark: #8A0008;
    --huawei-red-light: #E60012;

    /* 深空科技色 */
    --bg-dark: #0B0F19;
    --bg-card-dark: #1C2230;
    --bg-cloud: #F7F9FC;

    /* 辅助色 */
    --tech-blue: #2F6BFF;
    --data-cyan: #00C2FF;
    --health-green: #00A86B;
    --vivid-purple: #7C3AED;
    --vivid-pink: #EC4899;
    --vivid-orange: #F97316;
    --vivid-yellow: #FBBF24;
    --gradient-vivid: linear-gradient(135deg, #0052FF 0%, #7C3AED 50%, #EC4899 100%);
    --gradient-warm: linear-gradient(135deg, #F97316 0%, #EC4899 50%, #7C3AED 100%);
    --gradient-cool: linear-gradient(135deg, #00C2FF 0%, #0052FF 50%, #7C3AED 100%);

    /* 文字色 */
    --fg: #0F172A;
    --fg-light: #FFFFFF;
    --fg-muted: #64748B;
    --fg-muted-light: #94A3B8;

    /* 边框/阴影 */
    --border: #E2E8F0;
    --border-dark: #2A3344;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    --shadow-accent: 0 4px 14px rgba(0,82,255,0.3);
    --shadow-red: 0 4px 14px rgba(199,0,11,0.25);
    --shadow-green: 0 4px 14px rgba(0,168,107,0.25);

    /* 圆角 */
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* 字体 - HarmonyOS Sans SC 优先 */
    --font-display: "HarmonyOS Sans SC", "HarmonyOS Sans", "Microsoft YaHei", "微软雅黑", sans-serif;
    --font-body: "HarmonyOS Sans SC", "HarmonyOS Sans", "Microsoft YaHei", "微软雅黑", sans-serif;
    --font-mono: "HarmonyOS Sans SC", Consolas, "Courier New", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--fg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* ========== 通用 Section ========== */
.section { padding: 40px 0; position: relative; }
.section-light { background: var(--bg-cloud); color: var(--fg); }
.section-dark { background: var(--bg-dark); color: var(--fg-light); }
.section-bg-dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 32px 32px; pointer-events: none;
}
.section-bg-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(0,82,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,82,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px; mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    pointer-events: none;
}

.section-header { text-align: center; margin-bottom: 36px; }
.section-label {
    display: inline-block; font-family: var(--font-mono);
    font-size: 12px; font-weight: 500; color: var(--accent);
    background: rgba(0,82,255,0.1); padding: 5px 14px;
    border-radius: 100px; margin-bottom: 16px; letter-spacing: 0.5px;
}
.section-label-red { color: var(--huawei-red); background: rgba(199,0,11,0.1); }
.section-label-green { color: var(--health-green); background: rgba(0,168,107,0.1); }
.section-label-light { color: var(--accent-2); background: rgba(47,107,255,0.12); }

.section-title {
    font-family: var(--font-display); font-size: clamp(22px, 3.5vw, 34px);
    font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 12px;
    color: var(--fg-light);
}
.section-title-accent { color: var(--huawei-red); }
.section-title-light { color: var(--fg); }

.section-desc { font-size: 15px; color: var(--fg-muted-light); max-width: 600px; margin: 0 auto; }
.section-desc-light { color: var(--fg-muted); }

/* ========== 按钮 ========== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font-body); font-weight: 600; font-size: 14px;
    border-radius: var(--radius); padding: 10px 22px; text-decoration: none;
    border: none; cursor: pointer; transition: all 0.2s ease-out; white-space: nowrap;
}
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 12px 28px; font-size: 15px; }
.btn-primary { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); color: var(--accent-fg); box-shadow: var(--shadow-accent); }
.btn-primary:hover { background: linear-gradient(135deg, var(--accent-2) 0%, var(--vivid-purple) 100%); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,82,255,0.4); }
.btn-red { background: var(--huawei-red); color: white; box-shadow: var(--shadow-red); }
.btn-red:hover { background: var(--huawei-red-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--fg-light); border: 1px solid var(--border-dark); }
.btn-ghost:hover { background: var(--bg-card-dark); border-color: var(--accent); }
.btn-green { background: var(--health-green); color: white; box-shadow: var(--shadow-green); }
.btn-green:hover { background: #008F5A; transform: translateY(-1px); }
.btn-arrow { transition: transform 0.2s ease-out; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ========== 统一顶部导航 ========== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(11,15,25,0.85); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid transparent;
    transition: all 0.3s ease-out;
}
.nav.scrolled { border-bottom-color: var(--border-dark); box-shadow: var(--shadow-sm); }
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 60px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--fg-light); }
.nav-logo .logo-accent { color: var(--huawei-red); }
.logo-icon { font-size: 20px; }

.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a {
    text-decoration: none; font-size: 13px; font-weight: 500;
    color: var(--fg-muted-light); transition: color 0.2s ease-out;
    position: relative;
}
.nav-links a:hover { color: var(--fg-light); }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after {
    content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px;
    background: var(--accent); border-radius: 2px;
}

.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--fg-light); border-radius: 2px; transition: all 0.3s ease-out; }

/* ========== Hero ========== */
.hero {
    padding: 80px 0 40px; position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0F1525 50%, var(--bg-dark) 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.35; }
.glow-1 { width: 600px; height: 600px; background: var(--accent); top: -150px; right: -150px; }
.glow-2 { width: 400px; height: 400px; background: var(--vivid-purple); bottom: -100px; left: -100px; opacity: 0.2; }
.glow-3 { width: 300px; height: 300px; background: var(--vivid-pink); top: 40%; left: 60%; opacity: 0.12; }
.hero-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(0,82,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,82,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px; mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}
.hero-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; }
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,168,107,0.1); border: 1px solid rgba(0,168,107,0.3);
    padding: 8px 16px; border-radius: 100px; font-size: 13px; font-weight: 600;
    color: var(--health-green); margin-bottom: 24px;
}
.pulse-dot { width: 8px; height: 8px; background: var(--health-green); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
.badge-lines { display: flex; flex-direction: column; gap: 2px; line-height: 1.4; }
.badge-line { color: var(--health-green); }
.badge-part { font-weight: 600; }
.badge-sep { color: var(--fg-muted-light); opacity: 0.6; font-weight: 400; }
.badge-blue { color: var(--accent-2); }
.badge-red { color: var(--huawei-red-light); }
.badge-green { color: var(--health-green); }
.badge-cyan { color: var(--data-cyan); }
.badge-gold { color: #FFD700; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

.hero-title {
    font-family: var(--font-display); font-size: clamp(32px, 6vw, 54px);
    font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px;
    color: var(--fg-light);
}
.hero-title-red { color: var(--huawei-red); }
.hero-title-blue { color: var(--accent); }

.hero-subtitle { font-size: clamp(14px, 2vw, 18px); color: var(--fg-muted-light); margin-bottom: 28px; line-height: 1.5; text-align: left; }

.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.tag {
    background: var(--bg-card-dark); border: 1px solid var(--border-dark);
    padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 500;
    color: var(--fg-muted-light);
}
.tag-blue { color: var(--accent-2); border-color: rgba(0,82,255,0.3); }
.tag-red { color: var(--huawei-red-light); border-color: rgba(199,0,11,0.3); }
.tag-green { color: var(--health-green); border-color: rgba(0,168,107,0.3); }

.hero-actions { display: flex; gap: 14px; justify-content: center; margin-bottom: 36px; flex-wrap: wrap; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 700px; margin: 0 auto; }
.stat { text-align: center; }
.stat-num {
    display: block; font-family: var(--font-display); font-size: clamp(24px, 4vw, 38px);
    font-weight: 700; line-height: 1; margin-bottom: 6px;
}
.stat-num-blue { color: var(--accent); }
.stat-num-red { color: var(--huawei-red); }
.stat-num-green { color: var(--health-green); }
.stat-num-cyan { color: var(--data-cyan); }
.stat-num small { font-size: 0.5em; font-weight: 600; }
.stat-label { font-size: 12px; color: var(--fg-muted-light); font-weight: 500; }

/* ========== 最新动态 ========== */
.news-bar {
    padding: 16px 0;
    background: linear-gradient(90deg, rgba(0,82,255,0.08) 0%, rgba(124,58,237,0.08) 50%, rgba(236,72,153,0.08) 100%);
    border-bottom: 1px solid var(--border-dark);
}
.news-list {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.news-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--fg-muted-light);
}
.news-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.news-dot-blue { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.news-dot-green { background: var(--health-green); box-shadow: 0 0 8px var(--health-green); }
.news-dot-gold { background: #FFD700; box-shadow: 0 0 8px #FFD700; }
.news-date {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-2);
    font-weight: 600;
}
.news-text { font-weight: 500; }

@media (max-width: 768px) {
    .news-list { flex-direction: column; gap: 10px; text-align: center; }
}

/* ========== 关于我（模糊简介） ========== */
.about-content {
    max-width: 800px; margin: 0 auto; text-align: center;
}
.about-text {
    font-size: 15px; color: var(--fg-muted-light); line-height: 1.8;
    margin-bottom: 16px;
}
.about-text .highlight-blue { color: var(--accent-2); font-weight: 600; }
.about-text .highlight-red { color: var(--huawei-red-light); font-weight: 600; }
.about-text .highlight-green { color: var(--health-green); font-weight: 600; }

/* ========== 能力地图 ========== */
.skill-map { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.skill-card {
    background: var(--bg-card-dark); border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg); padding: 22px 18px; text-align: center;
    transition: all 0.3s ease-out; position: relative; overflow: hidden;
}
.skill-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    opacity: 0; transition: opacity 0.3s ease-out;
}
.skill-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.skill-card:hover::before { opacity: 1; }

.skill-card-blue::before { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.skill-card-blue:hover { border-color: var(--accent); }
.skill-card-red::before { background: linear-gradient(90deg, var(--huawei-red), var(--huawei-red-light)); }
.skill-card-red:hover { border-color: var(--huawei-red); }
.skill-card-green::before { background: linear-gradient(90deg, var(--health-green), #00C2FF); }
.skill-card-green:hover { border-color: var(--health-green); }
.skill-card-cyan::before { background: linear-gradient(90deg, var(--data-cyan), var(--accent)); }
.skill-card-cyan:hover { border-color: var(--data-cyan); }

.skill-icon { font-size: 36px; margin-bottom: 16px; }
.skill-card h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--fg-light); margin-bottom: 10px; }
.skill-card p { font-size: 13px; color: var(--fg-muted-light); line-height: 1.6; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 12px; }
.skill-tags span {
    font-size: 11px; font-weight: 500; padding: 3px 10px; border-radius: 100px;
}
.skill-tags-blue span { color: var(--accent-2); background: rgba(0,82,255,0.1); }
.skill-tags-red span { color: var(--huawei-red-light); background: rgba(199,0,11,0.1); }
.skill-tags-green span { color: var(--health-green); background: rgba(0,168,107,0.1); }
.skill-tags-cyan span { color: var(--data-cyan); background: rgba(0,194,255,0.1); }

/* ========== 项目与课程 ========== */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card {
    background: var(--bg-card-dark); border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg); padding: 20px 18px;
    transition: all 0.3s ease-out; position: relative;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); border-color: var(--accent); }
.project-card-featured { border-color: rgba(0,82,255,0.3); }
.course-photo {
    height: 130px; margin: -24px -20px 18px -20px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.course-photo::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), transparent 60%);
}
.course-photo::after {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 20px 20px;
}
.course-photo-icon {
    font-size: 52px; position: relative; z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
    transition: transform 0.4s ease-out;
}
.project-card:hover .course-photo-icon { transform: scale(1.15) rotate(5deg); }
.course-photo-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.course-photo-2 { background: linear-gradient(135deg, #00b4db 0%, #0083b0 100%); }
.course-photo-3 { background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%); }
.course-photo-4 { background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%); }
.course-photo-5 { background: linear-gradient(135deg, #f35626 0%, #f5af19 100%); }
.course-photo-6 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.project-badge {
    position: absolute; top: 16px; right: 16px;
    font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 100px;
}
.project-badge-blue { background: var(--accent); color: white; }
.project-badge-red { background: var(--huawei-red); color: white; }
.project-badge-green { background: var(--health-green); color: white; }

.project-icon { font-size: 32px; margin-bottom: 14px; }
.project-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--fg-light); margin-bottom: 8px; }
.project-desc { font-size: 13px; color: var(--fg-muted-light); line-height: 1.6; margin-bottom: 12px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.project-meta span {
    font-size: 11px; font-weight: 500; padding: 3px 10px; border-radius: 100px;
    color: var(--fg-muted-light); background: rgba(255,255,255,0.05);
}

/* ========== 荣誉墙 ========== */
.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; }
.honor-card {
    background: var(--bg-card-dark); border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg); padding: 20px 18px; position: relative;
    transition: all 0.3s ease-out; overflow: hidden;
}
.honor-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    opacity: 0.6; transition: opacity 0.3s;
}
.honor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.honor-card:hover::before { opacity: 1; }
.honor-card-gold::before { background: linear-gradient(90deg, #FFD700, #FFA500); }
.honor-card-gold:hover { border-color: #FFD700; }
.honor-card-red::before { background: linear-gradient(90deg, var(--huawei-red), var(--huawei-red-light)); }
.honor-card-red:hover { border-color: var(--huawei-red); }
.honor-card-cyan::before { background: linear-gradient(90deg, var(--data-cyan), var(--accent)); }
.honor-card-cyan:hover { border-color: var(--data-cyan); }
.honor-card-blue::before { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.honor-card-blue:hover { border-color: var(--accent); }
.honor-card-green::before { background: linear-gradient(90deg, var(--health-green), #00C2FF); }
.honor-card-green:hover { border-color: var(--health-green); }
.honor-card-purple::before { background: linear-gradient(90deg, #9B59B6, #8E44AD); }
.honor-card-purple:hover { border-color: #9B59B6; }
.honor-badge {
    position: absolute; top: 16px; right: 16px;
    font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 100px;
    background: #FFD700; color: #1a1a2e;
}
.honor-badge-red { background: var(--huawei-red); color: white; }
.honor-badge-cyan { background: var(--data-cyan); color: white; }
.honor-badge-blue { background: var(--accent); color: white; }
.honor-badge-green { background: var(--health-green); color: white; }
.honor-badge-purple { background: #9B59B6; color: white; }
.honor-icon { font-size: 32px; margin-bottom: 14px; }
.honor-photo { margin: -24px -20px 14px -20px; height: 200px; overflow: hidden; position: relative; background: #0d0d1a; }
.honor-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease-out; }
.honor-card:hover .honor-photo img { transform: scale(1.05); }
.honor-photo::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40px; background: linear-gradient(transparent, var(--bg-card-dark)); }
.honor-title { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--fg-light); margin-bottom: 8px; line-height: 1.4; }
.honor-issuer { font-size: 12px; color: var(--fg-muted-light); line-height: 1.5; margin-bottom: 10px; }
.honor-year { font-size: 12px; font-weight: 600; color: var(--accent-2); }
.honor-stats { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.honor-stat { text-align: center; }
.honor-stat-num { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--fg-light); }
.honor-stat-num small { font-size: 14px; font-weight: 600; color: var(--fg-muted-light); }
.honor-stat-label { display: block; font-size: 12px; color: var(--fg-muted-light); margin-top: 4px; }
@media (max-width: 768px) {
    .honor-grid { grid-template-columns: 1fr; }
    .honor-stats { gap: 24px; }
}

/* ========== 精选笔记 ========== */
.notes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.note-card {
    background: var(--bg-card-dark); border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg); padding: 20px 18px;
    transition: all 0.3s ease-out; text-decoration: none; display: block;
}
.note-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-2); }
.note-photo {
    height: 110px; margin: -24px -20px 16px -20px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.note-photo::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), transparent 60%);
}
.note-photo::after {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 18px 18px;
}
.note-photo span {
    font-size: 44px; position: relative; z-index: 1;
    filter: drop-shadow(0 3px 10px rgba(0,0,0,0.3));
    transition: transform 0.4s ease-out;
}
.note-card:hover .note-photo span { transform: scale(1.15); }
.note-photo-harmony { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.note-photo-aiot { background: linear-gradient(135deg, #00b4db 0%, #0083b0 100%); }
.note-category {
    display: inline-block; font-size: 11px; font-weight: 500;
    padding: 3px 10px; border-radius: 100px; margin-bottom: 12px;
}
.note-cat-harmony { color: var(--accent-2); background: rgba(0,82,255,0.1); }
.note-cat-aiot { color: var(--health-green); background: rgba(0,168,107,0.1); }
.note-cat-cloud { color: var(--data-cyan); background: rgba(0,194,255,0.1); }
.note-cat-teaching { color: var(--huawei-red-light); background: rgba(199,0,11,0.1); }
.note-cat-health { color: var(--health-green); background: rgba(0,168,107,0.1); }
.note-title { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--fg-light); margin-bottom: 8px; line-height: 1.3; }
.note-desc { font-size: 13px; color: var(--fg-muted-light); line-height: 1.5; }
.note-arrow { font-size: 13px; color: var(--accent-2); margin-top: 12px; display: inline-block; }

/* ========== 健康生活 ========== */
.health-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.health-card {
    background: var(--bg-card-dark); border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg); padding: 20px 20px;
    transition: all 0.3s ease-out; position: relative; overflow: hidden;
    display: flex; align-items: center; gap: 16px;
}
.health-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--health-green), var(--data-cyan));
    opacity: 0; transition: opacity 0.3s ease-out;
}
.health-card:hover { transform: translateY(-4px); border-color: var(--health-green); box-shadow: var(--shadow-green); }
.health-card:hover::before { opacity: 1; }
.health-content { flex: 1; }
.health-icon-big { font-size: 52px; flex-shrink: 0; filter: drop-shadow(0 3px 8px rgba(0,0,0,0.2)); transition: transform 0.3s; }
.health-card:hover .health-icon-big { transform: scale(1.15); }
.health-card h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--fg-light); margin-bottom: 6px; }
.health-card p { font-size: 12px; color: var(--fg-muted-light); line-height: 1.5; }

.health-data { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 600px; margin: 32px auto 0; }
.health-data-item { text-align: center; }
.health-data-num { display: block; font-family: var(--font-display); font-size: clamp(24px, 4vw, 36px); font-weight: 700; color: var(--health-green); line-height: 1; margin-bottom: 6px; }
.health-data-label { font-size: 12px; color: var(--fg-muted-light); font-weight: 500; }

/* ========== 联系 ========== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
    background: var(--bg-card-dark); border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg); padding: 22px 18px; text-align: center;
    transition: all 0.3s ease-out;
}
.contact-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.contact-icon { font-size: 32px; margin-bottom: 14px; }
.contact-card h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--fg-light); margin-bottom: 8px; }
.contact-card p { font-size: 13px; color: var(--fg-muted-light); line-height: 1.6; }
.contact-card a { color: var(--accent-2); text-decoration: none; font-size: 13px; }
.contact-card a:hover { color: var(--accent); }

.contact-quote {
    text-align: center; margin-top: 28px; padding: 20px;
    background: rgba(0,82,255,0.05); border-radius: var(--radius-lg);
    border: 1px solid rgba(0,82,255,0.15);
}
.contact-quote p { font-size: 15px; color: var(--fg-light); font-style: italic; }

/* ========== 页脚 ========== */
.footer {
    background: var(--bg-dark); border-top: 1px solid var(--border-dark);
    padding: 36px 0 24px;
}
.footer-top {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
    margin-bottom: 24px;
}
.footer-brand { }
.footer-logo { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--fg-light); margin-bottom: 8px; display: block; }
.footer-logo .logo-accent { color: var(--huawei-red); }
.footer-brand p { font-size: 13px; color: var(--fg-muted-light); line-height: 1.6; }

.footer-col h5 { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--fg-light); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 12px; color: var(--fg-muted-light); text-decoration: none; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-2); }

.footer-bottom {
    border-top: 1px solid var(--border-dark); padding-top: 20px;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: var(--fg-muted-light); }
.footer-motto { font-style: italic; }

/* ========== 淡入动画 ========== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== 渐变线 ========== */
.gradient-line {
    height: 2px; max-width: 200px; margin: 0 auto 20px;
    background: linear-gradient(90deg, var(--accent), var(--vivid-purple), var(--huawei-red), var(--vivid-pink), var(--health-green));
    border-radius: 2px;
}

/* ========== 响应式 ========== */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-links.open {
        display: flex; flex-direction: column; position: absolute;
        top: 60px; left: 0; right: 0; background: var(--bg-dark);
        padding: 20px 24px; gap: 16px; border-bottom: 1px solid var(--border-dark);
    }
    .skill-map { grid-template-columns: repeat(2, 1fr); }
    .project-grid { grid-template-columns: repeat(2, 1fr); }
    .notes-grid { grid-template-columns: repeat(2, 1fr); }
    .health-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .skill-map { grid-template-columns: 1fr; }
    .project-grid { grid-template-columns: 1fr; }
    .notes-grid { grid-template-columns: 1fr; }
    .health-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
}