/* ==========================================================================
   智启ADB助手 官网 · 共享样式层 (Design System)
   vanilla CSS / 零外部依赖 / 离线可用
   所有页面只引用本文件，禁止在页面内另写全局样式
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --primary: #5A4FE0;
  --primary-hover: #4A3FCB;
  --primary-ink: #3A31A8;
  --primary-soft: #EFEDFD;
  --primary-softer: #F6F5FE;
  --accent: #0FA98E;
  --accent-soft: #E6F6F2;

  --bg: #FFFFFF;
  --surface: #F7F7FC;
  --surface-2: #F0F0FA;

  --border: #E7E7F3;
  --border-strong: #D6D6E8;

  --text: #151726;
  --text-sub: #4A4F63;
  --text-muted: #8B90A6;

  --success: #12A150;
  --warning: #DC6803;
  --danger: #E5484D;

  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(21, 23, 38, .06);
  --shadow-md: 0 10px 30px -12px rgba(21, 23, 38, .14);
  --shadow-lg: 0 28px 60px -24px rgba(21, 23, 38, .22);

  --header-h: 64px;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-sub);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--primary); color: #fff;
  border-radius: var(--radius-sm); transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

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

.section { padding: 88px 0; }
.section-soft { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-tight { padding: 64px 0; }

.section-head { max-width: 780px; margin: 0 0 48px; text-align: left; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section-head p { margin-top: 14px; font-size: 17px; color: var(--text-sub); }
.section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.is-left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--primary);
}
.lead { font-size: 17px; color: var(--text-sub); }
.text-muted { color: var(--text-muted); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 6px 16px -6px rgba(90, 79, 224, .55);
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(90, 79, 224, .6); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 4px 10px -6px rgba(90, 79, 224, .5); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.btn-soft { background: var(--primary-soft); color: var(--primary-ink); }
.btn-soft:hover { background: #E6E3FB; transform: translateY(-1px); }
.btn-lg { height: 54px; padding: 0 30px; font-size: 16px; }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

/* ---------- 5. Chip / Tag ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 14px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--border);
  font-size: 13px; font-weight: 500; color: var(--text-sub);
  box-shadow: var(--shadow-sm);
}
.chip svg { width: 15px; height: 15px; color: var(--primary); }
.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: var(--radius-sm); background: var(--primary-soft);
  color: var(--primary-ink); font-size: 12px; font-weight: 600;
}
.tag-accent { background: var(--accent-soft); color: #0B7C69; }
.tag-mono { font-family: var(--font-mono); letter-spacing: .02em; }

/* ---------- 6. Header / Nav (App Shell) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 1px 0 rgba(21,23,38,.03), var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; }
.brand-name { font-size: 17px; font-weight: 800; color: var(--text); letter-spacing: -.01em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a {
  position: relative; display: inline-flex; align-items: center;
  height: 38px; padding: 0 14px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500; color: var(--text-sub);
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav > a:not(.nav-cta):hover { color: var(--text); background: var(--surface-2); }
.nav > a.active { color: var(--primary); font-weight: 600; }
.nav > a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -2px;
  height: 2px; border-radius: 2px; background: var(--primary);
}
.nav-cta { margin-left: 10px; }
.nav > a.nav-cta { color: #fff; }
.nav > a.nav-cta:hover, .nav > a.nav-cta:focus-visible { color: #fff; }
.nav-cta.active::after { display: none; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: var(--radius-sm);
  align-items: center; justify-content: center; color: var(--text);
  border: 1px solid var(--border);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- 7. Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 460px at 78% -10%, rgba(90,79,224,.13), transparent 62%),
    radial-gradient(700px 420px at 8% 8%, rgba(15,169,142,.10), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(21,23,38,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(21,23,38,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(1000px 520px at 50% 0%, #000 0%, transparent 78%);
          mask-image: radial-gradient(1000px 520px at 50% 0%, #000 0%, transparent 78%);
}
.hero-head { max-width: 840px; margin: 0 auto; text-align: center; }
.hero-head h1 { font-size: clamp(40px, 5.6vw, 62px); letter-spacing: -.035em; }
.hero-head .hero-sub { margin-top: 16px; }
.hero-head .hero-desc { margin: 18px auto 0; max-width: 620px; }
.hero-head .hero-actions { justify-content: center; }
.hero-head .hero-meta { justify-content: center; }
.hero-head .hero-chips { justify-content: center; }
.hero-showcase { position: relative; margin-top: 56px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 60px); letter-spacing: -.035em; }
.hero-sub { margin-top: 18px; font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; color: var(--primary); letter-spacing: -.01em; }
.hero-desc { margin-top: 18px; max-width: 560px; font-size: 17px; color: var(--text-sub); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 28px; font-size: 13.5px; color: var(--text-muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--text-muted); }

/* ---------- 8. Device mockup (pure CSS) ---------- */
.device-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.device {
  position: relative; width: 300px; height: 604px; padding: 12px;
  background: linear-gradient(160deg, #2B2B44, #16162A);
  border-radius: 44px; box-shadow: var(--shadow-lg);
}
.device::after {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 104px; height: 22px; background: #16162A; border-radius: 999px; z-index: 3;
}
.device-screen {
  position: relative; height: 100%; border-radius: 34px; overflow: hidden;
  background: #fff; display: flex; flex-direction: column;
}
.device-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px 18px 12px; border-bottom: 1px solid var(--border);
}
.device-bar b { font-size: 14px; color: var(--text); }
.device-bar svg { width: 18px; height: 18px; color: var(--text-muted); }
.device-list { padding: 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.device-row {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff;
}
.device-row .icon-tile { width: 36px; height: 36px; border-radius: 10px; }
.device-row .icon-tile svg { width: 18px; height: 18px; }
.device-row .dr-txt { flex: 1; min-width: 0; }
.device-row .dr-txt b { display: block; font-size: 13.5px; color: var(--text); font-weight: 600; }
.device-row .dr-txt span { display: block; font-size: 11.5px; color: var(--text-muted); }
.device-switch { width: 40px; height: 22px; border-radius: 999px; background: var(--accent); position: relative; flex: none; }
.device-switch::after { content: ""; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.device-caption { font-size: 13px; color: var(--text-muted); }

/* ---------- 9. Icon tile ---------- */
.icon-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--primary-soft); color: var(--primary);
  flex: none;
}
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile.t-accent { background: var(--accent-soft); color: #0B7C69; }
.icon-tile.t-warn { background: #FDF0E3; color: var(--warning); }
.icon-tile.t-info { background: #E8F0FE; color: #2563EB; }
.icon-tile.t-neutral { background: var(--surface-2); color: var(--text-sub); }

/* ---------- 10. Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card h3 { font-size: 18px; }
.card p { margin-top: 8px; font-size: 14.5px; color: var(--text-sub); }

/* ---------- 11. 客户端窗口 mockup ---------- */
.window {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--border);
  box-shadow: 0 44px 96px -44px rgba(21, 23, 38, .38);
}
.window-bar { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--surface); border-bottom: 1px solid var(--border); }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.window-title { margin-left: 8px; font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); }
.window-tag { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.window-body { display: grid; grid-template-columns: 220px 1fr; }
.window-side { background: var(--surface); border-right: 1px solid var(--border); padding: 16px 14px; display: flex; flex-direction: column; gap: 4px; }
.window-side b { padding: 0 10px 8px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.window-side span { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 13.5px; color: var(--text-sub); }
.window-side span svg { width: 16px; height: 16px; }
.window-side span.is-active { background: var(--primary-soft); color: var(--primary-ink); font-weight: 600; }
.window-main { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.window-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.window-toolbar .pill { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: var(--radius-pill); background: var(--surface-2); font-size: 13px; color: var(--text-sub); }
.window-toolbar .pill svg { width: 15px; height: 15px; }
.window-toolbar .pill.is-live { background: var(--accent-soft); color: #0B7C69; }
.window-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.window-card { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px; }
.window-card b { display: block; font-size: 14px; color: var(--text); }
.window-card span { display: block; margin-top: 4px; font-size: 12px; color: var(--text-muted); }
.window-card .bar { margin-top: 10px; height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.window-card .bar i { display: block; height: 100%; border-radius: 999px; background: var(--primary); }

/* ---------- 12. 关键词滚动条 ---------- */
.ticker { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); padding: 18px 0; overflow: hidden; }
.ticker-track { display: flex; gap: 44px; width: max-content; animation: marquee 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--text-sub); white-space: nowrap; }
.ticker-item svg { width: 18px; height: 18px; color: var(--primary); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 13. Bento 能力网格 ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento-item {
  grid-column: span 2; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.bento-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.bento-item.span-3 { grid-column: span 3; }
.bento-item.is-brand { background: linear-gradient(155deg, var(--primary) 0%, var(--primary-ink) 100%); border-color: transparent; }
.bento-item.is-brand h3 { color: #fff; }
.bento-item.is-brand p { color: rgba(255, 255, 255, .82); }
.bento-item.is-brand .icon-tile { background: rgba(255, 255, 255, .16); color: #fff; }
.bento-item h3 { margin-top: 16px; font-size: 18px; }
.bento-item p { margin-top: 8px; font-size: 14.5px; }
.bento-list { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.bento-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-sub); }
.bento-list li svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 3px; }
.bento-item.is-brand .bento-list li { color: rgba(255, 255, 255, .9); }
.bento-item.is-brand .bento-list li svg { color: #7EE7D2; }

/* ---------- 14. 场景交替行 ---------- */
.rows { display: flex; flex-direction: column; gap: 80px; }
.row-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.row-feature.is-reverse .row-media { order: -1; }
.row-body h3 { font-size: clamp(22px, 2.6vw, 28px); }
.row-body p { margin-top: 14px; font-size: 16px; }
.row-media { display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* ---------- 15. 适用设备胶囊 ---------- */
.device-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.device-pill { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: #fff; font-size: 14.5px; font-weight: 500; color: var(--text-sub); box-shadow: var(--shadow-sm); }
.device-pill svg { width: 17px; height: 17px; color: var(--primary); }

/* ---------- 12. Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature h3 { margin-top: 18px; font-size: 17px; }
.feature p { margin-top: 8px; font-size: 14.5px; }

/* ---------- 13. Showcase ---------- */
.showcase { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.showcase-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: #fff; padding: 34px; box-shadow: var(--shadow-sm);
}
.showcase-card h3 { margin-top: 18px; font-size: 22px; }
.showcase-card > p { margin-top: 10px; font-size: 15px; max-width: 480px; }
.showcase-card.is-brand { background: linear-gradient(155deg, var(--primary) 0%, var(--primary-ink) 100%); border-color: transparent; color: #fff; }
.showcase-card.is-brand h3 { color: #fff; }
.showcase-card.is-brand > p { color: rgba(255,255,255,.82); }
.showcase-card.is-brand .icon-tile { background: rgba(255,255,255,.16); color: #fff; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin-top: 22px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text-sub); }
.check-list li svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 3px; }
.is-brand .check-list li { color: rgba(255,255,255,.9); }
.is-brand .check-list li svg { color: #7EE7D2; }

/* ---------- 20. 用户口碑卡片网格 ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote-card { display: flex; flex-direction: column; gap: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.quote-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.quote-card > svg { width: 22px; height: 22px; color: var(--primary); }
.quote-card p { font-size: 14.5px; color: var(--text-sub); }
.quote-who { display: flex; align-items: center; gap: 11px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.avatar {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary-ink);
  font-size: 14px; font-weight: 700; line-height: 1;
}
.avatar.c2 { background: #E6F6F2; color: #0B7C69; }
.avatar.c3 { background: #FDF0E3; color: #B45309; }
.avatar.c4 { background: #E8F0FE; color: #1D4ED8; }
.avatar.c5 { background: #FDECEF; color: #B42318; }
.avatar.c6 { background: #E6F7FB; color: #0E7490; }
.quote-who .who-meta b { display: block; font-size: 13.5px; font-weight: 700; color: var(--text); }
.quote-who .who-meta span { display: block; font-size: 12px; color: var(--text-muted); }

/* ---------- 15. CTA band ---------- */
.cta-band { text-align: center; padding: 84px 0; }
.cta-band .hero-actions { justify-content: center; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 36px); }
.cta-band p { margin: 16px auto 32px; max-width: 560px; font-size: 17px; }
.cta-note { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; font-size: 13.5px; color: var(--text-muted); }
.cta-note span { display: inline-flex; align-items: center; gap: 7px; }
.cta-note svg { width: 15px; height: 15px; color: var(--accent); }

/* ---------- 16. Page hero / breadcrumb (sub pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 56px 0 52px; background: var(--surface); border-bottom: 1px solid var(--border); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(760px 340px at 82% -30%, rgba(90,79,224,.14), transparent 62%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); }
.page-hero p { margin-top: 14px; max-width: 660px; font-size: 17px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 13.5px; color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb svg { width: 14px; height: 14px; }
.breadcrumb [aria-current] { color: var(--text); font-weight: 600; }

/* ---------- 17. Download cards ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.dl-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); transition: box-shadow .2s var(--ease), border-color .2s var(--ease); }
.dl-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.dl-card.is-feature { border-color: var(--primary); box-shadow: 0 18px 46px -26px rgba(90,79,224,.5); }
.dl-card-head { display: flex; align-items: center; gap: 14px; }
.dl-card-head h3 { font-size: 21px; }
.dl-card-head .tag { margin-left: auto; }
.dl-card > p { margin-top: 14px; font-size: 15px; }
.dl-spec { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.dl-spec span { font-size: 12.5px; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 4px 12px; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.dl-foot { margin-top: auto; padding-top: 22px; border-top: 1px dashed var(--border); font-size: 13px; color: var(--text-muted); }
.dl-list { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.dl-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-sub); }
.dl-list li svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 3px; }

/* ---------- 18. Compare table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--border); }
.compare-table thead th { background: var(--surface); font-size: 13px; font-weight: 700; color: var(--text); letter-spacing: .02em; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td:first-child { color: var(--text); font-weight: 600; }
.compare-table .yes { color: var(--success); font-weight: 700; }
.compare-table .no { color: var(--text-muted); }
.compare-table td svg { width: 18px; height: 18px; vertical-align: -4px; }

/* ---------- 19. Timeline (changelog) ---------- */
.timeline { position: relative; margin-top: 8px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -28px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--border-strong); }
.timeline-item.is-latest::before { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.timeline-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.timeline-head h3 { font-size: 17px; }
.timeline-head time { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); }
.timeline-body { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.timeline-body li { position: relative; padding-left: 18px; font-size: 14.5px; }
.timeline-body li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); }

/* ---------- 20. Accordion (FAQ) ---------- */
.accordion { display: flex; flex-direction: column; gap: 14px; max-width: 900px; margin: 0; }
.accordion-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.accordion-item.is-open { border-color: var(--primary); box-shadow: 0 14px 34px -22px rgba(90,79,224,.5); }
.accordion-trigger { display: flex; align-items: center; gap: 14px; width: 100%; padding: 20px 22px; text-align: left; }
.accordion-trigger .q-txt { flex: 1; font-size: 16.5px; font-weight: 700; color: var(--text); }
.accordion-trigger .q-idx { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.accordion-icon { width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); color: var(--text-sub); display: flex; align-items: center; justify-content: center; flex: none; transition: transform .25s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.accordion-icon svg { width: 16px; height: 16px; }
.accordion-item.is-open .accordion-icon { background: var(--primary); color: #fff; transform: rotate(180deg); }
.accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s var(--ease); }
.accordion-item.is-open .accordion-panel { grid-template-rows: 1fr; }
.accordion-panel > div { overflow: hidden; }
.accordion-body { padding: 0 22px 22px; font-size: 15px; }
.accordion-body .quick { display: flex; gap: 10px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--primary-softer); border: 1px solid var(--border); margin-bottom: 14px; }
.accordion-body .quick svg { width: 18px; height: 18px; color: var(--primary); flex: none; margin-top: 3px; }
.accordion-body .quick b { color: var(--text); }
.accordion-body ul { display: flex; flex-direction: column; gap: 10px; }
.accordion-body ul li { position: relative; padding-left: 18px; color: var(--text-sub); }
.accordion-body ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); }
.accordion-body ul li b { color: var(--text); }
.accordion-body a { color: var(--primary); font-weight: 600; }

/* ---------- 21. Steps ---------- */
.steps { display: grid; gap: 20px; }
.steps.cols-3 { grid-template-columns: repeat(3, 1fr); }
.steps.cols-2 { grid-template-columns: repeat(2, 1fr); }
.step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.step .step-no { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--primary); letter-spacing: .08em; }
.step h3 { margin-top: 12px; font-size: 17px; }
.step p { margin-top: 8px; font-size: 14.5px; }
.step ol { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.step ol li { position: relative; padding-left: 18px; font-size: 14px; color: var(--text-sub); }
.step ol li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--border-strong); }

/* ---------- 22. Tabs ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--surface-2); border-radius: var(--radius-pill); }
.tab { height: 38px; padding: 0 20px; border-radius: var(--radius-pill); font-size: 14.5px; font-weight: 600; color: var(--text-sub); transition: background-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease); }
.tab:hover { color: var(--text); }
.tab.is-active { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.tab-panel[hidden] { display: none; }

/* ---------- 23. Code block ---------- */
.code { position: relative; border-radius: var(--radius-md); background: #16162A; border: 1px solid #26264A; padding: 18px 20px; overflow: auto; }
.code code { font-family: var(--font-mono); font-size: 13.5px; color: #D7D7F0; white-space: pre; }
.code .code-copy { position: absolute; top: 10px; right: 10px; height: 30px; padding: 0 12px; border-radius: var(--radius-sm); background: rgba(255,255,255,.1); color: #D7D7F0; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; transition: background-color .18s var(--ease); }
.code .code-copy:hover { background: rgba(255,255,255,.2); }
.code .code-copy svg { width: 14px; height: 14px; }
.code-inline { font-family: var(--font-mono); font-size: 13px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 2px 7px; color: var(--primary-ink); }

/* ---------- 24. Prose ---------- */
.prose { max-width: 820px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 26px; margin-top: 44px; }
.prose h3 { font-size: 19px; margin-top: 32px; }
.prose p, .prose li { font-size: 16px; color: var(--text-sub); }
.prose ul, .prose ol { display: flex; flex-direction: column; gap: 10px; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before { content: ""; position: absolute; left: 5px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.prose a { color: var(--primary); font-weight: 600; }
.prose strong { color: var(--text); }

/* ---------- 25. Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-sub); max-width: 320px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.footer-contact { margin-top: 22px; }
.footer-contact .fc-label { margin-bottom: 10px; font-size: 13px; color: var(--text-muted); }
.qq-group { display: inline-flex; align-items: center; transition: transform .18s var(--ease), opacity .18s var(--ease); }
.qq-group:hover { transform: translateY(-1px); opacity: .88; }
.qq-group img { display: block; border: 0; }
.qq-num { margin-top: 10px; font-size: 13px; color: var(--text-sub); }
.qq-num b { font-family: var(--font-mono); font-weight: 700; color: var(--text); letter-spacing: .02em; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--text); letter-spacing: .04em; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.footer-col h4::before { content: ""; width: 3px; height: 13px; border-radius: 2px; background: var(--primary); }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14px; color: var(--text-sub); transition: color .18s var(--ease); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: var(--text-muted); }
.footer-bottom p { max-width: 720px; }

/* ---------- 26. To top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border); color: var(--text);
  box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { color: var(--primary); border-color: var(--primary); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 27. Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* ---------- 28. Responsive ---------- */
@media (max-width: 1080px) {
  .hero-showcase { margin-top: 44px; }
  .window-body { grid-template-columns: 180px 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-item, .bento-item.span-3 { grid-column: span 1; }
  .row-feature { grid-template-columns: 1fr; gap: 36px; }
  .row-feature.is-reverse .row-media { order: 0; }
  .rows { gap: 56px; }
  .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .feature-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 820px) {
  .section { padding: 64px 0; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 16px; right: 16px; top: calc(var(--header-h) + 8px);
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg); padding: 12px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav > a { height: 46px; padding: 0 14px; border-radius: var(--radius-sm); }
  .nav > a.active::after { display: none; }
  .nav > a.active { background: var(--primary-soft); }
  .nav-cta { margin-left: 0; margin-top: 6px; }
  .steps.cols-3, .steps.cols-2 { grid-template-columns: 1fr; }
  .window-side { display: none; }
  .window-body { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-meta { gap: 14px 18px; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .bento { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .window-grid { grid-template-columns: 1fr; }
  .feature-grid, .feature-grid.cols-3 { grid-template-columns: 1fr; }
  .device { width: 264px; height: 540px; }
  .btn-lg { width: 100%; }
  .hero-actions { gap: 12px; }
}
