/* =============================================================
   维栈科技 · WEIZHAN TECH — 官方网站设计系统
   纯静态 / 无外部依赖 / 浅色现代风
   ============================================================= */

:root {
  /* 色彩 */
  --bg:            #f6f8fc;
  --surface:       #ffffff;
  --surface-2:     #f0f3fb;
  --ink:           #141a2e;
  --ink-2:         #3d4560;
  --muted:         #7a8399;
  --line:          #e6eaf3;
  --brand:         #4c6fff;
  --brand-deep:    #3b58e8;
  --brand-2:       #7a5af8;
  --accent:        #ffb020;
  --brand-soft:    #edf1ff;
  --purple-soft:   #f1edff;
  --amber-soft:    #fff4de;
  --dark:          #151b33;
  --dark-2:        #1e2645;

  /* 形状 */
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;

  /* 投影 */
  --sh-sm: 0 2px 10px rgba(20, 26, 46, .04);
  --sh:    0 14px 40px -14px rgba(20, 26, 46, .14);
  --sh-lg: 0 32px 80px -28px rgba(20, 26, 46, .26);

  --maxw: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
:target { scroll-margin-top: 92px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul { list-style: none; }
::selection { background: var(--brand-soft); color: var(--brand-deep); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 104px 0; }
.section.tight { padding: 72px 0; }

/* ---------- 通用排版 ---------- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.section-tag::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head .section-tag { margin-bottom: 18px; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--ink);
  font-weight: 750;
}
.section-head p { margin-top: 16px; color: var(--muted); font-size: 16px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: .14em;
  box-shadow: var(--sh-sm);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.hl { color: var(--brand); position: relative; white-space: nowrap; isolation: isolate; }
.hl::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 8px;
  background: var(--amber-soft);
  border-radius: 6px;
  z-index: -1;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(76, 111, 255, .65);
}
.btn-primary:hover { background: var(--brand-deep); box-shadow: 0 16px 32px -10px rgba(76, 111, 255, .72); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand-deep); }
.btn-light:hover { background: var(--brand-soft); }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.32); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-sm { min-height: 40px; padding: 0 17px; font-size: 13.5px; border-radius: var(--r-sm); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand);
  font-size: 14.5px;
  font-weight: 650;
  transition: gap .2s ease;
}
.card-link:hover { gap: 12px; }

/* ---------- 导航 ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(230, 234, 243, .9);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--brand);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(76, 111, 255, .75);
}
.brand-mark svg { width: 23px; height: 23px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 17px; font-weight: 750; color: var(--ink); letter-spacing: .02em; }
.brand-text small { font-size: 9.5px; letter-spacing: .2em; color: var(--muted); font-weight: 650; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 550;
  color: var(--ink-2);
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--brand); background: var(--brand-soft); }
.nav-links a.active { color: var(--brand); background: var(--brand-soft); font-weight: 650; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 11px; background: #fff; padding: 11px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 4px 0; transition: transform .25s ease, opacity .2s ease; }
.site-nav.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-nav.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-nav.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 92px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -180px; right: -120px;
  width: 620px; height: 620px;
  border: 1px solid rgba(76, 111, 255, .10);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: -80px; right: 20px;
  width: 380px; height: 380px;
  border: 1px solid rgba(122, 90, 248, .10);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 64px;
}
.hero-title {
  margin-top: 26px;
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.22;
  letter-spacing: -.035em;
  font-weight: 780;
  color: var(--ink);
}
.hero-lead { margin-top: 24px; max-width: 500px; font-size: 16.5px; color: var(--muted); line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 42px; padding-top: 26px; border-top: 1px solid var(--line); }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); font-weight: 550; }
.trust-item svg { width: 16px; height: 16px; color: var(--brand); }

/* 产品工作台（纯 CSS / SVG 绘制，无位图、无生成式插画） */
.workbench {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  overflow: hidden;
  transform: rotate(-.6deg);
  transition: transform .4s ease;
}
.workbench:hover { transform: rotate(0deg); }
.wb-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: #fbfcff;
}
.wb-dots { display: flex; gap: 6px; }
.wb-dots i { width: 9px; height: 9px; border-radius: 50%; background: #e2e7f1; }
.wb-dots i:first-child { background: #ffbd7a; }
.wb-dots i:nth-child(2) { background: #ffd66b; }
.wb-dots i:nth-child(3) { background: #8fd8ac; }
.wb-url { flex: 1; text-align: center; font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.wb-status { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #2f9e6b; font-weight: 650; }
.wb-status i { width: 6px; height: 6px; border-radius: 50%; background: #34b877; }
.wb-body { display: grid; grid-template-columns: 152px 1fr; min-height: 336px; }
.wb-side { padding: 18px 12px; border-right: 1px solid var(--line); background: #fafbff; }
.wb-side-label { padding: 0 10px 10px; font-size: 10px; letter-spacing: .16em; color: var(--muted); font-weight: 700; }
.wb-tab {
  width: 100%;
  display: flex; align-items: center; gap: 9px;
  padding: 10px 11px;
  margin-bottom: 4px;
  border-radius: var(--r-sm);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  text-align: left;
  transition: background .2s ease, color .2s ease;
}
.wb-tab svg { width: 15px; height: 15px; flex: none; }
.wb-tab:hover { background: var(--surface-2); }
.wb-tab.active { background: var(--brand-soft); color: var(--brand-deep); }
.wb-main { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.wb-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wb-title { font-size: 14px; font-weight: 700; color: var(--ink); }
.wb-badge { font-size: 10.5px; color: var(--brand-2); background: var(--purple-soft); padding: 4px 9px; border-radius: 999px; font-weight: 650; }
.wb-canvas {
  position: relative;
  height: 168px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface-2);
  overflow: hidden;
}
.wb-canvas::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(76,111,255,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(76,111,255,.055) 1px, transparent 1px);
  background-size: 22px 22px;
}
.canvas-view { position: absolute; inset: 0; display: none; }
.canvas-view.show { display: block; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }

/* 视频视图 */
.cv-video .cv-screen { position: absolute; left: 24px; right: 24px; top: 22px; bottom: 46px; border-radius: 10px; background: #e8edfb; border: 1px solid #d9e1f7; overflow: hidden; }
.cv-video .cv-shape { position: absolute; border-radius: 12px; }
.cv-video .s1 { left: 14%; top: 22%; width: 34%; height: 56%; background: #c9d5fb; transform: rotate(-8deg); }
.cv-video .s2 { right: 14%; top: 32%; width: 26%; height: 44%; background: #b9c6f8; transform: rotate(9deg); }
.cv-video .s3 { left: 44%; top: 46%; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 6px 16px rgba(20,26,46,.14); display: grid; place-items: center; }
.cv-video .s3::after { content: ""; border-left: 12px solid var(--brand); border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.cv-video .cv-timeline { position: absolute; left: 24px; right: 24px; bottom: 18px; height: 5px; border-radius: 99px; background: #dbe3f6; }
.cv-video .cv-timeline::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 62%; border-radius: 99px; background: var(--brand); }
/* 图像视图 */
.cv-image { padding: 22px 24px; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cv-image.show { display: grid; }
.cv-image .tile { border-radius: 9px; background: #e8edfb; border: 1px solid #dbe2f5; position: relative; overflow: hidden; }
.cv-image .tile::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 16%; height: 34%; border-radius: 6px 6px 2px 2px; background: #c3d0f8; }
.cv-image .tile:nth-child(2)::after { background: #d6c9fb; border-radius: 50% 50% 4px 4px; }
.cv-image .tile:nth-child(3)::after { background: #ffdca1; }
.cv-image .tile:nth-child(4)::after { background: #b6dcf3; border-radius: 50%; }
/* 系统视图 */
.cv-system .node { position: absolute; padding: 7px 12px; border-radius: 8px; background: #fff; border: 1px solid #dbe2f5; box-shadow: var(--sh-sm); font-size: 10.5px; font-weight: 650; color: var(--ink-2); white-space: nowrap; }
.cv-system .n1 { left: 9%; top: 22%; }
.cv-system .n2 { left: 39%; top: 12%; border-color: #b9c8ff; color: var(--brand-deep); }
.cv-system .n3 { right: 8%; top: 30%; }
.cv-system .n4 { left: 34%; bottom: 18%; border-color: #d3c4fb; color: var(--brand-2); }
.cv-system .line { position: absolute; height: 1.5px; background: #c9d4f3; transform-origin: left center; }
.cv-system .l1 { left: 25%; top: 34%; width: 15%; transform: rotate(-14deg); }
.cv-system .l2 { left: 57%; top: 27%; width: 18%; transform: rotate(12deg); }
.cv-system .l3 { left: 49%; top: 47%; width: 12%; transform: rotate(62deg); }

.wb-progress { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); }
.wb-progress #wbState { flex: none; max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-progress .track { flex: 1; height: 5px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.wb-progress .bar { height: 100%; width: 0%; border-radius: 99px; background: var(--brand); transition: width .25s linear; }
.wb-progress .pct { min-width: 32px; text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; color: var(--ink-2); }
.wb-params { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.wb-param { background: var(--surface-2); border-radius: var(--r-sm); padding: 8px 10px; }
.wb-param span { display: block; font-size: 9.5px; color: var(--muted); letter-spacing: .04em; }
.wb-param strong { display: block; font-size: 12px; color: var(--ink); font-weight: 700; margin-top: 2px; }
.wb-foot { display: flex; align-items: center; gap: 10px; }
.wb-gen { flex: none; }
.wb-thumbs { display: flex; gap: 7px; margin-left: auto; }
.wb-thumb { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: #e8edfb; }
.wb-thumb:nth-child(2) { background: #e5dbfb; }
.wb-thumb:nth-child(3) { background: #ffe8bd; }

/* ---------- 数据条 ---------- */
.stats { padding: 0 0 8px; }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.stat { padding: 32px 26px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { font-size: clamp(30px, 3.4vw, 42px); font-weight: 780; color: var(--ink); letter-spacing: -.045em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat-num sup { font-size: .45em; color: var(--brand); vertical-align: super; margin-left: 2px; }
.stat-label { margin-top: 6px; font-size: 13.5px; color: var(--muted); }

/* ---------- 服务卡片 ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 30px 28px 28px;
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.service-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.service-card:nth-child(2)::before { background: var(--brand-2); }
.service-card:nth-child(3)::before { background: var(--accent); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: #d9e1f5; }
.service-card:hover::before { transform: scaleX(1); }
.sc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.icon-box { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.icon-box svg { width: 25px; height: 25px; }
.icon-box.purple { background: var(--purple-soft); color: var(--brand-2); }
.icon-box.amber { background: var(--amber-soft); color: #d98a06; }
.sc-index { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: #c4ccdd; }
.service-card h3 { font-size: 21px; color: var(--ink); font-weight: 730; letter-spacing: -.01em; }
.service-card > p { margin-top: 12px; font-size: 14.5px; color: var(--muted); line-height: 1.85; min-height: 78px; }
.feat-list { margin: 20px 0 26px; display: grid; gap: 11px; }
.feat-list li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-2); }
.feat-list svg { width: 15px; height: 15px; color: var(--brand); flex: none; }
.service-card .card-link { margin-top: auto; }

/* ---------- 关于 / 优势 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-copy h2 { margin-top: 18px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.32; letter-spacing: -.025em; color: var(--ink); font-weight: 760; }
.about-copy > p { margin-top: 18px; color: var(--muted); font-size: 15.5px; line-height: 1.95; }
.about-copy .accent { color: var(--brand); font-weight: 650; }
.about-copy .btn { margin-top: 28px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-point { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 22px; box-shadow: var(--sh-sm); transition: transform .25s ease, box-shadow .25s ease; }
.about-point:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.about-point .ap-icon { width: 38px; height: 38px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.about-point:nth-child(2) .ap-icon { background: var(--purple-soft); color: var(--brand-2); }
.about-point:nth-child(3) .ap-icon { background: var(--amber-soft); color: #d98a06; }
.about-point:nth-child(4) .ap-icon { background: #e7f6ee; color: #239e68; }
.ap-icon svg { width: 19px; height: 19px; }
.about-point h4 { font-size: 16px; color: var(--ink); font-weight: 700; }
.about-point p { margin-top: 7px; font-size: 13.5px; color: var(--muted); line-height: 1.75; }

/* ---------- 流程 ---------- */
.process { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 23px; height: 2px; background: var(--line); }
.step { position: relative; padding-top: 0; }
.step-num { position: relative; z-index: 1; width: 48px; height: 48px; margin: 0 auto 22px; border-radius: 15px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand); font-size: 14px; font-weight: 750; box-shadow: var(--sh-sm); transition: background .25s ease, color .25s ease, transform .25s ease; }
.step:hover .step-num { background: var(--brand); color: #fff; transform: translateY(-3px); border-color: var(--brand); }
.step { text-align: center; }
.step h4 { font-size: 17px; color: var(--ink); font-weight: 700; }
.step p { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.85; padding: 0 8px; }

/* ---------- 行业场景 ---------- */
.industry-grid { display: grid; grid-template-columns: 290px 1fr; gap: 24px; align-items: stretch; }
.ind-tabs { display: flex; flex-direction: column; gap: 10px; }
.ind-tab {
  display: flex; align-items: center; gap: 12px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  text-align: left;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 650;
  transition: all .22s ease;
}
.ind-tab .ind-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--surface-2); color: var(--brand); display: grid; place-items: center; flex: none; }
.ind-ico svg { width: 17px; height: 17px; }
.ind-tab:hover { border-color: #c9d4f8; transform: translateX(3px); }
.ind-tab.active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 12px 26px -12px rgba(76,111,255,.7); }
.ind-tab.active .ind-ico { background: rgba(255,255,255,.2); color: #fff; }
.ind-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 40px; box-shadow: var(--sh-sm); display: flex; flex-direction: column; justify-content: center; }
.ind-panel .ind-kicker { font-size: 11.5px; letter-spacing: .18em; font-weight: 700; color: var(--brand); text-transform: uppercase; }
.ind-panel h3 { margin-top: 12px; font-size: 27px; color: var(--ink); font-weight: 750; letter-spacing: -.02em; }
.ind-panel > p { margin-top: 14px; font-size: 15px; color: var(--muted); line-height: 1.9; max-width: 620px; }
.ind-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ind-tag { padding: 8px 15px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); font-weight: 550; }
.ind-panel .card-link { margin-top: 30px; }

/* ---------- CTA ---------- */
.cta-section { padding: 20px 0 104px; }
.cta-card {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  border-radius: var(--r-xl);
  padding: 66px 64px;
  color: #fff;
  box-shadow: var(--sh-lg);
}
.cta-deco { position: absolute; right: -70px; top: -90px; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; pointer-events: none; }
.cta-deco::after { content: ""; position: absolute; inset: 60px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 760; letter-spacing: -.025em; line-height: 1.35; }
.cta-card > p { margin-top: 14px; color: #b9c2dc; font-size: 15.5px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.cta-meta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 38px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.cta-meta span { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #9fa9c6; }
.cta-meta svg { width: 15px; height: 15px; color: var(--accent); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 68px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 18px; max-width: 320px; font-size: 13.5px; color: var(--muted); line-height: 1.9; }
.footer-col h5 { font-size: 14px; color: var(--ink); font-weight: 700; margin-bottom: 18px; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 13.5px; color: var(--muted); transition: color .2s ease; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { margin-top: 52px; padding: 20px 0 24px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.footer-bottom a:hover { color: var(--brand); }

/* ---------- 内页页头 ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--surface-2); border-bottom: 1px solid var(--line); padding: 66px 0 62px; }
.page-hero::after { content: ""; position: absolute; right: -100px; top: -140px; width: 420px; height: 420px; border: 1px solid rgba(76,111,255,.16); border-radius: 50%; }
.page-hero::before { content: ""; position: absolute; right: 60px; top: -40px; width: 230px; height: 230px; border: 1px solid rgba(122,90,248,.14); border-radius: 50%; }
.ph-inner { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb svg { width: 13px; height: 13px; }
.ph-title { font-size: clamp(30px, 4vw, 46px); color: var(--ink); font-weight: 770; letter-spacing: -.03em; line-height: 1.25; }
.ph-lead { margin-top: 16px; font-size: 16px; color: var(--muted); max-width: 620px; }

/* ---------- 服务详情 ---------- */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.svc-row:last-of-type { border-bottom: 0; }
.svc-row.reverse .svc-visual { order: 2; }
.svc-visual {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh);
  padding: 26px;
  min-height: 280px;
  display: flex; flex-direction: column;
}
.svc-visual .vv-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.svc-visual .vv-top strong { font-size: 12.5px; color: var(--ink); font-weight: 700; }
.svc-visual .vv-top span { font-size: 10.5px; letter-spacing: .14em; color: var(--brand); font-weight: 700; }
.vv-stage { flex: 1; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface-2); position: relative; overflow: hidden; }
.vv-stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(76,111,255,.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(76,111,255,.05) 1px, transparent 1px); background-size: 24px 24px; }
.vv-stage > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vv-foot { display: flex; gap: 8px; margin-top: 16px; }
.vv-foot i { height: 6px; border-radius: 99px; background: var(--surface-2); flex: 1; }
.vv-foot i:first-child { background: var(--brand); flex: 2; }
.svc-info .svc-num { font-size: 13px; letter-spacing: .18em; font-weight: 750; color: var(--brand); }
.svc-info h2 { margin-top: 14px; font-size: clamp(24px, 2.8vw, 32px); color: var(--ink); font-weight: 750; letter-spacing: -.02em; }
.svc-info > p { margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.95; }
.svc-list { margin: 24px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.svc-list li { display: flex; gap: 9px; font-size: 13.5px; color: var(--ink-2); align-items: flex-start; }
.svc-list svg { width: 16px; height: 16px; color: var(--brand); flex: none; margin-top: 3px; }

/* ---------- 关于页 ---------- */
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.intro-copy h2 { margin-top: 18px; font-size: clamp(26px, 3vw, 36px); color: var(--ink); font-weight: 760; line-height: 1.35; letter-spacing: -.025em; }
.intro-copy p { margin-top: 18px; color: var(--muted); font-size: 15.5px; line-height: 1.95; }
.intro-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--sh-sm); }
.intro-card .ic-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.intro-card .ic-row:last-child { border-bottom: 0; }
.intro-card .ic-row span { color: var(--muted); }
.intro-card .ic-row strong { color: var(--ink); font-weight: 650; }
.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scope-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; box-shadow: var(--sh-sm); transition: transform .25s ease, box-shadow .25s ease; }
.scope-card:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.scope-card .icon-box { margin-bottom: 20px; }
.scope-card h3 { font-size: 18px; color: var(--ink); font-weight: 720; }
.scope-card p { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.85; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px; box-shadow: var(--sh-sm); }
.value-card .v-num { font-size: 12px; font-weight: 750; letter-spacing: .16em; color: var(--brand); }
.value-card h4 { margin-top: 14px; font-size: 17px; color: var(--ink); font-weight: 700; }
.value-card p { margin-top: 9px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.contact-list { display: grid; gap: 14px; margin-top: 30px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; box-shadow: var(--sh-sm); transition: transform .22s ease, border-color .22s ease; }
.contact-item:hover { transform: translateY(-3px); border-color: #cdd8f7; }
.ci-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.ci-icon svg { width: 20px; height: 20px; }
.contact-item h5 { font-size: 13px; color: var(--muted); font-weight: 600; }
.contact-item p { margin-top: 3px; font-size: 15.5px; color: var(--ink); font-weight: 650; }
.contact-item a:hover { color: var(--brand); }
.wx-copy { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: none; font: inherit; font-weight: 650; color: var(--ink); cursor: pointer; transition: color .2s ease; }
.wx-copy svg { width: 15px; height: 15px; color: var(--muted); transition: color .2s ease, transform .2s ease; }
.wx-copy:hover { color: var(--brand); }
.wx-copy:hover svg { color: var(--brand); transform: translateY(-1px); }
.wx-copy.copied, .wx-copy.copied svg { color: var(--brand); }
.copy-toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 14px); display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: #1d2740; color: #fff; font-size: 13.5px; font-weight: 600; box-shadow: 0 16px 36px -14px rgba(15, 23, 42, .55); opacity: 0; pointer-events: none; transition: opacity .22s ease, transform .22s ease; z-index: 9999; }
.copy-toast.show { opacity: 1; transform: translate(-50%, 0); }
.copy-toast svg { width: 15px; height: 15px; flex: none; }
[data-theme="dark"] .copy-toast { background: #e9eeff; color: #101828; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 34px; box-shadow: var(--sh); }
.form-card h3 { font-size: 21px; color: var(--ink); font-weight: 730; }
.form-card > p { margin-top: 8px; margin-bottom: 26px; font-size: 14px; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 650; color: var(--ink-2); margin-bottom: 8px; }
.form-group label .req { color: #e2564d; margin-left: 3px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 14.5px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-group textarea { min-height: 108px; resize: vertical; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #a9b2c4; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.form-group .err-msg { display: none; margin-top: 6px; font-size: 12.5px; color: #d9483f; }
.form-group.invalid input, .form-group.invalid textarea { border-color: #e99089; }
.form-group.invalid .err-msg { display: block; }
.form-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success.show { display: block; animation: fadeIn .4s ease; }
.form-success .ok-icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: #e7f6ee; color: #239e68; display: grid; place-items: center; }
.form-success .ok-icon svg { width: 30px; height: 30px; }
.form-success h3 { font-size: 22px; }
.form-success p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.form-success .btn { margin-top: 24px; }

/* ---------- 服务页浅色 CTA ---------- */
.soft-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 38px 42px;
  box-shadow: var(--sh-sm);
}
.soft-cta h2 { font-size: 24px; color: var(--ink); font-weight: 750; letter-spacing: -.02em; }
.soft-cta p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
@media (max-width: 640px) { .soft-cta { padding: 28px 22px; } }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 50;
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--sh); color: var(--ink);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--brand); border-color: var(--brand); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- 滚动出现 ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-inner { gap: 36px; }
  .hero-title { font-size: clamp(34px, 4.4vw, 48px); }
  .about-grid, .intro-grid { gap: 36px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
  .footer-grid .footer-col:last-child { grid-column: 2 / -1; }
}

@media (max-width: 900px) {
  .section { padding: 76px 0; }
  .hero { padding: 60px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-lead { max-width: 620px; }
  .workbench { max-width: 620px; transform: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card > p { min-height: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .industry-grid { grid-template-columns: 1fr; }
  .ind-tabs { flex-direction: row; flex-wrap: wrap; }
  .ind-tab { flex: 1 1 44%; }
  .ind-tab:hover { transform: none; }
  .ind-panel { padding: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 42px; }
  .steps::before { display: none; }
  .svc-row, .svc-row.reverse { grid-template-columns: 1fr; gap: 28px; }
  .svc-row.reverse .svc-visual { order: 0; }
  .intro-grid, .contact-grid { grid-template-columns: 1fr; }
  .scope-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-card { padding: 48px 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: auto; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 12px 20px; }
  .menu-toggle { display: block; }
  .nav-actions .btn { display: none; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px 20px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh);
  }
  .site-nav.nav-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 10px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 38px; }
  .hero { padding: 44px 0 64px; }
  .hero-title { font-size: 36px; }
  .hero-lead { font-size: 15px; }
  .hero-trust { gap: 14px; }
  .wb-body { grid-template-columns: 1fr; min-height: 0; }
  .wb-side { display: flex; gap: 6px; padding: 12px; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
  .wb-side-label { display: none; }
  .wb-tab { width: auto; flex: none; margin: 0; padding: 8px 11px; font-size: 12px; }
  .wb-main { padding: 16px; }
  .wb-params { grid-template-columns: repeat(3, 1fr); }
  .wb-param strong { font-size: 11px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 24px 12px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .services-grid, .about-points, .scope-grid, .values-grid { grid-template-columns: 1fr; }
  .service-card { padding: 26px 22px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .step p { padding: 0; }
  .ind-tab { flex: 1 1 100%; }
  .ind-panel { padding: 26px 22px; }
  .ind-panel h3 { font-size: 22px; }
  .cta-card { padding: 40px 24px; }
  .cta-meta { gap: 14px; }
  .page-hero { padding: 46px 0 44px; }
  .form-card { padding: 24px 20px; }
  .form-row, .svc-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { justify-content: center; text-align: center; }
  .to-top { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =============================================================
   主题切换按钮
   ============================================================= */
.theme-toggle {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink-2);
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.theme-toggle:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .ico-sun { display: none; }
[data-theme="dark"] .theme-toggle .ico-moon { display: none; }
[data-theme="dark"] .theme-toggle .ico-sun { display: block; }

/* =============================================================
   首页精选案例
   ============================================================= */
.case-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-mini {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px 24px;
  box-shadow: var(--sh-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.case-mini:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.case-mini .cm-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cm-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.cm-ico svg { width: 20px; height: 20px; }
.cm-ind { font-size: 11px; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.case-mini h3 { font-size: 17px; color: var(--ink); font-weight: 720; }
.case-mini p { margin-top: 9px; font-size: 13.5px; color: var(--muted); line-height: 1.8; min-height: 50px; }
.cm-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.cm-tags span { font-size: 11.5px; color: var(--brand); background: var(--brand-soft); padding: 5px 10px; border-radius: 999px; }

/* =============================================================
   作品墙 / 客户案例 / 详情弹层
   ============================================================= */
.notice-bar {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 14px 18px;
  font-size: 13.5px; color: var(--muted); line-height: 1.8; margin-bottom: 34px;
}
.notice-bar svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 3px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.filter-btn {
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: 13.5px; font-weight: 650; color: var(--ink-2);
  transition: all .2s ease;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-sm);
  cursor: pointer;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.work-card[hidden] { display: none; }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: #cdd8f7; }
.work-art { aspect-ratio: 16 / 10; background: var(--surface-2); border-bottom: 1px solid var(--line); overflow: hidden; }
.work-art svg { width: 100%; height: 100%; display: block; }
.work-meta { padding: 20px 22px 22px; }
.work-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; }
.work-meta h3 { margin-top: 12px; font-size: 17px; color: var(--ink); font-weight: 720; }
.work-meta p { margin-top: 7px; font-size: 13px; color: var(--muted); line-height: 1.75; }
.work-more { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; color: var(--brand); font-weight: 650; }
.work-more svg { width: 14px; height: 14px; }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--sh-sm); }
.case-card .cc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.cc-ico { width: 40px; height: 40px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.cc-ico svg { width: 19px; height: 19px; }
.case-card h3 { font-size: 18px; color: var(--ink); font-weight: 720; }
.case-card .cc-ind { font-size: 11.5px; color: var(--muted); letter-spacing: .1em; font-weight: 650; }
.cc-row { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.8; }
.cc-row b { color: var(--brand); font-weight: 700; }
.cc-row span { color: var(--ink-2); }

.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal-mask { position: absolute; inset: 0; background: rgba(10, 14, 28, .62); backdrop-filter: blur(4px); }
.modal-panel {
  position: relative; z-index: 1; width: min(620px, 100%);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--sh-lg); overflow: hidden;
  animation: fadeIn .3s ease;
}
.modal-art { background: var(--surface-2); border-bottom: 1px solid var(--line); }
.modal-art svg { width: 100%; height: auto; display: block; }
.modal-body { padding: 26px 28px 30px; }
.modal-body h3 { font-size: 22px; color: var(--ink); font-weight: 750; }
.modal-body p { margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.9; }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); display: grid; place-items: center; box-shadow: var(--sh-sm);
}
.modal-close:hover { color: var(--brand); border-color: var(--brand); }
.modal-close svg { width: 17px; height: 17px; }

@media (max-width: 900px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .case-mini-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .works-grid, .case-grid, .case-mini-grid { grid-template-columns: 1fr; }
  .case-mini p { min-height: 0; }
  .modal { padding: 14px; }
  .modal-body { padding: 22px 20px 26px; }
}

/* =============================================================
   深色主题：仅覆盖 token 与少量硬编码色值
   ============================================================= */
[data-theme="dark"] {
  --bg:            #0d1120;
  --surface:       #151b2e;
  --surface-2:     #1b2338;
  --ink:           #f2f5ff;
  --ink-2:         #c9d2e6;
  --muted:         #8e99b3;
  --line:          #29334b;
  --brand:         #6b8bff;
  --brand-deep:    #93a9ff;
  --brand-2:       #a48bff;
  --accent:        #ffc65c;
  --brand-soft:    #1e2a4c;
  --purple-soft:   #262041;
  --amber-soft:    #3a2e17;
  --dark:          #0a0e1c;
  --dark-2:        #141c31;
  --sh-sm: 0 2px 10px rgba(0, 0, 0, .22);
  --sh:    0 14px 40px -14px rgba(0, 0, 0, .55);
  --sh-lg: 0 32px 80px -28px rgba(0, 0, 0, .7);
  --nav-bg: rgba(21, 27, 46, .9);
  --viz-a:    #1d2740;
  --viz-b:    #2b3a63;
  --viz-c:    #3a4d80;
  --viz-d:    #4a3a7a;
  --viz-e:    #5c4824;
  --viz-f:    #24506a;
  --viz-line: #30405f;
  --viz-tile: #24304d;
}
[data-theme="dark"] .site-nav { background: var(--nav-bg); border-bottom-color: var(--line); }
[data-theme="dark"] .menu-toggle { background: var(--surface); }
[data-theme="dark"] .site-nav.nav-open .nav-links { background: var(--surface); }
[data-theme="dark"] .hl::after { background: rgba(255, 176, 32, .2); }
[data-theme="dark"] .sc-index { color: #4a5673; }
[data-theme="dark"] .icon-box.amber,
[data-theme="dark"] .about-point:nth-child(3) .ap-icon { color: #ffc65c; }
[data-theme="dark"] .about-point:nth-child(4) .ap-icon { background: #16304a; color: #57d39a; }
[data-theme="dark"] .icon-box.amber svg { color: #ffc65c; }
[data-theme="dark"] .wb-bar { background: #182136; }
[data-theme="dark"] .wb-side { background: #131b2e; }
[data-theme="dark"] .wb-dots i { background: #3a4763; }
[data-theme="dark"] .wb-status { color: #57d39a; }
[data-theme="dark"] .wb-status i { background: #3fc98a; }
[data-theme="dark"] .wb-canvas { background: var(--surface-2); }
[data-theme="dark"] .wb-canvas::before,
[data-theme="dark"] .vv-stage::before {
  background-image:
    linear-gradient(to right, rgba(140, 165, 255, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(140, 165, 255, .07) 1px, transparent 1px);
}
[data-theme="dark"] .cv-video .cv-screen { background: var(--viz-a); border-color: var(--viz-line); }
[data-theme="dark"] .cv-video .s1 { background: var(--viz-b); }
[data-theme="dark"] .cv-video .s2 { background: var(--viz-c); }
[data-theme="dark"] .cv-video .s3 { background: #f2f5ff; box-shadow: 0 6px 16px rgba(0, 0, 0, .4); }
[data-theme="dark"] .cv-video .s3::after { border-left-color: var(--brand); }
[data-theme="dark"] .cv-video .cv-timeline { background: var(--viz-line); }
[data-theme="dark"] .cv-video .cv-timeline::after { background: var(--brand); }
[data-theme="dark"] .cv-image .tile { background: var(--viz-tile); border-color: var(--viz-line); }
[data-theme="dark"] .cv-image .tile::after { background: var(--viz-b); }
[data-theme="dark"] .cv-image .tile:nth-child(2)::after { background: var(--viz-d); }
[data-theme="dark"] .cv-image .tile:nth-child(3)::after { background: var(--viz-e); }
[data-theme="dark"] .cv-image .tile:nth-child(4)::after { background: var(--viz-f); }
[data-theme="dark"] .cv-system .node { background: var(--surface); border-color: var(--viz-line); }
[data-theme="dark"] .cv-system .n2 { border-color: #4863b5; color: var(--brand); }
[data-theme="dark"] .cv-system .n4 { border-color: #6a55b5; color: var(--brand-2); }
[data-theme="dark"] .cv-system .line { background: var(--viz-line); }
[data-theme="dark"] .wb-thumb { background: var(--viz-b); border-color: var(--viz-line); }
[data-theme="dark"] .wb-thumb:nth-child(2) { background: var(--viz-d); }
[data-theme="dark"] .wb-thumb:nth-child(3) { background: var(--viz-e); }
[data-theme="dark"] .wb-progress .track { background: var(--surface-2); }
[data-theme="dark"] .wb-param { background: var(--surface-2); }
[data-theme="dark"] .hero::before, [data-theme="dark"] .hero::after,
[data-theme="dark"] .page-hero::before, [data-theme="dark"] .page-hero::after { border-color: rgba(140, 165, 255, .15); }
[data-theme="dark"] .cta-card { background: #10172b; }
[data-theme="dark"] .stat { border-right-color: var(--line); }
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea { background: #10182b; }
[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus { background: #131d33; }
[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder { color: #6c7893; }
[data-theme="dark"] .form-group .err-msg { color: #ff8b83; }
[data-theme="dark"] .form-group.invalid input,
[data-theme="dark"] .form-group.invalid textarea { border-color: #a8524c; }
[data-theme="dark"] .form-group label .req { color: #ff8b83; }
[data-theme="dark"] .form-success .ok-icon { background: #16304a; color: #57d39a; }
[data-theme="dark"] .vv-foot i { background: var(--surface-2); }

/* SVG 示意图：CSS 覆盖 presentation attribute，无需改动 HTML */
[data-theme="dark"] svg [fill="#e8edfb"],
[data-theme="dark"] svg [fill="#f2f5fd"],
[data-theme="dark"] svg [fill="#d6ddf9"] { fill: var(--viz-a); }
[data-theme="dark"] svg [fill="#c9d5fb"],
[data-theme="dark"] svg [fill="#dde5f8"],
[data-theme="dark"] svg [fill="#c3d0f8"] { fill: var(--viz-b); }
[data-theme="dark"] svg [fill="#b9c6f8"],
[data-theme="dark"] svg [fill="#c9d4f3"] { fill: var(--viz-c); }
[data-theme="dark"] svg [fill="#eee8fd"],
[data-theme="dark"] svg [fill="#d6c9fb"],
[data-theme="dark"] svg [fill="#e5dbfb"],
[data-theme="dark"] svg [fill="#f1edff"] { fill: var(--viz-d); }
[data-theme="dark"] svg [fill="#fff2db"],
[data-theme="dark"] svg [fill="#ffd89b"],
[data-theme="dark"] svg [fill="#ffdca1"],
[data-theme="dark"] svg [fill="#ffe8bd"],
[data-theme="dark"] svg [fill="#ffbd7a"] { fill: var(--viz-e); }
[data-theme="dark"] svg [fill="#e4f2fa"],
[data-theme="dark"] svg [fill="#b6dcf3"],
[data-theme="dark"] svg [fill="#cfe6f4"] { fill: var(--viz-f); }
[data-theme="dark"] svg [fill="#ffffff"],
[data-theme="dark"] svg [fill="#fff"] { fill: var(--surface); }
[data-theme="dark"] svg [fill="#4c6fff"] { fill: var(--brand); }
[data-theme="dark"] svg [fill="#7a5af8"] { fill: var(--brand-2); }
[data-theme="dark"] svg [fill="#ffb020"] { fill: var(--accent); }
[data-theme="dark"] svg [stroke="#d9e1f7"],
[data-theme="dark"] svg [stroke="#dbe2f5"],
[data-theme="dark"] svg [stroke="#f6e2bd"],
[data-theme="dark"] svg [stroke="#cfe6f4"],
[data-theme="dark"] svg [stroke="#c9d4f3"],
[data-theme="dark"] svg [stroke="#b9c8ff"],
[data-theme="dark"] svg [stroke="#d3c4fb"],
[data-theme="dark"] svg [stroke="#dbe3f6"] { stroke: var(--viz-line); }
[data-theme="dark"] svg [stroke="#ffffff"],
[data-theme="dark"] svg [stroke="#fff"] { stroke: #f2f5ff; }
