/* ==========================================================
   卡网演示站 · 前台样式
   6 套皮肤（skin） × 白天/夜晚（mode）双色板
   皮肤只决定主色，明暗模式决定整套底色，互相独立
   ========================================================== */

/* ---------- 基础参数 ---------- */
:root {
  --radius: 20px;
  --radius-sm: 13px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ok: #10b981;
}

/* ---------- 皮肤：只覆盖主色 ---------- */
html[data-skin="mint"]     { --acc1: #12b886; --acc2: #37d3b4; }
html[data-skin="forest"]   { --acc1: #2f9e63; --acc2: #8ec63f; }
html[data-skin="aurora"]   { --acc1: #7c5cfc; --acc2: #22d3ee; }
html[data-skin="ocean"]    { --acc1: #2f7ff0; --acc2: #38bdf8; }
html[data-skin="peach"]    { --acc1: #f0708a; --acc2: #f6b93b; }
html[data-skin="graphite"] { --acc1: #5b6b7c; --acc2: #84cc16; }

/* ---------- 夜晚模式（默认） ---------- */
html[data-mode="dark"] {
  --bg: #06070e;
  --panel: rgba(255, 255, 255, .045);
  --panel-2: rgba(255, 255, 255, .075);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --txt: #e9edf7;
  --muted: #98a1b8;
  --muted-2: #6f7891;
  --nav-bg: rgba(6, 7, 14, .55);
  --nav-solid: rgba(6, 7, 14, .88);
  --grid: rgba(255, 255, 255, .028);
  --glow-1: 30%;
  --glow-2: 20%;
  --glow-3: 14%;
  --grad-1: var(--acc1);
  --grad-2: var(--acc2);
  --btn-on: #07120e;
  --panel-solid: linear-gradient(180deg, rgba(20, 22, 36, .96), rgba(10, 11, 20, .98));
  --panel-solid-2: linear-gradient(180deg, rgba(20, 22, 36, .92), rgba(11, 12, 21, .95));
  --band-bg:
    radial-gradient(700px 320px at 88% 0%, color-mix(in srgb, var(--acc1) 26%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(20, 22, 36, .9), rgba(10, 11, 20, .92));
  --poster-bg:
    radial-gradient(120% 90% at 82% 8%, color-mix(in srgb, var(--acc2) 42%, transparent), transparent 62%),
    linear-gradient(150deg, color-mix(in srgb, var(--acc1) 60%, #0a0b14), #0a0b14 68%);
  --poster-txt: #ffffff;
  --poster-sub: rgba(255, 255, 255, .74);
  --poster-k: rgba(255, 255, 255, .62);
  --poster-ghost: rgba(255, 255, 255, .07);
  --poster-grid: rgba(255, 255, 255, .07);
  --chip: rgba(255, 255, 255, .04);
  --chip-solid: rgba(9, 10, 18, .78);
  --shadow: 0 28px 60px -28px rgba(0, 0, 0, .9);
  --card-shadow: 0 0 0 rgba(0, 0, 0, 0);
  --hover-shadow: 0 30px 60px -30px color-mix(in srgb, var(--acc1) 55%, transparent), 0 28px 60px -28px rgba(0, 0, 0, .9);
  --media-bg: #0d0f1a;
  --shot-bg: #0b0d16;
  --modal-bg: #0b0d16;
  --overlay: rgba(4, 5, 10, .82);
  --toast-bg: rgba(20, 22, 34, .96);
  --toast-txt: #eef1f9;
}

/* ---------- 白天模式 ---------- */
html[data-mode="light"] {
  --bg: #f6faf8;
  --panel: #ffffff;
  --panel-2: #ffffff;
  --line: rgba(17, 45, 37, .085);
  --line-2: rgba(17, 45, 37, .15);
  --txt: #132a25;
  --muted: #59716a;
  --muted-2: #8b9d97;
  --nav-bg: rgba(255, 255, 255, .72);
  --nav-solid: rgba(255, 255, 255, .93);
  --grid: rgba(17, 45, 37, .045);
  --glow-1: 24%;
  --glow-2: 16%;
  --glow-3: 10%;
  --grad-1: color-mix(in srgb, var(--acc1) 84%, #06231b);
  --grad-2: color-mix(in srgb, var(--acc2) 72%, #08424a);
  --btn-on: #08231c;
  --panel-solid: linear-gradient(180deg, #ffffff, #fbfefc);
  --panel-solid-2: #ffffff;
  --band-bg:
    radial-gradient(700px 320px at 88% 0%, color-mix(in srgb, var(--acc1) 14%, transparent), transparent 70%),
    linear-gradient(180deg, #ffffff, #f7fcf8);
  --poster-bg:
    radial-gradient(120% 90% at 82% 8%, color-mix(in srgb, var(--acc2) 34%, #fff), transparent 62%),
    linear-gradient(150deg, color-mix(in srgb, var(--acc1) 20%, #fff), color-mix(in srgb, var(--acc2) 12%, #fff) 70%);
  --poster-txt: #0d2b24;
  --poster-sub: #48635b;
  --poster-k: #7e938d;
  --poster-ghost: color-mix(in srgb, var(--acc1) 12%, #fff);
  --poster-grid: rgba(17, 45, 37, .07);
  --chip: color-mix(in srgb, var(--acc1) 7%, #fff);
  --chip-solid: rgba(255, 255, 255, .86);
  --shadow: 0 30px 60px -34px rgba(16, 44, 36, .32);
  --card-shadow: 0 1px 2px rgba(16, 44, 36, .05), 0 14px 30px -22px rgba(16, 44, 36, .22);
  --hover-shadow: 0 26px 50px -30px color-mix(in srgb, var(--acc1) 60%, transparent), 0 18px 34px -26px rgba(16, 44, 36, .3);
  --media-bg: #eef5f1;
  --shot-bg: #f2f7f4;
  --modal-bg: #ffffff;
  --overlay: rgba(12, 30, 26, .55);
  --toast-bg: #ffffff;
  --toast-txt: #142e27;
}

/* 不同皮肤在白天用略有差异的底色 */
html[data-mode="light"][data-skin="forest"]   { --bg: #f5f9f2; }
html[data-mode="light"][data-skin="aurora"]   { --bg: #f7f7fe; }
html[data-mode="light"][data-skin="graphite"] { --bg: #f6f8fa; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}

/* 背景光晕 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(680px 420px at 12% -6%, color-mix(in srgb, var(--acc1) var(--glow-1), transparent), transparent 70%),
    radial-gradient(620px 400px at 88% 4%, color-mix(in srgb, var(--acc2) var(--glow-2), transparent), transparent 72%),
    radial-gradient(900px 600px at 50% 110%, color-mix(in srgb, var(--acc1) var(--glow-3), transparent), transparent 70%);
}

/* 网格纹理 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 78%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.28; letter-spacing: -.02em; }
p { margin: 0; }

::selection { background: color-mix(in srgb, var(--acc1) 45%, transparent); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: color-mix(in srgb, var(--bg) 88%, #000); }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--muted-2) 55%, transparent); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--muted) 75%, transparent); background-clip: padding-box; }

.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; position: relative; z-index: 1; }

/* ---------------- 顶部导航 ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  background: var(--nav-bg);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.scrolled { background: var(--nav-solid); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 14px; height: 70px; }

.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--acc1), var(--acc2));
  color: var(--btn-on); font-weight: 800; font-size: 15px; letter-spacing: -.04em;
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--acc1) 80%, transparent);
}
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt b { font-size: 15px; letter-spacing: -.01em; }
.brand-txt span { font-size: 9.5px; letter-spacing: .22em; color: var(--muted-2); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 10px; font-size: 13.5px; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--txt); background: color-mix(in srgb, var(--txt) 6%, transparent); }

/* 日夜切换按钮 */
.icon-btn {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: var(--panel); color: var(--txt);
  cursor: pointer; transition: .22s; flex: 0 0 auto; padding: 0;
}
.icon-btn:hover { border-color: color-mix(in srgb, var(--acc1) 55%, transparent); transform: translateY(-1px); }
.icon-btn svg { width: 17px; height: 17px; }
html[data-mode="light"] .icon-btn .i-moon { display: block; }
html[data-mode="light"] .icon-btn .i-sun { display: none; }
html[data-mode="dark"] .icon-btn .i-moon { display: none; }
html[data-mode="dark"] .icon-btn .i-sun { display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 12px; font-size: 14px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .2s, box-shadow .25s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--acc1), var(--acc2));
  color: var(--btn-on);
  box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--acc1) 85%, transparent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px color-mix(in srgb, var(--acc1) 95%, transparent); }
.btn-ghost {
  background: var(--panel); border-color: var(--line-2); color: var(--txt);
  box-shadow: var(--card-shadow);
}
.btn-ghost:hover { border-color: color-mix(in srgb, var(--acc1) 55%, transparent); transform: translateY(-2px); background: color-mix(in srgb, var(--acc1) 6%, var(--panel)); }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }

.nav-toggle { display: none; }

/* ---------------- 首屏 ---------------- */
.hero { padding: 58px 0 34px; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 42px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 10px;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel);
  font-size: 12.5px; color: var(--muted); letter-spacing: .01em;
  box-shadow: var(--card-shadow);
}
.pill i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); }
  70% { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero h1 {
  font-size: clamp(30px, 4vw, 47px);
  font-weight: 800;
  letter-spacing: -.035em;
  margin: 20px 0 18px;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--grad-1), var(--grad-2) 72%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { color: var(--muted); font-size: 15px; max-width: 560px; }
.hero-lead p + p { margin-top: 8px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.tag {
  font-size: 12px; padding: 5px 11px; border-radius: 8px; color: var(--muted);
  border: 1px solid var(--line); background: var(--chip);
}
.tag-row .tag:hover { color: var(--txt); border-color: var(--line-2); }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* 个人卡片 */
.profile {
  position: relative; border-radius: 24px; padding: 1px;
  background: linear-gradient(160deg, var(--line-2), transparent 42%, color-mix(in srgb, var(--acc1) 45%, transparent));
  box-shadow: var(--shadow);
}
.profile-in {
  border-radius: 23px; background: var(--panel-solid);
  padding: 26px 24px 20px;
}
.profile-top { display: flex; align-items: center; gap: 15px; }
.avatar-ring {
  position: relative; width: 74px; height: 74px; border-radius: 50%; flex: 0 0 auto;
  background: conic-gradient(from 140deg, var(--acc1), var(--acc2), var(--acc1));
  padding: 2px;
}
.avatar-ring::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--acc1) 42%, transparent), transparent 68%);
  filter: blur(9px); z-index: -1;
}
.avatar-ring img, .avatar-ring .avatar-ph {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center;
  background: color-mix(in srgb, var(--acc1) 12%, var(--bg)); color: var(--txt);
  font-size: 26px; font-weight: 800; letter-spacing: -.02em;
  border: 3px solid var(--bg);
}
.profile-name { font-size: 19px; font-weight: 750; letter-spacing: -.02em; }
.profile-role { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 0 4px; border-block: 1px solid var(--line); }
.stat { padding: 13px 6px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: 17px; font-weight: 750; letter-spacing: -.02em; }
.stat span { font-size: 11px; color: var(--muted-2); }

.contact-list { margin-top: 6px; }
.contact-row {
  display: flex; align-items: center; gap: 11px; padding: 10px 8px; border-radius: 11px;
  transition: background .2s;
}
.contact-row:hover { background: color-mix(in srgb, var(--acc1) 6%, transparent); }
.contact-ico {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: 0 0 auto;
  background: color-mix(in srgb, var(--acc1) 14%, transparent);
  color: color-mix(in srgb, var(--acc1) 82%, var(--txt));
  border: 1px solid color-mix(in srgb, var(--acc1) 26%, transparent);
}
.contact-ico svg { width: 16px; height: 16px; }
.contact-meta { min-width: 0; flex: 1; display: block; }
.contact-meta em { display: block; font-style: normal; font-size: 10.5px; color: var(--muted-2); letter-spacing: .06em; text-transform: uppercase; }
.contact-meta b { font-size: 13.5px; font-weight: 600; word-break: break-all; }
.contact-copy {
  font-size: 11px; color: var(--muted-2); border: 1px solid var(--line); background: transparent;
  padding: 3px 8px; border-radius: 7px; cursor: pointer; transition: .2s; font-family: inherit;
}
.contact-copy:hover { color: var(--txt); border-color: var(--line-2); }

/* 公告条 */
.notice {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 30px; padding: 14px 18px;
  border-radius: 14px; border: 1px solid color-mix(in srgb, var(--acc2) 28%, var(--line));
  background: linear-gradient(90deg, color-mix(in srgb, var(--acc2) 10%, transparent), transparent 75%);
  font-size: 13px; color: var(--muted);
}
.notice svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; color: color-mix(in srgb, var(--acc2) 80%, var(--txt)); }

/* ---------------- 区块标题 ---------------- */
.section { padding: 56px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.sec-kicker { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 9px; }
.sec-head h2 { font-size: clamp(23px, 2.6vw, 31px); font-weight: 780; letter-spacing: -.03em; }
.sec-head p { color: var(--muted); font-size: 13.5px; margin-top: 9px; max-width: 520px; }

/* ---------------- 案例卡片 ---------------- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.case {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--panel); box-shadow: var(--card-shadow);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s, background .3s;
  position: relative;
}
.case:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--acc1) 45%, transparent);
  box-shadow: var(--hover-shadow);
}
.case-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--media-bg); }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.case:hover .case-media img { transform: scale(1.055); }
.case-badge {
  position: absolute; top: 13px; left: 13px; z-index: 3; font-size: 11px; font-weight: 650;
  padding: 4px 10px; border-radius: 7px; background: var(--chip-solid);
  border: 1px solid var(--line-2); color: var(--txt); backdrop-filter: blur(8px);
}
.case-price {
  position: absolute; top: 13px; right: 13px; z-index: 3; font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 7px; color: var(--btn-on);
  background: linear-gradient(135deg, var(--acc1), var(--acc2));
  box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--acc1) 90%, transparent);
}
.case-off { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; background: var(--overlay); backdrop-filter: blur(3px); font-size: 13px; color: #fff; letter-spacing: .08em; }

.case-body { padding: 19px 20px 18px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.case-body h3 { font-size: 19px; font-weight: 750; letter-spacing: -.025em; display: flex; align-items: center; gap: 9px; }
.case-body h3 .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.case-sub { font-size: 13px; color: var(--muted); }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.case-tags span { font-size: 11px; color: var(--muted); background: var(--chip); border: 1px solid var(--line); padding: 3px 8px; border-radius: 6px; }
.case-foot {
  margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--muted); font-weight: 550;
}
.case:hover .case-foot { color: var(--txt); }
.case-foot .go { display: inline-flex; align-items: center; gap: 6px; transition: gap .25s; }
.case:hover .case-foot .go { gap: 10px; }
.case-foot svg { width: 15px; height: 15px; }

/* 无封面时的渐变海报 */
.poster {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  background: var(--poster-bg);
  padding: 16px 18px; overflow: hidden;
}
.poster::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--poster-grid) 1px, transparent 1px), linear-gradient(90deg, var(--poster-grid) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(160deg, #000, transparent 72%);
  -webkit-mask-image: linear-gradient(160deg, #000, transparent 72%);
}
.poster::after {
  content: attr(data-ghost);
  position: absolute; right: -14px; bottom: -38px; font-size: 116px; font-weight: 900;
  color: var(--poster-ghost); letter-spacing: -.06em; line-height: 1;
}
.poster-dots { display: flex; gap: 6px; position: relative; z-index: 2; }
.poster-dots i { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--poster-txt) 34%, transparent); }
.poster-mid { margin-top: auto; position: relative; z-index: 2; }
.poster-k { font-size: 10px; letter-spacing: .3em; color: var(--poster-k); text-transform: uppercase; }
.poster-t { font-size: 25px; font-weight: 820; letter-spacing: -.04em; margin-top: 5px; color: var(--poster-txt); }
.poster-s { font-size: 12.5px; color: var(--poster-sub); margin-top: 3px; }

/* ---------------- 我的站点（业务入口） ---------------- */
.site-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.site-card {
  position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 20px 20px 18px;
  border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--panel);
  box-shadow: var(--card-shadow); overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s, background .3s;
}
.site-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(320px 140px at 12% 0%, color-mix(in srgb, var(--acc1) 16%, transparent), transparent 72%);
  transition: opacity .35s;
}
.site-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--acc1) 42%, transparent);
  box-shadow: var(--hover-shadow), 0 18px 36px -26px color-mix(in srgb, var(--acc1) 70%, transparent);
}
.site-card:hover::after { opacity: 1; }

.site-ico {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  color: color-mix(in srgb, var(--acc1) 88%, var(--txt));
  background: color-mix(in srgb, var(--acc1) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--acc1) 26%, var(--line));
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.site-ico svg { width: 21px; height: 21px; }
.site-ico img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.site-card:hover .site-ico {
  transform: translateY(-2px) scale(1.05);
  background: linear-gradient(135deg, var(--acc1), var(--acc2));
  color: #fff; border-color: transparent;
}

.site-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; position: relative; z-index: 1; }
.site-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.site-title b { font-size: 15.5px; font-weight: 740; letter-spacing: -.02em; color: var(--txt); }
.site-badge {
  font-style: normal; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 6px;
  color: color-mix(in srgb, var(--acc1) 90%, var(--txt));
  background: color-mix(in srgb, var(--acc1) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--acc1) 30%, transparent);
}
.site-desc { font-size: 12.6px; color: var(--muted); line-height: 1.6; }
.site-url { font-size: 11px; color: var(--muted-2); letter-spacing: .01em; margin-top: 2px; }

.site-go {
  flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px;
  color: var(--muted-2); transition: color .25s, transform .25s, background .25s;
}
.site-go svg { width: 15px; height: 15px; }
.site-card:hover .site-go {
  color: color-mix(in srgb, var(--acc1) 90%, var(--txt));
  background: color-mix(in srgb, var(--acc1) 12%, transparent);
  transform: translate(2px, -2px);
}

/* 页脚站点条 */
.footer-sites {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 34px; padding: 14px 18px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--chip);
}
.footer-sites .fs-label {
  display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; letter-spacing: .08em;
  color: var(--muted-2); text-transform: uppercase; font-weight: 650;
}
.footer-sites .fs-label svg { width: 14px; height: 14px; }
.fs-list { display: flex; gap: 8px; flex-wrap: wrap; }
.fs-list a {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted);
  padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel);
  transition: .22s;
}
.fs-list a svg { width: 12px; height: 12px; opacity: .6; }
.fs-list a:hover { color: var(--txt); border-color: color-mix(in srgb, var(--acc1) 45%, transparent); transform: translateY(-1px); }

/* ---------------- 流程 ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step {
  position: relative; padding: 22px 20px; border-radius: 16px; border: 1px solid var(--line);
  background: var(--panel); box-shadow: var(--card-shadow);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.step:hover { border-color: color-mix(in srgb, var(--acc2) 45%, transparent); transform: translateY(-4px); box-shadow: var(--hover-shadow); }
.step-n {
  font-size: 11px; font-weight: 800; letter-spacing: .1em;
  color: color-mix(in srgb, var(--acc1) 85%, var(--txt)); margin-bottom: 12px; display: block;
}
.step h4 { font-size: 15.5px; margin-bottom: 7px; }
.step p { font-size: 12.8px; color: var(--muted); line-height: 1.65; }

/* ---------------- 联系区 ---------------- */
.contact-band {
  position: relative; overflow: hidden; border-radius: 24px; padding: 46px 44px;
  border: 1px solid var(--line); background: var(--band-bg);
  box-shadow: var(--card-shadow);
}
.contact-band h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 780; margin-bottom: 10px; }
.contact-band p { color: var(--muted); font-size: 14px; max-width: 520px; }
.contact-band .hero-cta { margin-top: 24px; }
.band-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.qr-box { text-align: center; }
.qr-box img { width: 132px; height: 132px; object-fit: contain; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; padding: 6px; }
.qr-box span { display: block; font-size: 11.5px; color: var(--muted-2); margin-top: 9px; }

/* ---------------- 页脚 ---------------- */
.footer {
  margin-top: 40px; padding: 26px 0 34px; 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-2);
}
.footer a { color: var(--muted); }
.footer a:hover { color: var(--txt); }
.footer-links { display: flex; gap: 16px; }

/* ==========================================================
   案例内页
   ========================================================== */
.crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted-2); padding: 26px 0 0; }
.crumb a:hover { color: var(--txt); }
.crumb span { opacity: .5; }

.detail-head { padding: 20px 0 8px; }
.detail-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.detail-title h1 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.04em; }
.detail-title .sub { color: var(--muted); font-size: 14.5px; margin-top: 9px; }
.detail-title .tag-row { margin: 17px 0 0; }

.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 34px; align-items: start; padding: 30px 0 20px; }
.card-block {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
  padding: 26px; margin-bottom: 22px; box-shadow: var(--card-shadow);
}
.card-block > h3 { font-size: 16px; letter-spacing: -.01em; margin-bottom: 16px; display: flex; align-items: center; gap: 9px; }
.card-block > h3::before { content: ""; width: 3px; height: 15px; border-radius: 3px; background: linear-gradient(var(--acc1), var(--acc2)); }

.shots { display: flex; flex-direction: column; gap: 16px; }
.shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--shot-bg); cursor: zoom-in; position: relative; }
.shot img { width: 100%; transition: transform .5s; }
.shot:hover img { transform: scale(1.02); }
.shot figcaption { padding: 10px 14px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); }
.shot .shot-ph { aspect-ratio: 16 / 9; display: grid; place-items: center; background: var(--shot-bg); color: var(--muted-2); font-size: 12.5px; letter-spacing: .1em; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feature { padding: 15px 16px; border-radius: 13px; border: 1px solid var(--line); background: color-mix(in srgb, var(--acc1) 3%, transparent); }
.feature b { font-size: 13.6px; display: block; margin-bottom: 5px; }
.feature p { font-size: 12.6px; color: var(--muted); line-height: 1.62; }

.rich { font-size: 14px; color: color-mix(in srgb, var(--txt) 88%, var(--muted)); line-height: 1.85; }
.rich p { margin-bottom: 12px; }
.rich p:last-child { margin-bottom: 0; }
.rich strong { color: var(--txt); }
.rich ul, .rich ol { padding-left: 20px; margin: 0 0 12px; }
.rich img { border-radius: 12px; margin: 10px 0; }
.rich h3, .rich h4 { margin: 18px 0 10px; }
.rich a { color: color-mix(in srgb, var(--acc1) 85%, var(--txt)); text-decoration: underline; text-underline-offset: 3px; }

/* 侧栏 */
.side { position: sticky; top: 88px; }
.side-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-solid-2);
  padding: 22px; margin-bottom: 18px; box-shadow: var(--shadow);
}
.side-price { display: flex; align-items: baseline; gap: 9px; }
.side-price b { font-size: 27px; font-weight: 800; letter-spacing: -.03em; }
.side-price span { font-size: 12px; color: var(--muted-2); }
.side-note { font-size: 12.4px; color: var(--muted); margin-top: 10px; line-height: 1.65; }

.link-list { display: flex; flex-direction: column; gap: 9px; }
.link-item {
  display: flex; align-items: center; gap: 11px; padding: 12px 13px; border-radius: 12px;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--acc1) 4%, transparent);
  transition: .22s; font-size: 13.4px;
}
.link-item:hover { border-color: color-mix(in srgb, var(--acc1) 55%, transparent); background: color-mix(in srgb, var(--acc1) 9%, transparent); transform: translateX(2px); }
.link-item .li-ico { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--acc1) 16%, transparent); color: color-mix(in srgb, var(--acc1) 85%, var(--txt)); flex: 0 0 auto; }
.link-item .li-ico svg { width: 15px; height: 15px; }
.link-item .li-body { flex: 1; min-width: 0; }
.link-item .li-body b { font-weight: 600; display: block; }
.link-item .li-body em { font-style: normal; display: block; font-size: 11.5px; color: var(--muted-2); margin-top: 2px; word-break: break-all; }
.link-item .li-go { color: var(--muted-2); font-size: 15px; }

.side-cta { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; }
.side-cta .btn { width: 100%; }

/* 弹窗预览 */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.open { display: block; }
.modal-mask { position: absolute; inset: 0; background: var(--overlay); backdrop-filter: blur(6px); }
.modal-body {
  position: relative; width: min(1160px, calc(100% - 40px)); margin: 4vh auto 0; height: 86vh;
  background: var(--modal-bg); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.modal-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.modal-bar .grow { flex: 1; }
.modal-bar button { background: var(--chip); border: 1px solid var(--line); color: var(--txt); border-radius: 8px; padding: 5px 11px; cursor: pointer; font-size: 12px; font-family: inherit; }
.modal-bar button.on { background: color-mix(in srgb, var(--acc1) 26%, transparent); border-color: color-mix(in srgb, var(--acc1) 55%, transparent); }
.modal-frame { flex: 1; background: #f4f5f9; }
.modal-frame iframe { width: 100%; height: 100%; border: 0; display: block; margin: 0 auto; transition: width .3s; }

.lightbox { position: fixed; inset: 0; z-index: 210; display: none; background: rgba(3, 4, 9, .94); }
.lightbox.open { display: grid; place-items: center; }
.lightbox img { max-width: 94vw; max-height: 90vh; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16); }

/* 空状态 */
.empty { text-align: center; padding: 60px 20px; color: var(--muted-2); border: 1px dashed var(--line-2); border-radius: var(--radius); }

/* 入场动画 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* 返回顶部 */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line-2);
  color: var(--txt); cursor: pointer; opacity: 0; pointer-events: none; transition: .3s;
  backdrop-filter: blur(10px); box-shadow: var(--card-shadow);
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { border-color: color-mix(in srgb, var(--acc1) 60%, transparent); transform: translateY(-3px); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px); z-index: 300;
  background: var(--toast-bg); border: 1px solid var(--line-2); color: var(--toast-txt);
  padding: 10px 18px; border-radius: 11px; font-size: 13px; opacity: 0; transition: .28s;
  pointer-events: none; box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================
   响应式
   ========================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .detail-layout { grid-template-columns: 1fr; }
  .side { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .site-grid { grid-template-columns: repeat(2, 1fr); }
  .band-grid { grid-template-columns: 1fr; }
  .qr-box { text-align: left; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-links.open {
    display: flex; position: absolute; left: 16px; right: 16px; top: 64px;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
    background: var(--nav-solid); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow);
  }
  .nav-links.open a { padding: 11px 14px; }
  .hero { padding: 34px 0 20px; }
  .case-grid { grid-template-columns: 1fr; }
  .site-grid { grid-template-columns: 1fr; }
  .site-card { padding: 16px; }
  .footer-sites { padding: 12px 14px; }
  .features { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .contact-band { padding: 30px 22px; }
  .card-block { padding: 20px; }
  .footer { flex-direction: column; align-items: flex-start; }
  .detail-top { gap: 16px; }
  .stats .stat b { font-size: 15px; }
  .brand-txt span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
