/* ============================================================
   ZStudio 官网首页 · 科技暗色风
   基于设计稿: 近黑底 #07090D + 单一电光青强调色 #22D3EE
   ============================================================ */

:root {
  --bg: #07090D;
  --bg-alt: #0A0D13;
  --bg-2: #0B0E14;
  --card: #10141C;
  --card-hi: #161B26;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #F2F5F9;
  --muted: #9AA3B2;
  --dim: #6B7484;
  --accent: #22D3EE;
  --accent-dim: rgba(34, 211, 238, 0.12);
  --accent-border: rgba(34, 211, 238, 0.35);
  --on-accent: #05262E;
  --mono: "Cascadia Code", "JetBrains Mono", Consolas, "SF Mono", monospace;
  --sans: "Segoe UI", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --container: 1312px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.mono { font-family: var(--mono); }
.text-accent { color: var(--accent); }

/* ---------- 通用 ---------- */
.badge {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
}

.kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

/* 插件行眉标：英文界面下标题已是插件名，隐藏避免重复 */
html[lang="en"] .pk { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { box-shadow: 0 0 28px rgba(34, 211, 238, 0.35); }

.btn-ghost {
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent-border); color: var(--accent); }

.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-xl { padding: 17px 42px; font-size: 17px; border-radius: 12px; }
.glow { box-shadow: 0 0 36px rgba(34, 211, 238, 0.30); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 76px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #22D3EE, #02738C);
  color: #04252D;
  font-family: "Arial Black", "Segoe UI", sans-serif;
  font-weight: 900;
  font-size: 19px;
  display: inline-flex; align-items: center; justify-content: center;
}
.logo-word { color: var(--text); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }

.nav { display: flex; gap: 32px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .15s; }
.nav a:hover { color: var(--accent); }

.header-right { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: flex; gap: 2px; padding: 4px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
}
.lang-btn {
  padding: 6px 14px;
  border: none; border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  font-family: var(--sans);
  transition: background .15s, color .15s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active { background: var(--accent-dim); color: var(--accent); }
#langEn { font-family: var(--mono); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 24px;
  background:
    radial-gradient(ellipse 60% 55% at 68% 42%, rgba(34, 211, 238, 0.10), transparent 70%),
    linear-gradient(180deg, #090D14 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 75% 70% at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 60% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 64px;
}
.hero-copy { flex: 1 1 0; display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.hero-title {
  font-size: clamp(38px, 4.4vw, 56px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.hero-sub { color: var(--muted); font-size: 16px; line-height: 1.8; max-width: 520px; }
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-meta { color: var(--dim); font-size: 12px; }

.hero-visual { flex: 0 0 620px; display: flex; justify-content: center; }

/* 应用窗口 Mockup */
.app-window {
  width: 600px; max-width: 100%;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55), 0 0 56px rgba(34, 211, 238, 0.16);
}
.win-titlebar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.win-dots { display: inline-flex; gap: 7px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: #3A4354; }
.win-title { flex: 1; text-align: center; font-size: 11px; color: var(--muted); }
.win-spacer { width: 34px; }
.win-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.win-head { display: flex; align-items: center; justify-content: space-between; }
.win-head strong { font-size: 16px; }
.win-head-tag { font-size: 11px; }

.plugin-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.tile {
  flex: 0 0 calc((100% - 36px) / 4);
  min-width: 118px;
  display: flex; flex-direction: column; gap: 9px;
  padding: 14px 14px 12px;
  background: var(--card-hi);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color .15s, transform .15s;
}
.tile:hover { border-color: var(--accent-border); transform: translateY(-2px); }
.tile-name { font-size: 13px; font-weight: 600; }
.tile-status { font-size: 10px; color: var(--dim); }
.tile-status.on { color: var(--accent); }

/* 图标（SVG data-uri，青色描边） */
.tile-ico { width: 20px; height: 20px; display: inline-block; background-repeat: no-repeat; background-size: contain; }
.tile-ico.big { width: 26px; height: 26px; }
.tile-ico[data-ico="bolt"]  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M11 1 4 11.5h4.5L8 19l7-10.5h-4.5L11 1z' stroke='%2322D3EE' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.tile-ico[data-ico="trash"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M3.5 5h13M8 5V3.5h4V5M5.5 5l.8 11h7.4l.8-11M8.2 8.5v5M11.8 8.5v5' stroke='%2322D3EE' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.tile-ico[data-ico="lock"]  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Crect x='4' y='9' width='12' height='8' rx='1.5' stroke='%2322D3EE' stroke-width='1.6'/%3E%3Cpath d='M6.5 9V6.5a3.5 3.5 0 0 1 7 0V9' stroke='%2322D3EE' stroke-width='1.6'/%3E%3Ccircle cx='10' cy='13' r='1' fill='%2322D3EE'/%3E%3C/svg%3E"); }
.tile-ico[data-ico="pulse"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M2 10h3.5l2-5.5 3.5 11 2-5.5H18' stroke='%2322D3EE' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.tile-ico[data-ico="search"]{ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='9' cy='9' r='5.5' stroke='%2322D3EE' stroke-width='1.6'/%3E%3Cpath d='M13.5 13.5 18 18' stroke='%2322D3EE' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.tile-ico[data-ico="term"]  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Crect x='2' y='3.5' width='16' height='13' rx='1.5' stroke='%2322D3EE' stroke-width='1.6'/%3E%3Cpath d='M5.5 8l3 2.5-3 2.5M10.5 13.5H15' stroke='%2322D3EE' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.tile-ico[data-ico="wifi"]  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M2.5 7.5a11 11 0 0 1 15 0M5 10.5a7.5 7.5 0 0 1 10 0M7.5 13.5a4 4 0 0 1 5 0' stroke='%2322D3EE' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='10' cy='16.5' r='1' fill='%2322D3EE'/%3E%3C/svg%3E"); }

/* ---------- Stats ---------- */
.stats { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 34px 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-size: 26px; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 13px; color: var(--muted); }

/* ---------- Showcase ---------- */
.showcase { padding-bottom: 20px; }
.showcase-head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 24px 40px;
  display: flex; flex-direction: column; gap: 16px;
}
.showcase-head h2 { font-size: clamp(30px, 3.2vw, 38px); font-weight: 700; letter-spacing: -0.01em; }
.showcase-head p { color: var(--muted); font-size: 15px; }

.plugin-row {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px;
  display: flex;
  align-items: center;
  gap: 64px;
}
.plugin-row.alt { background: var(--bg-alt); }
.text-wrap { flex: 1 1 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.text-wrap h3 { font-size: 32px; font-weight: 700; letter-spacing: -0.01em; }
.text-wrap > p { color: var(--muted); font-size: 15px; line-height: 1.75; }
/* ---------- 场景块（什么时候需要它） ---------- */
.scene {
  position: relative;
  padding: 14px 16px 14px 20px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--accent-dim), rgba(34, 211, 238, 0.03));
  border: 1px solid var(--accent-border);
}
.scene::before {
  content: "";
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.scene-tag {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 6px;
}
.scene-text {
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.7;
}

.bullets { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.bullets li { position: relative; padding-left: 24px; color: #C7CEDA; font-size: 14px; }
.bullets li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2.5 7.5l3 3 6-7' stroke='%2322D3EE' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.watch-link { color: var(--accent); font-size: 14px; font-weight: 600; text-decoration: none; }
.watch-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 视频位 ---------- */
.video-wrap { flex: 0 0 640px; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  overflow: hidden;
}
.corners { position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background:
    linear-gradient(var(--accent-border), var(--accent-border)) top left / 18px 1.5px,
    linear-gradient(var(--accent-border), var(--accent-border)) top left / 1.5px 18px,
    linear-gradient(var(--accent-border), var(--accent-border)) top right / 18px 1.5px,
    linear-gradient(var(--accent-border), var(--accent-border)) top right / 1.5px 18px,
    linear-gradient(var(--accent-border), var(--accent-border)) bottom left / 18px 1.5px,
    linear-gradient(var(--accent-border), var(--accent-border)) bottom left / 1.5px 18px,
    linear-gradient(var(--accent-border), var(--accent-border)) bottom right / 18px 1.5px,
    linear-gradient(var(--accent-border), var(--accent-border)) bottom right / 1.5px 18px;
  background-repeat: no-repeat;
}
.video-chip { position: absolute; top: 16px; left: 20px; z-index: 3; font-size: 11px; color: var(--accent); letter-spacing: 0.06em; }
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; display: none; }
.video-frame.has-video video { display: block; }
.video-frame.has-video .demo-mock { display: none; }
.video-frame video { opacity: 0; transition: opacity .35s ease; }
.video-frame.has-video video { opacity: 1; }

/* 无视频时的动态演示占位 */
.demo-mock { position: absolute; inset: 0; background: var(--bg); }
.mock-bar { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3A4354; }
.mock-body {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 22px;
  padding: 40px;
}
.mock-lines { display: flex; flex-direction: column; gap: 12px; width: 42%; }
.mock-lines i {
  height: 12px; border-radius: 6px;
  background: linear-gradient(90deg, #141A24 25%, #1D2532 50%, #141A24 75%);
  background-size: 200% 100%;
  animation: shimmer 2.2s linear infinite;
  animation-delay: var(--d, 0s);
}
.mock-lines i:nth-child(2) { width: 78%; }
.mock-lines i:nth-child(3) { width: 56%; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.mock-scan {
  position: absolute; left: 0; right: 0; top: -10%;
  height: 10%;
  background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.07), transparent);
  animation: scan 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scan { 0% { top: -10%; } 55% { top: 105%; } 100% { top: 105%; } }

/* 滚动进入视口即自动播放，无需点击，因此不再提供播放按钮 */

.video-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  height: 48px;
  padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(4, 6, 9, 0.85);
  border-top: 1px solid var(--border);
}
.vb-left { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 11px; }
.vb-right { color: var(--muted); font-size: 11px; }

/* ---------- Download CTA ---------- */
.download {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.download-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 88px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.download-inner h2 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.01em; }
.download-inner > p { color: var(--muted); font-size: 15px; }
.download-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.download-note { color: var(--dim); font-size: 12px; }

/* ---------- Contact ---------- */
.contact { padding: 88px 24px; background: var(--bg); position: relative; }
.contact::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(720px 300px at 50% 0%, rgba(34, 211, 238, 0.06), transparent 70%);
  pointer-events: none;
}
.contact-inner { position: relative; max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.contact-inner h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 700; letter-spacing: -0.01em; }
.contact-inner > p { color: var(--muted); font-size: 15px; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 18px;
  margin: 24px auto 0;
  width: 100%;
  max-width: 940px;
  text-align: left;
}
/* 左：联系方式竖排列表 */
.contact-list { display: flex; flex-direction: column; gap: 10px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  color: var(--text);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
}
.contact-item:hover { border-color: var(--accent-border); background: var(--card-hi); transform: translateX(3px); }
.ci-ico { color: var(--accent); display: inline-flex; flex: 0 0 auto; }
.ci-main { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ci-label { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.ci-value { font-size: 14px; color: var(--text); word-break: break-all; }
.ci-go {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--dim);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.contact-item:hover .ci-go { color: var(--accent); border-color: var(--accent-border); }
.contact-note { margin-top: 2px; color: var(--dim); font-size: 11.5px; line-height: 1.65; }

/* 右：微信二维码卡片 */
.contact-qr { display: flex; }
.cq-card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 18px 16px;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
}
.cq-head { display: flex; align-items: center; gap: 8px; align-self: center; font-size: 12.5px; }
.cq-head strong { font-weight: 600; color: var(--muted); }
.cq-frame {
  position: relative;
  display: block;
  width: 100%;
  max-width: 172px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #FFFFFF;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .2s, transform .2s;
}
.cq-frame img { display: block; width: 100%; height: auto; }
.cq-frame:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4); }
.cq-zoom {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 6px 0;
  text-align: center;
  font-size: 11px;
  color: #FFFFFF;
  background: rgba(7, 9, 13, 0.72);
  opacity: 0;
  transition: opacity .2s;
}
.cq-frame:hover .cq-zoom, .cq-frame:focus-visible .cq-zoom { opacity: 1; }
.cq-tip { font-size: 12.5px; color: var(--text); }
.cq-name { font-size: 10.5px; color: var(--dim); }

/* 微信二维码放大层 */
.qr-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; }
.qr-modal[hidden] { display: none; }
.qr-backdrop { position: absolute; inset: 0; background: rgba(4, 6, 10, 0.78); border: 0; cursor: pointer; }
.qr-panel {
  position: relative;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 14px 14px 12px;
  max-width: min(340px, 84vw);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}
.qr-panel img { display: block; width: 100%; height: auto; border-radius: 8px; }
.qr-panel figcaption {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; padding: 0 2px;
  color: #0B1220; font-size: 13px; font-weight: 600;
}
.qr-name { font-size: 11px; color: #5A6474; }
.qr-close {
  position: absolute; top: 18px; right: 22px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF; font-size: 20px; line-height: 1;
  cursor: pointer;
}
.qr-close:hover { background: rgba(255, 255, 255, 0.16); }
body.qr-open { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: #06080B;
  padding: 56px 24px 36px;
  overflow: hidden;
}
.footer-watermark {
  position: relative;
  display: block;
  text-align: center;
  font-family: "Arial Black", var(--sans);
  font-weight: 900;
  font-size: clamp(64px, 9vw, 120px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: #0E131C;
  user-select: none;
  margin-bottom: 40px;
}
.footer-top {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; flex: 0 0 320px; }
.footer-brand p { color: var(--muted); font-size: 14px; }
.foot-lang { color: var(--dim); font-size: 11px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; min-width: 130px; }
.footer-col strong { font-size: 13px; margin-bottom: 4px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color .15s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  position: relative;
  max-width: var(--container);
  margin: 40px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--dim);
  font-size: 12px;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: 32px;
  transform: translate(-50%, 20px);
  background: var(--card);
  border: 1px solid var(--accent-border);
  color: var(--text);
  font-size: 12px;
  padding: 12px 20px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 200;
  max-width: 90vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock-scan, .mock-lines i { animation: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .hero-inner { flex-direction: column; align-items: stretch; }
  .hero-visual { flex: 1 1 auto; }
  .plugin-row { flex-direction: column; align-items: stretch; gap: 32px; padding: 48px 24px; }
  .plugin-row.alt .text-wrap { order: 0; }
  .plugin-row.alt .video-wrap { order: 1; }
  .video-wrap { flex: 1 1 auto; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .tile { flex: 0 0 calc((100% - 12px) / 2); }
  .plugin-row { padding: 40px 24px; }
  .text-wrap h3 { font-size: 26px; }
  .hero { padding: 56px 24px; }
}
@media (max-width: 560px) {
  .contact-item { flex-wrap: wrap; gap: 10px 12px; padding: 14px 16px; }
  .ci-go { margin-left: 36px; }
  .cq-frame { max-width: 240px; }
}
