/* ============================================================
   维森数字科技有限公司 — 企业官网
   深色 · 简约大气 · 全息科技风格
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --bg: #060911;
  --bg-2: #0a0f1c;
  --bg-3: #0d1424;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-strong: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #eef2f9;
  --text-soft: #c7d0df;
  --muted: #8b97ab;
  --faint: #5b6577;

  --accent: #38bdf8;   /* cyan  */
  --accent-2: #a855f7; /* purple */
  --accent-3: #22d3ee; /* bright cyan */
  --grad: linear-gradient(120deg, #22d3ee 0%, #6366f1 50%, #a855f7 100%);
  --grad-soft: linear-gradient(120deg, rgba(34,211,238,.18), rgba(168,85,247,.18));

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 0 1px var(--border), 0 24px 70px -28px rgba(56, 189, 248, 0.45);

  --maxw: 1200px;
  --nav-h: 72px;

  --font: "Noto Sans SC", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--grad);
}

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
}
.section-sub {
  color: var(--muted);
  font-size: 17px;
  max-width: 620px;
}
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* gradient text */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad);
  color: #04111f;
  box-shadow: 0 14px 38px -14px rgba(99, 102, 241, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 46px -14px rgba(99, 102, 241, 0.85); }
.btn-ghost {
  background: var(--surface-strong);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Header / Nav ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(7, 11, 20, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.brand .logo {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--grad);
  display: grid; place-items: center;
  box-shadow: 0 8px 22px -8px rgba(56, 189, 248, 0.7);
  flex: none;
}
.brand .logo svg { width: 20px; height: 24px; color: #fff; }
.brand .brand-name { line-height: 1.15; }
.brand .brand-name small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--text-soft);
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--text); background: var(--surface-strong); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 13px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--text-soft); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease;
}
.lang-btn:hover { border-color: var(--accent); color: var(--text); }
.lang-btn svg.globe { width: 17px; height: 17px; }
.lang-btn svg.chev { width: 13px; height: 13px; transition: transform 0.2s ease; }
.lang-switch.open .lang-btn svg.chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 9px); right: 0;
  min-width: 140px;
  background: rgba(13, 20, 36, 0.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: 12px; padding: 6px;
  display: none; box-shadow: var(--shadow); z-index: 120;
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 10px 12px;
  border: none; background: none; color: var(--text-soft);
  font-size: 14px; font-weight: 500; border-radius: 8px; cursor: pointer;
  font-family: inherit; transition: background 0.18s ease, color 0.18s ease;
}
.lang-menu button:hover { background: var(--surface-strong); color: var(--text); }
.lang-menu button.active { color: var(--accent); }
.lang-menu button .tick { width: 15px; height: 15px; opacity: 0; }
.lang-menu button.active .tick { opacity: 1; }
.mobile-menu .lang-row { display: flex; gap: 8px; margin: 4px 0 10px; }
.mobile-menu .lang-row button {
  flex: 1; padding: 11px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-soft); font-size: 15px; font-weight: 500; cursor: pointer; font-family: inherit;
}
.mobile-menu .lang-row button.active { color: var(--accent); border-color: var(--accent); }
.nav-toggle {
  display: none;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  width: 42px; height: 42px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
}
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 78% 18%, rgba(168, 85, 247, 0.22), transparent 60%),
    radial-gradient(55% 50% at 12% 30%, rgba(34, 211, 238, 0.18), transparent 60%),
    radial-gradient(80% 60% at 50% 110%, rgba(99, 102, 241, 0.16), transparent 70%);
  z-index: 0;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    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: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 80%);
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: 0;
  animation: float 14s ease-in-out infinite;
}
.orb.a { width: 320px; height: 320px; background: #22d3ee; top: 12%; right: 6%; }
.orb.b { width: 260px; height: 260px; background: #a855f7; bottom: 10%; left: 4%; animation-delay: -5s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -28px) scale(1.06); }
}

.hero-inner { position: relative; z-index: 2; max-width: 880px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  font-size: 13.5px;
  color: var(--text-soft);
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34,211,238,.18); }
  50% { box-shadow: 0 0 0 8px rgba(34,211,238,.04); }
}
.hero h1 {
  font-size: clamp(38px, 6.4vw, 76px);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero p.lead {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--text-soft);
  max-width: 640px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 64px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 760px;
  border-top: 1px solid var(--border);
  padding-top: 34px;
}
.hero-stats .num {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats .label { color: var(--muted); font-size: 14px; margin-top: 4px; }

.scroll-hint {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint .mouse {
  width: 22px; height: 36px;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  position: relative;
}
.scroll-hint .mouse::after {
  content: ""; position: absolute; top: 7px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 7px; border-radius: 2px; background: var(--accent);
  animation: scrolldot 1.8s infinite;
}
@keyframes scrolldot { 0% { opacity: 0; top: 7px; } 40% { opacity: 1; } 80% { opacity: 0; top: 18px; } 100% { opacity: 0; } }

/* ---------- Pillars (3 business) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  position: relative;
  padding: 34px 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.pillar::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad-soft);
  opacity: 0; transition: opacity 0.3s ease;
}
.pillar:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.pillar:hover::before { opacity: 1; }
.pillar > * { position: relative; z-index: 1; }
.pillar .icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  margin-bottom: 22px;
  color: var(--accent);
}
.pillar .icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 21px; margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: 15px; }

/* ---------- Generic card grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.card {
  padding: 32px 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-strong); }
.card .icon {
  width: 50px; height: 50px; border-radius: 13px;
  background: var(--grad-soft); border: 1px solid var(--border);
  display: grid; place-items: center; margin-bottom: 20px; color: var(--accent);
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* feature list */
.feature-list { margin-top: 18px; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 11px; color: var(--text-soft); font-size: 15px; }
.feature-list li svg { width: 19px; height: 19px; color: var(--accent-3); flex: none; margin-top: 3px; }

/* ---------- Split / About visual ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.split.reverse { grid-template-columns: 0.95fr 1.05fr; }
.visual-panel {
  position: relative;
  aspect-ratio: 4 / 3.2;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(70% 60% at 30% 25%, rgba(34,211,238,.22), transparent 60%),
    radial-gradient(70% 70% at 75% 80%, rgba(168,85,247,.22), transparent 60%),
    var(--bg-2);
  overflow: hidden;
  display: grid; place-items: center;
}
.visual-panel .holo {
  width: 58%; aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #22d3ee, #6366f1, #a855f7, #22d3ee);
  filter: blur(2px);
  opacity: 0.85;
  animation: spin 18s linear infinite;
  position: relative;
  -webkit-mask: radial-gradient(circle, transparent 38%, #000 40%);
  mask: radial-gradient(circle, transparent 38%, #000 40%);
}
.visual-panel .holo::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 60px rgba(34,211,238,.5);
}
@keyframes spin { to { transform: rotate(360deg); } }
.visual-panel .ring {
  position: absolute; border: 1px solid var(--border-strong); border-radius: 50%;
}
.visual-panel .ring.r1 { width: 74%; aspect-ratio: 1; animation: spin 26s linear infinite reverse; }
.visual-panel .ring.r2 { width: 90%; aspect-ratio: 1; animation: spin 36s linear infinite; }

/* floating glass chips on visual */
.chip {
  position: absolute;
  padding: 10px 16px;
  background: rgba(13, 20, 36, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow);
}
.chip.c1 { top: 14%; left: 8%; }
.chip.c2 { bottom: 16%; right: 8%; color: var(--accent-3); }
.chip.c3 { top: 46%; right: 4%; }

/* ---------- Stats band ---------- */
.stats-band {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(60% 120% at 0% 0%, rgba(34,211,238,.12), transparent 60%),
    radial-gradient(60% 120% at 100% 100%, rgba(168,85,247,.12), transparent 60%),
    var(--bg-2);
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-band .num { font-size: clamp(30px, 4vw, 46px); font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats-band .label { color: var(--muted); font-size: 14.5px; margin-top: 6px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(var(--accent), var(--accent-2));
}
.timeline li { position: relative; padding-bottom: 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -28px; top: 5px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(56,189,248,.15);
}
.timeline .year { color: var(--accent); font-weight: 700; font-size: 15px; }
.timeline h4 { font-size: 18px; margin: 4px 0 6px; }
.timeline p { color: var(--muted); font-size: 15px; }

/* ---------- Values ---------- */
.value-card { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.value-card .n { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; }
.value-card h3 { font-size: 19px; margin: 12px 0 8px; }
.value-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- Service detail blocks ---------- */
.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.service-block:first-of-type { border-top: none; }
.service-block.reverse { grid-template-columns: 1.1fr 0.9fr; }
.service-block.reverse .sb-visual { order: 2; }
.sb-visual {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(60% 70% at 25% 30%, rgba(34,211,238,.2), transparent 60%),
    radial-gradient(70% 70% at 80% 75%, rgba(168,85,247,.2), transparent 60%),
    var(--bg-2);
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.sb-visual .glyph { width: 92px; height: 92px; color: var(--accent); opacity: 0.9; }
.sb-visual .glyph svg { width: 100%; height: 100%; }

/* video placeholder inside visual panels */
.vid-placeholder {
  width: 100%; height: 100%;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  display: grid; place-items: center;
}
.vid-placeholder video {
  width: 100%; height: 100%;
  object-fit: cover;
  position: relative; z-index: 2;
  border-radius: var(--radius);
}
.vid-placeholder .vp-fallback {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: center;
  text-align: center;
  padding: 24px;
  color: var(--text-soft);
  font-size: 14px;
  background:
    radial-gradient(60% 70% at 25% 30%, rgba(34,211,238,.12), transparent 60%),
    radial-gradient(70% 70% at 80% 75%, rgba(168,85,247,.12), transparent 60%),
    var(--bg-2);
}
.vp-fallback span { display: grid; gap: 8px; justify-items: center; }
.vp-fallback .vp-icon { width: 40px; height: 40px; opacity: 0.85; }
.vp-fallback .vp-path {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  word-break: break-all;
}

.sb-content .tag {
  display: inline-block; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 12px;
}
.sb-content h3 { font-size: 26px; margin-bottom: 14px; }
.sb-content p { color: var(--muted); font-size: 16px; margin-bottom: 22px; }
.sb-content .feature-list li { color: var(--text-soft); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); position: relative; }
.step .idx { font-size: 34px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.85; }
.step h4 { font-size: 17px; margin: 8px 0 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(80% 120% at 20% 0%, rgba(34,211,238,.18), transparent 55%),
    radial-gradient(80% 120% at 90% 100%, rgba(168,85,247,.2), transparent 55%),
    var(--bg-2);
  padding: 64px 48px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 16px; }
.cta-band p { color: var(--text-soft); max-width: 560px; margin: 0 auto 30px; font-size: 17px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; }
.contact-info { display: grid; gap: 18px; }
.info-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.info-card .icon {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: var(--grad-soft); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--accent);
}
.info-card .icon svg { width: 22px; height: 22px; }
.info-card .k { color: var(--muted); font-size: 13.5px; }
.info-card .v { color: var(--text); font-size: 16px; font-weight: 600; margin-top: 2px; }
.info-card .v small { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; margin-top: 3px; }

.form-card {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; color: var(--text-soft); margin-bottom: 8px; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 15px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .err { color: #fb7185; font-size: 13px; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #fb7185; }
.field.invalid .err { display: block; }

.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.form-success.show { display: block; }
.form-success .check {
  width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--grad-soft); border: 1px solid var(--accent);
  display: grid; place-items: center; color: var(--accent);
}
.form-success .check svg { width: 30px; height: 30px; }
.form-success h3 { font-size: 22px; margin-bottom: 8px; }
.form-success p { color: var(--muted); }

.form-error {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 92, 92, 0.12);
  border: 1px solid rgba(255, 92, 92, 0.42);
  color: #ffb3b3;
  font-size: 14px;
  line-height: 1.6;
}
.form-error.show { display: block; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer .brand { margin-bottom: 18px; }
.footer-about { color: var(--muted); font-size: 14.5px; max-width: 320px; }
.footer h4 { font-size: 15px; margin-bottom: 18px; color: var(--text); }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: var(--muted); font-size: 14.5px; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 26px; border-top: 1px solid var(--border);
  color: var(--faint); font-size: 13.5px; flex-wrap: wrap; gap: 12px;
}
.footer-bottom .socials { display: flex; gap: 12px; }
.footer-bottom .socials a {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-bottom .socials a:hover { color: var(--accent); border-color: var(--accent); }
.footer-bottom .socials svg { width: 17px; height: 17px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .holo, .ring { animation: none; }
}

/* ============================================================
   作品案例（图片 / 视频占位格子）
   ============================================================ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}
.work-card {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(56,189,248,.12), rgba(139,92,246,.12)),
    var(--surface);
  border: 1px solid var(--border);
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px -20px rgba(56,189,248,.5);
  border-color: rgba(56,189,248,.5);
}
.work-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.work-card figcaption {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  border-top: 1px solid var(--border);
}
/* 缺图兜底：显示应放入的文件名 */
.work-card.no-img::after {
  content: "📷 " attr(data-ph);
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 49px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 16px;
  font-size: 13px;
  color: var(--text-dim);
  word-break: break-all;
}

.work-feature {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
}
.work-video { position: relative; }
.work-video video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  border-radius: 14px;
  background: #05080f;
  aspect-ratio: 16 / 9;
}
/* 缺视频兜底提示（仅在视频加载失败时显示） */
.work-video::after {
  content: "▶ " attr(data-ph);
  display: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(56,189,248,.12), rgba(139,92,246,.12));
  place-items: center;
  text-align: center;
  padding: 0 18px;
  font-size: 14px;
  color: var(--text-dim);
  word-break: break-all;
}
.work-video.no-video::after { display: grid; }
.work-feature-text h3 { font-size: 22px; margin-bottom: 10px; }
.work-feature-text p { color: var(--text-soft); line-height: 1.7; }

/* ============================================================
   作品案例 · 视频墙 + 灯箱
   ============================================================ */
.section--top { padding-top: calc(var(--nav-h) + 48px); }
.video-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.video-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.video-card:hover, .video-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 20px 46px -22px rgba(56,189,248,.55);
  border-color: rgba(56,189,248,.55);
  outline: none;
}
.vc-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(56,189,248,.14), rgba(139,92,246,.14)),
    var(--surface);
  overflow: hidden;
}
.vc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vc-thumb.no-img::after {
  content: "\1F3AC  待放入封面图";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  text-align: center; padding: 0 14px;
  font-size: 12.5px; color: var(--text-dim);
}
.vc-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10,17,31,.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  transition: transform .3s ease, background .3s ease;
}
.vc-play svg { width: 26px; height: 26px; margin-left: 4px; }
.video-card:hover .vc-play { transform: translate(-50%, -50%) scale(1.08); background: rgba(56,189,248,.85); }
.vc-meta { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; }
.vc-cat {
  align-self: flex-start;
  font-size: 12px; font-weight: 600;
  color: #7fd6ff;
  padding: 3px 10px;
  border: 1px solid rgba(56,189,248,.4);
  border-radius: 999px;
  background: rgba(56,189,248,.08);
}
.vc-title { font-size: 16px; font-weight: 600; color: var(--text); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  display: grid; place-items: center;
  padding: 5vh 5vw;
  background: rgba(4,7,14,.92);
  backdrop-filter: blur(8px);
}
.lightbox[hidden] { display: none; }
.lb-stage {
  width: min(1100px, 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
  border: 1px solid var(--border);
}
.lb-stage video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.lb-close {
  position: absolute;
  top: 22px; right: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff; cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.lb-close:hover { background: rgba(255,255,255,.18); transform: rotate(90deg); }
.lb-close svg { width: 22px; height: 22px; }
body.lb-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .split, .split.reverse, .service-block, .service-block.reverse, .contact-wrap {
    grid-template-columns: 1fr; gap: 36px;
  }
  .service-block.reverse .sb-visual { order: 0; }
  .pillars, .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .video-wall { grid-template-columns: repeat(2, 1fr); }
  .work-feature { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 76px 0; }
  .section--top { padding-top: calc(var(--nav-h) + 28px); }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .mobile-menu {
    position: fixed; inset: var(--nav-h) 0 0 0;
    background: rgba(7,11,20,.97);
    backdrop-filter: blur(14px);
    z-index: 99;
    display: none;
    flex-direction: column;
    padding: 28px 24px;
    gap: 6px;
  }
  .mobile-menu.show { display: flex; }
  .mobile-menu a { padding: 15px 18px; border-radius: 12px; font-size: 17px; color: var(--text-soft); background: var(--surface); margin-bottom: 6px; }
  .mobile-menu a.active { color: var(--text); background: var(--surface-strong); }
  .mobile-menu .btn { margin-top: 14px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .pillars, .grid-3, .grid-2, .steps, .footer-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .video-wall { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 36px 24px; }
  .cta-band, .form-card { padding: 40px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 721px) {
  .mobile-menu { display: none !important; }
}
