/* 远程助手官网 · 暗色科技风，零外部依赖 */
:root {
  --bg: #05070d;
  --bg-2: #0a0f1c;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --text: #e8eef8;
  --text-dim: #a3b1c7;
  --text-faint: #75849b;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --green: #34d399;
  --grad: linear-gradient(120deg, var(--cyan), var(--violet));
  --radius: 14px;
  --maxw: 1120px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --mono: "Cascadia Code", Consolas, "JetBrains Mono", monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
section { scroll-margin-top: 84px; }
a { color: inherit; text-decoration: none; }

/* ---------- 背景层：网格 + 光晕 + 粒子 ---------- */
#particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.55; }
.glow {
  position: fixed; z-index: 0; pointer-events: none; border-radius: 50%;
  filter: blur(90px); opacity: 0.24;
}
.glow-a { width: 640px; height: 640px; top: -220px; left: -160px; background: radial-gradient(circle, var(--cyan), transparent 70%); }
.glow-b { width: 720px; height: 720px; top: 30vh; right: -260px; background: radial-gradient(circle, var(--violet), transparent 70%); }
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
}
header, main, footer { position: relative; z-index: 1; }

/* ---------- 顶栏 ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px clamp(18px, 4vw, 40px);
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: 0.5px; }
.brand i { font-style: normal; color: var(--text-faint); font-size: 12px; font-family: var(--mono); margin-left: 2px; }
.logo-line { fill: none; stroke: var(--cyan); stroke-width: 2; }
.logo-fill { fill: rgba(139, 92, 246, 0.25); stroke: var(--violet); stroke-width: 2; }
.logo-link { stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 3 3; }
header nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--text-dim); }
header nav a { transition: color 0.2s; }
header nav a:hover { color: var(--text); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text);
  font: inherit; font-weight: 600; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, 0.2); }
.btn-primary {
  background: var(--grad); border: none; color: #04121a;
  box-shadow: 0 4px 26px rgba(34, 211, 238, 0.28);
}
.btn-primary:hover { box-shadow: 0 6px 34px rgba(139, 92, 246, 0.42); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn-lg { padding: 13px 30px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.hint-inline { font-style: normal; font-size: 11px; color: var(--cyan); border: 1px solid rgba(34,211,238,0.35); border-radius: 20px; padding: 0 8px; margin-left: 4px; }
.i-stroke { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(48px, 8vh, 92px) 22px 40px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
.eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 2px; color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.3); background: rgba(34, 211, 238, 0.07);
  border-radius: 30px; padding: 5px 16px; margin-bottom: 20px;
}
h1 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.22; letter-spacing: 1px; }
h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { color: var(--text-dim); font-size: clamp(15px, 1.4vw, 17px); margin: 20px 0 30px; max-width: 34em; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.fineprint { color: var(--text-faint); font-size: 12.5px; margin-top: 16px; }

/* Hero 视觉：浏览器窗口 mock */
.hero-art { position: relative; perspective: 1200px; }
.window {
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: linear-gradient(160deg, rgba(20, 27, 45, 0.9), rgba(9, 12, 22, 0.92));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255,255,255,0.03) inset;
  transform: rotateY(-7deg) rotateX(3deg);
  transition: transform 0.5s ease;
}
.window:hover { transform: rotateY(-3deg) rotateX(1.5deg); }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: rgba(255,255,255,0.04); border-bottom: 1px solid var(--line); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.win-bar i:first-child { background: rgba(94, 212, 158, 0.7); }
.win-bar span { margin-left: auto; font-size: 11.5px; color: var(--text-faint); font-family: var(--mono); }
.screen-tabs { display: flex; gap: 8px; padding: 10px 14px 0; font-size: 12px; }
.screen-tabs .tab { border: 1px solid var(--line); border-radius: 8px 8px 0 0; padding: 6px 12px; color: var(--text-faint); border-bottom: none; }
.screen-tabs .tab.active { color: var(--text); background: rgba(34, 211, 238, 0.08); border-color: rgba(34,211,238,0.35); }
.screen-tabs .tab i { font-style: normal; font-family: var(--mono); font-size: 10.5px; opacity: 0.65; margin-left: 6px; }
.screen {
  position: relative; height: 240px; margin: 0 14px 14px; border-radius: 0 10px 10px 10px;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(34, 211, 238, 0.14), transparent),
    radial-gradient(ellipse 70% 60% at 80% 90%, rgba(139, 92, 246, 0.16), transparent),
    #070b14;
  border: 1px solid var(--line); overflow: hidden;
}
.scan {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(34, 211, 238, 0.06) 48%, transparent 100%);
  background-size: 100% 220%; animation: scan 5.5s linear infinite;
}
@keyframes scan { 0% { background-position: 0 -120%; } 100% { background-position: 0 220%; } }
.desk { position: absolute; inset: 0; display: flex; flex-wrap: wrap; gap: 10px; align-content: center; justify-content: center; padding: 20px; }
.chip {
  font-size: 13px; font-family: var(--mono); border-radius: 8px; padding: 6px 14px;
  border: 1px solid var(--line); background: rgba(5, 8, 15, 0.6); backdrop-filter: blur(6px);
  animation: floaty 6s ease-in-out infinite;
}
.chip b { font-weight: 600; }
.chip-a { color: var(--cyan); border-color: rgba(34, 211, 238, 0.3); }
.chip-b { color: var(--violet); border-color: rgba(139, 92, 246, 0.35); animation-delay: 1.2s; }
.chip-c { color: var(--green); border-color: rgba(52, 211, 153, 0.3); animation-delay: 2.4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.cursor-dot {
  position: absolute; width: 14px; height: 14px; left: 62%; top: 40%;
  background: var(--grad); border-radius: 50%; box-shadow: 0 0 18px var(--cyan);
  animation: roam 9s ease-in-out infinite;
}
@keyframes roam { 0%, 100% { left: 30%; top: 62%; } 30% { left: 64%; top: 36%; } 60% { left: 46%; top: 26%; } 80% { left: 70%; top: 58%; } }
.win-status { display: flex; gap: 16px; padding: 9px 16px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--text-faint); }
.win-status span:last-child { margin-left: auto; color: var(--green); }
.float-card {
  position: absolute; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(13, 18, 30, 0.85); backdrop-filter: blur(10px);
  padding: 12px 16px; font-size: 13px; box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  animation: floaty 7s ease-in-out infinite;
}
.float-card b { display: block; font-size: 13.5px; margin-bottom: 2px; }
.float-card span { color: var(--text-faint); font-size: 12px; font-family: var(--mono); }
.fc-1 { right: -14px; top: 12%; animation-delay: 0.8s; }
.fc-2 { left: -18px; bottom: 8%; border-color: rgba(139, 92, 246, 0.35); animation-delay: 2s; }

/* ---------- 数据带 ---------- */
.stats {
  max-width: var(--maxw); margin: 26px auto 0; padding: 0 22px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.stats > div {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 20px 8px; text-align: center;
}
.stats b { display: block; font-size: clamp(22px, 2.6vw, 30px); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--text-faint); font-size: 13px; }

/* ---------- 通用 section ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 9vh, 96px) 22px 30px; }
.section-alt { position: relative; }
.section-alt::before {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); top: 0; width: min(920px, 92vw); height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
}
.section-title { font-size: clamp(24px, 3vw, 34px); text-align: center; margin-bottom: 44px; letter-spacing: 1px; }
.section-title em { font-style: normal; display: block; font-size: 0.62em; font-weight: 500; color: var(--text-dim); margin-top: 8px; letter-spacing: 2px; }

/* ---------- 功能卡 ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 26px 24px;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, 0.35); background: var(--panel-strong); }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 14px; }

/* ---------- 安全 ---------- */
.sec-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.sec-copy p { color: var(--text-dim); margin-bottom: 14px; }
.sec-copy b { color: var(--text); font-family: var(--mono); font-size: 0.95em; }
.check { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
.check li { padding-left: 28px; position: relative; color: var(--text-dim); font-size: 14px; }
.check li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px;
  border-radius: 50%; background: rgba(52, 211, 153, 0.12); color: var(--green);
  font-size: 12px; display: flex; align-items: center; justify-content: center;
}
.sec-diagram { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.node {
  width: min(240px, 100%); text-align: center; border: 1px solid var(--line); border-radius: 12px;
  background: var(--panel); padding: 14px; font-weight: 600;
}
.node span { display: block; font-weight: 400; font-size: 12px; color: var(--text-faint); font-family: var(--mono); margin-top: 2px; }
.node.relay { border-color: rgba(232, 180, 106, 0.4); border-style: dashed; color: var(--text-dim); }
.wire { height: 46px; display: flex; align-items: center; }
.wire::before { content: ""; width: 2px; height: 100%; background: linear-gradient(var(--cyan), var(--violet)); opacity: 0.7; }
.wire .lock {
  font-size: 11px; color: var(--cyan); border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 20px; padding: 2px 10px; margin-left: 10px; background: rgba(34, 211, 238, 0.06);
}

/* ---------- 下载 ---------- */
.dl-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.dl-main, .dl-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 28px;
}
.dl-main { background: linear-gradient(160deg, rgba(34, 211, 238, 0.07), rgba(139, 92, 246, 0.06)), var(--panel); }
.dl-main h3 { font-size: 20px; margin-bottom: 8px; }
.dl-main > p { color: var(--text-dim); font-size: 14px; margin-bottom: 22px; }
.tag { font-size: 11px; font-family: var(--mono); color: var(--cyan); border: 1px solid rgba(34, 211, 238, 0.3); border-radius: 20px; padding: 1px 10px; vertical-align: 3px; margin-left: 8px; font-weight: 400; }
.dl-side { display: grid; gap: 16px; align-content: stretch; }
.dl-card h4 { font-size: 15px; margin-bottom: 6px; }
.dl-card p { color: var(--text-dim); font-size: 13.5px; margin-bottom: 14px; }
.plain { list-style: none; color: var(--text-dim); font-size: 13.5px; }
.plain li { padding-left: 16px; position: relative; }
.plain li::before { content: "·"; position: absolute; left: 4px; color: var(--cyan); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
details {
  border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
  padding: 16px 20px; transition: border-color 0.2s;
}
details[open] { border-color: rgba(34, 211, 238, 0.3); }
summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; display: flex; align-items: center; }
summary::before { content: "+"; color: var(--cyan); font-family: var(--mono); margin-right: 12px; font-size: 18px; transition: transform 0.2s; }
details[open] summary::before { transform: rotate(45deg); }
details p { color: var(--text-dim); font-size: 14px; margin-top: 10px; padding-left: 30px; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line); margin-top: 60px;
  padding: 36px clamp(18px, 4vw, 40px);
  display: flex; flex-wrap: wrap; gap: 30px; align-items: center;
  background: rgba(5, 8, 14, 0.6);
}
.foot-brand { margin-right: auto; }
.brand-mini { font-weight: 700; }
.foot-brand p { color: var(--text-faint); font-size: 13px; margin-top: 4px; }
footer nav { display: flex; gap: 20px; font-size: 13.5px; color: var(--text-dim); }
.beian { display: flex; gap: 18px; color: var(--text-faint); font-size: 12.5px; }
.beian a { color: var(--text-faint); }
.beian a:hover { color: var(--text-dim); }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
/* 打印/爬虫快照：不依赖滚动，全部直接可见 */
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-art { max-width: 520px; margin: 10px auto 0; }
  .window { transform: none; }
  .window:hover { transform: none; }
  .grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .sec-split, .dl-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  header nav { display: none; }
  .grid { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .screen { height: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 功能卡内置演示（纯 CSS 动画，无图片资源） ---------- */
.demo {
  position: relative; aspect-ratio: 16 / 10; margin: -26px -24px 20px;
  border-bottom: 1px solid var(--line); background: #070b15; overflow: hidden;
}
.dcap {
  position: absolute; left: 10px; bottom: 8px; z-index: 6; font-size: 11px; line-height: 1.6;
  color: var(--text-dim); background: rgba(5, 8, 15, 0.62); border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1px 9px; border-radius: 99px; backdrop-filter: blur(4px); white-space: nowrap;
}

/* 1 · 多显示器切换：标签轮流点亮，画面随之切换 */
.mon-tabs {
  position: absolute; top: 0; left: 0; right: 0; height: 26px; z-index: 4;
  display: flex; gap: 6px; align-items: center; padding: 0 10px;
  background: rgba(3, 6, 12, 0.72); border-bottom: 1px solid var(--line);
}
.mon-tabs span {
  font-size: 10px; color: var(--text-faint); padding: 3px 9px;
  border-radius: 6px; border: 1px solid transparent; animation: mtab-cycle 9.6s infinite;
}
.mt1 { color: var(--cyan); border-color: rgba(34, 211, 238, 0.4); background: rgba(34, 211, 238, 0.08); }
.mt2 { animation-delay: -3.2s; }
.mt3 { animation-delay: -6.4s; }
@keyframes mtab-cycle {
  0%, 30% { color: var(--cyan); border-color: rgba(34, 211, 238, 0.4); background: rgba(34, 211, 238, 0.08); }
  34%, 96% { color: var(--text-faint); border-color: transparent; background: transparent; }
  100% { color: var(--cyan); border-color: rgba(34, 211, 238, 0.4); background: rgba(34, 211, 238, 0.08); }
}
.mscr { position: absolute; inset: 26px 0 0; opacity: 0; animation: mscr-cycle 9.6s infinite; }
.ms1 { opacity: 1; }
.ms2 { animation-delay: -3.2s; }
.ms3 { animation-delay: -6.4s; }
@keyframes mscr-cycle { 0%, 30% { opacity: 1; } 34%, 96% { opacity: 0; } 100% { opacity: 1; } }
.ms1 { background: linear-gradient(135deg, #0c2440, #144066); }
.ms2 { background: linear-gradient(135deg, #251b50, #402e82); }
.ms3 { background: linear-gradient(135deg, #0b332c, #17695a); }
.mapp { position: absolute; border-radius: 4px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.13); }
.mapp::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 18%; background: rgba(255, 255, 255, 0.1); border-radius: 4px 4px 0 0; }
.b1 { left: 10%; top: 16%; width: 36%; height: 54%; }
.b2 { left: 54%; top: 26%; width: 30%; height: 36%; }
.c1 { left: 30%; top: 18%; width: 40%; height: 56%; }
.d1 { left: 12%; top: 22%; width: 28%; height: 42%; }
.d2 { left: 46%; top: 30%; width: 38%; height: 44%; }
.mtask { position: absolute; left: 0; right: 0; bottom: 0; height: 8%; background: rgba(0, 0, 0, 0.4); }
.mtask::after {
  content: ""; position: absolute; left: 8px; top: 50%; width: 5px; height: 5px;
  transform: translateY(-50%); border-radius: 1px; background: rgba(255, 255, 255, 0.35);
  box-shadow: 10px 0 rgba(255, 255, 255, 0.35), 20px 0 rgba(255, 255, 255, 0.35);
}

/* 2 · 浏览器远控：浏览器外壳 + 会话工具条 + 游走光标 */
.brw-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 22px; z-index: 4;
  display: flex; align-items: center; gap: 4px; padding: 0 9px;
  background: rgba(3, 6, 12, 0.78); border-bottom: 1px solid var(--line);
}
.brw-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.burl {
  margin-left: 8px; height: 14px; font-size: 9px; line-height: 14px; color: var(--text-faint);
  background: rgba(255, 255, 255, 0.05); border-radius: 99px; padding: 0 10px;
  white-space: nowrap; overflow: hidden;
}
.brw-body { position: absolute; inset: 22px 0 0; background: radial-gradient(120% 90% at 70% 0%, #10263f 0%, #081020 70%); }
.wapp { position: absolute; border-radius: 4px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); }
.wapp::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 16%; background: rgba(255, 255, 255, 0.1); border-radius: 4px 4px 0 0; }
.e1 { left: 8%; top: 12%; width: 40%; height: 58%; }
.e2 { left: 54%; top: 24%; width: 34%; height: 40%; }
.wtask { position: absolute; left: 0; right: 0; bottom: 0; height: 8%; background: rgba(0, 0, 0, 0.35); }
.sess-bar {
  position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%); z-index: 3;
  display: flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 99px;
  background: rgba(5, 8, 16, 0.85); border: 1px solid var(--line);
  font-size: 10px; color: var(--text-dim); white-space: nowrap;
}
.sess-bar .q { color: var(--cyan); }
.sess-bar b { font-weight: 500; font-size: 9px; color: var(--text-faint); border: 1px solid rgba(255, 255, 255, 0.1); padding: 1px 7px; border-radius: 6px; }
.wcur {
  position: absolute; left: 26%; top: 46%; width: 9px; height: 9px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.25), 0 0 12px rgba(34, 211, 238, 0.7);
  z-index: 5; opacity: 0; animation: wcur-path 6s infinite;
}
@keyframes wcur-path {
  0% { left: 26%; top: 46%; opacity: 0; }
  10% { opacity: 1; }
  32% { left: 62%; top: 24%; }
  55% { left: 74%; top: 58%; }
  78% { left: 38%; top: 66%; }
  90% { opacity: 1; }
  100% { left: 26%; top: 46%; opacity: 0; }
}

/* 3 · 文件与剪贴板：文件右飞（带进度）、文本左飞 */
.demo-files { display: flex; }
.fpane { position: relative; flex: 1; padding: 26px 12px 12px; display: flex; flex-direction: column; gap: 7px; }
.demo-files .fpane:first-child { border-right: 1px solid var(--line); }
.demo-files .fpane:last-child { border-left: 1px solid var(--line); }
.fpane h5 { position: absolute; top: 8px; left: 12px; font-size: 10px; font-weight: 500; letter-spacing: 2px; color: var(--text-faint); }
.frow { height: 13px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); }
.frow.alt { width: 64%; opacity: 0.55; }
.fx-channel { position: relative; width: 84px; flex: none; }
.fx-wire { position: absolute; left: 6px; right: 6px; top: 50%; border-top: 1px dashed rgba(34, 211, 238, 0.35); }
.fchip, .cchip {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: 10px; padding: 3px 8px 5px; border-radius: 7px; opacity: 0; white-space: nowrap;
}
.fchip { color: #d8f5ff; background: rgba(34, 211, 238, 0.14); border: 1px solid rgba(34, 211, 238, 0.4); animation: fly-right 8s infinite; }
.cchip { color: #e6ddff; background: rgba(139, 92, 246, 0.16); border: 1px solid rgba(139, 92, 246, 0.4); animation: fly-left 8s infinite; }
.prog { position: absolute; left: 4px; right: 4px; bottom: 1px; height: 2px; border-radius: 2px; background: rgba(34, 211, 238, 0.2); overflow: hidden; }
.prog::after { content: ""; position: absolute; inset: 0; background: var(--cyan); transform-origin: left; transform: scaleX(0); animation: prog-fill 8s infinite; }
@keyframes fly-right {
  0% { opacity: 0; margin-left: -46px; }
  6% { opacity: 1; }
  38% { margin-left: 46px; opacity: 1; }
  44%, 100% { margin-left: 46px; opacity: 0; }
}
@keyframes fly-left {
  0%, 50% { margin-left: 46px; opacity: 0; }
  56% { opacity: 1; }
  86% { margin-left: -46px; opacity: 1; }
  92%, 100% { margin-left: -46px; opacity: 0; }
}
@keyframes prog-fill { 0%, 4% { transform: scaleX(0); } 38%, 100% { transform: scaleX(1); } }

/* 4 · 多机键鼠：光标横穿三屏，所在屏点亮 */
.demo-kvm { position: relative; display: flex; gap: 7px; padding: 14px 10px 30px; }
.kscr { position: relative; flex: 1; border-radius: 5px; border: 1px solid var(--line); overflow: hidden; background: #0a1220; animation: kglow 9s infinite; }
.k1 { border-color: rgba(34, 211, 238, 0.45); box-shadow: 0 0 14px rgba(34, 211, 238, 0.18); }
.k2 { animation-delay: -3s; }
.k3 { animation-delay: -6s; }
@keyframes kglow {
  0%, 30% { border-color: rgba(34, 211, 238, 0.45); box-shadow: 0 0 14px rgba(34, 211, 238, 0.2); }
  34%, 96% { border-color: var(--line); box-shadow: none; }
  100% { border-color: rgba(34, 211, 238, 0.45); box-shadow: 0 0 14px rgba(34, 211, 238, 0.2); }
}
.kwall { position: absolute; inset: 0; }
.w1 { background: linear-gradient(160deg, #0d2843, #1b4a75); }
.w2 { background: linear-gradient(160deg, #2a1e52, #4b3690); }
.w3 { background: linear-gradient(160deg, #0d3a30, #1a6b58); }
.kscr::after {
  content: ""; position: absolute; left: 12%; top: 16%; width: 44%; height: 46%;
  border-radius: 3px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12);
}
.kscr span {
  position: absolute; left: 50%; bottom: 5px; transform: translateX(-50%);
  font-size: 9px; color: var(--text-dim); background: rgba(0, 0, 0, 0.4); padding: 1px 6px; border-radius: 4px;
}
.kcur {
  position: absolute; top: 44%; left: 8%; width: 8px; height: 8px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.3), 0 0 10px rgba(34, 211, 238, 0.8);
  z-index: 5; opacity: 0; animation: kroam 9s infinite;
}
@keyframes kroam {
  0% { left: 8%; top: 46%; opacity: 0; }
  6% { opacity: 1; }
  30% { left: 30%; top: 38%; }
  33% { left: 37%; top: 42%; }
  63% { left: 63%; top: 50%; }
  66% { left: 70%; top: 36%; }
  92% { left: 90%; top: 48%; opacity: 1; }
  100% { left: 95%; top: 48%; opacity: 0; }
}

/* 5 · UAC：光标移到"是"点击，弹窗消失 */
.demo-uac { background: radial-gradient(130% 100% at 60% 0%, #12263e 0%, #070d18 75%); }
.udesk { position: absolute; inset: 0; }
.uapp { position: absolute; left: 14%; top: 16%; width: 34%; height: 50%; border-radius: 4px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.utask { position: absolute; left: 0; right: 0; bottom: 0; height: 8%; background: rgba(0, 0, 0, 0.35); }
.demo-uac::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); animation: uac-back 7s infinite; }
.uac-win {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%); width: 64%; z-index: 3;
  background: rgba(12, 18, 32, 0.97); border: 1px solid rgba(34, 211, 238, 0.3); border-radius: 8px;
  padding: 12px 14px; text-align: left; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  animation: uac-cycle 7s infinite;
}
@keyframes uac-cycle {
  0%, 66% { opacity: 1; transform: translate(-50%, -52%) scale(1); }
  74%, 92% { opacity: 0; transform: translate(-50%, -52%) scale(0.94); }
  100% { opacity: 1; transform: translate(-50%, -52%) scale(1); }
}
@keyframes uac-back { 0%, 66% { opacity: 1; } 74%, 92% { opacity: 0; } 100% { opacity: 1; } }
.shield { display: block; width: 20px; height: 20px; border-radius: 5px; margin-bottom: 8px; background: linear-gradient(160deg, #38bdf8, #2563eb); position: relative; }
.shield::after { content: "✓"; position: absolute; inset: 0; color: #fff; font-size: 12px; line-height: 20px; text-align: center; font-weight: 700; }
.uac-win b { display: block; font-size: 12px; margin-bottom: 4px; color: #e8f2ff; }
.uac-win p { font-size: 10px; color: var(--text-dim); line-height: 1.5; margin-bottom: 10px; }
.ubtns { display: flex; justify-content: flex-end; gap: 8px; }
.ubtns span { font-size: 10px; padding: 3px 12px; border-radius: 6px; }
.ubtns .no { color: var(--text-dim); border: 1px solid rgba(255, 255, 255, 0.14); }
.ubtns .yes { color: #041018; background: var(--cyan); font-weight: 600; }
.ring {
  position: absolute; right: 14px; bottom: 9px; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--cyan); opacity: 0; transform: scale(0.3); animation: ring-pulse 7s infinite;
}
@keyframes ring-pulse {
  0%, 36% { opacity: 0; transform: scale(0.3); }
  40% { opacity: 0.9; transform: scale(0.5); }
  48% { opacity: 0; transform: scale(1.5); }
  100% { opacity: 0; transform: scale(0.3); }
}
.ucur {
  position: absolute; left: 12%; top: 80%; width: 9px; height: 9px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.25), 0 0 10px rgba(34, 211, 238, 0.8);
  z-index: 5; opacity: 0; animation: ucur-path 7s infinite;
}
@keyframes ucur-path {
  0% { left: 12%; top: 80%; opacity: 0; }
  8% { opacity: 1; }
  34% { left: 66%; top: 55%; }
  50% { left: 70%; top: 57%; opacity: 1; }
  60%, 100% { left: 70%; top: 57%; opacity: 0; }
}

/* 6 · 截图标注 OCR：虚线框绘制 + 工具条 + OCR 结果弹出 */
.demo-shot { background: radial-gradient(120% 100% at 30% 0%, #0f2033 0%, #070d18 80%); }
.ss-block { position: absolute; border-radius: 4px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.ss-block.a { left: 8%; top: 20%; width: 26%; height: 40%; }
.ss-block.b { left: 66%; top: 30%; width: 24%; height: 34%; }
.sel {
  position: absolute; left: 22%; top: 20%; width: 0; height: 0; z-index: 3;
  border: 1.5px dashed var(--cyan); background: rgba(34, 211, 238, 0.05); border-radius: 2px;
  animation: sel-draw 8s infinite;
}
@keyframes sel-draw { 0% { width: 0; height: 0; } 14%, 100% { width: 52%; height: 46%; } }
.sel::before, .sel::after { content: ""; position: absolute; width: 7px; height: 7px; background: var(--cyan); border-radius: 2px; }
.sel::before { left: -4px; top: -4px; }
.sel::after { right: -4px; bottom: -4px; }
.dim {
  position: absolute; right: 0; top: -21px; font-style: normal; font-size: 10px; color: var(--cyan);
  background: rgba(3, 6, 12, 0.8); border: 1px solid rgba(34, 211, 238, 0.35);
  padding: 1px 7px; border-radius: 5px; opacity: 0; animation: fade-in-phase 8s infinite;
}
.stools {
  position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%);
  display: flex; gap: 7px; align-items: center; padding: 3px 9px; border-radius: 8px;
  background: rgba(5, 8, 16, 0.9); border: 1px solid var(--line);
  font-size: 11px; color: var(--text-dim); white-space: nowrap;
  opacity: 0; animation: fade-in-phase 8s infinite;
}
.stools b { font-weight: 600; font-size: 10px; color: var(--cyan); border: 1px solid rgba(34, 211, 238, 0.45); padding: 1px 7px; border-radius: 6px; animation: ocr-hi 8s infinite; }
@keyframes fade-in-phase { 0%, 15% { opacity: 0; } 21%, 100% { opacity: 1; } }
@keyframes ocr-hi { 0%, 40% { background: transparent; } 50%, 88% { background: rgba(34, 211, 238, 0.22); } 100% { background: transparent; } }
.ocr-pop {
  position: absolute; right: 7%; top: 24%; width: 46%; z-index: 4; text-align: left;
  background: rgba(12, 18, 32, 0.97); border: 1px solid rgba(139, 92, 246, 0.4); border-radius: 8px;
  padding: 10px 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  opacity: 0; animation: ocr-in 8s infinite;
}
@keyframes ocr-in {
  0%, 46% { opacity: 0; transform: translate(8px, -6px); }
  54%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translate(8px, -6px); }
}
.ocr-pop b { display: block; font-size: 10px; color: #e6ddff; margin-bottom: 7px; }
.ocr-pop .ln { display: block; height: 8px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); margin-bottom: 6px; }
.ocr-pop .ln.short { width: 55%; }
.ocr-pop span { display: inline-block; margin-top: 6px; font-size: 9px; color: var(--cyan); border: 1px solid rgba(34, 211, 238, 0.4); padding: 1px 8px; border-radius: 6px; }

/* 7 · 录屏：REC 徽标 + 波形 + 控制条 */
.demo-rec { background: radial-gradient(120% 100% at 40% 0%, #101a2e 0%, #070d18 80%); }
.rs-block { position: absolute; border-radius: 4px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.rs-block.a { left: 10%; top: 20%; width: 30%; height: 42%; }
.rs-block.b { left: 58%; top: 26%; width: 28%; height: 38%; }
.rec-badge {
  position: absolute; left: 10px; top: 8px; z-index: 3;
  display: flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: 0.5px; color: #ffd9df;
  background: rgba(0, 0, 0, 0.45); padding: 3px 10px; border-radius: 99px;
}
.rec-badge i { width: 8px; height: 8px; border-radius: 50%; background: #f43f5e; animation: rec-blink 1.6s infinite; }
@keyframes rec-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.rec-wave2 {
  position: absolute; left: 12px; right: 12px; bottom: 48px; height: 26px; opacity: 0.7;
  background: repeating-linear-gradient(90deg, rgba(34, 211, 238, 0.55) 0 2px, transparent 2px 8px);
  transform-origin: bottom; animation: rec-wave-kf 1.1s infinite ease-in-out;
}
@keyframes rec-wave-kf { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }
.rec-bar {
  position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%); z-index: 3;
  display: flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 99px;
  background: rgba(5, 8, 16, 0.85); border: 1px solid var(--line); white-space: nowrap;
}
.rec-bar .recing { width: 9px; height: 9px; border-radius: 50%; background: #f43f5e; animation: rec-blink 1.6s infinite; }
.rec-bar .stop { width: 8px; height: 8px; border-radius: 2px; background: rgba(255, 255, 255, 0.55); }
.rec-bar .fmt { font-size: 9px; color: var(--text-faint); border: 1px solid rgba(255, 255, 255, 0.12); padding: 1px 7px; border-radius: 6px; }
.rec-bar .fmt.on { color: var(--cyan); border-color: rgba(34, 211, 238, 0.45); }
.rec-bar .rs-q { font-size: 9px; color: var(--text-faint); }

/* 8 · 贴图与动态壁纸：壁纸轮换 + 悬浮贴图 */
.demo-desk { background: #0a1220; }
.wp { position: absolute; inset: 0; opacity: 0; animation: mscr-cycle 9s infinite; }
.wp::after {
  content: ""; position: absolute; right: 12%; top: 14%; width: 34px; height: 34px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.18); filter: blur(2px);
}
.wp1 { opacity: 1; background: linear-gradient(140deg, #0f3057, #2b6cb0); }
.wp2 { background: linear-gradient(140deg, #3b1d5e, #b83280); animation-delay: -3s; }
.wp3 { background: linear-gradient(140deg, #0c3b2e, #2f9e7d); animation-delay: -6s; }
.pin-card {
  position: absolute; border-radius: 5px; z-index: 3;
  background: linear-gradient(150deg, #2b2350, #43318a);
  border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.5);
  animation: pin-drift 4.4s infinite ease-in-out;
}
.pin-card::before {
  content: ""; position: absolute; left: 50%; top: -4px; transform: translateX(-50%);
  width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}
@keyframes pin-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.p1 { left: 15%; top: 20%; width: 26%; height: 46%; }
.p2 { left: 48%; top: 32%; width: 20%; height: 36%; animation-delay: -2.2s; }
.desk-task { position: absolute; left: 0; right: 0; bottom: 0; height: 8%; background: rgba(0, 0, 0, 0.4); z-index: 2; }

/* 9 · 3D 桌宠：沿地面走动 + 停顿互动 */
.demo-pet { background: linear-gradient(180deg, #0d1526 0%, #101c33 100%); }
.pet-floor {
  position: absolute; left: 8%; right: 8%; bottom: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.35), transparent);
}
.pet-walk { position: absolute; left: 8%; bottom: 27px; width: 46px; height: 64px; animation: pet-walk-kf 9s infinite ease-in-out; }
.pet-walk::after {
  content: ""; position: absolute; left: 50%; bottom: -5px; width: 34px; height: 7px;
  transform: translateX(-50%); border-radius: 50%; background: rgba(0, 0, 0, 0.45); filter: blur(2px);
}
@keyframes pet-walk-kf {
  0% { left: 6%; }
  10%, 18% { left: 20%; }
  58%, 66% { left: 56%; }
  92%, 100% { left: 82%; }
}
.pet2-body {
  position: absolute; left: 5px; bottom: 0; width: 36px; height: 42px;
  border-radius: 17px 17px 12px 12px; background: linear-gradient(160deg, #7dd3fc, #8b5cf6);
  animation: pet-bob 0.7s infinite;
}
.pet2-head {
  position: absolute; left: 12px; bottom: 38px; width: 24px; height: 22px;
  border-radius: 50%; background: linear-gradient(160deg, #bae6fd, #a78bfa);
  animation: pet-bob 0.7s infinite;
}
.pet2-head::after {
  content: ""; position: absolute; left: 5px; top: 9px; width: 3px; height: 3px;
  border-radius: 50%; background: #0b1220; box-shadow: 9px 0 #0b1220;
}
@keyframes pet-bob { 0%, 100% { margin-bottom: 0; } 50% { margin-bottom: 4px; } }
.sparkle {
  position: absolute; left: 24%; top: 22%; font-style: normal; font-size: 13px;
  opacity: 0; animation: spark-pop 9s infinite;
}
@keyframes spark-pop {
  0%, 11% { opacity: 0; transform: scale(0.4); }
  15% { opacity: 1; transform: scale(1); }
  23%, 100% { opacity: 0; transform: scale(1.2); }
}

@media (max-width: 600px) {
  .dcap { font-size: 10px; }
  .fx-channel { width: 64px; }
}
