/* =========================================================
   个人作品集 · 蓝色渐变 / 毛玻璃液态风格 共享样式
   ========================================================= */

:root {
  --paper: #ffffff;
  --bg-1: #eef3fb;
  --bg-2: #f3f7fd;
  --ink: #0f1b2d;
  --ink-soft: #2b3a52;
  --muted: #6b7a93;
  --line: rgba(255,255,255,.65);
  --line-strong: rgba(120,140,180,.30);

  --accent: #3b6ef0;        /* 主蓝 */
  --accent-2: #22c3ee;      /* 青 */
  --accent-3: #6f5cf0;      /* 靛紫 */
  --accent-light: #a9c8f7;  /* 浅蓝（hover 边框高亮） */
  --accent-soft: #e6efff;
  --grad: linear-gradient(135deg, #3b6ef0 0%, #22c3ee 100%);
  --grad-soft: linear-gradient(135deg, #e6efff, #eafafd);

  --glass-bg: rgba(255,255,255,.55);
  --glass-brd: rgba(255,255,255,.70);
  --card-solid: rgba(255,255,255,.94);   /* 运营数据卡片：近不透明白卡，避开 backdrop-filter 黑框/掉帧 */
  --shadow: 0 1px 2px rgba(20,40,80,.05), 0 12px 36px rgba(40,80,160,.10);
  --shadow-hover: 0 2px 8px rgba(20,40,80,.08), 0 22px 60px rgba(40,80,160,.18);

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(160deg, var(--bg-1), var(--bg-2) 60%, #eef4fb);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

/* 液态背景光斑 */
.blob-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  animation: drift 18s ease-in-out infinite;
  will-change: transform;
}
.blob.b1 { width: 460px; height: 460px; left: -120px; top: -80px; background: radial-gradient(circle, #3b6ef0, transparent 70%); }
.blob.b2 { width: 520px; height: 520px; right: -160px; top: 80px; background: radial-gradient(circle, #22c3ee, transparent 70%); animation-delay: -6s; }
.blob.b3 { width: 420px; height: 420px; left: 30%; bottom: -160px; background: radial-gradient(circle, #6f5cf0, transparent 70%); opacity:.32; animation-delay: -11s; }
@keyframes drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(40px,-30px) scale(1.08); }
  66%     { transform: translate(-30px,25px) scale(.95); }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { margin: 0; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; color: var(--ink); }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* 毛玻璃通用 */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow);
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(238,243,251,.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-weight: 700; font-size: 18px; letter-spacing: .02em; display: flex; align-items: center; gap: 10px; }
.brand .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--grad); display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  font-size: 14.5px; color: var(--ink-soft);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-links a:hover { background: rgba(59,110,240,.10); color: var(--accent); }
.nav-links a.active { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(59,110,240,.30); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-strong);
  border-radius: 10px; width: 42px; height: 40px; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px;
  background: var(--ink); transform: translate(-50%,-50%); transition: .25s var(--ease);
}
.nav-toggle span::before { transform: translate(-50%,-7px); }
.nav-toggle span::after  { transform: translate(-50%, 5px); }

/* ---------- 通用区块 ---------- */
.section { padding: 36px 0; }
.section--tight { padding: 40px 0 56px; }
html { scroll-behavior: smooth; }
.section-head { margin-bottom: 24px; max-width: 760px; }
.eyebrow { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 14px; }
.section-title { font-size: clamp(26px, 4vw, 38px); }
.section-desc { color: var(--muted); margin-top: 14px; font-size: 15.5px; }

/* ---------- 视觉设计页：标题区 + 筛选 ---------- */

/* ---------- 首页 Hero + 轮播（上下排列，自适应高度） ---------- */
.hero {
  position: relative;                 /* 让向下箭头可定位 */
  padding: 56px 0 48px;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 38px;
  text-align: center;
}
.hero h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.12; letter-spacing: -.02em; }
.hero .lead { margin-top: 18px; font-size: 16px; color: var(--ink-soft); max-width: 540px; margin-left: auto; margin-right: auto; }
.hero .tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag {
  font-size: 13px; padding: 6px 13px; border-radius: 999px;
  color: var(--ink-soft); background: rgba(255,255,255,.6);
  border: 1px solid var(--line-strong); backdrop-filter: blur(8px);
}
.cta-row { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px;
  border-radius: 999px; font-size: 14.5px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(59,110,240,.34); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(59,110,240,.44); }
.btn-ghost { background: rgba(255,255,255,.6); border-color: var(--line-strong); color: var(--ink); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.85); }

/* ========== 首页：3D Cover Flow 轮播（深色背景 · 扇形卡片） ========== */
.hero-showcase {
  position: relative;
  width: 100%;
  max-width: 860px;
  height: 420px;
  margin: 0 auto;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 舞台 */
.cf-stage {
  position: relative;
  width: 320px;
  height: 380px;
  transform-style: preserve-3d;
}

/* 卡片 */
.cf-card {
  position: absolute;
  left: 0;
  top: 0;
  width: 300px;
  height: 360px;
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,.20);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 20px 50px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.06) inset;
  transform-origin: center center;
  transition:
    transform .55s cubic-bezier(.25,.46,.45,.94),
    opacity   .45s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
  cursor: pointer;
}

/* 卡片内部内容 */
.cf-card-inner {
  position: relative;
  z-index: 2;
}
.cf-card .cf-name {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.2;
  color: #fff;
}
.cf-card .cf-sub {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  color: rgba(255,255,255,.65);
  font-weight: 400;
  letter-spacing: .02em;
}

/* 中间卡徽章 */
.cf-card .cf-badge {
  position: absolute;
  top: -8px;
  right: -4px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.30);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}

/* ---- 左右箭头 ---- */
.cf-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #334;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, transform .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}
.cf-arrow:hover {
  background: rgba(255,255,255,.36);
  transform: translateY(-50%) scale(1.08);
}
.cf-prev { left: 0; }
.cf-next { right: 0; }

/* ---- 指示点 ---- */
.cf-dots {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 100;
}
.cf-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(120,125,145,.30);
  cursor: pointer;
  padding: 0;
  transition: background .25s, transform .25s;
}
.cf-dot.active { background: var(--muted); transform: scale(1.25); }

/* 小屏适配 */
@media (max-width: 640px) {
  .hero-showcase { height: 300px; max-width: 380px; }
  .cf-stage { width: 200px; height: 240px; }
  .cf-card { width: 184px; height: 224px; border-radius: 18px; padding: 20px 16px; }
  .cf-card .cf-name { font-size: 17px; }
  .cf-card .cf-sub { font-size: 12px; }
  .cf-card .cf-badge { font-size: 10.5px; padding: 4px 10px; top: -4px; }
  .cf-arrow { width: 34px; height: 34px; font-size: 19px; }
}

/* 向下滚动引导箭头 */
.scroll-hint {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 5;
  animation: hintBob 1.8s ease-in-out infinite;
}
.scroll-hint svg { width: 22px; height: 22px; display: block; }
.scroll-hint:hover { color: var(--accent); }
@keyframes hintBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(7px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint { animation: none; }
}

/* ---------- 个人优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.adv-card {
  border-radius: var(--radius); padding: 28px 26px;
  background: var(--glass-bg); backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-brd); box-shadow: var(--shadow);
  transition: transform .3s var(--ease);
  will-change: transform; backface-visibility: hidden;
  position: relative; overflow: hidden;
}
.adv-card:hover { transform: translateY(-6px) scale(1.06); box-shadow: var(--shadow-hover); }
.adv-card .ico {
  width: 46px; height: 46px; border-radius: 13px; background: var(--grad);
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-size: 22px; margin-bottom: 16px; box-shadow: 0 8px 20px rgba(59,110,240,.35);
}
.adv-card h4 { font-size: 18px; }
.adv-card p { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* ---------- 个人简介（白框） ---------- */
.intro-card {
  display: flex; gap: 30px; align-items: center;
  background: rgba(255,255,255,.55);
  border: 2px solid rgba(255,255,255,.92);
  border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
  margin-bottom: 34px;
  backdrop-filter: blur(12px) saturate(140%);
}
.intro-media {
  flex: 0 0 200px; aspect-ratio: 1 / 1; border-radius: 16px;
  overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.92); font-size: 14px; letter-spacing: .04em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
}
.intro-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.intro-ph-tip { padding: 12px; text-align: center; line-height: 1.6; }
.intro-body { flex: 1 1 auto; min-width: 0; }
.intro-name { font-size: clamp(22px, 3vw, 28px); font-weight: 800; }
.intro-role { margin-top: 6px; color: var(--brand); font-weight: 600; font-size: 15px; }
.intro-text { margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.75; }

/* ---------- 作品画廊 / 卡片（毛玻璃） ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-btn {
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.6);
  color: var(--ink-soft); padding: 8px 16px; border-radius: 999px; font-size: 14px; cursor: pointer;
  backdrop-filter: blur(8px); transition: .2s var(--ease);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(59,110,240,.3); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.work {
  background: var(--glass-bg); backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-brd); border-radius: var(--radius); overflow: hidden;
  cursor: pointer; transition: transform .3s var(--ease);
  display: flex; flex-direction: column;
  will-change: transform; backface-visibility: hidden;
}
.work:hover { transform: translateY(-5px) scale(1.05); box-shadow: var(--shadow-hover); }
.work .thumb { aspect-ratio: 3/2; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.95); font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.work .thumb.tall { aspect-ratio: 5/4; }
.work .meta { padding: 14px 16px 16px; flex: 1 1 auto; }
.work .meta .cat { font-size: 12px; color: var(--accent); font-weight: 700; letter-spacing: .04em; }
.work .meta h4 { font-size: 16.5px; margin-top: 4px; font-weight: 600; }
.work .meta .sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
/* 项目介绍：富文本框，随内容自适应高度（文本多大框多大） */
.work-intro {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.work-intro strong { color: var(--ink); font-weight: 600; }

/* 蓝色系占位渐变 */
.ph-a { background: linear-gradient(135deg,#3b6ef0,#22c3ee); }
.ph-b { background: linear-gradient(135deg,#2563eb,#60a5fa); }
.ph-c { background: linear-gradient(135deg,#0891b2,#22d3ee); }
.ph-d { background: linear-gradient(135deg,#6f5cf0,#8b9cf6); }
.ph-e { background: linear-gradient(135deg,#4f7df0,#7dd3fc); }
.ph-f { background: linear-gradient(135deg,#1e3a8a,#3b82f6); }

/* ---------- 运营插画（轮播） ---------- */
.illu-slider {
  position: relative;
  margin-bottom: 64px;
  overflow: hidden;
  border-radius: var(--radius);
}
.illu-track {
  position: relative;
}
.illu-slide {
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s cubic-bezier(.4,0,.2,1);
}
.illu-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}
.illu-big {
  width: 100%;
  border-radius: var(--radius);
  min-height: 440px;
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.illu-big .kicker { font-size: 13px; opacity: .85; letter-spacing: .1em; text-transform: uppercase; }
.illu-big h3 { color: #fff; font-size: 28px; margin-top: 10px; }
.illu-big p { margin-top: 10px; opacity: .9; font-size: 15px; line-height: 1.6; }
.illu-side { display: grid; gap: 20px; }
.illu-side .card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius);
  padding: 24px 26px;
  backdrop-filter: blur(18px) saturate(160%);
}
.illu-side .card h4 { font-size: 18px; }
.illu-side .card p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }

/* 下方点位 */
.illu-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 32px;
}
.illu-dots button {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(140,145,165,.32);
  cursor: pointer;
  transition: background .25s, transform .25s;
  padding: 0;
}
.illu-dots button.active { background: var(--muted); transform: scale(1.25); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 10px; }
.step {
  background: var(--glass-bg); border: 1px solid var(--glass-brd); border-radius: var(--radius);
  padding: 24px; backdrop-filter: blur(18px) saturate(160%);
}
.step .n {
  width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft);
  color: var(--accent); font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.step h4 { font-size: 16px; }
.step p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }

/* ---------- 视频展示 ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card {
  background: var(--glass-bg); border: 1px solid var(--glass-brd); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s var(--ease);
  will-change: transform; backface-visibility: hidden;
  backdrop-filter: blur(18px) saturate(160%);
}
.video-card:hover { transform: translateY(-5px) scale(1.05); box-shadow: var(--shadow-hover); }
.video-cover { aspect-ratio: 16/9; position: relative; display: flex; align-items: center; justify-content: center; color: #fff; }
.video-cover .play {
  width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.18); transition: transform .2s var(--ease);
}
.video-card:hover .play { transform: scale(1.08); }
.video-cover .play::after { content: ""; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--accent); margin-left: 4px; }
.video-cover .plat { position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 600; background: rgba(0,0,0,.5); color: #fff; padding: 4px 10px; border-radius: 999px; }
.video-meta { padding: 18px 20px; }
.video-meta h4 { font-size: 17px; font-weight: 600; }
.video-meta .sub { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.video-meta .link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13.5px; color: var(--accent); font-weight: 700; }

/* ---------- 运营数据 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 46px; }
.stat {
  background: var(--card-solid); border: 1px solid var(--glass-brd); border-radius: var(--radius);
  padding: 24px;
}
.stat .label { font-size: 13.5px; color: var(--muted); }
.stat .value { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin-top: 8px; font-variant-numeric: tabular-nums;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .delta { font-size: 13px; margin-top: 6px; font-weight: 700; }
.delta.up { color: #16a37b; }
.delta.down { color: #e0532f; }

.chart-card {
  background: var(--card-solid); border: 1px solid var(--glass-brd); border-radius: var(--radius);
  padding: 28px 30px; margin-bottom: 22px;
}
.chart-card h3 { font-size: 19px; }
.chart-card .cap { font-size: 13.5px; color: var(--muted); margin-top: 6px; margin-bottom: 24px; }

.bars { display: flex; align-items: flex-end; gap: 14px; height: 220px; padding-top: 10px; border-bottom: 1px solid var(--line-strong); }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; height: 100%; justify-content: flex-end; }
.bar { width: 100%; max-width: 56px; background: var(--grad); border-radius: 8px 8px 0 0; transform: scaleY(0); transform-origin: bottom; transition: transform .8s var(--ease); will-change: transform; }
.bar.grow { transform: scaleY(1); }
.bar-col .blabel { font-size: 12.5px; color: var(--muted); }
.bar-col .bval { font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-soft); }

.chart-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.spark { width: 100%; height: 200px; }

/* 粉丝增长：新增/取关/净增 三联指标 */
.fan-sub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.fan-sub .fs { text-align: center; padding: 12px 6px; background: rgba(255,255,255,.55); border-radius: 12px; }
.fan-sub em { display: block; font-size: 12px; font-style: normal; color: var(--muted); margin-bottom: 4px; }
.fan-sub b { font-size: 21px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }

.data-table { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 14px; }
.data-table th, .data-table td { text-align: left; padding: 13px 12px; border-bottom: 1px solid var(--line-strong); }
.data-table th { color: var(--muted); font-weight: 600; font-size: 13px; }
.data-table td { font-variant-numeric: tabular-nums; }

/* ====== 平台切换 Tab ====== */
.platform-tabs {
  display: flex;
  gap: 10px;
  margin: 28px 0 20px;
  flex-wrap: wrap;
}
.ptab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,.6);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.ptab svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.ptab:hover {
  background: var(--glass-bg);
  color: var(--ink);
  border-color: var(--accent-light);
}
.ptab.active {
  background: linear-gradient(135deg, #3b6ef0, #5b8cf9);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(59,110,240,.30);
}

@media (max-width: 700px) {
  .platform-tabs { justify-content: center; }
  .ptab span { display: none; }  /* 移动端只显示图标 */
  .ptab { padding: 10px 14px; }
}

/* ---------- 账号名称（平台切换时联动，支持多个） ---------- */
.account-name {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 10px 18px;
  background: var(--card-solid);
  border: 1px solid var(--glass-brd);
  border-radius: 999px;
  font-size: 14px;
}
.account-name .acc-label {
  color: var(--muted); font-weight: 500; flex-shrink: 0;
}
.account-name .acc-list { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.account-name .acc-pill {
  display: inline-flex; align-items: center; cursor: pointer;
  padding: 5px 16px; font: inherit; line-height: 1.4;
  background: var(--grad-soft);
  border: 1px solid rgba(59,110,240,.25);
  border-radius: 999px;
  color: var(--accent); font-weight: 700; font-size: 14px;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.account-name .acc-pill:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 10px rgba(59,110,240,.18);
}
.account-name .acc-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(59,110,240,.32);
}
/* 触屏：去掉 hover 残影 */
@media (hover: none) {
  .account-name .acc-pill:hover { box-shadow: none; }
}

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); background: rgba(255,255,255,.5); backdrop-filter: blur(18px); padding: 54px 0 44px; margin-top: 36px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr .8fr;
  gap: 48px 36px;
  align-items: start;
}
.foot-grid > div { min-width: 0; }
.foot-grid h4 {
  font-size: 15px; font-weight: 700; margin-bottom: 14px; letter-spacing: .3px;
}
.foot-grid p {
  font-size: 13.5px; line-height: 1.75; color: var(--muted);
}
.foot-grid .contact a { color: var(--accent); font-weight: 600; }
.foot-links {
  display: flex; flex-direction: column; gap: 10px;
}
.foot-links a {
  color: var(--ink-soft); font-size: 14px; transition: color .2s;
}
.foot-links a:hover { color: var(--accent); }
.copyright { margin-top: 30px; font-size: 13px; color: var(--muted); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(15,27,45,.82); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; z-index: 100; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox .box { max-width: 1040px; width: 100%; background: var(--paper); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-hover); display: flex; flex-direction: row; }
.lightbox .box .img { position: relative; flex: 0 0 auto; width: 44%; max-width: 460px; aspect-ratio: 3/4; border-radius: 14px; margin: 18px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; font-size: 18px; text-align: center; padding: 24px; box-sizing: border-box; }
.lightbox .lb-img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 14px; }
.lightbox .lb-info { flex: 1; padding: 34px 36px; display: flex; flex-direction: column; min-width: 0; }
.lightbox .lb-cat { font-size: 12px; letter-spacing: .14em; color: var(--accent); font-weight: 700; text-transform: uppercase; }
.lightbox .lb-title { font-size: 23px; margin-top: 8px; font-weight: 700; color: var(--ink); }
.lightbox .lb-key { margin-top: 6px; font-weight: 700; color: var(--ink); font-size: 14px; letter-spacing: .02em; }
.lightbox .lb-intro { margin-top: 16px; font-size: 14.5px; line-height: 1.75; color: var(--muted); }
.lightbox .lb-link { margin-top: 22px; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 11px 22px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; text-decoration: none; transition: opacity .2s; }
.lightbox .lb-link:hover { opacity: .9; }
.lightbox .close { position: absolute; top: 22px; right: 26px; background: rgba(255,255,255,.16); border: none; color: #fff; width: 42px; height: 42px; border-radius: 50%; font-size: 20px; cursor: pointer; z-index: 2; }
@media (max-width: 640px) {
  .lightbox { padding: 18px; }
  .lightbox .box { flex-direction: column; }
  .lightbox .box .img { width: calc(100% - 36px); max-width: none; margin: 18px auto 0; }
  .lightbox .lb-info { padding: 22px 22px 26px; }
}

/* ---------- 统一悬浮轻微放大 ---------- */
.illu-side .card { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
/* 毛玻璃卡片：hover 不做位移(会触发 backdrop-filter 重绘卡帧)，仅以阴影+边框高亮反馈 */
.stat, .chart-card { transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
.work:hover, .video-card:hover, .adv-card:hover, .illu-side .card:hover {
  transform: translate3d(0,-6px,0) scale(1.025);
  box-shadow: var(--shadow-hover);
}
.stat:hover, .chart-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-light);
}

/* ---------- 响应式 ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-showcase { max-width: 520px; margin: 0 auto; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery, .video-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .chart-2col { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .section { padding: 40px 0; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0; background: rgba(255,255,255,.92);
    backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); flex-direction: column;
    align-items: stretch; gap: 0; padding: 10px 18px 18px; transform: translateY(-12px);
    opacity: 0; pointer-events: none; transition: .22s var(--ease);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
  .nav-toggle { display: block; }
  .gallery, .video-grid, .steps, .stat-grid, .adv-grid { grid-template-columns: 1fr; }
  .intro-card { flex-direction: column; align-items: stretch; gap: 18px; text-align: center; }
  .intro-media { flex-basis: auto; width: 160px; margin: 0 auto; }
  .intro-role { font-size: 14px; }
}

/* ===== 移动端增强（覆盖/补充上方 640 规则） ===== */
@media (max-width: 640px) {
  /* 导航：汉堡菜单下拉 */
  .nav { height: 60px; }
  .nav-links {
    top: 60px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 16px 32px rgba(20,40,80,.12);
    padding: 8px 18px 16px;
  }
  .nav-links a { padding: 13px 14px; font-size: 15px; }

  /* 首页 hero */
  .hero { padding: 40px 0 36px; }
  .hero-grid { gap: 30px; }
  .hero h1 { font-size: clamp(27px, 8vw, 34px); }
  .hero .lead { font-size: 15px; }
  .tags { gap: 8px; }
  .tag { font-size: 12.5px; padding: 5px 11px; }

  /* 插画页轮播 */
  .illu-slider { margin-bottom: 40px; }
  .illu-big { min-height: 300px; padding: 24px; }
  .illu-big h3 { font-size: 23px; }
  .illu-big .kicker { font-size: 12px; }
  .illu-big p { font-size: 14px; }
  .illu-side { gap: 14px; }
  .illu-side .card { padding: 18px 20px; }
  .illu-side .card h4 { font-size: 16px; }
  .illu-side .card p { font-size: 13.5px; }

  /* 视频页 */
  .video-meta { padding: 16px 18px; }
  .video-meta h4 { font-size: 16px; }
  .video-cover .play { width: 54px; height: 54px; }

  /* 数据页 */
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 30px; }
  .stat { padding: 18px 16px; }
  .stat .value { font-size: 27px; }
  .chart-card { padding: 22px 18px; }
  .chart-card .cap { margin-bottom: 18px; }
  .bars { overflow-x: auto; gap: 10px; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .bar-col { min-width: 52px; }
  .bar-col .blabel, .bar-col .bval { font-size: 11px; white-space: nowrap; }
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .data-table { width: 100%; min-width: 560px; }
  .data-table th, .data-table td { padding: 11px 12px; font-size: 13px; }

  /* 数据页：手机端进一步适配 */
  .platform-tabs { gap: 8px; margin: 22px 0 16px; }
  .ptab { padding: 9px 14px; }
  .chart-card h3 { font-size: 17px; }
  .chart-card .cap { font-size: 12.5px; }
  .bars { height: 180px; }
  .spark { height: 168px; }

  /* 页脚 */
  .site-footer { padding: 40px 0 30px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid h4 { margin-bottom: 10px; }
}

/* 超窄屏（小手机）进一步压缩 */
@media (max-width: 380px) {
  .wrap { padding: 0 14px; }
  .hero h1 { font-size: 25px; color: #fff; }
  .hero-showcase { max-width: 320px; height: 260px; }
  .cf-stage { width: 168px; height: 200px; }
  .cf-card { width: 152px; height: 188px; border-radius: 16px; padding: 16px 14px; }
  .cf-card .cf-name { font-size: 15.5px; }
  .cf-card .cf-sub { font-size: 11px; }
  .cf-arrow { width: 30px; height: 30px; font-size: 16px; }
  .illu-big { min-height: 260px; padding: 20px; }
  .illu-big h3 { font-size: 20px; }
  .stat .value { font-size: 24px; }
  .data-table th, .data-table td { padding: 10px 10px; font-size: 12.5px; }

  /* 数据页：超窄屏再压缩 */
  .stat-grid { gap: 10px; }
  .platform-tabs { gap: 6px; }
  .ptab { padding: 8px 12px; }
  .fan-sub { gap: 8px; }
  .fan-sub b { font-size: 18px; }
  .fan-sub em { font-size: 11px; }
  .chart-card { padding: 20px 16px; }
}

/* 触屏设备：取消 hover 放大，避免点击后卡片「粘」在放大态 */
@media (hover: none) {
  .work:hover, .video-card:hover, .adv-card:hover,
  .stat:hover, .chart-card:hover, .illu-side .card:hover {
    transform: none;
    box-shadow: var(--shadow);
  }
}

/* =========================================================
   项目展示页（project.html）
   布局：CSS Grid 3列2行
   [ 左高图(跨2行) ] [ 右上图 ] [            ]
   [                ] [ 右下图 ] [ 文本框     ]
   ========================================================= */
.rp-page { padding: 36px 0 80px; min-height: 80vh; }

/* 返回按钮：左上蓝色圆形箭头 */
.rp-back {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #E6F1FB;
  border: 1px solid #B5D4F4;
  color: #185FA5;
  font-size: 20px; line-height: 1;
  text-decoration: none;
  margin-bottom: 18px;
  transition: all .25s ease;
}
.rp-back:hover {
  background: #378ADD;
  border-color: #378ADD;
  color: #fff;
  transform: translateX(-3px);
}
.rp-back svg { width: 18px; height: 18px; }

/* ---- 标题区 ---- */
.rp-header { margin: 28px 0 8px; }
.rp-h-title {
  font-size: 42px; font-weight: 900; letter-spacing: -.02em;
  color: var(--ink); line-height: 1.15; margin: 0;
}
.rp-h-meta {
  font-size: 14px; color: var(--muted); margin: 8px 0 0;
}
.rp-h-cat {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  background: rgba(59,110,240,.10); color: var(--accent);
  font-size: 12.5px; font-weight: 700; margin-right: 8px;
}

/* ---- 概述段落 ---- */
.rp-intro { margin: 24px 0 36px; max-width: 760px; }
.rp-intro p {
  font-size: 15px; line-height: 1.85; color: var(--muted);
  margin: 0;
}

/* ====== 主内容：全宽横幅 + 文案 ====== */

/* 全宽横幅大图 */
.rp-banner {
  margin: 0 0 32px;
}
.rp-banner-inner {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
}
.rp-banner-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 下方文案区域（白色背景） */
.rp-body {
  background: #fff;
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.rp-body-title {
  font-size: 20px; font-weight: 800; color: var(--ink);
  margin: 0 0 16px;
}
.rp-body-content {
  font-size: 15px; line-height: 1.9; color: var(--muted);
}
.rp-body-content p { margin: 0 0 12px; }
.rp-body-content p:last-child { margin-bottom: 0; }

/* ====== 响应式 ====== */
@media (max-width: 900px) {
  .rp-h-title { font-size: 32px; }
  .rp-banner-inner { aspect-ratio: 16 / 10; }
  .rp-body { padding: 24px 26px; }
}

@media (max-width: 640px) {
  .rp-page { padding: 20px 0 40px; }
  .rp-h-title { font-size: 26px; }
  .rp-banner-inner { aspect-ratio: 4 / 3; border-radius: 14px; }
  .rp-body { padding: 20px 18px; border-radius: 12px; }
  .rp-body-title { font-size: 17px; }
  .rp-body-content { font-size: 14px; }
}
