/* 产品总监个人简历站 · 设计基调：深空黑 + 亮白 + 单一 Action Blue 强调色 */
:root {
  --blue: #007AFF;
  --blue-bright: #4DA6FF;
  --cyan: #00C6FF;
  --ink: #1D1D1F;
  --ink-soft: #515154;
  --muted: #86868B;
  --hairline: #E3E3E6;
  --paper: #F5F5F7;
  --card: #FAFAFC;
  --deep: #000000;
  --deep-2: #101013;
  --deep-3: #1A1A1F;
  --white: #FFFFFF;
  --radius: 8px;
  --radius-lg: 14px;
  --nav-h: 56px;
  --font: -apple-system, BlinkMacSystemFont, system-ui, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-spring: cubic-bezier(0.34, 1.3, 0.4, 1);
}

html[data-theme="dark"] {
  --ink: #F5F5F7;
  --ink-soft: #D2D2D7;
  --muted: #A1A1A6;
  --hairline: #2A2A2C;
  --paper: #0B0B0E;
  --card: #151519;
  --deep: #050507;
  --deep-2: #0E0E12;
  --deep-3: #18181D;
  --white: #0E0E12;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.35s, color 0.35s;
}

a {
  color: var(--blue);
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul {
  list-style: none;
}

svg {
  display: block;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.band {
  padding: 104px 0;
}

section {
  scroll-margin-top: calc(var(--nav-h) + 8px);
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 14px;
}

.h2 {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 20em;
}

.section-head {
  margin-bottom: 56px;
}

.band,
.nav,
.back-to-top,
.toast,
.contact-card,
.metric,
.tl-card,
.project-card,
.strength-card,
.value-notes > div,
.hero,
.footer {
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}

.lead {
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  transition: transform 0.18s var(--ease), background 0.2s, box-shadow 0.2s, border-color 0.2s;
  border: 1px solid transparent;
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: #0A84FF;
  box-shadow: 0 10px 30px rgba(0, 122, 255, 0.28);
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  background: var(--white);
  color: var(--blue);
  border-color: rgba(0, 122, 255, 0.45);
}

.btn-secondary:hover {
  background: rgba(0, 122, 255, 0.08);
}

/* 顶部导航 */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: transparent;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
}

.brand {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand span {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.tool-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.tool-btn:active {
  transform: scale(0.94);
}

.tool-btn svg {
  width: 17px;
  height: 17px;
}

.lang-toggle {
  min-width: 44px;
  letter-spacing: 0.04em;
}

.theme-toggle .icon-moon {
  display: none;
}

.theme-toggle.dark-mode .icon-sun {
  display: none;
}

.theme-toggle.dark-mode .icon-moon {
  display: block;
}

.share-btn {
  min-width: 40px;
  padding: 0 12px;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  padding: 9px 13px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: 8px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: transform 0.1s linear;
}

/* 首屏 */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--deep);
  color: #fff;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 24px 96px;
}

.hero-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  pointer-events: none;
}

.network-lines line {
  stroke: url(#lineGrad);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  opacity: 0.7;
  stroke-dasharray: 6 10;
  animation: lineFlow 26s linear infinite;
}

.network-nodes circle {
  fill: #0a0a0f;
  stroke: rgba(0, 198, 255, 0.75);
  stroke-width: 1.5;
}

.network-pulse circle {
  fill: var(--cyan);
  opacity: 0;
  animation: nodePulse 3.6s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.network-pulse circle:nth-child(2) {
  animation-delay: 1.2s;
}

.network-pulse circle:nth-child(3) {
  animation-delay: 2.4s;
}

.network-tags text {
  fill: rgba(255, 255, 255, 0.28);
  font-size: 13px;
  letter-spacing: 0.2em;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 940px;
}

.hero-kicker {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 26px;
}

.hero-name {
  font-size: clamp(64px, 12vw, 128px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.gradient-text {
  background: linear-gradient(90deg, #fff 0%, #7FC4FF 30%, var(--cyan) 52%, #fff 74%, #7FC4FF 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientSweep 7s linear infinite;
}

.hero-role {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 720px;
  margin: 0 auto 30px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.hero-tags span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(960px, 100%);
  margin-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hs {
  padding: 26px 14px 0;
  text-align: center;
}

.hs strong {
  display: block;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #fff, var(--blue-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}

.hs span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 44px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
}

.scroll-cue span {
  width: 3px;
  height: 9px;
  border-radius: 3px;
  background: var(--blue-bright);
  animation: cueDrop 1.8s ease-in-out infinite;
}

/* 价值主张 */
.value {
  background: var(--white);
}

.value-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: 72px;
  align-items: start;
}

.value-head .h2 {
  position: sticky;
  top: 96px;
}

.value-body > p {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  max-width: 64ch;
}

.value-body .lead {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.45;
  margin-bottom: 22px;
}

.value-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.value-notes > div {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 18px;
}

.value-notes strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
}

.value-notes span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* 核心能力 */
.strengths {
  background: var(--deep);
  color: #fff;
}

.strengths .eyebrow {
  color: var(--blue-bright);
}

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

.strength-card {
  position: relative;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  transition: transform 0.35s var(--ease), border-color 0.3s, background 0.3s;
  overflow: hidden;
}

.strength-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0;
  transition: opacity 0.35s;
}

.strength-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 198, 255, 0.45);
  background: rgba(255, 255, 255, 0.065);
}

.strength-card:hover::after {
  opacity: 1;
}

.strength-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}

.strength-num {
  font-family: var(--mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.14em;
}

.strength-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 122, 255, 0.16);
  color: var(--cyan);
}

.strength-icon svg {
  width: 22px;
  height: 22px;
}

.strength-card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.strength-desc {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 20px;
}

.strength-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.strength-card li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 7px 13px;
}

/* 数据带 */
.metrics {
  background: var(--paper);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.metric {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.metric:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
}

.metric-value {
  font-size: clamp(34px, 4.6vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: 10px;
}

.metric-value .metric-num {
  color: var(--blue);
}

.metric-label {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.metric-note {
  font-size: 13px;
  color: var(--muted);
}

/* 职业经历 */
.experience {
  background: var(--white);
}

.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 42px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--hairline);
}

.timeline::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
  transform: scaleY(var(--tl-progress, 0));
  transform-origin: top;
  transition: transform 0.1s linear;
}

.tl-item {
  position: relative;
  padding: 0 0 56px 24px;
}

.tl-item:last-child {
  padding-bottom: 8px;
}

.tl-rail {
  position: absolute;
  left: -42px;
  top: 6px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tl-rail span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--hairline);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.tl-item.active .tl-rail span {
  border-color: var(--blue);
  box-shadow: 0 0 0 6px rgba(0, 122, 255, 0.14);
}

.tl-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
}

.tl-period {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 10px;
}

.tl-card h3 {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.tl-role {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.tl-note {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

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

.tl-tags span {
  font-size: 12px;
  color: var(--blue);
  background: rgba(0, 122, 255, 0.08);
  border: 1px solid rgba(0, 122, 255, 0.2);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}

.tl-card ul {
  display: grid;
  gap: 9px;
}

.tl-card li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.tl-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.65;
}

/* 项目 */
.projects {
  background: var(--paper);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
}

.project-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  background:
    linear-gradient(160deg, rgba(0, 122, 255, 0.06), transparent 46%),
    var(--white);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}

.project-card h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.project-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.matrix-list {
  display: grid;
  gap: 12px;
}

.matrix-list > div {
  border-top: 1px solid var(--hairline);
  padding-top: 12px;
}

.matrix-list strong {
  display: block;
  font-size: 14px;
  margin-bottom: 3px;
}

.matrix-list span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.matrix-list.compact {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.project-result {
  margin-top: 22px;
  border-radius: var(--radius);
  background: rgba(0, 122, 255, 0.06);
  padding: 16px;
}

.project-result strong {
  display: block;
  font-size: 13px;
  color: var(--blue);
  margin-bottom: 5px;
}

.project-result p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.compact-card {
  min-height: 180px;
}

.compact-card .project-desc {
  margin-bottom: 0;
}

.project-group + .project-group {
  margin-top: 56px;
}

.project-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.project-group-title::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
}

.project-grid.detail-grid {
  grid-template-columns: repeat(2, 1fr);
}

.detail-card .matrix-list.compact {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* 教育 */
.edu {
  background: var(--deep);
  color: #fff;
}

.edu .eyebrow {
  color: var(--blue-bright);
}

.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.edu-block .h2 {
  font-size: clamp(34px, 4vw, 44px);
}

.edu-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 12px;
}

.edu-period {
  font-family: var(--mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 8px;
}

.certs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.certs-list span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.05);
}

/* 联系 */
.contact {
  background: var(--white);
}

.contact-wrap {
  text-align: center;
  max-width: 760px;
}

.contact-head .h2 {
  margin-inline: auto;
}

.contact-lead {
  font-size: 16px;
  color: var(--ink-soft);
  margin-top: 16px;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.contact-card {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 6px;
  padding: 26px 18px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  color: var(--ink);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.07);
  border-color: rgba(0, 122, 255, 0.4);
}

.contact-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 122, 255, 0.1);
  color: var(--blue);
  margin-bottom: 6px;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-label {
  font-size: 13px;
  color: var(--muted);
}

.contact-card strong {
  font-size: 16px;
  font-weight: 600;
  word-break: break-all;
}

.contact-note {
  margin-top: 34px;
  font-size: 13px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

/* 回到顶部 */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 180;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, background 0.2s;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background: var(--blue);
}

/* 复制提示 */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 16px);
  z-index: 300;
  max-width: min(420px, calc(100% - 40px));
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  font-size: 14px;
  text-align: center;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* 深色主题 */
html[data-theme="dark"] .value {
  background: var(--paper);
}

html[data-theme="dark"] .value-notes > div {
  background: var(--card);
}

html[data-theme="dark"] .strength-card {
  background: rgba(255, 255, 255, 0.055);
}

html[data-theme="dark"] .metrics {
  background: var(--deep-2);
}

html[data-theme="dark"] .metric {
  background: var(--card);
}

html[data-theme="dark"] .experience {
  background: var(--paper);
}

html[data-theme="dark"] .tl-card {
  background: var(--card);
}

html[data-theme="dark"] .tl-tags span {
  background: rgba(0, 122, 255, 0.16);
  border-color: rgba(0, 122, 255, 0.38);
}

html[data-theme="dark"] .projects {
  background: var(--deep-2);
}

html[data-theme="dark"] .project-card {
  background: var(--card);
}

html[data-theme="dark"] .project-card.featured {
  background:
    linear-gradient(160deg, rgba(0, 122, 255, 0.12), transparent 46%),
    var(--card);
}

html[data-theme="dark"] .project-result {
  background: rgba(0, 122, 255, 0.14);
}

html[data-theme="dark"] .contact {
  background: var(--paper);
}

html[data-theme="dark"] .contact-card {
  background: var(--card);
}

html[data-theme="dark"] .contact-actions .btn-secondary {
  background: transparent;
}

/* 页脚 */
.footer {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.55);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}

/* 动效 */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal.delay-1 {
  transition-delay: 0.08s;
}

.reveal.delay-2 {
  transition-delay: 0.16s;
}

.reveal.delay-3 {
  transition-delay: 0.24s;
}

.reveal.delay-4 {
  transition-delay: 0.32s;
}

.reveal.delay-5 {
  transition-delay: 0.4s;
}

@keyframes gradientSweep {
  0% { background-position: 0% 50%; }
  100% { background-position: -220% 50%; }
}

@keyframes lineFlow {
  to { stroke-dashoffset: -160; }
}

@keyframes nodePulse {
  0% { opacity: 0.8; transform: scale(1); }
  70% { opacity: 0; }
  100% { opacity: 0; transform: scale(4.2); }
}

@keyframes cueDrop {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.35; }
}

@media (max-width: 1068px) {
  .value-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .value-head .h2 {
    position: static;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card.featured {
    grid-column: span 2;
  }

  .project-grid.detail-grid {
    grid-template-columns: 1fr;
  }

  .matrix-list.compact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 834px) {
  .nav-inner {
    gap: 8px;
  }

  .tool-btn {
    min-width: 36px;
    height: 34px;
    padding: 0 8px;
  }

  .lang-toggle {
    min-width: 40px;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(0, 0, 0, 0.94);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    padding: 14px 20px 20px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s, opacity 0.28s, visibility 0.28s;
  }

  .nav-links.open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    padding: 13px 16px;
    font-size: 15px;
    border-radius: 8px;
  }

  .nav-toggle {
    display: flex;
  }

  .strength-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .edu-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: min(560px, 100%);
  }

  .hs {
    padding: 18px 8px 0;
  }

  .hs strong {
    font-size: 22px;
  }
}

@media (max-width: 640px) {
  .band {
    padding: 76px 0;
  }

  .hero {
    padding: 120px 20px 84px;
    min-height: auto;
  }

  .hero-name {
    font-size: clamp(56px, 19vw, 84px);
  }

  .hero-role {
    font-size: 19px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: min(280px, 100%);
  }

  .hero-stats {
    margin-top: 52px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }

  .value-notes {
    grid-template-columns: 1fr;
  }

  .value-body .lead {
    font-size: 20px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card.featured {
    grid-column: auto;
  }

  .detail-card .matrix-list.compact {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 32px;
  }

  .timeline::before,
  .timeline::after {
    left: 8px;
  }

  .tl-item {
    padding-left: 18px;
  }

  .tl-rail {
    left: -32px;
  }

  .tl-card {
    padding: 24px 20px;
  }

  .tl-card h3 {
    font-size: 20px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .hero-tags {
    gap: 8px;
  }

  .hero-tags span {
    padding: 7px 12px;
    font-size: 12px;
  }

  .hs strong {
    font-size: 19px;
  }

  .hs span {
    font-size: 12px;
  }
}

/* 打印 */
@media print {
  .nav,
  .scroll-cue,
  .hero-network,
  .hero-stats {
    display: none !important;
  }

  body {
    color: #000;
  }

  .band {
    padding: 28px 0;
    break-inside: avoid;
  }

  .strengths,
  .edu,
  .footer {
    background: #fff !important;
    color: #000 !important;
  }

  .strength-card,
  .tl-card,
  .project-card,
  .metric {
    background: #fff;
    border: 1px solid #ccc;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
