/* ============================================================
   Scrip 锦囊 · 产品演示站
   白底 / 大气 / 科技感 —— 共享样式
   ============================================================ */

:root {
  --blue: #0a84ff;
  --blue-deep: #0066d6;
  --ink: #0b1220;
  --ink-2: #3d4757;
  --muted: #6b7280;
  --line: #e6e9f0;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-softer: #fafbfc;
  --green: #34c7a8;
  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(11, 18, 32, 0.05);
  --shadow-md: 0 12px 32px rgba(11, 18, 32, 0.08);
  --shadow-lg: 0 30px 80px rgba(11, 18, 32, 0.14);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter",
    "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Cascadia Code", Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ---------------- 科技感背景 ---------------- */
.tech-bg {
  position: relative;
  background-image:
    radial-gradient(ellipse 60% 45% at 75% 8%, rgba(10, 132, 255, 0.08), transparent 70%),
    radial-gradient(ellipse 45% 40% at 12% 30%, rgba(52, 199, 168, 0.05), transparent 70%);
}
.tech-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 18, 32, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 18, 32, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}
.tech-bg > * { position: relative; z-index: 1; }

/* ---------------- 导航栏 ---------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 12px rgba(11, 18, 32, 0.04);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.2px;
}
.nav-logo img { width: 30px; height: 30px; border-radius: 8px; }
.nav-logo .tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--blue);
  border: 1px solid rgba(10, 132, 255, 0.35);
  border-radius: 999px;
  padding: 2px 8px;
  letter-spacing: 1px;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  color: var(--ink-2);
  padding: 8px 13px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); background: rgba(11, 18, 32, 0.05); }
.nav-links a.active { color: var(--blue); background: rgba(10, 132, 255, 0.08); font-weight: 600; }
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: #fff !important;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  padding: 9px 20px !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 18px rgba(10, 132, 255, 0.35);
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(10, 132, 255, 0.45); }
.nav-burger { display: none; font-size: 22px; color: var(--ink); padding: 6px 10px; }

/* ---------------- Hero ---------------- */
.hero {
  padding: 168px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--blue);
  text-transform: uppercase;
  border: 1px solid rgba(10, 132, 255, 0.25);
  background: rgba(10, 132, 255, 0.06);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 26px;
}
.hero-eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.18);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.22); }
  50% { box-shadow: 0 0 0 7px rgba(10, 132, 255, 0.06); }
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--blue) 10%, #6f5cff 55%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 17.5px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust {
  margin-top: 26px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 14px; height: 14px; color: var(--green); }

.hero-visual { display: flex; justify-content: center; position: relative; }
.hero-visual .halo {
  position: absolute;
  inset: 8% -6%;
  background: radial-gradient(ellipse at center, rgba(10, 132, 255, 0.14), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}
.float-anim { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 10px 26px rgba(10, 132, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(10, 132, 255, 0.45); }
.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-sm { padding: 10px 22px; font-size: 14px; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 96px 0; position: relative; }
.section.alt { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.22;
  margin-bottom: 16px;
}
.section-desc { font-size: 16.5px; color: var(--muted); }

/* 大编号 */
.big-num {
  font-family: var(--mono);
  font-size: clamp(64px, 8vw, 110px);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(10, 132, 255, 0.35);
  letter-spacing: -2px;
  user-select: none;
}

/* ---------------- 卡片 ---------------- */
.cards { display: grid; gap: 22px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10, 132, 255, 0.4);
}
.card-ico {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(10, 132, 255, 0.09);
  color: var(--blue);
  margin-bottom: 20px;
}
.card-ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.2px; }
.card p { font-size: 14.5px; color: var(--muted); }

/* 演示入口卡片（首页） */
.demo-card { display: flex; flex-direction: column; padding: 0; }
.demo-card .thumb {
  height: 190px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.demo-card .thumb img {
  height: 168px;
  width: auto;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -6px 24px rgba(11, 18, 32, 0.12);
  transform: translateY(14px);
  transition: transform 0.35s ease;
}
.demo-card:hover .thumb img { transform: translateY(6px); }
.demo-card .thumb .live-badge {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(135deg, #6f5cff, var(--blue));
  border-radius: 999px;
  padding: 5px 12px;
  box-shadow: 0 6px 16px rgba(111, 92, 255, 0.4);
}
.demo-card .body { padding: 24px 26px 28px; }
.demo-card .idx {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}
.demo-card h3 { display: flex; align-items: center; gap: 8px; }
.demo-card .arrow {
  margin-left: auto;
  color: var(--blue);
  transition: transform 0.25s ease;
}
.demo-card:hover .arrow { transform: translateX(5px); }

/* ---------------- 手机样机 ---------------- */
.phone {
  width: 300px;
  background: #0d0f14;
  border-radius: 46px;
  padding: 11px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  position: relative;
  flex-shrink: 0;
}
.phone::after {
  content: "";
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 26px;
  background: #0d0f14;
  border-radius: 999px;
  z-index: 5;
}
.phone-screen {
  border-radius: 36px;
  overflow: hidden;
  background: #fff;
  position: relative;
}
.phone-screen > img { width: 100%; }
.phone.wide { width: 330px; }

/* ---------------- 演示页页头 ---------------- */
.page-head { padding: 150px 0 40px; }
.page-head .crumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 26px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.page-head .crumb a { color: var(--blue); }
.page-head-row {
  display: flex;
  gap: 40px;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
}
.page-head h1 {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.18;
  margin: 14px 0 16px;
}
.page-head .lead { font-size: 17px; color: var(--muted); max-width: 620px; }

/* 功能点列表 */
.feat-list { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.feat-item {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.feat-item:hover { border-color: rgba(10, 132, 255, 0.4); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.feat-item .fi-ico {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(10, 132, 255, 0.09);
  color: var(--blue);
}
.feat-item .fi-ico svg { width: 18px; height: 18px; }
.feat-item h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 4px; }
.feat-item p { font-size: 13.5px; color: var(--muted); }

/* 双栏展示 */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split .shot-col { display: flex; justify-content: center; position: relative; }
.split .shot-col .halo {
  position: absolute;
  inset: 6% -4%;
  background: radial-gradient(ellipse at center, rgba(10, 132, 255, 0.12), transparent 62%);
  pointer-events: none;
}
.shot-pair { display: flex; gap: 22px; align-items: flex-start; justify-content: center; }
.shot-pair .phone:nth-child(2) { margin-top: 44px; }

/* 标注 chip */
.note-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-2);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
}
.note-chip b { color: var(--blue); }

/* ---------------- 页间导航 ---------------- */
.pager {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.pager a {
  flex: 1;
  max-width: 48%;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  background: #fff;
}
.pager a:hover { border-color: rgba(10, 132, 255, 0.45); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.pager a.next { text-align: right; margin-left: auto; }
.pager .p-dir { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--blue); text-transform: uppercase; display: block; margin-bottom: 6px; }
.pager .p-title { font-size: 16.5px; font-weight: 700; }

/* ---------------- 页脚 ---------------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-softer);
  padding: 56px 0 34px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer-brand { max-width: 320px; }
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; color: var(--muted); }
.footer h5 { font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--ink); margin-bottom: 14px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer ul a { font-size: 13.5px; color: var(--muted); transition: color 0.2s; }
.footer ul a:hover { color: var(--blue); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================================
   交互模拟 · 手机屏幕内的迷你 App
   ============================================================ */
.live {
  display: flex;
  flex-direction: column;
  height: 640px;
  font-size: 13px;
  background: #f2f2f7;
  user-select: none;
}
/* 状态栏 */
.lv-status {
  height: 40px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px 0 28px;
  font-size: 12.5px;
  font-weight: 600;
  flex-shrink: 0;
}
.lv-status .icons { display: flex; gap: 5px; align-items: center; color: var(--ink); }
.lv-status .icons svg { width: 15px; height: 12px; }

/* 目标 App 区域 */
.lv-target { flex: 1; overflow-y: auto; background: #f2f2f7; min-height: 0; }
.lv-appbar {
  background: #fff;
  padding: 8px 16px 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 2;
}
.lv-appbar .x { font-size: 21px; color: var(--blue); line-height: 1; }
.lv-appbar .t { flex: 1; text-align: center; font-weight: 600; font-size: 14px; }
.lv-appbar .spacer { width: 20px; }

/* 分段控件 */
.seg {
  display: flex;
  background: rgba(120, 120, 128, 0.12);
  border-radius: 9px;
  padding: 2px;
  margin: 10px 14px;
}
.seg button {
  flex: 1;
  padding: 6px 0;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 7px;
  transition: all 0.2s;
}
.seg button.on {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(10, 132, 255, 0.35);
}

/* 表单（快递单） */
.lv-form {
  background: #fff;
  border-radius: 12px;
  margin: 4px 14px 12px;
  overflow: hidden;
}
.lv-form .cap {
  font-size: 11px;
  color: #8e8e93;
  letter-spacing: 0.6px;
  padding: 14px 16px 6px;
  text-transform: uppercase;
}
.lv-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.07);
}
.lv-field:last-child { border-bottom: none; }
.lv-field label { width: 52px; flex-shrink: 0; font-size: 13px; color: var(--ink); }
.lv-field .val {
  flex: 1;
  font-size: 13px;
  color: var(--ink);
  min-height: 18px;
  word-break: break-all;
  position: relative;
}
.lv-field .val.placeholder { color: #c7c7cc; }
.lv-field.focus { background: rgba(10, 132, 255, 0.06); }
.lv-field.focus .val::after {
  content: "";
  display: inline-block;
  width: 2px; height: 15px;
  background: var(--blue);
  vertical-align: -2px;
  margin-left: 1px;
  animation: caret 0.85s step-end infinite;
}
@keyframes caret { 50% { opacity: 0; } }

/* 网址栏 */
.lv-urlbar { display: flex; gap: 8px; padding: 12px 14px 4px; }
.lv-urlbar .addr {
  flex: 1;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--ink);
  min-height: 38px;
  word-break: break-all;
}
.lv-urlbar .addr.placeholder { color: #c7c7cc; }
.lv-urlbar .addr.focus::after {
  content: "";
  display: inline-block;
  width: 2px; height: 15px;
  background: var(--blue);
  vertical-align: -2px;
  animation: caret 0.85s step-end infinite;
}
.lv-go {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  border-radius: 10px;
  padding: 0 18px;
  opacity: 0.45;
  transition: opacity 0.2s, transform 0.15s;
}
.lv-go.ready { opacity: 1; }
.lv-go.ready:active { transform: scale(0.95); }
.lv-web {
  margin: 10px 14px 12px;
  background: #fff;
  border-radius: 12px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #8e8e93;
  font-size: 12.5px;
  padding: 18px;
  text-align: center;
}
.lv-web svg { width: 44px; height: 44px; color: #c7c7cc; }
.lv-web.loaded { color: var(--ink); justify-content: flex-start; align-items: stretch; text-align: left; }
.lv-web .sk { height: 10px; border-radius: 5px; background: linear-gradient(90deg, #ececf1 25%, #f7f7fa 50%, #ececf1 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* 聊天 */
.lv-chat { padding: 10px 14px; display: flex; flex-direction: column; gap: 10px; }
.lv-bubble {
  max-width: 82%;
  background: var(--blue);
  color: #fff;
  border-radius: 16px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
  align-self: flex-end;
  animation: pop 0.3s ease;
  word-break: break-word;
}
@keyframes pop { from { transform: scale(0.92); opacity: 0; } }
.lv-inputbar {
  display: flex;
  gap: 8px;
  padding: 8px 14px 10px;
  background: #f2f2f7;
}
.lv-inputbar .msg {
  flex: 1;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 9px 14px;
  font-size: 13px;
  min-height: 36px;
  word-break: break-word;
}
.lv-inputbar .msg.placeholder { color: #c7c7cc; }
.lv-inputbar .msg.focus::after {
  content: "";
  display: inline-block;
  width: 2px; height: 15px;
  background: var(--blue);
  vertical-align: -2px;
  animation: caret 0.85s step-end infinite;
}
.lv-send {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0.4;
  transition: opacity 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.lv-send.ready { opacity: 1; }
.lv-send.ready:active { transform: scale(0.9); }
.lv-send svg { width: 16px; height: 16px; }

/* Scrip 键盘 */
.lv-kb {
  background: rgba(210, 213, 219, 0.9);
  backdrop-filter: blur(20px);
  border-top: 0.5px solid rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.kb-cats { display: flex; gap: 7px; padding: 9px 12px 7px; }
.kb-cats button {
  padding: 5px 15px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  color: var(--ink);
  transition: all 0.18s;
}
.kb-cats button.on { background: var(--blue); color: #fff; font-weight: 600; }
.kb-list { height: 168px; overflow-y: auto; padding: 0 12px; }
.kb-group { margin-bottom: 8px; }
.kb-group-title { font-size: 11.5px; color: #6e6e73; padding: 4px 2px 5px; font-weight: 500; }
.kb-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  background: #fff;
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12.5px;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chip:hover { box-shadow: 0 3px 10px rgba(10, 132, 255, 0.25); }
.chip:active { transform: scale(0.94); background: rgba(10, 132, 255, 0.1); }
.chip .ph { color: var(--blue); font-weight: 600; }
.kb-bar {
  display: flex;
  justify-content: space-between;
  padding: 8px 26px 6px;
}
.kb-bar button { font-size: 19px; color: var(--ink); padding: 4px 12px; opacity: 0.75; }
.kb-bar button:active { opacity: 1; transform: scale(0.92); }
.kb-sys {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 30px 10px;
  color: #8e8e93;
}
.kb-sys svg { width: 19px; height: 19px; }
.kb-home-line { width: 120px; height: 4px; background: #0b1220; border-radius: 2px; margin: 2px auto 6px; opacity: 0.85; }

@keyframes slideDown { from { transform: translateY(-8px); opacity: 0; } }

/* 模拟提示 */
.sim-tip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--blue);
  background: rgba(10, 132, 255, 0.07);
  border: 1px dashed rgba(10, 132, 255, 0.4);
  border-radius: 12px;
  padding: 10px 18px;
}
.sim-tip .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

/* ---------------- 步骤 ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(10, 132, 255, 0.4); }
.step-card .no {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--muted); }
.step-card code {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--ink-2);
}

/* 统计条 */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-box { text-align: center; padding: 28px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.stat-box .n { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -1px; background: linear-gradient(135deg, var(--blue), #6f5cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-box .l { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------------- 滚动淡入 ---------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 66px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 18px;
    gap: 2px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; margin-left: auto; }
  .nav-links { margin-left: 0; }
  .hero { padding: 128px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-sub { max-width: none; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split .text-col { order: 1; }
  .split .shot-col { order: 2; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .wrap { padding: 0 22px; }
  .nav-inner { padding: 0 22px; }
  .pager { flex-direction: column; }
  .pager a { max-width: 100%; }
}
@media (max-width: 560px) {
  .cards-3, .cards-2, .cards-4 { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .shot-pair { flex-direction: column; align-items: center; }
  .shot-pair .phone:nth-child(2) { margin-top: 0; }
  .phone { width: 286px; }
}

/* 滚动条美化 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #d4d9e2; border-radius: 5px; border: 2px solid #fff; }
::-webkit-scrollbar-thumb:hover { background: #b9c1cf; }

/* ---------------- 启动页（根目录首页） ---------------- */
.launch {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}
.launch-logo {
  width: 104px;
  height: 104px;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  margin: 0 auto 32px;
  animation: floaty 6s ease-in-out infinite;
}
.launch-title {
  font-size: clamp(44px, 7vw, 68px);
  font-weight: 800;
  letter-spacing: 6px;
  margin-bottom: 14px;
}
.launch-slogan {
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 600;
  background: linear-gradient(120deg, var(--blue), #6f5cff 60%, var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.launch-desc {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.9;
}
.launch-btn { font-size: 16.5px; padding: 16px 52px; }
.launch-note {
  margin-top: 26px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 1px;
}

/* ---------------- 词条内嵌占位符下拉 ---------------- */
.ph-select {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 2px 8px;
}
.ph-idx {
  font-size: 11.5px;
  color: #8e8e93;
  width: 12px;
  text-align: center;
  flex-shrink: 0;
}
.ph-current {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #fff;
  border-radius: 9px;
  padding: 8px 12px;
  font-size: 12.5px;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.ph-current svg {
  width: 12px;
  height: 12px;
  color: #8e8e93;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.ph-select.open .ph-current svg { transform: rotate(180deg); }
.ph-add {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #fff;
  font-size: 17px;
  line-height: 1;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  transition: transform 0.15s;
}
.ph-add:active { transform: scale(0.92); }
.ph-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 19px;
  right: 39px;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
  padding: 5px;
  display: none;
  z-index: 30;
}
.ph-select.open .ph-options { display: block; animation: slideDown 0.18s ease; }
.ph-options button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  font-size: 12.5px;
  color: var(--ink);
  border-radius: 8px;
  transition: background 0.15s;
}
.ph-options button:hover { background: rgba(10, 132, 255, 0.08); }
.ph-options button.on { color: var(--blue); font-weight: 600; }
.ph-options button.on::after { content: "✓"; font-size: 12px; }

/* ---------------- 首页横向演示卡片 ---------------- */
.demo-card-row { flex-direction: row; align-items: center; }
.demo-card-row .thumb {
  width: 150px;
  height: 150px;
  border-bottom: none;
  border-left: 1px solid var(--line);
  flex-shrink: 0;
}
.demo-card-row .thumb img { height: 130px; transform: translateY(10px); }
.demo-card-row:hover .thumb img { transform: translateY(4px); }

/* ---------------- 移动端适配增强 ---------------- */
@media (max-width: 860px) {
  .page-head { padding: 118px 0 30px; }
  .big-num { font-size: 58px; }
  .page-head h1 { font-size: clamp(28px, 7.4vw, 36px); }
  .live { height: 610px; }
}
@media (max-width: 560px) {
  .phone, .phone.wide { width: min(300px, 90vw); padding: 9px; border-radius: 40px; }
  .phone-screen { border-radius: 32px; }
  .phone::after { width: 84px; height: 23px; top: 19px; }
  .live { height: 580px; font-size: 12.5px; }
  .kb-list { height: 150px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust { gap: 10px 14px; }
  .demo-card-row { flex-direction: column; align-items: stretch; }
  .demo-card-row .thumb {
    width: 100%;
    height: 170px;
    border-left: none;
    border-bottom: 1px solid var(--line);
    order: -1;
  }
  .demo-card-row .thumb img { height: 150px; }
  .pager a { padding: 16px 18px; }
  .pager .p-title { font-size: 15px; }
  .note-chip { font-size: 11.5px; padding: 5px 12px; }
  .stat-box { padding: 22px 10px; }
  .footer-grid { flex-direction: column; gap: 26px; margin-bottom: 30px; }
}
@media (max-width: 380px) {
  .live { height: 540px; }
  .kb-list { height: 138px; }
  .nav-logo { font-size: 15px; }
}
