/* ============================================================
   PipeMind Design System
   参考风格：浅色底 + 紫色主强调 + 青色次强调 + 毛玻璃导航
   ============================================================ */

:root {
  color-scheme: light;

  /* 色彩 */
  --purple: #7C3AED;
  --purple-600: #6D28D9;
  --purple-700: #5B21B6;
  --purple-50: #F5F3FF;
  --purple-100: #EDE9FE;
  --cyan: #06B6D4;
  --cyan-600: #0891B2;
  --cyan-50: #ECFEFF;
  --ink: #1F2937;
  --ink-2: #4B5563;
  --ink-3: #6B7280;
  --ink-4: #9CA3AF;
  --bg: #FFFFFF;
  --bg-soft: #F8F7FD;
  --bg-softer: #FBFAFE;
  --line: rgba(124, 58, 237, 0.12);
  --line-strong: rgba(124, 58, 237, 0.2);
  --dark: #0F172A;
  --dark-2: #151E33;
  --dark-3: #1E293B;
  --ok: #10B981;
  --warn: #F59E0B;
  --danger: #EF4444;

  /* 圆角 */
  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-full: 999px;

  /* 阴影 */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-sm: 0 4px 14px -6px rgba(15, 23, 42, 0.12);
  --shadow: 0 12px 34px -14px rgba(15, 23, 42, 0.18);
  --shadow-purple: 0 14px 30px -12px rgba(124, 58, 237, 0.45);

  /* 布局 */
  --maxw: 1180px;
  --nav-h: 64px;

  /* 字体 */
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--purple); text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font-family: inherit; }

/* ---------- 布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  margin-bottom: 14px;
}
.h2 {
  font-size: 34px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-sub {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 16px;
}
.grad-text {
  background: linear-gradient(96deg, var(--purple) 8%, var(--cyan) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 80;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.8) blur(14px);
  -webkit-backdrop-filter: saturate(1.8) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand img { height: 34px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.brand-text span { font-size: 10px; color: var(--ink-3); letter-spacing: 0.06em; }

.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--purple); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.16s, box-shadow 0.16s, background 0.16s, color 0.16s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: var(--shadow-purple);
}
.btn-primary:hover { background: var(--purple-600); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--purple); background: var(--purple-50); }
.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-outline:hover { border-color: var(--purple); color: var(--purple); }
.btn-dark {
  background: var(--dark);
  color: #fff;
}
.btn-dark:hover { background: #1B2740; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 50px; padding: 0 26px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 64px) 0 72px;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 18% -8%, rgba(124, 58, 237, 0.13), transparent 60%),
    radial-gradient(760px 380px at 88% 4%, rgba(6, 182, 212, 0.12), transparent 62%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg-softer) 100%);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--purple-700);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  box-shadow: var(--shadow-xs);
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.18);
}
.hero h1 {
  margin-top: 20px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 840px;
}
.hero-sub {
  margin-top: 20px;
  max-width: 620px;
  font-size: 17px;
  color: var(--ink-2);
}
.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-trust {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--ink-3);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust i { color: var(--cyan); font-style: normal; }

.hero-metrics {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.metric {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-xs);
}
.metric b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.metric span { font-size: 12.5px; color: var(--ink-3); }

/* 深色预览面板 */
.preview {
  margin-top: 40px;
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: 0 40px 90px -40px rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.preview-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px 12px;
}
.preview-bar i {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.preview-bar i:nth-child(1) { background: #F87171; }
.preview-bar i:nth-child(2) { background: #FBBF24; }
.preview-bar i:nth-child(3) { background: #34D399; }
.preview-bar span {
  margin-left: auto;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--mono);
}
.preview-body {
  background: linear-gradient(180deg, #111A2E 0%, #0B1220 100%);
  border-radius: 14px;
  padding: 20px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  min-height: 300px;
}
.preview-nav { display: flex; flex-direction: column; gap: 6px; }
.preview-nav b {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.34);
  margin-bottom: 4px;
}
.pv-stage {
  position: relative;
  height: 30px;
  border-radius: 8px;
  border: 0;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-family: inherit;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  transition: color 0.25s, background 0.25s;
}
.pv-stage:hover { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.85); }
.pv-stage.on {
  background: rgba(34, 211, 238, 0.14);
  color: #67E8F9;
  box-shadow: inset 2px 0 0 #22D3EE;
}
.pv-stage i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #22D3EE, #7C3AED);
}
.pv-stage.on i { animation: pvFill 6s linear forwards; }
.preview.paused .pv-stage i { animation-play-state: paused; }
@keyframes pvFill { from { width: 0; } to { width: 100%; } }

/* 轮播内容面板 */
.pv-panel { display: none; flex-direction: column; gap: 10px; flex: 1; }
.pv-panel.on { display: flex; animation: pvIn 0.45s ease; }
@keyframes pvIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pv-caption {
  margin: 0 0 2px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.pv-caption b { color: #67E8F9; font-size: 13px; white-space: nowrap; }
.pv-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 10px 12px;
}
.pv-name {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: #CBD5E1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pv-meta { font-size: 10.5px; color: rgba(255, 255, 255, 0.38); white-space: nowrap; }
.pv-tag {
  flex-shrink: 0;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(34, 211, 238, 0.14);
  color: #67E8F9;
  white-space: nowrap;
}
.pv-tag.done { background: rgba(52, 211, 153, 0.14); color: #34D399; }
.pv-tag.gray { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.45); }
.pv-tag.purple { background: rgba(124, 58, 237, 0.22); color: #C4B5FD; }
.pv-progress { height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.pv-progress span { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #22D3EE, #7C3AED); }
.pv-sub { margin: 0; font-size: 10.5px; color: rgba(255, 255, 255, 0.38); }
.pv-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; min-height: 120px; }
.pv-cmp {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pv-cmp b { font-size: 10.5px; font-weight: 500; color: rgba(255, 255, 255, 0.45); }
.pv-cmp i {
  flex: 1;
  border-radius: 8px;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 6px, rgba(255, 255, 255, 0.02) 6px 12px);
}
.pv-cmp i.enhanced {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.30), rgba(124, 58, 237, 0.28));
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.35);
}
.pv-metric { display: flex; align-items: baseline; gap: 8px; }
.pv-metric b { font-size: 18px; color: #67E8F9; letter-spacing: -0.02em; }
.pv-metric span { font-size: 10.5px; color: rgba(255, 255, 255, 0.42); }
.pv-metric b + span { margin-right: 14px; }
.pv-lv { flex-shrink: 0; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 5px; }
.pv-lv.l2 { background: rgba(251, 191, 36, 0.16); color: #FBBF24; }
.pv-lv.l3 { background: rgba(249, 115, 22, 0.18); color: #FB923C; }
.pv-lv.l4 { background: rgba(248, 113, 113, 0.18); color: #F87171; }
.pv-row.pv-uncertain { border-color: rgba(251, 191, 36, 0.35); background: rgba(251, 191, 36, 0.06); }
.pv-standards { display: flex; flex-wrap: wrap; gap: 6px; }
.pv-standards span {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.18);
  color: #C4B5FD;
  border: 1px solid rgba(124, 58, 237, 0.3);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.pv-align {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 10px 12px;
}
.pv-align-item { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #CBD5E1; }
.pv-align-item b {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, #22D3EE, #7C3AED);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pv-conf { flex-shrink: 0; width: 72px; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.pv-conf span { display: block; height: 100%; border-radius: 5px; background: #22D3EE; }
.pv-check { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #CBD5E1; }
.pv-check i {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.18);
  color: #34D399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 10px;
}
.pv-dl {
  margin-top: auto;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #22D3EE, #7C3AED);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.preview-main { display: flex; flex-direction: column; gap: 12px; }
.preview-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.preview-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 12px;
}
.preview-card b { display: block; font-size: 20px; color: #E2E8F0; letter-spacing: -0.02em; }
.preview-card span { font-size: 10.5px; color: rgba(255, 255, 255, 0.42); }
.preview-card em {
  display: block;
  height: 4px;
  border-radius: 4px;
  margin-top: 8px;
  background: linear-gradient(90deg, #22D3EE, #7C3AED);
}
.preview-chart {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 150px;
}
.preview-chart span { font-size: 11px; color: rgba(255, 255, 255, 0.45); }
.preview-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex: 1;
}
.preview-bars i {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.85), rgba(124, 58, 237, 0.55));
}

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: linear-gradient(135deg, var(--purple-50), var(--cyan-50));
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.card h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.card p { margin-top: 8px; color: var(--ink-2); font-size: 14px; }
.card-tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11.5px;
  color: var(--ink-2);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  padding: 2px 9px;
}

/* ---------- E2E 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-xs);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 700;
  font-family: var(--mono);
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  margin-bottom: 14px;
}
.step h3 { font-size: 16px; font-weight: 700; }
.step p { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); }
.step-meta {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--purple);
  font-family: var(--mono);
}

/* ---------- 功能矩阵 ---------- */
.matrix { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.matrix-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-xs);
}
.matrix-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.matrix-col h4::before {
  content: "";
  width: 3px; height: 13px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--purple), var(--cyan));
}
.matrix-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  font-size: 13px;
  color: var(--ink-2);
  border-bottom: 1px dashed rgba(124, 58, 237, 0.08);
}
.matrix-item:last-child { border-bottom: 0; }
.matrix-item b {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--purple);
  background: var(--purple-50);
  border-radius: 4px;
  padding: 1px 5px;
  flex: none;
}

/* 功能矩阵：可用 / 规划中 状态（V2.2 首页对齐） */
.matrix-item.planned { opacity: .55; }
.matrix-item .mx-badge {
  margin-left: auto;
  font-size: 10px;
  line-height: 1;
  padding: 3px 7px;
  border-radius: 999px;
  flex: none;
  font-weight: 600;
}
.mx-badge.live { color: #047857; background: rgba(16, 185, 129, .12); }
.mx-badge.mock { color: #B45309; background: rgba(245, 158, 11, .14); }
.mx-badge.plan { color: #6B7280; background: rgba(107, 114, 128, .12); }
.matrix-col.planned-col h4 { color: #6B7280; }
.matrix-col.planned-col h4::before { background: #9CA3AF; }
.card .tag-planned {
  font-size: 10px;
  font-weight: 600;
  color: #6B7280;
  background: rgba(107, 114, 128, .12);
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 6px;
  vertical-align: 2px;
}
.card .tag-mock {
  font-size: 10px;
  font-weight: 600;
  color: #B45309;
  background: rgba(245, 158, 11, .14);
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 6px;
  vertical-align: 2px;
}

/* ---------- 操作台 CTA ---------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(600px 260px at 15% 0%, rgba(124, 58, 237, 0.35), transparent 65%),
    radial-gradient(520px 240px at 85% 100%, rgba(6, 182, 212, 0.28), transparent 62%),
    var(--dark);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-band h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.cta-band p { margin-top: 10px; color: rgba(255, 255, 255, 0.62); font-size: 14.5px; max-width: 560px; }
.cta-band .btn { flex: none; }
.cta-band .btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* ---------- 页脚 ---------- */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 46px 0 30px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer .brand { color: #fff; }
.footer .brand img { background: #fff; border-radius: 8px; padding: 4px; height: 36px; }
.footer .brand-text strong { color: #fff; }
.footer .brand-text span { color: rgba(255, 255, 255, 0.45); }
.footer p { font-size: 13px; max-width: 340px; margin-top: 12px; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-links h5 {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  padding: 3px 0;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
}
.footer-contact b { display: block; color: #fff; font-size: 12px; margin-bottom: 6px; letter-spacing: 0.08em; }
.footer-contact { max-width: 420px; }
.footer-contact p { margin: 2px 0; font-size: 12px; color: rgba(255, 255, 255, 0.52); }
.footer-contact a { color: #67E8F9; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }

/* ---------- 智能助理对话框 ---------- */
.assistant-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.assistant-head {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(6, 182, 212, 0.06));
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.assistant-head b { font-size: 15px; color: var(--ink); }
.assistant-head span { font-size: 12px; color: var(--ink-3); }
.assistant-chat {
  height: 340px;
  overflow-y: auto;
  padding: 18px 22px;
  background: #faf9ff;
}
.chat-msg { display: flex; gap: 10px; margin-bottom: 14px; }
.chat-msg.user { justify-content: flex-end; }
.chat-avatar {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-msg.user .chat-avatar { display: none; }
.chat-bubble {
  max-width: 72%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.chat-msg.user .chat-bubble {
  background: var(--purple);
  color: #fff;
  border-color: transparent;
}
.chat-suggests {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.chat-suggests button {
  background: var(--purple-50);
  color: var(--purple);
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 14px;
  padding: 5px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}
.chat-suggests button:hover { background: var(--purple); color: #fff; }
.chat-recs { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.chat-rec {
  display: block;
  padding: 8px 12px;
  background: var(--purple-50);
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.chat-rec:hover { background: rgba(124, 58, 237, 0.12); border-color: var(--purple); }
.chat-rec span { display: block; font-size: 12.5px; color: var(--purple-600); font-weight: 600; }
.chat-rec em { display: block; font-size: 11px; color: var(--ink-3); font-style: normal; margin-top: 2px; }
.chat-fb { display: block; font-size: 11px; color: var(--ink-4); margin-top: 6px; font-style: normal; }
.chat-msg.typing .chat-bubble i {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple);
  margin: 0 2px;
  animation: typing 1.2s infinite;
}
.chat-msg.typing .chat-bubble i:nth-child(2) { animation-delay: 0.15s; }
.chat-msg.typing .chat-bubble i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }
.assistant-input {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.assistant-input input {
  flex: 1;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s;
}
.assistant-input input:focus { border-color: var(--purple); }

@media (max-width: 720px) {
  .assistant-chat { height: 300px; padding: 14px; }
  .chat-bubble { max-width: 85%; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- 表单 ---------- */
.field { margin-bottom: 16px; }
.label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.label span { color: var(--danger); }
.input, .select, .textarea {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.16s, box-shadow 0.16s;
}
.textarea { height: auto; padding: 11px 13px; resize: vertical; min-height: 90px; }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.hint { font-size: 12px; color: var(--ink-3); margin-top: 5px; }
.input-error { border-color: var(--danger); }
.field-error { font-size: 12px; color: var(--danger); margin-top: 5px; display: none; }
.field-error.show { display: block; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
}
.checkbox input { margin-top: 3px; accent-color: var(--purple); width: 15px; height: 15px; }

/* 密码强度 */
.pw-meter { display: flex; gap: 5px; margin-top: 8px; }
.pw-meter i {
  height: 4px;
  flex: 1;
  border-radius: 3px;
  background: #E5E7EB;
  transition: background 0.2s;
}
.pw-meter i.on-1 { background: var(--danger); }
.pw-meter i.on-2 { background: var(--warn); }
.pw-meter i.on-3 { background: var(--cyan); }
.pw-meter i.on-4 { background: var(--ok); }

/* ---------- 认证页 ---------- */
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--bg-soft);
}
.auth-side {
  position: relative;
  padding: 48px;
  color: #fff;
  background:
    radial-gradient(600px 300px at 12% 6%, rgba(124, 58, 237, 0.55), transparent 62%),
    radial-gradient(520px 280px at 92% 92%, rgba(6, 182, 212, 0.4), transparent 60%),
    var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.auth-side .brand { color: #fff; }
.auth-side .brand img { background: #fff; border-radius: 9px; padding: 5px; height: 40px; }
.auth-side .brand-text strong { color: #fff; }
.auth-side .brand-text span { color: rgba(255, 255, 255, 0.5); }
.auth-side h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 460px;
}
.auth-side p { margin-top: 16px; color: rgba(255, 255, 255, 0.62); max-width: 440px; font-size: 14.5px; }
.auth-points { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.auth-points div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.76);
}
.auth-points i {
  width: 20px; height: 20px;
  flex: none;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.18);
  color: #67E8F9;
  font-style: normal;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-side .foot { font-size: 12px; color: rgba(255, 255, 255, 0.35); }

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.auth-card .sub { margin-top: 8px; margin-bottom: 26px; color: var(--ink-2); font-size: 14px; }
.auth-alt { margin-top: 20px; text-align: center; font-size: 13.5px; color: var(--ink-2); }
.auth-back {
  position: absolute;
  top: 24px; left: 24px;
  font-size: 13px;
  color: var(--ink-2);
}

/* 分段选择器（个人/企业） */
.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 5px;
  margin-bottom: 20px;
}
.segmented button {
  height: 36px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}
.segmented button.active {
  background: #fff;
  color: var(--purple);
  box-shadow: var(--shadow-xs);
}

/* ---------- 应用控制台 ---------- */
.app-body { background: var(--bg-soft); }
.app-shell { display: flex; min-height: 100vh; }

.app-side {
  width: 248px;
  flex: none;
  background: var(--dark);
  color: #E2E8F0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.app-brand {
  padding: 18px 18px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-brand img {
  height: 36px;
  background: #fff;
  border-radius: 9px;
  padding: 4px;
}
.app-brand b { display: block; font-size: 14px; color: #fff; }
.app-brand span { font-size: 10.5px; color: rgba(255, 255, 255, 0.42); }

.side-project {
  margin: 12px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.side-project .k { font-size: 10px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.36); text-transform: uppercase; }
.side-project .v { margin-top: 3px; font-size: 13px; font-weight: 600; color: #fff; line-height: 1.4; }
.side-project .p {
  margin-top: 9px;
  height: 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.side-project .p i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #22D3EE, #7C3AED);
  transition: width 0.3s;
}

.side-nav { padding: 6px 10px 18px; flex: 1; }
.side-group { margin-top: 14px; }
.side-group > b {
  display: block;
  padding: 0 10px 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}
.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--ink-4);
  font-size: 13.5px;
  cursor: pointer;
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  transition: background 0.16s, color 0.16s;
}
.side-link:hover { background: rgba(255, 255, 255, 0.06); color: #E2E8F0; }
.side-link.active {
  background: rgba(34, 211, 238, 0.13);
  color: #67E8F9;
  font-weight: 600;
  box-shadow: inset 2px 0 0 #22D3EE;
}
.side-link .n {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  width: 22px;
  flex: none;
}
.side-link.active .n { color: #67E8F9; }
.side-link .st {
  margin-left: auto;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.side-link.done .st { background: var(--ok); }
.side-foot {
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.36);
  display: flex;
  align-items: center;
  gap: 8px;
}
.side-foot i {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22D3EE;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.16);
}

.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-topbar {
  height: 62px;
  flex: none;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 30;
}
.topbar-title { font-size: 15px; font-weight: 700; }
.topbar-crumb { font-size: 12px; color: var(--ink-3); }
.app-user {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-content { padding: 26px; flex: 1; }
.menu-btn {
  display: none;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  color: var(--ink);
}

/* 视图切换 */
.view { display: none; }
.view.active { display: block; }

/* 项目卡片 */
.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  cursor: pointer;
}
.project-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.project-card h3 { font-size: 16px; font-weight: 700; }
.project-card .meta {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.project-card .bar {
  margin-top: 16px;
  height: 5px;
  border-radius: 3px;
  background: #EDE9FE;
  overflow: hidden;
}
.project-card .bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
}
.project-card .foot {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-3);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-full);
  padding: 2px 9px;
}
.pill.created { background: var(--purple-50); color: var(--purple-700); }
.pill.in_progress { background: var(--cyan-50); color: var(--cyan-600); }
.pill.completed { background: #ECFDF5; color: #047857; }

/* 新建项目向导 */
.wizard-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.wizard-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-3);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  background: #fff;
}
.wizard-step b {
  font-family: var(--mono);
  font-size: 10.5px;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  color: var(--ink-3);
}
.wizard-step.active {
  color: var(--purple);
  border-color: var(--line-strong);
  background: var(--purple-50);
  font-weight: 600;
}
.wizard-step.active b { background: var(--purple); color: #fff; }
.wizard-step.done b { background: var(--ok); color: #fff; }
.wizard-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-xs);
  max-width: 820px;
}
.wizard-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.wizard-body .sub { font-size: 13px; color: var(--ink-3); margin-bottom: 22px; }
.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(124, 58, 237, 0.1);
}
.summary {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.summary-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding: 10px 14px;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(124, 58, 237, 0.08);
}
.summary-row:last-child { border-bottom: 0; }
.summary-row .k { color: var(--ink-3); }
.summary-row .v { color: var(--ink); font-weight: 500; }

/* 工作台 */
.work-head {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.work-head h2 { font-size: 17px; font-weight: 700; }
.work-head .sub { font-size: 12.5px; color: var(--ink-3); }
.work-head .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.stage-line { display: flex; gap: 6px; flex-wrap: wrap; }
.stage-chip {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  color: var(--ink-3);
  background: #fff;
}
.stage-chip.on { border-color: var(--purple); color: var(--purple); background: var(--purple-50); font-weight: 600; }
.stage-chip.done { border-color: rgba(16, 185, 129, 0.35); color: #047857; background: #ECFDF5; }

/* 空状态 */
.empty {
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 56px 28px;
  text-align: center;
}
.empty .ic {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple-50), var(--cyan-50));
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.empty h3 { font-size: 16px; font-weight: 700; }
.empty p { margin: 6px auto 18px; font-size: 13.5px; color: var(--ink-3); max-width: 420px; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(16px);
  background: var(--dark);
  color: #fff;
  font-size: 13.5px;
  padding: 11px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 18px 40px -16px rgba(15, 23, 42, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
  z-index: 200;
  max-width: calc(100vw - 40px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 遮罩 */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 60;
}
.overlay.show { display: block; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .matrix { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-main { min-height: 100vh; }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 4px; border-bottom: 1px solid rgba(124, 58, 237, 0.07); }
  .nav-actions { display: none; }
  .nav-toggle { display: block; }

  .app-side {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 70;
    transform: translateX(-100%);
    transition: transform 0.24s ease;
  }
  .app-side.open { transform: translateX(0); }
  .menu-btn { display: block; }
  .app-content { padding: 16px; }
  .app-topbar { padding: 0 16px; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .section { padding: 56px 0; }
  .h2 { font-size: 26px; }
  .hero { padding: calc(var(--nav-h) + 40px) 0 48px; }
  .hero-sub { font-size: 15px; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-3, .grid-4, .steps, .matrix { grid-template-columns: 1fr; }
  .preview-body { grid-template-columns: 1fr; }
  .preview-nav { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .preview-nav b { display: none; }
  .pv-stage { flex: 1 1 30%; height: 28px; padding: 0 8px; font-size: 11px; justify-content: center; }
  .pv-caption { flex-direction: column; gap: 2px; }
  .pv-meta { display: none; }
  .pv-conf { display: none; }
  .preview-cards { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 30px 22px; }
  .cta-band h2 { font-size: 22px; }
  .footer-links { gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .auth-card { padding: 24px; }
  .wizard-body { padding: 20px; }
  .summary-row { grid-template-columns: 110px 1fr; }
  .work-head { padding: 14px 16px; }
  .work-head .right { margin-left: 0; width: 100%; }
}
