/* ============================================
   范松涛 · 个人博客 — 深色科技风主题
   ============================================ */

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

:root {
  --bg-primary: #080c21;
  --bg-secondary: #0d1533;
  --bg-card: #111b3d;
  --bg-card-hover: #16204a;
  --text-primary: #e8edff;
  --text-secondary: #8ea2d4;
  --text-muted: #5b6b98;
  --accent-1: #3b5bfd;
  --accent-2: #00d4ff;
  --accent-3: #7c3aed;
  --accent-4: #c026d3;
  --accent-5: #16d1b0;
  --accent-6: #f59e0b;
  --border-color: rgba(59, 91, 253, 0.15);
  --glass-bg: rgba(13, 21, 51, 0.75);
  --glass-border: rgba(59, 91, 253, 0.2);
  --gradient-main: linear-gradient(135deg, #3b5bfd, #00d4ff);
  --gradient-alt: linear-gradient(135deg, #7c3aed, #c026d3);
  --gradient-warm: linear-gradient(135deg, #f59e0b, #ef4444);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.15);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(8, 12, 33, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(8, 12, 33, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-main);
  border-radius: 10px;
  font-size: 18px; font-weight: 700;
  color: #fff;
}
.logo-text { font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.logo-sub { font-size: 11px; font-weight: 400; color: var(--text-muted); margin-left: 4px; letter-spacing: 2px; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
  padding: 8px 18px;
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 2px; left: 18px; right: 18px;
  height: 2px; border-radius: 2px;
  background: var(--gradient-main);
  transform: scaleX(0); transition: var(--transition);
}
.nav-link:hover { color: var(--text-primary); background: rgba(59, 91, 253, 0.1); }
.nav-link:hover::after { transform: scaleX(1); }
.btn-nav {
  background: var(--gradient-main);
  color: #fff !important;
  padding: 8px 22px !important;
  border-radius: 20px !important;
  font-weight: 600;
}
.btn-nav::after { display: none; }
.btn-nav:hover { opacity: 0.9; transform: translateY(-1px); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span {
  width: 26px; height: 2px; background: var(--text-primary);
  border-radius: 2px; transition: var(--transition);
}
/* ---------- Hero 区域 ---------- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 60px;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(59, 91, 253, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 91, 253, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent 70%);
}
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: rgba(59, 91, 253, 0.2);
  top: -200px; right: -150px;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: rgba(124, 58, 237, 0.15);
  bottom: -100px; left: -100px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-left { display: flex; flex-direction: column; gap: 20px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 20px;
  font-size: 13px; font-weight: 500;
  color: var(--accent-2);
  width: fit-content;
}
.dot-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}
.hero-title {
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 900;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #e8edff, #00d4ff, #3b5bfd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.hero-role {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 2px;
}
.hero-desc {
  font-size: 16px; line-height: 1.8;
  color: var(--text-secondary);
  max-width: 520px;
}
.hero-desc strong { color: var(--text-primary); font-weight: 600; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 12px;
  font-size: 15px; font-weight: 600;
  transition: var(--transition);
  border: none; cursor: pointer;
}
.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59, 91, 253, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(59, 91, 253, 0.4); }
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
}
.btn-ghost:hover { background: rgba(59, 91, 253, 0.1); color: var(--text-primary); border-color: var(--accent-1); }
.btn-light {
  background: #fff;
  color: var(--bg-primary);
  font-weight: 700;
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15); }

/* 统计数据 */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
  padding: 24px;
  background: rgba(13, 21, 51, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-mono);
  font-size: 32px; font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* 头像区 */
.hero-right { display: flex; justify-content: center; }
.avatar-wrap {
  position: relative;
  width: 340px; height: 340px;
  display: flex; align-items: center; justify-content: center;
}
.avatar {
  width: 100%; height: 100%;
  border-radius: 24px;
  position: relative; z-index: 1;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
.avatar-ring {
  position: absolute; inset: -8px;
  border-radius: 28px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, #3b5bfd, #00d4ff, #7c3aed, #c026d3) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ring-spin 6s linear infinite;
}
@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

/* 浮动标签 */
.float-chip {
  position: absolute;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px; font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; gap: 6px;
  z-index: 2;
  animation: float-chip 5s ease-in-out infinite;
}
.chip-1 {
  top: 10%; right: -10%;
  background: rgba(124, 58, 237, 0.3);
  color: #cbb9ff;
}
.chip-2 {
  bottom: 15%; left: -15%;
  background: rgba(0, 212, 255, 0.3);
  color: #9fe8ff;
  animation-delay: 1.5s;
}
.chip-3 {
  top: 50%; right: -18%;
  background: rgba(59, 91, 253, 0.3);
  color: #a8bfff;
  animation-delay: 3s;
}
@keyframes float-chip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.chip-icon { font-size: 16px; }

/* 滚动提示 */
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 12px;
  opacity: 0.6;
}
.mouse {
  width: 24px; height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}
.wheel {
  width: 4px; height: 8px;
  background: var(--accent-2);
  border-radius: 2px;
  position: absolute; top: 6px; left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s infinite;
}
@keyframes scroll-wheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}
/* ---------- 通用 Section ---------- */
.section {
  padding: 100px 0;
  position: relative;
}
.section:nth-child(even) { background: var(--bg-secondary); }
.section-head { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute; bottom: -8px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  border-radius: 2px;
  background: var(--gradient-main);
}
.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  margin-top: 20px;
}

/* ---------- 关于我 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}
.about-image { position: relative; }
.about-img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
}
.about-img-tag {
  position: absolute; bottom: 16px; left: 50%;
  transform: translateX(-50%);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px; font-weight: 500;
  background: rgba(8, 12, 33, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  white-space: nowrap;
}
.about-content { display: flex; flex-direction: column; gap: 20px; }
.about-text {
  font-size: 15px; line-height: 1.9;
  color: var(--text-secondary);
}
.about-text strong { color: var(--text-primary); font-weight: 600; }
.about-list { display: flex; flex-direction: column; gap: 12px; }
.about-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: var(--text-secondary);
}
.li-icon { font-size: 20px; }

.keyword-cloud {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 8px;
}
.keyword-cloud span {
  padding: 5px 14px;
  border-radius: 16px;
  font-size: 13px; font-weight: 500;
  background: rgba(59, 91, 253, 0.08);
  border: 1px solid rgba(59, 91, 253, 0.15);
  color: var(--text-secondary);
  transition: var(--transition);
}
.keyword-cloud span:hover {
  background: rgba(59, 91, 253, 0.2);
  color: var(--accent-2);
  border-color: var(--accent-2);
  transform: translateY(-2px);
}

/* ---------- 职业历程（时间线） ---------- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 30px;
}
.timeline::before {
  content: '';
  position: absolute; left: 18px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-1), var(--accent-3), var(--accent-2));
  opacity: 0.4;
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.timeline-item.visible { opacity: 1; transform: translateY(0); }
.timeline-dot {
  position: absolute; left: -30px; top: 8px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--c, var(--accent-1));
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.timeline-dot .t-year {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700;
  color: var(--c, var(--accent-1));
}
.timeline-dot.active .t-year { color: #fff; }
.timeline-dot.active { background: var(--gradient-main); box-shadow: 0 0 20px rgba(59, 91, 253, 0.4); }

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
  position: relative;
}
.timeline-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(59, 91, 253, 0.3);
  transform: translateX(4px);
  box-shadow: var(--shadow-glow);
}
.timeline-card.current {
  border-color: var(--accent-1);
  box-shadow: 0 0 30px rgba(59, 91, 253, 0.1);
}
.current-badge {
  position: absolute; top: -10px; right: 20px;
  padding: 2px 14px;
  border-radius: 12px;
  font-size: 12px; font-weight: 600;
  background: var(--gradient-main);
  color: #fff;
}
.card-head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.card-head h3 { font-size: 18px; font-weight: 700; }
.company-tag {
  padding: 2px 10px; border-radius: 8px;
  font-size: 12px; font-weight: 600;
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent-2);
}
.period {
  font-family: var(--font-mono);
  font-size: 13px; color: var(--text-muted);
  margin-left: auto;
}
.card-desc { font-size: 14px; line-height: 1.8; color: var(--text-secondary); }
.card-desc strong { color: var(--text-primary); font-weight: 600; }
.card-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.card-skills span {
  padding: 3px 10px; border-radius: 6px;
  font-size: 12px; font-weight: 500;
  background: rgba(59, 91, 253, 0.08);
  color: var(--text-muted);
  border: 1px solid rgba(59, 91, 253, 0.1);
}
/* ---------- 创新成果 ---------- */
.innovation-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}
.innovation-img { width: 100%; border-radius: var(--radius); }
.innovation-banner-text h3 {
  font-size: 24px; font-weight: 700;
  margin-bottom: 12px;
  background: var(--gradient-alt);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.innovation-banner-text p { font-size: 15px; line-height: 1.8; color: var(--text-secondary); }

.innovation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.inn-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.inn-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.inn-card:hover::before { transform: scaleX(1); }
.inn-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); border-color: rgba(59, 91, 253, 0.3); }
.inn-card.highlight {
  border-color: rgba(0, 212, 255, 0.2);
  background: linear-gradient(135deg, rgba(59, 91, 253, 0.05), rgba(0, 212, 255, 0.05));
}
.inn-year {
  font-family: var(--font-mono);
  font-size: 14px; font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 8px;
}
.inn-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.inn-card p { font-size: 13px; line-height: 1.7; color: var(--text-secondary); }

/* ---------- 重点项目 ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  position: relative;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(59, 91, 253, 0.3);
}
.project-card.featured {
  border-color: rgba(192, 38, 211, 0.3);
  background: linear-gradient(135deg, rgba(192, 38, 211, 0.05), rgba(124, 58, 237, 0.05));
}
.project-ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  color: var(--ic, var(--accent-1));
  margin-bottom: 16px;
}
.project-ico svg { width: 24px; height: 24px; }
.project-area {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 12px; font-weight: 500;
  background: rgba(0, 212, 255, 0.08);
  color: var(--accent-2);
  margin-bottom: 10px;
}
.project-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.project-card p { font-size: 14px; line-height: 1.7; color: var(--text-secondary); }
.project-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.project-meta span {
  padding: 3px 10px; border-radius: 6px;
  font-size: 12px; font-weight: 500;
  background: rgba(59, 91, 253, 0.08);
  color: var(--text-muted);
  border: 1px solid rgba(59, 91, 253, 0.1);
}

/* ---------- 能力领域 ---------- */
.domain-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.domain-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}
.domain-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(59, 91, 253, 0.3);
}
.domain-img {
  width: 100%; max-width: 280px;
  margin: 0 auto 20px;
  border-radius: var(--radius);
}
.domain-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.domain-card p { font-size: 14px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 16px; }
.domain-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.domain-tags span {
  padding: 3px 10px; border-radius: 6px;
  font-size: 12px; font-weight: 500;
  background: rgba(59, 91, 253, 0.08);
  color: var(--text-muted);
  border: 1px solid rgba(59, 91, 253, 0.1);
}
/* ---------- 核心能力 ---------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}
.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(59, 91, 253, 0.3);
}
.skill-ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  color: var(--s, var(--accent-1));
  margin-bottom: 16px;
}
.skill-ico svg { width: 24px; height: 24px; }
.skill-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.skill-card p { font-size: 14px; line-height: 1.7; color: var(--text-secondary); }

/* 技术栈进度条 */
.tech-title {
  text-align: center;
  font-size: 22px; font-weight: 700;
  margin-bottom: 30px;
  color: var(--text-secondary);
}
.tech-bars { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.tech-bar-row {
  display: grid;
  grid-template-columns: 160px 1fr 40px;
  align-items: center;
  gap: 16px;
}
.tech-name { font-size: 14px; font-weight: 500; color: var(--text-secondary); text-align: right; }
.tech-track {
  height: 10px;
  background: rgba(59, 91, 253, 0.08);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}
.tech-fill {
  height: 100%;
  width: 0;
  border-radius: 5px;
  background: var(--gradient-main);
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.tech-bar-row.visible .tech-fill { width: var(--w, 0); }
.tech-val {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600;
  color: var(--accent-2);
}

/* ---------- 联系我 ---------- */
.contact-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.contact-box::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-main);
}
.contact-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
}
.contact-sub {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
}
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
  align-items: center;
}
.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  background: rgba(59, 91, 253, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  width: 100%;
  max-width: 460px;
}
.ch-ico { font-size: 24px; }
.channel div { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.ch-label { font-size: 12px; color: var(--text-muted); }
.ch-value { font-size: 14px; font-weight: 500; color: var(--text-primary); }

/* ---------- 页脚 ---------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 30px;
}
.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 60px;
}
.footer-brand .logo-mark { width: 40px; height: 40px; font-size: 20px; }
.footer-brand .logo-text { font-size: 22px; }
.footer-quote {
  font-size: 15px;
  font-style: italic;
  color: var(--text-muted);
  max-width: 500px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.footer-links a {
  padding: 6px 16px;
  font-size: 13px; font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent-2); background: rgba(0, 212, 255, 0.05); }
.footer-copy { font-size: 13px; color: var(--text-muted); opacity: 0.7; }
/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-left { align-items: center; }
  .hero-desc { max-width: 100%; }
  .hero-badge { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-right { order: -1; }
  .avatar-wrap { width: 240px; height: 240px; }
  .float-chip { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .innovation-banner { grid-template-columns: 1fr; }
  .domain-cards { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .tech-bar-row { grid-template-columns: 1fr; text-align: left; }
  .tech-name { text-align: left; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(8, 12, 33, 0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 20px; gap: 4px;
    border-bottom: 1px solid var(--glass-border);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: flex; }
  .section { padding: 60px 0; }
  .hero { padding: 100px 0 40px; }
  .hero-title { font-size: 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); padding: 16px; }
  .stat-num { font-size: 26px; }
  .projects-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .innovation-grid { grid-template-columns: 1fr; }
  .timeline { padding-left: 20px; }
  .timeline-dot { width: 40px; height: 40px; left: -20px; }
  .timeline-item { padding-left: 30px; }
  .period { margin-left: 0; width: 100%; }
  .contact-box { padding: 40px 20px; }
  .footer-links { gap: 4px; }
  .footer-links a { font-size: 12px; padding: 4px 12px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .hero-role { font-size: 16px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .section-title { font-size: 26px; }
  .about-list li { font-size: 14px; }
  .card-head h3 { font-size: 16px; }
}

/* ---------- 滚动动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
/* ---------- 补充辅助类 ---------- */
.li-icon.edu { background: #3b5bfd; }
.li-icon.work { background: #00d4ff; }
.li-icon.rocket { background: #7c3aed; }
.li-icon.trophy { background: #f59e0b; }
.ch-ico.mail { background: #3b5bfd; }
.ch-ico.pin { background: #ef4444; }
.ch-ico.globe { background: #16d1b0; }
.times { font-weight: 700; }
.dash { color: var(--text-muted); }