/* ============================================================
   云图科技 · 项目作品集  —  Design System
   深空主题 · 玻璃拟态 · 渐变光效
   ============================================================ */

/* ---------- 基础变量 ---------- */
:root {
  --bg-0: #05060f;
  --bg-1: #0a0c1c;
  --bg-2: #101329;

  --text-1: #eef0ff;
  --text-2: #a7adcf;
  --text-3: #6b7299;

  --line: rgba(148, 163, 255, 0.10);
  --line-strong: rgba(148, 163, 255, 0.22);

  --glass: rgba(16, 19, 41, 0.55);
  --glass-strong: rgba(20, 24, 50, 0.78);

  --primary: #6366f1;
  --primary-2: #22d3ee;

  --grad-main: linear-gradient(100deg, #818cf8 0%, #22d3ee 55%, #a78bfa 100%);
  --grad-title: linear-gradient(100deg, #e0e7ff 0%, #93c5fd 40%, #67e8f9 75%, #c4b5fd 100%);

  --shadow-glow: 0 0 0 1px rgba(148,163,255,.08), 0 20px 60px -20px rgba(99,102,241,.35);
  --radius-lg: 22px;
  --radius-md: 14px;

  --font-sans: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Courier New", monospace;

  --nav-h: 68px;
  --ease: cubic-bezier(.22, .68, .25, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }

::selection { background: rgba(99, 102, 241, .45); color: #fff; }

/* 滚动条 */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3b3f6e, #262a4d);
  border-radius: 8px;
  border: 2px solid var(--bg-0);
}
::-webkit-scrollbar-thumb:hover { background: #4a4f85; }

/* ---------- 背景特效层 ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 78% -8%, rgba(99, 102, 241, .16), transparent 60%),
    radial-gradient(900px 520px at 8% 22%, rgba(34, 211, 238, .09), transparent 55%),
    radial-gradient(1000px 700px at 50% 120%, rgba(167, 139, 250, .10), transparent 60%),
    var(--bg-0);
}
#particles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
  opacity: .5;
}
.bg-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  animation: auroraFloat 18s var(--ease) infinite alternate;
  will-change: transform;
}
.aurora-1 { width: 520px; height: 520px; left: -140px; top: 6%; background: radial-gradient(circle, rgba(99,102,241,.5), transparent 65%); }
.aurora-2 { width: 460px; height: 460px; right: -120px; top: 34%; background: radial-gradient(circle, rgba(34,211,238,.36), transparent 65%); animation-delay: -6s; }
.aurora-3 { width: 560px; height: 560px; left: 30%; bottom: -260px; background: radial-gradient(circle, rgba(167,139,250,.34), transparent 65%); animation-delay: -12s; }
@keyframes auroraFloat {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(40px, -30px, 0) scale(1.08); }
  100% { transform: translate3d(-30px, 24px, 0) scale(.96); }
}

/* ---------- 滚动进度条 ---------- */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-main);
  z-index: 1000;
  box-shadow: 0 0 12px rgba(99, 102, 241, .8);
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 900;
  display: flex;
  align-items: center;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 9, 22, .72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: min(1180px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-mark {
  width: 36px; height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 6px 18px -6px rgba(99, 102, 241, .7);
}
.nav-logo-text { font-weight: 700; font-size: 16px; letter-spacing: .02em; display: flex; align-items: baseline; gap: 8px; }
.nav-logo-text em { font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .22em; color: var(--text-3); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 14.5px;
  color: var(--text-2);
  position: relative;
  transition: color .25s var(--ease);
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--grad-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--text-1); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links .nav-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 8px 24px -8px rgba(99, 102, 241, .65);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(99, 102, 241, .85); }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 22px; height: 2px; background: var(--text-1); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 通用 ---------- */
.section { position: relative; width: min(1180px, 92vw); margin: 0 auto; padding: 110px 0; }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .32em;
  color: var(--primary-2);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--grad-main); }
.section-title {
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.02em;
}
.section-desc { margin-top: 18px; color: var(--text-2); font-size: 16px; max-width: 560px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  box-shadow: 0 10px 30px -10px rgba(99, 102, 241, .8), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(99, 102, 241, .95); }
.btn-ghost {
  color: var(--text-1);
  border: 1px solid var(--line-strong);
  background: var(--glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(148, 163, 255, .45); background: rgba(30, 34, 68, .8); }
.btn-sm { padding: 9px 20px; font-size: 13.5px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 6vw 80px;
  text-align: center;
}
.hero-inner { width: min(900px, 100%); }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  border: 1px solid var(--line-strong);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 30px;
}
.hero-eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.hero-title {
  font-size: clamp(42px, 8vw, 86px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.035em;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-title-line { display: block; }
.grad-text {
  background: var(--grad-title);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-sub {
  margin: 26px auto 0;
  max-width: 620px;
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-2);
  min-height: 1.8em;
}
.type-caret {
  display: inline-block;
  width: 2px;
  height: 1.15em;
  margin-left: 3px;
  vertical-align: text-bottom;
  background: var(--primary-2);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.hero-cta { margin-top: 40px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* 统计条 */
.hero-stats {
  margin: 70px auto 0;
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(8px);
}
.stat {
  background: var(--glass-strong);
  padding: 24px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background .3s var(--ease);
}
.stat:hover { background: rgba(26, 31, 62, .92); }
.stat-num {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  font-family: var(--font-mono);
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1.1;
}
.stat-label { font-size: 13px; color: var(--text-3); letter-spacing: .06em; }

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  transition: border-color .3s var(--ease);
}
.scroll-hint:hover { border-color: var(--primary-2); }
.scroll-hint-dot {
  width: 4px; height: 9px;
  border-radius: 4px;
  background: var(--primary-2);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- 项目卡片 ---------- */
.project-list { display: flex; flex-direction: column; gap: 44px; }
.project-card {
  --acc: var(--accent, #818cf8);
  --acc-rgb: var(--accent-rgb, 129, 140, 248);
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
  box-shadow: 0 10px 40px -24px rgba(0,0,0,.6);
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--acc-rgb), .42);
  box-shadow: 0 30px 80px -30px rgba(var(--acc-rgb), .35);
}
/* hover 主题色光晕（跟随鼠标） */
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(640px 300px at var(--mx, 12%) var(--my, 0%), rgba(var(--acc-rgb), .14), transparent 60%);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.project-card:hover::before { opacity: 1; }

/* 视觉面板 */
.project-visual {
  position: relative;
  min-height: 400px;
  background:
    radial-gradient(420px 260px at 80% -10%, rgba(var(--acc-rgb), .30), transparent 65%),
    linear-gradient(160deg, rgba(var(--acc-rgb), .10), transparent 55%),
    #0b0e20;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 44px;
}
.pv-orb {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  top: -80px; right: -60px;
  background: radial-gradient(circle, rgba(var(--acc-rgb), .5), transparent 65%);
  filter: blur(40px);
  opacity: .6;
  transition: transform .8s var(--ease);
}
.project-card:hover .pv-orb { transform: scale(1.25); }
.pv-index {
  position: absolute;
  bottom: -12px; right: 22px;
  font-family: var(--font-mono);
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  color: rgba(var(--acc-rgb), .14);
  letter-spacing: -.04em;
  user-select: none;
  transition: color .5s var(--ease);
}
.project-card:hover .pv-index { color: rgba(var(--acc-rgb), .26); }

/* Mock 浏览器窗 */
.pv-mock {
  position: relative;
  z-index: 2;
  width: min(420px, 100%);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(13, 16, 34, .9);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04);
  overflow: hidden;
  transform: rotateX(4deg) rotateY(-5deg);
  transition: transform .6s var(--ease);
}
.project-card:hover .pv-mock { transform: rotateX(0) rotateY(0) translateY(-4px); }
.pv-browser {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.pv-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.pv-dot:nth-child(1) { background: #ff5f57; }
.pv-dot:nth-child(2) { background: #febc2e; }
.pv-dot:nth-child(3) { background: #28c840; }
.pv-url {
  margin-left: 10px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-3);
  background: rgba(255,255,255,.05);
  border-radius: 999px;
  padding: 3px 14px;
  flex: 1;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pv-body { padding: 26px; display: flex; flex-direction: column; gap: 16px; }

/* 邻里：Hero 线 + 卡片 */
.pv-hero-line {
  height: 14px;
  width: 62%;
  border-radius: 7px;
  background: linear-gradient(90deg, var(--ca), var(--cb));
  opacity: .9;
}
.pv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pv-card {
  height: 88px;
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  position: relative;
  overflow: hidden;
  animation: cardFloat 5s var(--ease) infinite;
}
.pv-card::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,.22);
}
.pv-card::before {
  content: "";
  position: absolute;
  top: 12px; left: 12px;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--ca), var(--cc));
  opacity: .85;
}
.pv-card-a::after { bottom: 20px; width: 55%; }
.pv-card-b::after { bottom: 20px; width: 70%; }
.pv-card-c::after { bottom: 20px; width: 45%; }
.pv-card:nth-child(2) { animation-delay: -1.6s; }
.pv-card:nth-child(3) { animation-delay: -3.2s; }
@keyframes cardFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* 星云 / 云图 GEO：侧栏仪表盘 */
.pv-mock-dash { display: flex; }
.pv-side {
  width: 46px;
  background: rgba(255,255,255,.05);
  border-right: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.pv-side::before {
  content: "";
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--ca), var(--cc));
  opacity: .8;
}
.pv-side-light { background: rgba(255,255,255,.07); }
.pv-main { flex: 1; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.pv-stat { height: 12px; border-radius: 6px; background: rgba(255,255,255,.16); }
.pv-stat-1 { width: 82%; }
.pv-stat-2 { width: 58%; background: rgba(255,255,255,.09); }
.pv-chart {
  flex: 1;
  min-height: 74px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(var(--acc-rgb),.4) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    rgba(255,255,255,.04);
  background-size: 22px 22px, 22px 22px, 100% 100%;
  position: relative;
  overflow: hidden;
}
.pv-chart::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 58%;
  background: linear-gradient(180deg, rgba(var(--acc-rgb), .08), rgba(var(--acc-rgb), .42));
  clip-path: polygon(0 78%, 12% 40%, 26% 62%, 42% 22%, 58% 48%, 74% 14%, 88% 36%, 100% 6%, 100% 100%, 0 100%);
}
.pv-rows { display: flex; flex-direction: column; gap: 10px; }
.pv-row { height: 10px; border-radius: 5px; background: rgba(255,255,255,.08); }
.pv-row:nth-child(1) { width: 92%; }
.pv-row:nth-child(2) { width: 68%; }

/* GEO 条形图 */
.pv-geo-bar {
  height: 16px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  position: relative;
  overflow: hidden;
}
.pv-geo-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: 8px;
  background: linear-gradient(90deg, var(--ca), var(--cc));
  opacity: .85;
  animation: barGrow 1.4s var(--ease) both;
  transform-origin: left;
}
.pv-geo-bar:nth-child(2) span { animation-delay: .12s; }
.pv-geo-bar:nth-child(3) span { animation-delay: .24s; }
.pv-geo-bar:nth-child(4) span { animation-delay: .36s; }
.pv-geo-bar:nth-child(5) span { animation-delay: .48s; }
@keyframes barGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* GeoLook：流程管道 */
.pv-mock-pipe { padding: 30px 26px; }
.pv-pipe { display: flex; align-items: center; gap: 0; }
.pv-node {
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: #0b0e20;
  background: rgba(255,255,255,.14);
  border: 2px solid rgba(255,255,255,.25);
  transition: all .4s var(--ease);
}
.pv-node.done { background: linear-gradient(135deg, var(--ca), var(--cc)); border-color: transparent; color: #0b0e20; }
.pv-node.active {
  background: transparent;
  border-color: var(--cc);
  color: var(--cc);
  animation: nodePulse 1.6s ease infinite;
}
@keyframes nodePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(var(--acc-rgb), .5); }
  50% { box-shadow: 0 0 0 9px rgba(var(--acc-rgb), 0); }
}
.pv-line { flex: 1; height: 2px; background: rgba(255,255,255,.16); margin: 0 8px; position: relative; overflow: hidden; }
.pv-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ca), var(--cc));
  transform-origin: left;
  animation: lineFill 2.2s var(--ease) both;
}
@keyframes lineFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pv-checklist {
  margin-top: 28px;
  display: flex;
  gap: 10px;
  justify-content: center;
}
.pv-check {
  width: 34px; height: 34px;
  border-radius: 9px;
  border: 1px dashed rgba(255,255,255,.3);
}
.pv-check.on {
  border-style: solid;
  border-color: transparent;
  background: linear-gradient(135deg, var(--ca), var(--cc));
  position: relative;
}
.pv-check.on::after {
  content: "✔";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: #0b0e20;
}

/* GenForge：功能网格 */
.pv-mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pv-grid-item {
  height: 92px;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  animation: cardFloat 5s var(--ease) infinite;
}
.pv-grid-item:nth-child(2n) { animation-delay: -2.4s; }
.pvg-icon { font-size: 22px; line-height: 1; }
.pvg-bar { width: 46px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.2); }

/* Yuntu Agent：对话工作台 */
.pv-mock-agent { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.pv-agent-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.pv-agent-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: #0b0e20;
  background: linear-gradient(135deg, var(--ca), var(--cc));
}
.pv-agent-title { width: 88px; height: 10px; border-radius: 5px; background: rgba(255,255,255,.18); }
.pv-agent-status {
  margin-left: auto;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ca, #22c55e);
  box-shadow: 0 0 8px rgba(34,197,94,.9);
  animation: pulse 2s ease infinite;
}
.pv-agent-msg { display: flex; flex-direction: column; gap: 8px; }
.pv-agent-bubble {
  width: 86%;
  height: 12px;
  border-radius: 6px;
  background: rgba(255,255,255,.12);
}
.pv-agent-bubble.short { width: 58%; background: rgba(255,255,255,.08); }
.pv-agent-bubble.mid { width: 72%; }
.pv-agent-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pv-tool {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-2);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(var(--acc-rgb), .4);
  background: rgba(var(--acc-rgb), .1);
}
.pv-agent-typing { display: flex; gap: 5px; margin-top: 6px; }
.pv-agent-typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  animation: typingDot 1.2s ease infinite;
}
.pv-agent-typing span:nth-child(2) { animation-delay: .15s; }
.pv-agent-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typingDot {
  0%,100% { transform: translateY(0); opacity: .4; }
  50% { transform: translateY(-4px); opacity: 1; }
}

/* AI-API-HUB：表格控制台 */
.pv-mock-table { padding: 24px; }
.pv-table-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.pv-tb-title { width: 96px; height: 13px; border-radius: 6px; background: rgba(255,255,255,.18); }
.pv-tb-btn {
  width: 54px; height: 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--ca), var(--cc));
  margin-left: auto;
  opacity: .9;
}
.pv-tb-btn.ghost { margin-left: 0; background: rgba(255,255,255,.12); width: 46px; }
.pv-tb-search {
  width: 70px; height: 20px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.18);
}
.pv-table { display: flex; flex-direction: column; gap: 8px; }
.pv-tr {
  height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  animation: cardFloat 5s var(--ease) infinite;
}
.pv-tr:nth-child(2n) { animation-delay: -2.4s; }
.pv-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.pv-dot.ok { background: #34d399; box-shadow: 0 0 8px rgba(52,211,153,.8); }
.pv-dot.warn { background: var(--cc, #fbbf24); box-shadow: 0 0 8px rgba(251,191,36,.8); }
.pv-tr-line { height: 8px; border-radius: 4px; background: rgba(255,255,255,.16); }
.pv-tr-line.w60 { width: 60px; }
.pv-tr-line.w75 { width: 75px; }
.pv-tr-line.w50 { width: 50px; }
.pv-tr-line.w65 { width: 65px; }
.pv-tr-line.w80 { width: 80px; }
.pv-tr-tag {
  margin-left: auto;
  width: 40px; height: 14px;
  border-radius: 4px;
  background: rgba(var(--acc-rgb), .35);
  border: 1px solid rgba(var(--acc-rgb), .5);
}

/* 信息区 */
.project-info {
  position: relative;
  z-index: 1;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.project-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--acc);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(var(--acc-rgb), .4);
  background: rgba(var(--acc-rgb), .08);
  margin-bottom: 20px;
}
.project-name {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.01em;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.project-name em { font-style: normal; font-size: 15px; font-weight: 600; color: var(--text-3); letter-spacing: .04em; }
.project-desc {
  margin-top: 14px;
  color: var(--text-2);
  font-size: 15px;
  max-width: 460px;
}
.project-feats {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  width: 100%;
  max-width: 460px;
}
.project-feats li {
  font-size: 13.5px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.project-feats li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 2px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--acc), transparent);
  transform: rotate(45deg);
}
.project-tech {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.project-tech span {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-2);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.project-card:hover .project-tech span { border-color: rgba(var(--acc-rgb), .35); color: var(--text-1); }
.project-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* 卡片翻转布局 */
.project-card.flip { grid-template-columns: 1fr 1.05fr; }
.project-card.flip .project-visual { order: 2; }

/* ---------- 技术能力 ---------- */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stack-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 34px 28px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.stack-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ic, #818cf8), transparent);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.stack-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px -28px rgba(99, 102, 241, .4);
}
.stack-card:hover::before { opacity: 1; }
.stack-icon {
  width: 54px; height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--ic, #818cf8);
  background: color-mix(in srgb, var(--ic, #818cf8) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--ic, #818cf8) 30%, transparent);
  margin-bottom: 22px;
}
.stack-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.stack-card p { font-size: 14px; color: var(--text-2); }
.stack-card ul { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.stack-card ul li {
  font-size: 13px;
  color: var(--text-3);
  font-family: var(--font-mono);
  padding-left: 16px;
  position: relative;
}
.stack-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ic, #818cf8);
  opacity: .7;
}

/* ---------- 关于 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text .section-title { margin-bottom: 22px; }
.about-text p { color: var(--text-2); font-size: 15.5px; margin-top: 14px; max-width: 520px; }
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.value {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--glass);
  padding: 22px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.value:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.value-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1.2;
}
.value h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.value p { font-size: 13px; color: var(--text-3); }

/* ---------- CTA ---------- */
.cta { padding-bottom: 140px; }
.cta-card {
  position: relative;
  text-align: center;
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(640px 300px at 50% -20%, rgba(99, 102, 241, .22), transparent 65%),
    radial-gradient(420px 220px at 85% 110%, rgba(34, 211, 238, .14), transparent 60%),
    var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 88px 40px;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  left: 50%; top: -260px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(99,102,241,.4), transparent 62%);
  filter: blur(50px);
  pointer-events: none;
  animation: ctaBreath 6s ease infinite alternate;
}
@keyframes ctaBreath {
  from { opacity: .55; transform: translateX(-50%) scale(1); }
  to { opacity: .9; transform: translateX(-50%) scale(1.15); }
}
.cta-card .section-eyebrow { justify-content: center; }
.cta-card .section-eyebrow::before { display: none; }
.cta-title {
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.02em;
  position: relative;
}
.cta-desc {
  margin: 20px auto 0;
  max-width: 520px;
  color: var(--text-2);
  font-size: 16px;
  position: relative;
}
.cta-actions { margin-top: 38px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; }

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  background: rgba(5, 6, 15, .6);
}
.footer-inner {
  width: min(1180px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.footer-brand .nav-logo-mark { width: 30px; height: 30px; border-radius: 9px; }
.footer-copy { font-size: 13px; color: var(--text-3); }
.footer-heart { color: #fb7185; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 13.5px; color: var(--text-3); transition: color .25s var(--ease); }
.footer-links a:hover { color: var(--text-1); }

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--text-1);
  background: var(--glass-strong);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), border-color .3s var(--ease);
  z-index: 800;
}
.back-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { border-color: var(--primary-2); }

/* ---------- 滚动渐入 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .project-card, .project-card.flip { grid-template-columns: 1fr; }
  .project-card.flip .project-visual { order: 0; }
  .project-visual { min-height: 320px; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: min(320px, 84vw);
    padding: 18px;
    background: rgba(8, 10, 24, .94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 0 18px;
    transform: translateX(105%);
    transition: transform .4s var(--ease);
    box-shadow: -30px 20px 60px -20px rgba(0,0,0,.6);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 13px 16px; font-size: 15px; border-radius: 10px; }
  .nav-links a:hover { background: rgba(255,255,255,.05); }
  .nav-links a::after { display: none; }
  .nav-links .nav-cta { text-align: center; }
  .nav-burger { display: flex; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 18px 8px; }
  .project-info { padding: 34px 26px; }
  .project-visual { min-height: 260px; padding: 30px 22px; }
  .project-feats { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .cta-card { padding: 60px 24px; }
  .pv-index { font-size: 84px; }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
