/* ============================================================
   PINGAN AI STUDIO — 主样式
   设计语言：黑 / 白 / 银灰 + 微量科技辉光（Apple 风格）
   ============================================================ */

:root {
  --bg: #000000;
  --bg-elev: #0d0d10;
  --bg-card: #131318;
  --bg-card-hover: #17171d;
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #6e6e73;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --blue: #2997ff;
  --glow-a: #5ac8fa;
  --glow-b: #8e8ef7;
  --glow-c: #c084fc;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --nav-h: 64px;
  --font-en: "Inter", -apple-system, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-cn: "Inter", -apple-system, "SF Pro SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: rgba(41, 151, 255, 0.35); color: #fff; }

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2c2c31; border-radius: 5px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #3a3a41; }

/* ============ 通用容器 ============ */
.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

.section { padding: 110px 0; position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--glow-a), var(--glow-c));
}

.section-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-sub {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 17px;
  max-width: 560px;
}

/* 渐变文字 */
.grad-text {
  background: linear-gradient(100deg, #ffffff 20%, #b8c6e0 45%, #d8c9f0 70%, #ffffff 95%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 7s linear infinite;
}
@keyframes gradShift { to { background-position: 200% center; } }

/* ============ 入场动画 ============ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; transform: none; }

/* 页面切换淡入 */
.page-enter { animation: pageEnter 0.55s var(--ease) both; }
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ============ 导航 ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, background 0.4s;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(0, 0, 0, 0.78); }

.nav-inner {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2a2a31, #101014);
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  font-family: var(--font-en);
  font-weight: 700; font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.nav-logo-text {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text);
}
.nav-logo-text em {
  font-style: normal;
  font-weight: 500;
  color: var(--text-3);
  margin-left: 7px;
  letter-spacing: 0.18em;
  font-size: 11px;
}

.nav-links { display: flex; gap: 6px; }
.nav-links a {
  position: relative;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--text-2);
  border-radius: 999px;
  transition: color 0.3s, background 0.3s;
}
.nav-links a span {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-3);
  margin-left: 7px;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.nav-links a.active span { color: var(--glow-a); }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav-toggle span {
  width: 20px; height: 1.5px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* 移动端菜单 */
.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 99;
  background: rgba(0, 0, 0, 0.92);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 12px 24px 28px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a {
  padding: 16px 4px;
  font-size: 17px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.mobile-menu a span {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-3);
}

/* ============ Hero 首屏 ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 24s var(--ease) infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, #000 4%, rgba(0,0,0,0.35) 42%, rgba(0,0,0,0.55) 100%),
    linear-gradient(to right, rgba(0,0,0,0.55), transparent 55%);
}

/* 辉光装饰 */
.hero-glow {
  position: absolute;
  z-index: 1;
  width: 60vw; height: 60vw;
  max-width: 900px; max-height: 900px;
  top: -30%; right: -18%;
  background: radial-gradient(circle, rgba(90, 200, 250, 0.13), rgba(142, 142, 247, 0.07) 40%, transparent 68%);
  filter: blur(40px);
  animation: breathe 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
  padding: 160px 0 130px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  margin-bottom: 34px;
  animation: fadeUp 1s var(--ease) 0.15s both;
}
.hero-tag i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--glow-a);
  box-shadow: 0 0 12px 2px rgba(90, 200, 250, 0.8);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero-title {
  font-family: var(--font-en);
  font-size: clamp(52px, 9.5vw, 124px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.02;
  text-transform: uppercase;
  animation: fadeUp 1.1s var(--ease) 0.3s both;
}
.hero-title .studio { display: block; font-weight: 300; letter-spacing: 0.08em; color: var(--text-2); font-size: 0.42em; margin-top: 14px; }

.hero-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  animation: fadeUp 1.1s var(--ease) 0.45s both;
}
.hero-roles span {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-roles span::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--glow-a), var(--glow-c));
}

.hero-desc {
  margin-top: 26px;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
  animation: fadeUp 1.1s var(--ease) 0.55s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
  animation: fadeUp 1.1s var(--ease) 0.7s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.35s;
}
.btn svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: #f5f5f7;
  color: #000;
}
.btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.18);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* 滚动指示 */
.scroll-hint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.35em;
  animation: fadeUp 1s var(--ease) 1.2s both;
}
.scroll-hint::after {
  content: "";
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============ 数据条 ============ */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #050507, #000);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 56px 32px;
  text-align: center;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 26%;
  height: 48%;
  width: 1px;
  background: var(--border);
}
.stat-num {
  font-family: var(--font-en);
  font-size: clamp(38px, 4.5vw, 54px);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff, #9aa4b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 14px;
}
.stat-en {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--text-3);
  margin-top: 4px;
  text-transform: uppercase;
}

/* ============ 作品卡片 ============ */
.work-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* 筛选 */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-size: 14px;
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { color: var(--text); border-color: var(--border-strong); }
.filter-btn.active {
  background: #f5f5f7;
  color: #000;
  border-color: #f5f5f7;
  font-weight: 600;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.work-card {
  grid-column: span 2;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s var(--ease), border-color 0.4s, background 0.4s, box-shadow 0.5s;
}
.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}
.work-card.featured { grid-column: span 6; }

/* 卡片内媒体 */
.work-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #060608;
  overflow: hidden;
}
.featured .work-media { aspect-ratio: 21 / 9; }
.work-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), opacity 0.5s;
  opacity: 0.82;
}
.work-card:hover .work-media video {
  transform: scale(1.045);
  opacity: 1;
}
.work-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 45%);
  pointer-events: none;
}

/* 悬停播放指示 */
.play-badge {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  transition: all 0.4s var(--ease);
}
.play-badge svg { width: 15px; height: 15px; fill: #fff; margin-left: 2px; }
.work-card:hover .play-badge {
  background: #f5f5f7;
  border-color: #f5f5f7;
  transform: scale(1.08);
}
.work-card:hover .play-badge svg { fill: #000; }

/* 类型徽标 */
.work-badges {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  display: flex;
  gap: 8px;
}
.badge {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.9);
}
.badge.hl {
  background: linear-gradient(120deg, rgba(90, 200, 250, 0.25), rgba(192, 132, 252, 0.25));
  border-color: rgba(90, 200, 250, 0.45);
}

/* 集数角标 */
.ep-badge {
  position: absolute;
  bottom: 14px; right: 16px;
  z-index: 2;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
  padding: 5px 11px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* 卡片信息 */
.work-info { padding: 24px 26px 28px; }
.work-info h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.work-info h3 .arrow {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  transition: all 0.35s var(--ease);
}
.work-info h3 .arrow svg { width: 12px; height: 12px; stroke: var(--text-2); transition: stroke 0.3s; }
.work-card:hover .work-info h3 .arrow {
  background: #f5f5f7;
  border-color: #f5f5f7;
  transform: rotate(-45deg);
}
.work-card:hover .work-info h3 .arrow svg { stroke: #000; }

.work-cat {
  margin-top: 6px;
  font-size: 13px;
  color: var(--glow-a);
  letter-spacing: 0.06em;
}
.work-desc {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 卡片入场（筛选切换） */
.card-in { animation: cardIn 0.6s var(--ease) both; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(26px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

/* ============ 详情页 ============ */
.detail { padding-top: calc(var(--nav-h) + 60px); }

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 36px;
  transition: color 0.3s;
}
.detail-back:hover { color: var(--text); }
.detail-back svg { width: 15px; height: 15px; stroke: currentColor; transform: rotate(180deg); }

.detail-head { margin-bottom: 40px; }
.detail-head .work-cat { font-size: 14px; }
.detail-title {
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-top: 12px;
  max-width: 860px;
}
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 22px;
  color: var(--text-2);
  font-size: 14px;
}
.detail-meta span { display: flex; align-items: center; gap: 8px; }
.detail-meta i {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--glow-a), var(--glow-c));
}

/* 播放器 */
.player-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #060608;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}
.player-wrap video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

/* 集数选择 */
.episodes { margin-top: 20px; }
.ep-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ep-btn {
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: all 0.3s var(--ease);
}
.ep-btn:hover { color: var(--text); border-color: var(--border-strong); }
.ep-btn.active {
  background: #f5f5f7;
  color: #000;
  border-color: #f5f5f7;
}

/* 详情信息区 */
.detail-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  margin-top: 64px;
}
.detail-block h4 {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}
.detail-block p { color: var(--text-2); font-size: 15.5px; line-height: 1.9; }
.detail-block p + p { margin-top: 14px; }

.highlight-list { list-style: none; display: grid; gap: 12px; }
.highlight-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  font-size: 14.5px;
  color: var(--text-2);
  transition: border-color 0.3s, background 0.3s;
}
.highlight-list li:hover { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.045); }
.highlight-list li::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  border-radius: 50%;
  margin-top: 8px;
  background: linear-gradient(135deg, var(--glow-a), var(--glow-c));
  box-shadow: 0 0 10px rgba(90, 200, 250, 0.5);
}
.highlight-list li strong { color: var(--text); font-weight: 600; }

/* 创作阵容 */
.credits {
  margin-top: 26px;
  display: grid;
  gap: 10px;
}
.credit-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.credit-row span:first-child { color: var(--text-3); }
.credit-row span:last-child { color: var(--text); font-weight: 500; }

/* 下一项目 */
.next-project {
  margin-top: 100px;
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.next-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 26px;
}

/* ============ 首页精选 ============ */
.feature-section .work-grid { grid-template-columns: repeat(2, 1fr); }
.feature-section .work-card { grid-column: span 1; }
.feature-section .work-card.wide { grid-column: span 2; }
.feature-section .work-media { aspect-ratio: 16 / 9; }
.feature-section .work-card.wide .work-media { aspect-ratio: 21 / 9; }

/* ============ 能力标签带 ============ */
.skills-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #050507;
  overflow: hidden;
  padding: 34px 0;
}
.skills-marquee {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.skills-marquee span {
  display: flex;
  align-items: center;
  gap: 56px;
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-3);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.skills-marquee span i {
  font-style: normal;
  color: #3a3a41;
  font-size: 14px;
}
.skills-band:hover .skills-marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ CTA 区 ============ */
.cta {
  text-align: center;
  padding: 140px 0 150px;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  left: 50%; bottom: -55%;
  transform: translateX(-50%);
  width: 90vw; height: 90vw;
  max-width: 1000px; max-height: 1000px;
  background: radial-gradient(circle, rgba(90, 200, 250, 0.12), rgba(142, 142, 247, 0.06) 45%, transparent 70%);
  filter: blur(30px);
  animation: breathe 8s ease-in-out infinite;
  pointer-events: none;
}
.cta h2 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.cta p { margin-top: 18px; color: var(--text-2); font-size: 17px; }
.cta .hero-actions { justify-content: center; margin-top: 44px; }

/* ============ About 页 ============ */
.about-hero {
  padding: calc(var(--nav-h) + 90px) 0 80px;
  position: relative;
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.about-name {
  font-family: var(--font-en);
  font-size: clamp(56px, 8vw, 104px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(180deg, #fff 30%, #565660);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-name-cn {
  margin-top: 14px;
  font-size: 22px;
  color: var(--text-2);
  letter-spacing: 0.5em;
}
.about-role-tags {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-role-tags span {
  font-size: 15px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 12px;
}
.about-role-tags span::before {
  content: "";
  width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--glow-a), var(--glow-c));
}
.about-intro p {
  color: var(--text-2);
  font-size: 16.5px;
  line-height: 2;
}
.about-intro p strong { color: var(--text); font-weight: 600; }
.about-intro p + p { margin-top: 20px; }

/* 时间线 */
.timeline { margin-top: 90px; }
.timeline-list { margin-top: 44px; display: grid; gap: 0; }
.timeline-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 34px 0;
  border-top: 1px solid var(--border);
  transition: background 0.3s;
}
.timeline-item:hover { background: rgba(255, 255, 255, 0.015); }
.timeline-time {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-3);
  padding-top: 5px;
}
.timeline-time em {
  display: block;
  font-style: normal;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #4a4a52;
  text-transform: uppercase;
}
.timeline-item h3 { font-size: 19px; font-weight: 600; }
.timeline-item h3 span {
  margin-left: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--glow-a);
}
.timeline-item p {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.85;
  max-width: 640px;
}

/* 技能网格 */
.skill-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.skill-item {
  padding: 26px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
}
.skill-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.045);
}
.skill-item .ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(90, 200, 250, 0.14), rgba(192, 132, 252, 0.14));
  border: 1px solid rgba(90, 200, 250, 0.25);
  margin-bottom: 18px;
}
.skill-item .ico svg { width: 18px; height: 18px; stroke: var(--glow-a); }
.skill-item h3 { font-size: 16px; font-weight: 600; }
.skill-item p { margin-top: 8px; font-size: 13.5px; color: var(--text-2); line-height: 1.7; }

/* 服务列表 */
.service-list { margin-top: 44px; display: grid; gap: 14px; }
.service-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 28px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease);
}
.service-row:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.045);
  transform: translateX(6px);
}
.service-num {
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 700;
  color: #3d3d45;
  transition: color 0.3s;
}
.service-row:hover .service-num {
  background: linear-gradient(120deg, var(--glow-a), var(--glow-c));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.service-row h3 { font-size: 18px; font-weight: 600; }
.service-row p { margin-top: 6px; font-size: 14px; color: var(--text-2); }
.service-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
}
.service-arrow svg { width: 14px; height: 14px; stroke: var(--text-2); }

/* ============ Contact 页 ============ */
.contact {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 70px) 0 90px;
  position: relative;
  overflow: hidden;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: center;
  width: 100%;
}
.contact-title {
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.contact-sub { margin-top: 22px; color: var(--text-2); font-size: 17px; max-width: 460px; line-height: 1.9; }

.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  cursor: pointer;
  transition: transform 0.45s var(--ease), border-color 0.3s, background 0.3s, box-shadow 0.45s;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(90, 200, 250, 0.06), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(90, 200, 250, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.contact-card:hover::before { opacity: 1; }
.contact-ico {
  flex: none;
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(90, 200, 250, 0.13), rgba(192, 132, 252, 0.13));
  border: 1px solid rgba(90, 200, 250, 0.28);
}
.contact-ico svg { width: 22px; height: 22px; stroke: var(--glow-a); }
.contact-card-info { flex: 1; position: relative; }
.contact-card-label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-3);
}
.contact-card-value {
  margin-top: 6px;
  font-size: 19px;
  font-weight: 600;
  font-family: var(--font-en);
  letter-spacing: 0.01em;
}
.contact-card-note { font-size: 12.5px; color: var(--text-3); margin-top: 4px; }
.contact-copy {
  flex: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--glow-a);
  padding: 8px 16px;
  border: 1px solid rgba(90, 200, 250, 0.3);
  border-radius: 999px;
  transition: all 0.3s;
}
.contact-card:hover .contact-copy { background: rgba(90, 200, 250, 0.12); }

/* toast */
.toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 14px 28px;
  background: rgba(22, 22, 26, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  z-index: 200;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast::before {
  content: "✓";
  color: #34c759;
  margin-right: 9px;
  font-size: 13px;
}

/* ============ Footer ============ */
.footer {
  border-top: 1px solid var(--border);
  background: #050507;
  padding: 64px 0 40px;
}
.footer-inner {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.24em;
}
.footer-brand p {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-3);
}
.footer-nav { display: flex; gap: 28px; }
.footer-nav a {
  font-size: 13.5px;
  color: var(--text-2);
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--text); }
.footer-meta { font-size: 12.5px; color: #4a4a52; }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .work-grid { grid-template-columns: repeat(4, 1fr); }
  .work-card { grid-column: span 2; }
  .work-card.featured { grid-column: span 4; }
  .feature-section .work-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-section .work-card.wide { grid-column: span 2; }

  .detail-body { grid-template-columns: 1fr; gap: 44px; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 768px) {
  .container { width: calc(100% - 40px); }
  .section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-logo-text em { display: none; }

  .hero-content { padding: 130px 0 110px; }
  .hero-roles { gap: 8px 18px; }
  .hero-roles span { font-size: 14px; }
  .hero-actions .btn { padding: 13px 26px; font-size: 14px; }
  .scroll-hint { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 36px 16px; }
  .stat:nth-child(3)::before, .stat:nth-child(5)::before { display: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--border); }

  .work-grid { grid-template-columns: 1fr; gap: 20px; }
  .work-card, .work-card.featured { grid-column: span 1; }
  .feature-section .work-grid { grid-template-columns: 1fr; }
  .feature-section .work-card, .feature-section .work-card.wide { grid-column: span 1; }
  .feature-section .work-media, .feature-section .work-card.wide .work-media { aspect-ratio: 16 / 9; }
  .work-media, .featured .work-media { aspect-ratio: 16 / 9; }
  .work-info { padding: 20px 20px 24px; }
  .work-info h3 { font-size: 17px; }

  .detail { padding-top: calc(var(--nav-h) + 36px); }
  .detail-body { margin-top: 44px; }
  .timeline-item { grid-template-columns: 1fr; gap: 14px; padding: 26px 0; }
  .skill-grid { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .service-arrow { display: none; }
  .footer-inner { flex-direction: column; gap: 28px; }
  .cta { padding: 90px 0 100px; }
  .ep-list { gap: 8px; }
  .ep-btn { padding: 10px 16px; font-size: 12px; }
}

@media (max-width: 480px) {
  .skill-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-card-value { font-size: 15px; word-break: break-all; }
  .contact-copy { display: none; }
  .hero-title { font-size: 15vw; }
}

/* 减少动态效果偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
