/* ==========================================================================
   Seelen UI 中文官网设计系统（浅色 SaaS 风格）
   品牌渐变源自官方 Logo：#f75c46 -> #9d57f4 -> #0054b6
   风格：白底 / 浅灰分区 / 柔和阴影 / 扁平现代
   ========================================================================== */

:root {
  /* 品牌色（取自 Logo） */
  --brand-red: #f75c46;
  --brand-purple: #9d57f4;
  --brand-purple-deep: #7c3ff0;
  --brand-blue: #0054b6;
  --brand-blue-light: #2f6fe4;
  --grad: linear-gradient(100deg, #f75c46 0%, #9d57f4 52%, #0054b6 100%);
  --grad-soft: linear-gradient(100deg, rgba(247, 92, 70, .07), rgba(157, 87, 244, .08) 52%, rgba(0, 84, 182, .07) 100%);
  --btn-grad: linear-gradient(135deg, #8a5cf7 0%, #6d3ae8 100%);

  /* 中性色（浅色） */
  --bg: #ffffff;
  --bg-2: #f7f8fb;
  --bg-3: #f1f3f7;
  --bg-4: #e9ecf2;
  --line: #e6e9f0;
  --line-2: #d8dce5;
  --text: #141822;
  --text-2: #4b5566;
  --text-3: #848d9e;

  /* 排版 */
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-code: "Cascadia Code", Consolas, "JetBrains Mono", monospace;

  /* 几何 */
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 18px;
  --radius-xl: 24px;

  /* 布局 */
  --container: 1180px;
  --header-h: 68px;

  --shadow-1: 0 1px 2px rgba(20, 24, 34, .05);
  --shadow-2: 0 12px 32px rgba(20, 24, 34, .10);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   基础
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--brand-purple-deep); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-purple); }

ul, ol { list-style: none; }

h1, h2, h3, h4 { color: var(--text); line-height: 1.3; font-weight: 700; }

::selection { background: rgba(157, 87, 244, .22); color: var(--text); }

:focus-visible { outline: 2px solid var(--brand-purple); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand-purple-deep); color: #fff; padding: 10px 18px; border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus { left: 0; }

/* 容器 */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ==========================================================================
   按钮（扁平）
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-size: 15.5px; font-weight: 600; line-height: 1;
  padding: 0 26px; height: 48px; border-radius: var(--radius-m);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), background .2s, border-color .2s, color .2s, opacity .2s, box-shadow .2s;
  user-select: none;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.97); }

.btn-primary { background: var(--btn-grad); color: #fff; box-shadow: 0 4px 14px rgba(124, 63, 240, .28); }
.btn-primary:hover { color: #fff; filter: brightness(1.06); box-shadow: 0 8px 22px rgba(124, 63, 240, .38); transform: translateY(-1px); }

.btn-secondary { background: #fff; border-color: var(--line-2); color: var(--text); box-shadow: var(--shadow-1); }
.btn-secondary:hover { color: var(--text); border-color: #b9c0cd; background: var(--bg-3); }

.btn-ghost { color: var(--text-2); padding: 0 14px; height: auto; }
.btn-ghost:hover { color: var(--text); }

.btn-sm { height: 40px; padding: 0 20px; font-size: 14px; border-radius: var(--radius-s); }
.btn-lg { height: 54px; padding: 0 34px; font-size: 16.5px; border-radius: 14px; }
.btn-block { width: 100%; }

.btn-link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; color: var(--text); border-bottom: 1px solid transparent; }
.btn-link-arrow:hover { color: var(--brand-purple-deep); }
.btn-link-arrow svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.btn-link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   徽标 / 标签 / 面包屑
   ========================================================================== */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img, .brand svg { width: 34px; height: 34px; border-radius: 9px; }
.brand-name { font-size: 19px; font-weight: 700; color: var(--text); letter-spacing: .2px; }
.brand-name span { color: var(--text-3); font-weight: 600; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .4px;
  color: var(--text-2); background: #fff;
  border: 1px solid var(--line-2); border-radius: 100px; padding: 6px 15px;
  box-shadow: var(--shadow-1);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-purple); box-shadow: 0 0 0 3px rgba(157, 87, 244, .18); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 100px;
  color: var(--text-2); background: #fff; border: 1px solid var(--line-2);
}
.chip-purple { color: #7c3ff0; background: rgba(157, 87, 244, .08); border-color: rgba(157, 87, 244, .26); }
.chip-red { color: #d64530; background: rgba(247, 92, 70, .08); border-color: rgba(247, 92, 70, .26); }
.chip-blue { color: #1d5fd6; background: rgba(0, 84, 182, .07); border-color: rgba(47, 111, 228, .26); }

.crumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-3); padding-top: 28px; }
.crumb a { color: var(--text-3); }
.crumb a:hover { color: var(--text); }
.crumb .sep { opacity: .5; }

/* ==========================================================================
   头部导航
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 90;
  height: var(--header-h);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .97); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block; padding: 9px 16px; border-radius: var(--radius-s);
  font-size: 15px; font-weight: 500; color: var(--text-2); transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--text); background: var(--bg-3); }
.main-nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
.main-nav a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; border-radius: 2px; margin: 4px 16px 0;
  background: var(--btn-grad);
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-github { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: var(--radius-s); }
.header-github:hover { color: var(--text); background: var(--bg-3); }
.header-github svg { width: 18px; height: 18px; }
.header-github .stars { color: var(--text-3); font-weight: 500; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: var(--radius-s);
  background: #fff; border: 1px solid var(--line-2);
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; color: var(--text); }
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-menu { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }

/* 锚点定位时避开固定导航遮挡 */
[id] { scroll-margin-top: 88px; }

/* ==========================================================================
   通用区块结构
   ========================================================================== */
.section { padding: 92px 0; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin: 0 0 44px; text-align: left; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--brand-purple-deep); margin-bottom: 14px;
}
.section-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--btn-grad); border-radius: 2px; }
.section-title { font-size: clamp(1.65rem, 3.4vw, 2.25rem); letter-spacing: -.5px; margin-bottom: 16px; color: var(--text); }
.section-title .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.section-desc { font-size: 16.5px; color: var(--text-2); }

.hr { border: none; height: 1px; background: var(--line); }

/* ==========================================================================
   首页 Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: 96px 0 84px; background: linear-gradient(180deg, #fbfbff 0%, var(--bg) 100%); }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 120%;
  background:
    radial-gradient(46% 42% at 82% 6%, rgba(157, 87, 244, .10), transparent 70%),
    radial-gradient(40% 40% at 8% 18%, rgba(0, 84, 182, .08), transparent 70%),
    radial-gradient(30% 30% at 60% 0%, rgba(247, 92, 70, .07), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(20, 24, 34, .055) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 880px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); line-height: 1.18; letter-spacing: -1px; margin: 26px 0 22px; color: var(--text); }
.hero h1 .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-2); max-width: 680px; margin: 0 auto 38px; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-note { font-size: 13.5px; color: var(--text-3); display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 14px; height: 14px; color: #12a150; }

/* 首屏截图 */
.hero-shot { position: relative; z-index: 1; max-width: 980px; margin: 58px auto 0; }
.hero-shot-frame {
  border: 1px solid var(--line-2); border-radius: var(--radius-l); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-2), 0 0 0 6px rgba(255, 255, 255, .6);
}
.hero-shot-frame img { width: 100%; }
.hero-shot-caption { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; font-size: 13.5px; color: var(--text-3); }
.hero-shot-caption::before, .hero-shot-caption::after { content: ""; width: 34px; height: 1px; background: var(--line-2); }

/* 数据条 */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-l);
  overflow: hidden; margin-top: 72px; box-shadow: var(--shadow-1);
}
.stat { background: #fff; padding: 30px 18px; text-align: center; }
.stat b { display: block; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; color: var(--text); letter-spacing: -.5px; }
.stat b em { font-style: normal; background: var(--btn-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.stat span { display: block; font-size: 13.5px; color: var(--text-3); margin-top: 6px; }

/* ==========================================================================
   使用场景卡片
   ========================================================================== */
.scenario-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.scenario {
  position: relative; padding: 32px 30px; border: 1px solid var(--line);
  border-radius: var(--radius-l); background: #fff; overflow: hidden; box-shadow: var(--shadow-1);
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.scenario:hover { border-color: rgba(157, 87, 244, .35); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.scenario::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); opacity: 0; transition: opacity .25s; }
.scenario:hover::before { opacity: 1; }
.scenario-icon {
  width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--grad-soft); border: 1px solid var(--line); color: var(--brand-purple-deep); margin-bottom: 20px;
}
.scenario-icon svg { width: 24px; height: 24px; }
.scenario h3 { font-size: 19px; margin-bottom: 10px; }
.scenario p { font-size: 15px; margin-bottom: 16px; }
.scenario-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ==========================================================================
   核心优势
   ========================================================================== */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.adv {
  padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--radius-l);
  background: #fff; box-shadow: var(--shadow-1);
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.adv:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.adv-icon {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.adv-icon svg { width: 22px; height: 22px; }
.adv-icon.i-red { background: rgba(247, 92, 70, .10); color: #e04a35; border: 1px solid rgba(247, 92, 70, .24); }
.adv-icon.i-purple { background: rgba(157, 87, 244, .10); color: #7c3ff0; border: 1px solid rgba(157, 87, 244, .26); }
.adv-icon.i-blue { background: rgba(0, 84, 182, .09); color: #1d5fd6; border: 1px solid rgba(47, 111, 228, .26); }
.adv h3 { font-size: 17.5px; margin-bottom: 9px; }
.adv p { font-size: 14.5px; }

/* ==========================================================================
   功能卡片网格
   ========================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--radius-l);
  background: #fff; box-shadow: var(--shadow-1);
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.feature-card:hover { border-color: rgba(157, 87, 244, .35); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.feature-card .f-icon { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--grad-soft); color: var(--brand-purple-deep); margin-bottom: 16px; border: 1px solid var(--line); }
.feature-card .f-icon svg { width: 21px; height: 21px; }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; }

/* 大图功能展示（左右图文交替） */
.showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px; align-items: center; }
.showcase + .showcase { margin-top: 96px; }
.showcase.flip .showcase-media { order: 2; }
.showcase h3 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin: 14px 0 16px; letter-spacing: -.3px; color: var(--text); }
.showcase p { margin-bottom: 18px; }
.showcase-list li { display: flex; gap: 11px; align-items: flex-start; padding: 7px 0; font-size: 15px; }
.showcase-list svg { width: 19px; height: 19px; color: #12a150; flex: none; margin-top: 5px; }
.showcase-media {
  border: 1px solid var(--line-2); border-radius: var(--radius-l); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-2);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.showcase-media:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(20, 24, 34, .16); }
.showcase-media img { width: 100%; }

/* ==========================================================================
   表格
   ========================================================================== */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius-l); overflow: auto; background: #fff; box-shadow: var(--shadow-1); }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
table.data th {
  text-align: left; font-weight: 600; color: var(--text); font-size: 13.5px; letter-spacing: .4px;
  padding: 14px 20px; background: var(--bg-3); border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.data td { padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr:last-child td { border-bottom: none; }
table.data tr:hover td { background: var(--bg-2); }

/* ==========================================================================
   代码块 / 命令行（保持深色底，专业观感）
   ========================================================================== */
.code-box { position: relative; background: #14181f; border: 1px solid #22272f; border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-1); }
.code-box code { display: block; padding: 16px 56px 16px 18px; font-family: var(--font-code); font-size: 14px; color: #d6e2ff; white-space: pre; overflow-x: auto; }
.copy-btn {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 8px; border: 1px solid #2a3039;
  background: rgba(255, 255, 255, .06); color: #aab4c4; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: color .2s, border-color .2s, background .2s;
}
.copy-btn:hover { color: #fff; border-color: #3a4250; background: rgba(255, 255, 255, .12); }
.copy-btn svg { width: 15px; height: 15px; }
.copy-btn.done { color: #7ee2a8; border-color: rgba(126, 226, 168, .4); }

kbd {
  font-family: var(--font-code); font-size: 12.5px; color: var(--text);
  background: var(--bg-3); border: 1px solid var(--line-2); border-bottom-width: 2px;
  border-radius: 6px; padding: 2px 8px; white-space: nowrap;
}

/* ==========================================================================
   下载卡片
   ========================================================================== */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dl-card {
  position: relative; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius-l);
  background: #fff; box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.dl-card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.dl-card.recommend { border-color: rgba(157, 87, 244, .45); background: linear-gradient(180deg, rgba(157, 87, 244, .05), #fff 55%); }
.dl-card .dl-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--grad-soft); color: var(--brand-purple-deep); border: 1px solid var(--line); margin-bottom: 18px; }
.dl-card .dl-icon svg { width: 23px; height: 23px; }
.dl-card h3 { font-size: 18px; margin-bottom: 7px; }
.dl-card .dl-meta { font-size: 13px; color: var(--text-3); margin-bottom: 12px; }
.dl-card p { font-size: 14.5px; margin-bottom: 20px; }
.dl-card .dl-foot { margin-top: auto; }

/* 版本历史 */
.ver-item { display: grid; grid-template-columns: 120px 120px 1fr; gap: 20px; padding: 20px 4px; border-bottom: 1px solid var(--line); align-items: baseline; }
.ver-item:last-child { border-bottom: none; }
.ver-item .ver-no { font-weight: 700; color: var(--text); font-size: 16px; }
.ver-item .ver-no.latest { display: inline-flex; align-items: center; gap: 8px; }
.ver-item .ver-date { font-size: 13.5px; color: var(--text-3); }

/* ==========================================================================
   步骤流程
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; box-shadow: var(--shadow-1); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px; margin-bottom: 16px;
  font-weight: 700; font-size: 14px; color: #fff; background: var(--btn-grad);
}
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 14px; }

/* ==========================================================================
   FAQ 手风琴
   ========================================================================== */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; box-shadow: var(--shadow-1); margin-bottom: 12px; overflow: hidden; transition: border-color .25s; }
.faq-item[open] { border-color: rgba(157, 87, 244, .4); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; cursor: pointer; font-weight: 600; color: var(--text); font-size: 15.5px;
  list-style: none; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 18px; height: 18px; color: var(--text-3); flex: none; transition: transform .25s var(--ease); }
.faq-item[open] summary svg { transform: rotate(45deg); color: var(--brand-purple-deep); }
.faq-body { padding: 0 22px 20px; font-size: 15px; }
.faq-body p + p { margin-top: 10px; }
.faq-body code { font-family: var(--font-code); font-size: 13px; background: var(--bg-3); padding: 2px 7px; border-radius: 5px; color: #3b4a6b; }

/* ==========================================================================
   时间线
   ========================================================================== */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--brand-red), var(--brand-purple), var(--brand-blue)); border-radius: 2px; opacity: .45; }
.tl-item { position: relative; padding: 0 0 34px 18px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -34px; top: 7px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 3px solid var(--brand-purple);
}
.tl-item:first-child::before { border-color: var(--brand-red); }
.tl-item:last-child::before { border-color: var(--brand-blue-light); }
.tl-item time { font-size: 13px; font-weight: 700; letter-spacing: .6px; color: var(--brand-purple-deep); }
.tl-item h3 { font-size: 16.5px; margin: 4px 0 6px; }
.tl-item p { font-size: 14.5px; }

/* ==========================================================================
   CTA 横幅
   ========================================================================== */
.cta-banner {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid var(--line-2); border-radius: var(--radius-xl);
  padding: 72px 32px;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(157, 87, 244, .10), transparent 70%),
    radial-gradient(50% 100% at 85% 100%, rgba(0, 84, 182, .08), transparent 70%),
    radial-gradient(40% 90% at 12% 100%, rgba(247, 92, 70, .07), transparent 70%),
    #fafbff;
  box-shadow: var(--shadow-1);
}
.cta-banner h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 14px; letter-spacing: -.5px; color: var(--text); }
.cta-banner p { max-width: 560px; margin: 0 auto 32px; }
.cta-banner .hero-actions { margin-bottom: 0; }

/* ==========================================================================
   下载弹窗（模态框）
   ========================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s;
}
.modal.open { opacity: 1; visibility: visible;  left: 0;
  right: 0;
  top: 0;
  bottom: 0;}
  
button { outline: none } 
.modal-mask { position: absolute; inset: 0; background: rgba(20, 24, 34, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-card {
  position: relative; width: 100%; max-width: 660px; max-height: calc(100vh - 48px); overflow: auto;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-xl);
  padding: 38px 38px 34px; box-shadow: 0 24px 64px rgba(20, 24, 34, .22);
  transform: translateY(16px) scale(.98); transition: transform .28s var(--ease);
}
.modal.open .modal-card { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--line-2); background: #fff; color: var(--text-2);
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: color .2s, border-color .2s, background .2s;
}
.modal-close:hover { color: var(--text); border-color: #b9c0cd; background: var(--bg-3); }
.modal-close svg { width: 17px; height: 17px; }
.modal-head { text-align: center; margin-bottom: 28px; }
.modal-head .badge { margin-bottom: 14px; }
.modal-head h2 { font-size: 24px; margin-bottom: 8px; }
.modal-head p { font-size: 14.5px; }

.qr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 26px; }
.qr-item {
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  padding: 24px 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--bg-2);
  transition: border-color .25s;
}
.qr-item:hover { border-color: rgba(157, 87, 244, .4); }
.qr-item img { width: 168px; height: 168px; border-radius: 12px; background: #fff; padding: 10px; border: 1px solid var(--line); }
.qr-item h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.qr-item h3 svg { width: 17px; height: 17px; color: var(--brand-purple-deep); }
.qr-item p { font-size: 13px; color: var(--text-3); }

.modal-links { border-top: 1px solid var(--line); padding-top: 22px; }
.modal-links .ml-title { font-size: 13px; color: var(--text-3); text-align: center; margin-bottom: 14px; letter-spacing: .6px; }
.modal-links .ml-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.modal-links a, .modal-links button {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600;
  color: var(--text-2); padding: 9px 16px; border-radius: var(--radius-s);
  border: 1px solid var(--line-2); background: #fff; cursor: pointer;
  font-family: var(--font); transition: color .2s, border-color .2s, background .2s;
}
.modal-links a:hover, .modal-links button:hover { color: var(--text); border-color: #b9c0cd; background: var(--bg-3); }
.modal-links svg { width: 15px; height: 15px; }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 60px 0 30px; margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand p { font-size: 14px; margin: 16px 0 20px; max-width: 300px; }
.footer-col h4 { font-size: 13.5px; letter-spacing: 1px; color: var(--text); margin-bottom: 16px; text-transform: uppercase; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 14px; color: var(--text-3); transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff;
  display: flex; align-items: center; justify-content: center; color: var(--text-3);
  transition: color .2s, border-color .2s, background .2s;
}
.footer-social a:hover { color: var(--brand-purple-deep); border-color: rgba(157, 87, 244, .45); background: rgba(157, 87, 244, .07); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13px; color: var(--text-3); }
.footer-bottom .beian { font-size: 13px; color: var(--text-3); }
.footer-bottom .beian a { color: var(--text-3); }
.footer-bottom .beian a:hover { color: var(--text-2); }

/* ==========================================================================
   工具：回到顶部 / 滚动显现
   ========================================================================== */
.back-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 80;
  width: 46px; height: 46px; border-radius: 13px; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .92); color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, visibility .25s, transform .25s var(--ease), color .2s, border-color .2s;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-2);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { color: var(--brand-purple-deep); border-color: rgba(157, 87, 244, .5); }
.back-top svg { width: 19px; height: 19px; }

/* 渐进增强：仅当 JS 可用时才隐藏待显现元素（无 JS / 爬虫直接可见，利于 SEO） */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

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

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .scenario-grid, .adv-grid, .feature-grid, .dl-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; gap: 34px; }
  .showcase.flip .showcase-media { order: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 89;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 20px 20px;
    background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .28s var(--ease);
  }
  body.nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 13px 16px; font-size: 15.5px; }
  .main-nav a[aria-current="page"]::after { display: none; }
  .main-nav a[aria-current="page"] { background: var(--bg-3); }
  .header-github .stars { display: none; }
  .header-actions .btn-download-text { display: none; }
  .header-actions .btn { padding: 0 16px; }

  .hero { padding: 68px 0 64px; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  .section { padding: 66px 0; }
  .ver-item { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 620px) {
  .scenario-grid, .adv-grid, .feature-grid, .dl-grid, .steps { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .qr-grid { grid-template-columns: 1fr; }
  .qr-item img { width: 190px; height: 190px; }
  .modal-card { padding: 28px 22px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .hero-shot { margin-top: 42px; }
  .cta-banner { padding: 52px 22px; }
}
