/* ============================================================
   光 与 我 · 组件样式层（BrandKit 体系）
   所有样式消费 tokens.css 中的设计令牌
   ============================================================ */

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: var(--line-height-base);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

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

h1, h2, h3 { line-height: var(--line-height-tight); letter-spacing: -0.01em; margin: 0; }

/* ---------- 无障碍：跳过导航链接 ---------- */
.skip-link {
  position: fixed;
  top: -100%;
  left: var(--space-16);
  z-index: 100;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-md);
  background: var(--gradient-accent);
  color: var(--color-btn-primary-text);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: var(--space-16);
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ---------- 噪声纹理覆盖层 ---------- */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ---------- 背景光晕 ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.aurora__blob {
  position: absolute;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.9;
  will-change: transform;
}
.aurora__blob--1 {
  background: var(--color-blob-1);
  top: -10vw; left: -15vw;
  animation: drift1 22s ease-in-out infinite;
}
.aurora__blob--2 {
  background: var(--color-blob-2);
  top: 30vh; right: -12vw;
  animation: drift2 26s ease-in-out infinite;
}
.aurora__blob--3 {
  background: var(--color-blob-3);
  bottom: -14vw; left: 25vw;
  animation: drift3 30s ease-in-out infinite;
}
@keyframes drift1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(6vw, 4vh) scale(1.12); }
}
@keyframes drift2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-5vw, 6vh) scale(1.08); }
}
@keyframes drift3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(4vw, -5vh) scale(1.15); }
}

/* ---------- 导航栏 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  padding: var(--space-12) clamp(1.2rem, 4vw, var(--space-48));
  background: var(--color-nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.5s ease;
}
.nav.is-scrolled { border-bottom-color: var(--color-border); }

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  letter-spacing: 0.04em;
}
.nav__brand-dot {
  color: var(--color-accent-2);
  flex: none;
  animation: pulse 3.5s ease-in-out infinite;
}
.nav__brand-dot:not(svg) {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: none;
  border-radius: var(--radius-sm);
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.8; }
}
.nav__links {
  display: flex;
  gap: clamp(var(--space-16), 3vw, 2.2rem);
  font-size: var(--font-size-base);
}
.nav__links a {
  position: relative;
  color: var(--color-text-soft);
  transition: color 0.25s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  border-radius: var(--radius-xs);
  background: var(--color-accent);
  transition: width 0.3s ease;
}
.nav__links a:hover { color: var(--color-text); }
.nav__links a:hover::after { width: 100%; }
.nav__links a.is-active { color: var(--color-text); }
.nav__links a.is-active::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 0.6rem; }

/* 主题切换按钮 */
.theme-toggle {
  position: relative;
  width: 36px; height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px var(--color-accent-soft);
}
.theme-toggle svg {
  width: 18px; height: 18px;
  position: absolute;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: opacity 0.35s ease, transform 0.5s ease;
}
.theme-toggle__sun { opacity: 1; transform: rotate(0) scale(1); }
.theme-toggle__moon { opacity: 0; transform: rotate(-90deg) scale(0.6); }
[data-theme="dark"] .theme-toggle__sun { opacity: 0; transform: rotate(90deg) scale(0.6); }
[data-theme="dark"] .theme-toggle__moon { opacity: 1; transform: rotate(0) scale(1); }

/* 汉堡按钮（移动端） */
.nav__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  cursor: pointer;
}
.nav__menu-btn span {
  display: block;
  width: 18px; height: 2px;
  margin: 0 auto;
  border-radius: var(--radius-xs);
  background: var(--color-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.78rem var(--space-24);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-semibold);
  font-size: 0.96rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.btn--primary {
  background: var(--gradient-accent);
  color: var(--color-btn-primary-text);
  box-shadow: var(--shadow-btn-primary);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-btn-primary-hover); }
.btn--ghost {
  background: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--color-accent); }
.btn--lg { padding: 0.95rem var(--space-32); font-size: var(--font-size-lg); }

/* focus-visible 可访问性焦点环 */
.btn:focus-visible,
.theme-toggle:focus-visible,
.nav__menu-btn:focus-visible,
.card__link:focus-visible,
.nav__links a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* active 按下反馈 */
.btn:active { transform: scale(0.97) translateY(1px); }
.btn--ghost:active { transform: scale(0.97); }

/* ---------- 首屏（全居中布局，视觉元素作背景装饰） ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 7rem clamp(1.2rem, 5vw, var(--space-48)) var(--space-64);
  overflow: hidden;
}
.hero__visual {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  pointer-events: none;
  z-index: 0;
}
/* 太阳光晕（中心发光体） */
.hero__visual-sun {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, var(--color-blob-1), transparent 60%);
  filter: blur(50px);
  animation: sunPulse 6s ease-in-out infinite;
}
@keyframes sunPulse {
  0%,100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.1); opacity: 1; }
}
/* 光束辐射 — 12 条光线从中心向外发散 */
.hero__visual-rays {
  position: absolute;
  inset: -5%;
}
.hero__visual-ray {
  position: absolute;
  top: 50%; left: 50%;
  width: 1px; height: 50%;
  background: linear-gradient(to bottom, var(--color-accent-glow) 0%, transparent 100%);
  transform-origin: top center;
  opacity: 0;
  animation: rayFade 5s ease-in-out infinite;
}
.hero__visual-ray:nth-child(1)  { transform: translate(-50%, 0) rotate(0deg);   animation-delay: 0s; }
.hero__visual-ray:nth-child(2)  { transform: translate(-50%, 0) rotate(30deg);  animation-delay: 0.4s; }
.hero__visual-ray:nth-child(3)  { transform: translate(-50%, 0) rotate(60deg);  animation-delay: 0.8s; }
.hero__visual-ray:nth-child(4)  { transform: translate(-50%, 0) rotate(90deg);  animation-delay: 1.2s; }
.hero__visual-ray:nth-child(5)  { transform: translate(-50%, 0) rotate(120deg); animation-delay: 1.6s; }
.hero__visual-ray:nth-child(6)  { transform: translate(-50%, 0) rotate(150deg); animation-delay: 2s; }
.hero__visual-ray:nth-child(7)  { transform: translate(-50%, 0) rotate(180deg); animation-delay: 2.4s; }
.hero__visual-ray:nth-child(8)  { transform: translate(-50%, 0) rotate(210deg); animation-delay: 2.8s; }
.hero__visual-ray:nth-child(9)  { transform: translate(-50%, 0) rotate(240deg); animation-delay: 3.2s; }
.hero__visual-ray:nth-child(10) { transform: translate(-50%, 0) rotate(270deg); animation-delay: 3.6s; }
.hero__visual-ray:nth-child(11) { transform: translate(-50%, 0) rotate(300deg); animation-delay: 4s; }
.hero__visual-ray:nth-child(12) { transform: translate(-50%, 0) rotate(330deg); animation-delay: 4.4s; }
@keyframes rayFade {
  0%,100% { opacity: 0; }
  50% { opacity: 0.35; }
}
/* 光环 */
.hero__visual-ring {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  opacity: 0.25;
}
.hero__visual-ring--1 { animation: ringSpin 20s linear infinite; }
.hero__visual-ring--2 {
  inset: 16%;
  animation: ringSpin 28s linear infinite reverse;
  opacity: 0.12;
  border-style: dashed;
}
.hero__visual-ring--3 {
  inset: 26%;
  width: 4px; height: 4px;
  border: none;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent-glow);
  top: 8%; left: 52%;
  animation: orbitParticle 14s linear infinite;
}
@keyframes orbitParticle {
  from { transform: rotate(0deg) translateX(50%) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(50%) rotate(-360deg); }
}
@keyframes ringSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
/* 漂浮光粒 */
.hero__visual-particle {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0;
  animation: particleFloat 6s ease-in-out infinite;
}
.hero__visual-particle:nth-child(1)  { top: 15%; left: 25%; animation-delay: 0s;   width: 4px; height: 4px; }
.hero__visual-particle:nth-child(2)  { top: 30%; left: 70%; animation-delay: 1s;   width: 2px; height: 2px; }
.hero__visual-particle:nth-child(3)  { top: 55%; left: 80%; animation-delay: 2s;   width: 3px; height: 3px; }
.hero__visual-particle:nth-child(4)  { top: 70%; left: 40%; animation-delay: 3s;   width: 2.5px; height: 2.5px; }
.hero__visual-particle:nth-child(5)  { top: 20%; left: 60%; animation-delay: 4s;   width: 3px; height: 3px; }
.hero__visual-particle:nth-child(6)  { top: 65%; left: 65%; animation-delay: 5s;   width: 2px; height: 2px; }
.hero__visual-particle:nth-child(7)  { top: 40%; left: 15%; animation-delay: 0.5s; width: 2.5px; height: 2.5px; }
.hero__visual-particle:nth-child(8)  { top: 50%; left: 55%; animation-delay: 3.5s; width: 3px; height: 3px; }
@keyframes particleFloat {
  0%,100% { opacity: 0; transform: translateY(0); }
  30% { opacity: 0.7; }
  60% { opacity: 1; transform: translateY(-12px); }
  70% { opacity: 0.5; }
}
.hero__inner {
  max-width: 760px;
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  font-size: var(--font-size-sm);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 1.4rem;
  font-weight: var(--font-weight-semibold);
  font-family: var(--font-display);
}
.hero__title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: var(--font-weight-extrabold);
  margin-bottom: var(--space-24);
}
.grad-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lede {
  font-size: clamp(var(--font-size-base), 2.2vw, var(--font-size-xl));
  color: var(--color-text-soft);
  max-width: 600px;
  margin: 0 auto 2.4rem;
}
.hero__cta { display: flex; gap: var(--space-16); justify-content: center; flex-wrap: wrap; }

.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.8rem;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.4rem 1.6rem;
  position: relative;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s cubic-bezier(.2,.8,.2,1) var(--stat-delay, 0s), transform 0.55s cubic-bezier(.2,.8,.2,1) var(--stat-delay, 0s);
}
.stat:nth-child(1) { --stat-delay: 0.1s; }
.stat:nth-child(2) { --stat-delay: 0.22s; }
.stat:nth-child(3) { --stat-delay: 0.34s; }
.hero__stats.is-visible .stat { opacity: 1; transform: translateY(0); }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: var(--color-border);
}
.stat__num {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(120deg, var(--color-accent), var(--color-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.15;
}
.stat__label { font-size: 0.82rem; color: var(--color-text-soft); margin-top: 2px; letter-spacing: 0.06em; }


.hero__scroll {
  position: absolute;
  bottom: var(--space-32); left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  color: var(--color-text-soft);
  font-size: var(--font-size-xs);
  letter-spacing: 0.15em;
}
.hero__scroll-line {
  width: 1px; height: 42px;
  background: linear-gradient(var(--color-accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- 通用区块 ---------- */
.section {
  padding: clamp(var(--space-64), 10vw, var(--space-128)) clamp(1.2rem, 5vw, var(--space-48));
  max-width: 1120px;
  margin: 0 auto;
}
.section__head { text-align: center; margin-bottom: 3.5rem; }
.section__kicker {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  font-weight: var(--font-weight-bold);
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
}
.section__title { font-size: clamp(var(--font-size-4xl), 4vw, 2.6rem); font-weight: var(--font-weight-extrabold); }
.section__sub { color: var(--color-text-soft); margin: var(--space-16) auto 0; max-width: 520px; }

/* ---------- 开发理念（交错偏移卡片） ---------- */
.principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-24);
  max-width: 820px;
  margin: 0 auto;
}
.principle {
  background: var(--color-surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-32) 1.8rem;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--glass-inner-glow);
  position: relative;
}
/* spotlight 光效 */
.principle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    300px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
    var(--color-accent-soft),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 0;
}
.principle:hover::after { opacity: 1; }
.principle:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--glass-inner-glow);
  border-color: transparent;
}
.principle__no {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
}
.principle__title { font-size: var(--font-size-3xl); font-weight: var(--font-weight-bold); margin-bottom: 0.7rem; position: relative; z-index: 1; }
.principle__text { color: var(--color-text-soft); font-size: var(--font-size-md); margin: 0; position: relative; z-index: 1; }

/* ---------- 作品卡片（真正玻璃态 + spotlight 光效） ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.6rem;
}
.card {
  --spotlight-x: 50%;
  --spotlight-y: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: 1.8rem;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, border-color 0.35s ease;
  box-shadow: var(--glass-inner-glow);
}
/* spotlight 跟随光效 */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    450px circle at var(--spotlight-x) var(--spotlight-y),
    var(--color-accent-soft),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.card:hover::after { opacity: 1; }
/* 渐变边框 */
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-accent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--glass-inner-glow);
}
.card:hover::before { opacity: 0.9; }

.card__icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  background: var(--gradient-accent);
  color: var(--color-btn-primary-text);
  box-shadow: 0 10px 24px -8px var(--color-accent-glow);
  margin-bottom: 1.3rem;
  align-self: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  z-index: 2;
}
.card:hover .card__icon { transform: scale(1.06) rotate(-3deg); }
.card__icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.card__tag {
  align-self: center;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-soft);
  padding: var(--space-4) 0.7rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 2;
}
.card__name { font-size: var(--font-size-2xl); font-weight: var(--font-weight-bold); margin-bottom: var(--space-8); position: relative; z-index: 2; text-align: center; }
.card__desc { color: var(--color-text-soft); font-size: var(--font-size-base); margin: 0 0 1.4rem; flex: 1; position: relative; z-index: 2; text-align: center; }
.card__links { display: flex; gap: 0.7rem; flex-wrap: wrap; position: relative; z-index: 2; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: var(--font-weight-semibold);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.card__link--main {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}

.card__link:hover { transform: translateY(-2px); }
.card__link--main:hover { box-shadow: 0 8px 20px -8px var(--color-accent-glow); }

/* ---------- 关于我 ---------- */
.about {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(var(--space-24), 5vw, 3.5rem);
  align-items: center;
  background: var(--color-surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-3xl);
  padding: clamp(var(--space-32), 5vw, 3.5rem);
}
.about__avatar {
  position: relative;
  width: 120px; height: 120px;
  margin: auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
}
.about__avatar-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: var(--gradient-accent);
  filter: blur(22px);
  opacity: 0.45;
  z-index: -1;
  animation: pulse 4s ease-in-out infinite;
}
.about__avatar-mark {
  font-size: 1.4rem;
  font-weight: var(--font-weight-extrabold);
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about__text { color: var(--color-text-soft); margin: 0 0 var(--space-16); }
.about__facts { list-style: none; padding: 0; margin: var(--space-24) 0 0; display: grid; gap: 0.6rem; }
.about__facts li {
  font-size: var(--font-size-base);
  color: var(--color-text-soft);
  padding-left: 1.1rem;
  position: relative;
}
.about__facts li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gradient-accent);
}
.about__facts strong { color: var(--color-text); margin-right: var(--space-8); }

/* ---------- 联系 ---------- */
.section--contact { text-align: center; }
.contact {
  background: var(--color-surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-3xl);
  padding: clamp(var(--space-40), 6vw, 4.5rem);
}
.contact .section__sub { margin-bottom: var(--space-32); }
.contact__links {
  display: flex;
  gap: 1.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-32);
  font-size: var(--font-size-base);
  color: var(--color-text-soft);
}
.contact__links a { transition: color 0.25s ease; position: relative; }
.contact__links a:hover { color: var(--color-accent); }

/* 社交平台卡片 */
.contact__socials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-16);
  margin-top: var(--space-32);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.contact__social {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  padding: var(--space-16) var(--space-20);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  text-align: left;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact__social:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}
.contact__social-icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--color-accent-soft);
  color: var(--color-accent);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.contact__social:hover .contact__social-icon {
  background: var(--gradient-accent);
  color: var(--color-btn-primary-text);
}
.contact__social-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact__social-name {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}
.contact__social-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-soft);
}

/* ---------- 页脚 ---------- */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-12);
  padding: var(--space-32) clamp(1.2rem, 5vw, var(--space-48));
  padding-right: calc(clamp(1.2rem, 5vw, var(--space-48)) + 56px);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-soft);
  font-size: 0.88rem;
}
.footer__left { display: flex; align-items: center; gap: var(--space-12); flex-wrap: wrap; }
.footer__tag { letter-spacing: 0.08em; }
.footer__legal { display: flex; gap: var(--space-16); }
.footer__legal a {
  color: var(--color-text-soft);
  font-size: 0.85rem;
  transition: color 0.25s ease;
}
.footer__legal a:hover { color: var(--color-accent); }

/* ---------- 回到顶部按钮 ---------- */
.back-to-top {
  position: fixed;
  bottom: var(--space-32);
  right: var(--space-32);
  z-index: 49;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px var(--color-accent-soft);
}
.back-to-top:active {
  transform: scale(0.94);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.back-to-top:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ---------- 滚动揭示动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 响应式（mobile-first） ---------- */
/* 基础默认：hero 已全居中，视觉元素始终可见 */

/* Tablet+ (≥ 480px) */
@media (min-width: 480px) {
  .cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

/* Desktop (≥ 760px) */
@media (min-width: 760px) {
  .about { grid-template-columns: 200px 1fr; }

  /* 理念交错偏移 */
  .principles { grid-template-columns: 1fr; }
  .principle:nth-child(1) { margin-left: 0; margin-right: var(--space-64); }
  .principle:nth-child(2) { margin-left: var(--space-64); margin-right: 0; }
  .principle:nth-child(3) { margin-left: var(--space-20); margin-right: var(--space-40); }

  .nav__links {
    position: static;
    flex-direction: row;
    width: auto;
    padding: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    transform: none;
    box-shadow: none;
  }
  .nav__links a {
    padding: 0;
    border-radius: 0;
  }
  .nav__links a:hover { background: none; }
  .nav__links a::after { display: block; }
}

/* Wide Desktop (≥ 1024px) */
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
  .section { max-width: 1120px; }
}

/* 移动端特有覆盖（当 < 760px 时生效） */
@media (max-width: 759px) {
  .nav__menu-btn { display: flex; }
  .nav__links {
    position: fixed;
    top: 58px; right: 0;
    flex-direction: column;
    gap: 0;
    width: min(72vw, 280px);
    padding: 0.8rem;
    background: var(--color-nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-border);
    border-radius: 0 0 0 var(--space-20);
    transform: translateX(110%);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
    box-shadow: var(--shadow-lg);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a {
    padding: 0.9rem var(--space-16);
    border-radius: var(--radius-md);
    color: var(--color-text);
  }
  .nav__links a:hover { background: var(--color-accent-soft); }
  .nav__links a::after { display: none; }

  .about { grid-template-columns: 1fr; text-align: center; }
  .about__facts { text-align: left; max-width: 320px; margin-left: auto; margin-right: auto; }
  .hero { padding-top: 6rem; }
  .principles { max-width: 100%; }
  .principle:nth-child(1),
  .principle:nth-child(2),
  .principle:nth-child(3) { margin-left: 0; margin-right: 0; }
}

/* 小屏手机 (< 420px) */
@media (max-width: 419px) {
  .cards { grid-template-columns: 1fr; }
  .hero__cta { width: 100%; }
  .btn { flex: 1; justify-content: center; }
}
