/* ==========================================================================
   台台OPC一人公司操作系统 · 官网设计系统
   基调：浅色主体 + 深色 Hero 带；品牌色沿用产品 --primary #4f46e5
   字体：系统中文栈，零外部依赖（离线可跑）
   ========================================================================== */

:root {
  /* 品牌 */
  --brand:        #4f46e5;
  --brand-deep:   #3730a3;
  --brand-ink:    #312e81;   /* 品牌色上的深色文字 */
  --brand-soft:   #eef2ff;
  --violet:       #7c3aed;
  --accent:       #db2777;
  --accent-soft:  #fdf2f8;
  --cyan:         #0891b2;

  /* 中性 */
  --ink:          #0f172a;
  --ink-2:        #334155;
  --ink-3:        #64748b;
  --ink-4:        #94a3b8;
  --line:         #e2e8f0;
  --line-soft:    #eef2f6;
  --bg:           #ffffff;
  --bg-alt:       #f8fafc;
  --bg-tint:      #f5f3ff;

  /* 深色带 */
  --night:        #0b1020;
  --night-2:      #151038;
  --night-line:   rgba(148, 163, 184, .18);
  --on-night:     #eef2ff;
  --on-night-dim: #a5b0cf;

  /* 状态（对齐能力台账口径） */
  --ok:      #059669;  --ok-bg:  #ecfdf5;
  --warn:    #d97706;  --warn-bg:#fffbeb;
  --stop:    #dc2626;  --stop-bg:#fef2f2;
  --mute:    #64748b;  --mute-bg:#f1f5f9;

  --grad-brand: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
  --grad-soft:  linear-gradient(135deg, #eef2ff 0%, #f5f3ff 50%, #fdf2f8 100%);

  --maxw: 1180px;
  --nav-h: 68px;
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
  --shadow:    0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 28px 60px -22px rgba(79, 70, 229, .32);
  --ease: all .28s cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei",
               "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.75; color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.28; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(79, 70, 229, .18); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 6px; border: 2px solid var(--bg-alt); }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-variant-numeric: tabular-nums; }
.grad-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.lead { font-size: 17px; color: var(--ink-3); max-width: 62ch; }
.tiny { font-size: 12.5px; color: var(--ink-4); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: var(--ease); text-decoration: none; line-height: 1.4;
}
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 22px -10px rgba(79, 70, 229, .75); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(79, 70, 229, .8); }
.btn-ghost { background: #fff; color: var(--brand-ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-night { background: rgba(255, 255, 255, .1); color: var(--on-night); border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.btn-night:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .5); transform: translateY(-2px); }
.btn-lg { padding: 15px 32px; font-size: 16.5px; }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 90; height: var(--nav-h);
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px) saturate(1.6);
  border-bottom: 1px solid transparent; transition: var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -14px rgba(15, 23, 42, .3); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; color: var(--ink); font-size: 18px; letter-spacing: -.02em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad-brand);
  color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 900;
  box-shadow: 0 6px 16px -8px rgba(79, 70, 229, .9); flex: none;
}
.logo-sub { font-size: 11.5px; font-weight: 600; color: var(--ink-4); letter-spacing: .12em; margin-left: 2px; }
.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-menu a {
  display: block; padding: 8px 13px; border-radius: 999px; font-size: 14.5px;
  font-weight: 600; color: var(--ink-2); transition: var(--ease);
}
.nav-menu a:hover { background: var(--brand-soft); color: var(--brand-ink); }
.nav-menu a.active { background: var(--brand-soft); color: var(--brand-ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; padding: 11px 10px; }
.nav-burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--ease); }
.nav-burger span + span { margin-top: 5px; }
.nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero（深色带） ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-night);
  background: radial-gradient(1200px 620px at 12% -8%, rgba(124, 58, 237, .42), transparent 62%),
              radial-gradient(1000px 560px at 92% 8%, rgba(219, 39, 119, .3), transparent 60%),
              linear-gradient(170deg, var(--night) 0%, var(--night-2) 62%, #1b1040 100%);
  padding: 92px 0 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(700px 420px at 50% 0%, #000 12%, transparent 76%);
  -webkit-mask-image: radial-gradient(700px 420px at 50% 0%, #000 12%, transparent 76%);
}
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 900px; margin: 0 auto; }
.hero h1 { color: #fff; font-size: clamp(34px, 5.6vw, 60px); font-weight: 900; letter-spacing: -.03em; margin-bottom: 22px; }
.hero h1 .l2 { display: block; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px;
  border-radius: 999px; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2); font-size: 13.5px; font-weight: 600;
  color: #dbe4ff; margin-bottom: 26px; backdrop-filter: blur(6px);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .65); } 70% { box-shadow: 0 0 0 12px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero-sub { font-size: clamp(16px, 1.9vw, 19px); color: var(--on-night-dim); max-width: 66ch; margin: 0 auto 34px; }
.hero-sub b { color: #fff; font-weight: 700; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.hero-note { font-size: 13px; color: rgba(203, 213, 225, .72); margin-bottom: 46px; }

/* 数字带 */
.hero-stats {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--night-line); border-top: 1px solid var(--night-line);
  border-left: 1px solid var(--night-line); border-right: 1px solid var(--night-line);
  border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden;
}
.hstat { background: rgba(11, 16, 32, .55); backdrop-filter: blur(8px); padding: 26px 18px 30px; text-align: center; transition: var(--ease); }
.hstat:hover { background: rgba(30, 27, 75, .72); }
.hstat-num { font-size: clamp(28px, 3.6vw, 40px); font-weight: 900; color: #fff; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hstat-num .unit { font-size: .5em; font-weight: 700; color: #c7d2fe; margin-left: 2px; }
.hstat-label { font-size: 13px; color: var(--on-night-dim); margin-top: 6px; }
.data-src {
  position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center;
  align-items: center; padding: 13px 18px 26px; font-size: 12.5px; color: rgba(165, 176, 207, .85);
  background: rgba(11, 16, 32, .55); border: 1px solid var(--night-line); border-top: none;
  border-radius: 0 0 var(--r-lg) var(--r-lg); margin-bottom: -1px;
}
.src-pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-weight: 700; font-size: 11.5px; letter-spacing: .02em; }
.src-live  { background: rgba(52, 211, 153, .16); color: #6ee7b7; border: 1px solid rgba(52, 211, 153, .35); }
.src-snap  { background: rgba(129, 140, 248, .16); color: #a5b4fc; border: 1px solid rgba(129, 140, 248, .35); }

/* ---------- 区块 ---------- */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line-soft); }
.section-tint { background: linear-gradient(180deg, var(--bg-tint) 0%, #fff 100%); }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .18em;
  color: var(--brand); text-transform: uppercase; margin-bottom: 14px;
  padding: 4px 12px; background: var(--brand-soft); border-radius: 999px;
}
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); }
.section-head p { font-size: 16.5px; color: var(--ink-3); margin: 0; }

/* ---------- 网格与卡片 ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 26px; box-shadow: var(--shadow-sm); transition: var(--ease); position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: rgba(79, 70, 229, .35); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  font-size: 25px; margin-bottom: 18px; background: var(--grad-soft);
  border: 1px solid var(--line-soft);
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.8px; color: var(--ink-3); margin: 0; }
.card .tagline { font-size: 13px; font-weight: 800; color: var(--brand); letter-spacing: .04em; margin-bottom: 8px; }
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad-brand); opacity: 0; transition: var(--ease);
}
.card:hover::before { opacity: 1; }

/* ---------- 闭环流程 ---------- */
.loop { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: stretch; }
.loop-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 18px 22px; box-shadow: var(--shadow-sm); transition: var(--ease); }
.loop-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(79, 70, 229, .3); }
.loop-no { font-size: 11.5px; font-weight: 800; color: var(--ink-4); letter-spacing: .1em; }
.loop-emoji { font-size: 27px; margin: 8px 0 10px; }
.loop-step h4 { font-size: 16.5px; margin-bottom: 7px; }
.loop-step p { font-size: 13.4px; color: var(--ink-3); margin: 0; }
.loop-emp { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); padding: 3px 10px; border-radius: 999px; }
.loop-step:not(:last-child)::after {
  content: "→"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%);
  font-size: 17px; color: var(--brand); font-weight: 900; z-index: 3;
  background: #fff; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); line-height: 1;
}

/* ---------- 员工花名册 ---------- */
.emp { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; transition: var(--ease); position: relative; }
.emp:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(79, 70, 229, .3); }
.emp-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.emp-ava { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 21px; flex: none; background: var(--grad-soft); border: 1px solid var(--line-soft); }
.emp-name { font-size: 17px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.emp-role { font-size: 12.5px; color: var(--ink-3); }
.emp-state { margin-left: auto; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.st-on  { background: var(--ok-bg); color: var(--ok); }
.st-off { background: var(--mute-bg); color: var(--mute); }
.emp-desc { font-size: 13.6px; color: var(--ink-3); margin: 0 0 14px; min-height: 2.7em; }
.emp-stats { display: flex; gap: 8px; flex-wrap: wrap; border-top: 1px dashed var(--line); padding-top: 13px; }
.chip { font-size: 11.8px; font-weight: 700; color: var(--ink-2); background: var(--bg-alt); border: 1px solid var(--line-soft); padding: 3px 9px; border-radius: 8px; }
.chip b { color: var(--brand); font-variant-numeric: tabular-nums; }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; max-width: 880px; margin: 0 auto; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--brand), var(--accent)); opacity: .28; }
.tl-item { position: relative; padding: 0 0 34px 22px; }
.tl-item::before {
  content: ""; position: absolute; left: -34px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand); box-shadow: 0 0 0 4px rgba(79, 70, 229, .12);
}
.tl-time { display: inline-block; font-size: 12.5px; font-weight: 800; color: var(--brand); background: var(--brand-soft); padding: 2px 11px; border-radius: 999px; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.tl-item h4 { font-size: 17.5px; margin-bottom: 6px; }
.tl-item p { font-size: 14.5px; color: var(--ink-3); margin: 0; }

/* ---------- 对比表 ---------- */
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; box-shadow: var(--shadow-sm); }
.table-wrap::-webkit-scrollbar { height: 7px; }
.table-wrap::-webkit-scrollbar-track { background: var(--bg-alt); }
.table-wrap::-webkit-scrollbar-thumb { background: var(--ink-4); border-radius: 4px; }
.table-hint { display: none; font-size: 12.5px; color: var(--ink-4); text-align: right; margin: 8px 2px 0; }
.table-hint.on { display: block; }
table.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
table.cmp th, table.cmp td { padding: 17px 22px; text-align: left; border-bottom: 1px solid var(--line-soft); }
table.cmp thead th { background: var(--bg-alt); font-size: 13.5px; font-weight: 800; color: var(--ink-2); letter-spacing: .02em; }
table.cmp thead th.us { background: var(--brand); color: #fff; }
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp tbody tr:hover td { background: #fbfcff; }
table.cmp td.us { background: rgba(79, 70, 229, .045); font-weight: 700; color: var(--brand-ink); border-left: 1px solid rgba(79, 70, 229, .16); border-right: 1px solid rgba(79, 70, 229, .16); }
table.cmp tbody tr:last-child td.us { border-bottom: 1px solid rgba(79, 70, 229, .16); }
td.dim { color: var(--ink-4); }
.row-hd { font-weight: 700; color: var(--ink); white-space: nowrap; }

/* ---------- 状态徽标 ---------- */
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid transparent; }
.p-ok    { background: var(--ok-bg);   color: var(--ok);    border-color: rgba(5, 150, 105, .22); }
.p-warn  { background: var(--warn-bg); color: var(--warn);  border-color: rgba(217, 119, 6, .22); }
.p-stop  { background: var(--stop-bg); color: var(--stop);  border-color: rgba(220, 38, 38, .22); }
.p-mute  { background: var(--mute-bg); color: var(--mute);  border-color: rgba(100, 116, 139, .2); }
.p-brand { background: var(--brand-soft); color: var(--brand-ink); border-color: rgba(79, 70, 229, .2); }

/* ---------- 能力矩阵 ---------- */
.cap { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; transition: var(--ease); display: flex; gap: 16px; align-items: flex-start; }
.cap:hover { box-shadow: var(--shadow); border-color: rgba(79, 70, 229, .28); }
.cap-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 8px; flex: none; }
.d-ok { background: var(--ok); box-shadow: 0 0 0 4px rgba(5, 150, 105, .14); }
.d-warn { background: var(--warn); box-shadow: 0 0 0 4px rgba(217, 119, 6, .14); }
.d-stop { background: var(--stop); box-shadow: 0 0 0 4px rgba(220, 38, 38, .14); }
.d-mute { background: var(--ink-4); box-shadow: 0 0 0 4px rgba(100, 116, 139, .14); }
.cap-body { flex: 1; min-width: 0; }
.cap-hd { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 5px; }
.cap-hd h4 { font-size: 16px; margin: 0; }
.cap-body p { font-size: 13.6px; color: var(--ink-3); margin: 0; }
.cap-owner { font-size: 12.5px; color: var(--warn); font-weight: 600; margin-top: 7px !important; }
.cap-owner b { color: var(--ink-2); }

/* ---------- 截图证据 ---------- */
.shot { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--ease); display: block; }
.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(79, 70, 229, .3); }
.shot-frame { position: relative; background: var(--bg-alt); border-bottom: 1px solid var(--line-soft); }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 9px 13px; background: #fff; border-bottom: 1px solid var(--line-soft); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e2e8f0; display: block; }
.shot-bar i:nth-child(1) { background: #fca5a5; } .shot-bar i:nth-child(2) { background: #fcd34d; } .shot-bar i:nth-child(3) { background: #86efac; }
.shot-url { margin-left: 8px; font-size: 11.5px; color: var(--ink-4); background: var(--bg-alt); border: 1px solid var(--line-soft); border-radius: 6px; padding: 1px 9px; font-family: ui-monospace, Consolas, monospace; }
.shot-frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.shot-cap { padding: 15px 18px 17px; }
.shot-cap h4 { font-size: 15.5px; margin-bottom: 4px; }
.shot-cap p { font-size: 13.2px; color: var(--ink-3); margin: 0; }
.zoom { position: absolute; right: 12px; bottom: 12px; font-size: 11.5px; font-weight: 700; color: #fff; background: rgba(15, 23, 42, .68); padding: 3px 10px; border-radius: 999px; opacity: 0; transition: var(--ease); backdrop-filter: blur(4px); }
.shot:hover .zoom { opacity: 1; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(11, 16, 32, .92); display: none; place-items: center; padding: 34px; backdrop-filter: blur(6px); }
.lb.on { display: grid; }
.lb img { max-width: min(1400px, 96vw); max-height: 88vh; border-radius: var(--r); box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .7); }
.lb-cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #cbd5e1; font-size: 13.5px; }
.lb-x { position: absolute; top: 20px; right: 24px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); color: #fff; font-size: 21px; cursor: pointer; }
.lb-x:hover { background: rgba(255, 255, 255, .22); }

/* ---------- 行业 ---------- */
.ind { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; transition: var(--ease); }
.ind:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(79, 70, 229, .28); }
.ind-icon { font-size: 26px; margin-bottom: 12px; }
.ind h4 { font-size: 16.5px; margin-bottom: 7px; }
.ind p { font-size: 13.8px; color: var(--ink-3); margin: 0 0 12px; }
.ind .who { font-size: 12.5px; color: var(--brand-ink); background: var(--brand-soft); border-radius: 8px; padding: 7px 11px; margin: 0; }

/* ---------- 价格 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); transition: var(--ease); position: relative; display: flex; flex-direction: column; }
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.plan.hot { border-color: var(--brand); box-shadow: 0 22px 50px -22px rgba(79, 70, 229, .5); }
.plan.hot::after { content: "最受欢迎"; position: absolute; top: -13px; right: 26px; background: var(--grad-brand); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 14px; border-radius: 999px; box-shadow: 0 8px 18px -8px rgba(79, 70, 229, .9); }
.plan-name { font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.plan-for { font-size: 13.2px; color: var(--ink-3); margin-bottom: 20px; min-height: 2.6em; }
.plan-price { display: flex; align-items: baseline; gap: 4px; font-size: 42px; font-weight: 900; color: var(--ink); letter-spacing: -.03em; line-height: 1; margin-bottom: 4px; }
.plan-price .cur { font-size: 20px; font-weight: 800; }
.plan-price .per { font-size: 14px; font-weight: 600; color: var(--ink-4); letter-spacing: 0; }
.plan-bill { font-size: 12.8px; color: var(--ink-4); margin-bottom: 22px; }
.plan ul { border-top: 1px solid var(--line-soft); padding-top: 18px; margin-bottom: 26px; flex: 1; }
.plan li { font-size: 14.2px; color: var(--ink-2); padding: 6px 0 6px 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 5px; color: var(--ok); font-weight: 900; font-size: 13px; }
.plan li.no { color: var(--ink-4); }
.plan li.no::before { content: "—"; color: var(--ink-4); }
.plan .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; overflow: hidden; transition: var(--ease); }
.faq details[open] { border-color: rgba(79, 70, 229, .4); box-shadow: var(--shadow-sm); }
.faq summary { padding: 19px 22px; font-size: 16px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; position: relative; padding-right: 52px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--brand); transition: var(--ease); line-height: 1; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq-body { padding: 0 22px 20px; font-size: 14.8px; color: var(--ink-3); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- CTA 带 ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 58px 48px;
  background: radial-gradient(700px 320px at 88% 10%, rgba(219, 39, 119, .38), transparent 62%),
              linear-gradient(120deg, var(--brand-deep) 0%, var(--violet) 52%, var(--accent) 100%);
  color: #fff; text-align: center; box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .25;
  background-image: repeating-linear-gradient(60deg, rgba(255,255,255,.14) 0 1px, transparent 1px 22px);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); }
.cta-band p { color: rgba(255, 255, 255, .88); font-size: 16.5px; max-width: 58ch; margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-white { background: #fff; color: var(--brand-ink); }
.cta-band .btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(0, 0, 0, .4); }

/* ---------- 页脚 ---------- */
.footer { background: var(--night); color: var(--on-night-dim); padding: 62px 0 26px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--night-line); }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 13.6px; line-height: 1.85; max-width: 34ch; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 16px; letter-spacing: .02em; }
.footer li { margin-bottom: 10px; }
.footer a { color: var(--on-night-dim); transition: var(--ease); }
.footer a:hover { color: #fff; }
.footer-contact strong { color: #c7d2fe; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 12.8px; color: rgba(165, 176, 207, .7); }

/* ---------- 提示条 / 说明块 ---------- */
.notice { display: flex; gap: 14px; align-items: flex-start; background: var(--brand-soft); border: 1px solid rgba(79, 70, 229, .2); border-left: 4px solid var(--brand); border-radius: var(--r-sm); padding: 16px 20px; font-size: 14.2px; color: var(--brand-ink); margin-bottom: 28px; }
.notice.warn { background: var(--warn-bg); border-color: rgba(217, 119, 6, .25); border-left-color: var(--warn); color: #92400e; }
.notice.ok { background: var(--ok-bg); border-color: rgba(5, 150, 105, .22); border-left-color: var(--ok); color: #065f46; }
.notice p { margin: 0; }
.notice .ic { font-size: 18px; line-height: 1.4; flex: none; }

.kv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kv-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; text-align: center; }
.kv-item .n { font-size: 30px; font-weight: 900; color: var(--brand); line-height: 1.1; font-variant-numeric: tabular-nums; }
.kv-item .l { font-size: 13px; color: var(--ink-3); margin-top: 5px; }

/* 表单 */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 7px; }
.field label .req { color: var(--stop); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font: inherit; font-size: 14.8px; color: var(--ink); background: #fff; transition: var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(79, 70, 229, .12); }
.field .hint { font-size: 12.4px; color: var(--ink-4); margin-top: 6px; }
.form-out { display: none; margin-top: 20px; }
.form-out.on { display: block; }

/* 联系卡 */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-sm); }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.contact-row:last-child { border-bottom: none; }
.contact-row .k { width: 84px; font-size: 13px; color: var(--ink-3); flex: none; }
.qr-row { display: flex; gap: 20px; align-items: center; padding: 6px 0 20px; border-bottom: 1px dashed var(--line); }
.qr-row img { width: 150px; height: 150px; flex: none; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.contact-row .v { font-size: 16px; font-weight: 800; color: var(--ink); font-family: ui-monospace, Consolas, monospace; }
.copy-btn { margin-left: auto; }

/* 面包屑 / 页头（浅色子页） */
.page-head { padding: 66px 0 54px; background: var(--grad-soft); border-bottom: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -90px; top: -90px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(219, 39, 119, .14), transparent 68%); }
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(28px, 4.4vw, 44px); margin-bottom: 12px; }
.page-head .lead { font-size: 17px; margin: 0; }
.crumb { font-size: 13px; color: var(--ink-4); margin-bottom: 16px; }
.crumb a { color: var(--ink-3); } .crumb a:hover { color: var(--brand); }

/* 锚点子导航 */
.subnav { position: sticky; top: var(--nav-h); z-index: 60; background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav-inner { display: flex; gap: 6px; overflow-x: auto; padding: 11px 0; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { font-size: 13.5px; font-weight: 600; color: var(--ink-3); padding: 6px 14px; border-radius: 999px; white-space: nowrap; transition: var(--ease); }
.subnav a:hover, .subnav a.active { background: var(--brand); color: #fff; }

/* 滚动揭示 */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .07s; } .reveal[data-d="2"] { transition-delay: .14s; }
.reveal[data-d="3"] { transition-delay: .21s; } .reveal[data-d="4"] { transition-delay: .28s; }
.reveal[data-d="5"] { transition-delay: .35s; } .reveal[data-d="6"] { transition-delay: .42s; }

/* 移动端浮动 CTA */
.dock { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: none; }
.backtop { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--brand); font-size: 19px; cursor: pointer; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: var(--ease); z-index: 80; }
.backtop.on { opacity: 1; pointer-events: auto; }
.backtop:hover { transform: translateY(-3px); border-color: var(--brand); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .loop { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .loop-step:nth-child(3)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .nav-menu { position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch; gap: 2px; background: #fff; border-bottom: 1px solid var(--line); padding: 14px 20px 22px; margin: 0; box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: var(--ease); max-height: calc(100vh - var(--nav-h)); overflow-y: auto; }
  .nav.open .nav-menu { transform: none; opacity: 1; pointer-events: auto; }
  .nav-menu a { padding: 13px 14px; font-size: 15.5px; border-radius: var(--r-sm); }
  .nav-burger { display: block; order: 3; }
  .nav-inner { gap: 14px; }
  .nav-menu { margin-left: auto; }
  .nav-cta .btn:not(.nav-burger) { display: none; }
  .nav-cta { margin-left: auto; }
  .g3, .price-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .kv { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 66px 0; }
  .cta-band { padding: 42px 26px; }
  .dock { display: block; }
  .backtop { bottom: 78px; }
  table.cmp { font-size: 13.6px; }
  table.cmp th, table.cmp td { padding: 13px 14px; }
}
@media (max-width: 620px) {
  .g2, .g4, .loop { grid-template-columns: 1fr; }
  .loop-step::after { display: none !important; }
  .hero { padding-top: 58px; }
  .section-head { margin-bottom: 36px; }
  .footer-grid { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr 1fr; }
  .card { padding: 22px 20px; }
  .form { padding: 22px 18px; }
  .cta-actions .btn { width: 100%; }
  .emp-desc { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .nav, .dock, .backtop, .cta-band, .footer { display: none; }
  body { color: #000; }
}
