/* ============================================================
   磁力搜索 · 全站样式
   ------------------------------------------------------------
   浅色紫主题：白底 + 淡紫渐变首屏 + 深色下载区块。
   首页区块：hero / features / faq / cta-band / hot
   内页复用：page / grid / acard / post / chips / pager / cross
   ============================================================ */

:root {
  --bg:        #fbfaff;
  --surface:   #ffffff;
  --ink:       #1a1730;
  --ink-2:     #3f3a5c;
  --muted:     #7c7795;
  --line:      #ebe8f7;
  --line-2:    #ded9f0;
  --brand:     #7c5cfc;
  --brand-2:   #a78bfa;
  --brand-ink: #5b3ff0;
  --brand-soft:#f2edff;
  --dark:      #141123;
  --dark-2:    #1e1936;
  --radius:    16px;
  --radius-sm: 12px;
  --shadow:    0 6px 24px rgba(58, 40, 120, .07);
  --shadow-hi: 0 14px 40px rgba(70, 48, 140, .13);
  --wrap:      1120px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.shell {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ============================================================
   1. 按钮
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #8b6cff 0%, #6d4bf7 100%);
  box-shadow: 0 8px 20px rgba(109, 75, 247, .26);
}
.btn--primary:hover { box-shadow: 0 12px 26px rgba(109, 75, 247, .34); }

.btn--ghost {
  background: #fff;
  color: var(--brand-ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--brand-2); }

.btn--light {
  background: #fff;
  color: var(--dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
}
.btn--light:hover { background: #f7f4ff; }

.btn--sm { padding: 8px 15px; font-size: 13px; border-radius: 9px; }
.btn--lg { padding: 13px 28px; font-size: 15px; border-radius: 12px; }

/* ============================================================
   2. 页头
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(50, 34, 100, .05);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2px;
}
.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #8b6cff, #6d4bf7);
  box-shadow: 0 5px 14px rgba(109, 75, 247, .3);
}
.brand__name { color: var(--ink); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.site-nav > a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color .16s ease;
}
.site-nav > a:hover { color: var(--brand-ink); }
.nav-cta { margin-left: 4px; }

.nav-toggle { display: none; }

/* ============================================================
   3. 首屏
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 0;
  background:
    radial-gradient(900px 420px at 50% -8%, #efe9ff 0%, rgba(239, 233, 255, 0) 62%),
    linear-gradient(180deg, #ffffff 0%, #f8f6ff 52%, #efeaff 100%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.hero__glow--a {
  width: 380px; height: 380px; left: -80px; top: 90px;
  background: rgba(167, 139, 250, .28);
}
.hero__glow--b {
  width: 420px; height: 420px; right: -110px; top: 30px;
  background: rgba(124, 92, 252, .18);
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-bottom: 20px;
}
.hero__badges li {
  padding: 5px 13px;
  font-size: 12.5px;
  color: #6b6288;
  background: rgba(255, 255, 255, .78);
  border: 1px solid #e7e1fb;
  border-radius: 8px;
}

.hero__title {
  max-width: 780px;
  margin: 0 auto;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.02em;
  color: #171232;
}

.hero__lead {
  max-width: 620px;
  margin: 16px auto 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.hero__tip {
  margin-top: 14px;
  font-size: 12.5px;
  color: #9a94b4;
}

/* ---- 手机界面演示（纯 CSS） ---- */
.phone {
  width: 278px;
  margin: 46px auto 0;
  padding: 9px;
  border-radius: 40px;
  background: linear-gradient(160deg, #3a2b6b, #1c1436 70%);
  box-shadow:
    0 26px 60px rgba(63, 40, 130, .26),
    0 6px 18px rgba(63, 40, 130, .16),
    inset 0 0 0 1px rgba(255, 255, 255, .16);
}

.phone__screen {
  position: relative;
  overflow: hidden;
  padding: 12px 13px 20px;
  border-radius: 32px;
  background: #fbfaff;
}

.phone__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px 10px;
  font-size: 10px;
  font-weight: 600;
  color: #6a6288;
}
.phone__status { display: inline-flex; gap: 3px; }
.phone__status i {
  width: 5px; height: 5px; border-radius: 50%;
  background: #c9c2e4;
}

.phone__appbar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c5cfc, #6a48f0);
  color: #fff;
}
.phone__logo {
  width: 16px; height: 16px; border-radius: 5px;
  background: rgba(255, 255, 255, .9);
}
.phone__appname { font-size: 11.5px; font-weight: 700; }
.phone__menu {
  width: 14px; height: 10px; margin-left: auto;
  border-top: 1.6px solid rgba(255, 255, 255, .85);
  border-bottom: 1.6px solid rgba(255, 255, 255, .85);
}

.phone__field {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 8px 8px 11px;
  font-size: 10px;
  color: #a49dbe;
  background: #fff;
  border: 1px solid #ece7fb;
  border-radius: 10px;
}
.phone__field span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.phone__field b {
  padding: 4px 10px;
  font-size: 10px;
  color: #fff;
  border-radius: 7px;
  background: linear-gradient(135deg, #8b6cff, #6d4bf7);
}

.phone__list { margin-top: 10px; display: grid; gap: 8px; }
.phone__list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px;
  background: #fff;
  border: 1px solid #f0ecfa;
  border-radius: 11px;
}
.phone__thumb {
  flex: 0 0 30px;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #c4b5fd, #7c5cfc);
}
.phone__thumb--b { background: linear-gradient(135deg, #a5b4fc, #6366f1); }
.phone__thumb--c { background: linear-gradient(135deg, #fbcfe8, #ec4899); }
.phone__thumb--d { background: linear-gradient(135deg, #bfdbfe, #3b82f6); }
.phone__row { display: block; min-width: 0; }
.phone__row b {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: #2a2440;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.phone__row small { display: block; font-size: 9.5px; color: #a49dbe; }

.phone__fab {
  position: absolute;
  right: 16px;
  bottom: 18px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b6cff, #6d4bf7);
  box-shadow: 0 8px 18px rgba(109, 75, 247, .38);
}

/* ============================================================
   4. 通用区块标题
   ============================================================ */
.section { padding: 68px 0; }
.features { background: #fff; }
.faq-sec { background: linear-gradient(180deg, #fff 0%, #f9f7ff 100%); }
.hot { background: #fff; }

.sec-head { margin-bottom: 30px; }
.sec-head__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  margin-bottom: 14px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 11px;
}
.sec-head h2 {
  font-size: 27px;
  font-weight: 800;
  color: #171232;
}
.sec-head p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ============================================================
   5. 核心功能
   ============================================================ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.fcard {
  padding: 24px 24px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.fcard:hover {
  border-color: #ddd3fb;
  box-shadow: var(--shadow-hi);
  transform: translateY(-2px);
}

.fcard--wide {
  grid-column: 1 / -1;
  padding: 28px 30px 30px;
  background: linear-gradient(120deg, #fbf8ff 0%, #ffffff 60%);
}

.fcard__tag {
  display: inline-block;
  padding: 2px 9px;
  margin-bottom: 14px;
  font-size: 11.5px;
  color: #8b7fc0;
  background: #f4f0ff;
  border-radius: 6px;
}

.fcard__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  margin-bottom: 14px;
  color: var(--brand);
  background: #fff;
  border: 1px solid #eee8fd;
  border-radius: 11px;
  box-shadow: 0 4px 12px rgba(88, 60, 160, .06);
}

.fcard h3 { font-size: 17px; font-weight: 700; color: #1c1736; }
.fcard p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 640px;
}

/* ============================================================
   6. 常见问题
   ============================================================ */
.faq {
  border-top: 1px dashed var(--line-2);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  font-size: 15px;
  font-weight: 600;
  color: #241f3d;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 9px; height: 9px;
  margin-right: 4px;
  border-right: 1.8px solid #9c94bd;
  border-bottom: 1.8px solid #9c94bd;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.faq__item[open] summary { color: var(--brand-ink); }
.faq__item[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}
.faq__body {
  padding: 0 32px 20px 4px;
  font-size: 13.8px;
  color: var(--ink-2);
  line-height: 1.9;
}

/* 内页里的小号 FAQ */
.mini-faq { margin-top: 34px; }
.mini-faq h2 { font-size: 18px; margin-bottom: 8px; }

/* ============================================================
   7. 深色下载区
   ============================================================ */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 62px 0;
  background: linear-gradient(140deg, #171331 0%, #221a45 55%, #2b1f57 100%);
  text-align: center;
  color: #fff;
}
.cta-band__glow {
  position: absolute;
  left: 50%;
  top: -40%;
  width: 780px; height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(140, 108, 255, .38), rgba(140, 108, 255, 0));
  pointer-events: none;
}
.cta-band__inner { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.cta-band p {
  margin: 12px auto 24px;
  max-width: 520px;
  font-size: 13.5px;
  color: #b6aed6;
}
.cta-band__note {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  color: #8d84b4;
}

/* ============================================================
   8. 热门文章（首页底部）
   ============================================================ */
.hot__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.hot__head h2 { font-size: 24px; font-weight: 800; }
.hot__head p { margin-top: 6px; font-size: 13px; color: var(--muted); }

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--brand-ink);
  white-space: nowrap;
}
.more-link:hover { color: var(--brand); }

.hot__list { border-top: 1px solid var(--line); }
.hot__list li { border-bottom: 1px solid var(--line); }
.hot__list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 4px;
  transition: background .16s ease;
}
.hot__list a:hover { background: #faf8ff; }

.hot__no {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
  color: #a79fc4;
  background: #f4f1fd;
  border-radius: 6px;
}
.hot__no.is-top { color: #fff; background: linear-gradient(135deg, #8b6cff, #6d4bf7); }

.hot__title {
  flex: 1;
  min-width: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: #241f3d;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hot__list a:hover .hot__title { color: var(--brand-ink); }

.hot__views {
  flex: 0 0 auto;
  font-size: 12px;
  color: #a49dbe;
}

/* ============================================================
   9. 页脚
   ============================================================ */
.site-footer {
  padding: 34px 0 40px;
  background: #fff;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.8px;
  color: #6a6483;
}
.footer__links a:hover { color: var(--brand-ink); }
.footer__sep { color: #cfc9e3; }
.footer__note {
  margin: 12px auto 0;
  max-width: 720px;
  font-size: 11.8px;
  color: #a49dbe;
  line-height: 1.8;
}
.footer__copy {
  margin-top: 8px;
  font-size: 11.8px;
  color: #a49dbe;
}
.footer__copy .filing { color: #a49dbe; }
.footer__copy .filing:hover { color: var(--brand-ink); }

/* ============================================================
   10. 内页骨架（文章列表 / 详情 / 搜索）
   ============================================================ */
.page { padding: 34px 0 60px; }
.page--narrow { max-width: 820px; margin: 0 auto; }
.page--reader { max-width: 860px; margin: 0 auto; }

.page__head { margin-bottom: 26px; }
.page__head h1 {
  font-size: 28px;
  font-weight: 800;
  color: #171232;
}
.page__head p {
  margin-top: 9px;
  font-size: 13.8px;
  color: var(--muted);
  line-height: 1.85;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #a79fc4;
}

.breadcrumb { margin-bottom: 16px; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #a49dbe;
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: #d6d1e8;
}
.breadcrumb a:hover { color: var(--brand-ink); }

.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* 文章卡片 */
.acard {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.acard:hover {
  border-color: #ddd3fb;
  box-shadow: var(--shadow-hi);
  transform: translateY(-2px);
}
.acard__link { display: flex; flex-direction: column; height: 100%; padding: 20px 20px 18px; }
.acard__cat {
  align-self: flex-start;
  padding: 2px 9px;
  margin-bottom: 11px;
  font-size: 11.5px;
  color: var(--brand-ink);
  background: var(--brand-soft);
  border-radius: 6px;
}
.acard__title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.55;
  color: #221d3a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.acard:hover .acard__title { color: var(--brand-ink); }
.acard__sum {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.acard__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 11.8px;
  color: #a49dbe;
}

/* 分类胶囊 */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 22px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  font-size: 12.8px;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all .16s ease;
}
.chip span { color: #a49dbe; font-size: 11.5px; }
.chip:hover { border-color: var(--brand-2); color: var(--brand-ink); }
.chip.is-on {
  color: #fff;
  background: linear-gradient(135deg, #8b6cff, #6d4bf7);
  border-color: transparent;
}
.chip.is-on span { color: rgba(255, 255, 255, .78); }

/* 分页 */
.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 30px;
}
.pager a, .pager span {
  min-width: 34px;
  padding: 7px 11px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.pager a:hover { border-color: var(--brand-2); color: var(--brand-ink); }
.pager .is-on {
  color: #fff;
  background: linear-gradient(135deg, #8b6cff, #6d4bf7);
  border-color: transparent;
}

.empty {
  padding: 40px 22px;
  text-align: center;
  font-size: 13.8px;
  color: var(--muted);
  background: #fff;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
}
.empty a { color: var(--brand-ink); }

.result-meta { margin-bottom: 16px; font-size: 13px; color: var(--muted); }

/* 文章详情 */
.post {
  padding: 30px 32px 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.post__head { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.post__head h1 {
  margin-top: 12px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.45;
}
.post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  font-size: 12.3px;
  color: #a49dbe;
}
.post__summary {
  margin-top: 14px;
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--ink-2);
  background: #faf8ff;
  border-left: 3px solid var(--brand-2);
  border-radius: 0 8px 8px 0;
}

.prose {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-2);
}
.prose h2 {
  margin: 30px 0 12px;
  font-size: 19px;
  font-weight: 700;
  color: #1c1736;
}
.prose h3 { margin: 24px 0 10px; font-size: 16.5px; color: #1c1736; }
.prose h4 { margin: 20px 0 8px; font-size: 15px; color: #1c1736; }
.prose p { margin: 12px 0; }
.prose ul, .prose ol { margin: 12px 0 12px 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--ink); }
.prose a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 12px; margin: 14px 0; }
.prose blockquote {
  margin: 16px 0;
  padding: 10px 16px;
  color: var(--ink-2);
  background: #faf8ff;
  border-left: 3px solid var(--brand-2);
  border-radius: 0 8px 8px 0;
}
.prose code {
  padding: 2px 6px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
  background: #f4f1fd;
  border-radius: 6px;
}
.prose pre {
  overflow-x: auto;
  padding: 14px 16px;
  background: #f8f6ff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
}
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 8px 12px; border: 1px solid var(--line); font-size: 13.5px; }

.post__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

.related { margin-top: 34px; }
.related h2 { font-size: 20px; font-weight: 800; margin-bottom: 16px; }

/* 下载引导条 */
.cross {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding: 22px 26px;
  background: linear-gradient(120deg, #f6f2ff, #ffffff 70%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cross h2 { font-size: 17px; font-weight: 700; color: #1c1736; }
.cross p { margin-top: 6px; font-size: 13px; color: var(--muted); }

/* 搜索框（内页用） */
.searchbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.searchbar__field {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  min-width: 220px;
  padding: 0 14px;
  height: 46px;
  color: #a49dbe;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.searchbar__field:focus-within { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(124, 92, 252, .1); }
.searchbar__field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  color: var(--ink);
}
.searchbar__actions { display: flex; gap: 8px; }

/* ============================================================
   11. Toast / 进场动效
   ============================================================ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 80;
  padding: 10px 18px;
  font-size: 13px;
  color: #fff;
  background: rgba(26, 21, 48, .92);
  border-radius: 10px;
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
[data-reveal].is-in { opacity: 1; transform: none; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   12. 响应式
   ============================================================ */
@media (max-width: 900px) {
  .hero { padding-top: 46px; }
  .hero__title { font-size: 34px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 52px 0; }
  .cta-band { padding: 50px 0; }
  .cta-band h2 { font-size: 25px; }
}

@media (max-width: 760px) {
  .header__inner { height: 60px; }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    margin-left: auto;
    padding: 0 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    height: 1.8px;
    background: #4b4468;
    border-radius: 2px;
  }

  .site-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 66px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-hi);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 9px 6px; font-size: 14.5px; }
  .nav-cta { margin-top: 6px; justify-content: center; }

  .hero__title { font-size: 28px; }
  .hero__lead { font-size: 14px; }
  .phone { margin-top: 36px; }
  .phone__screen { border-radius: 30px; }

  .sec-head h2 { font-size: 23px; }
  .section { padding: 44px 0; }

  .features__grid { grid-template-columns: minmax(0, 1fr); }
  .fcard--wide { padding: 24px 22px; }

  .faq__item summary { font-size: 14.2px; padding: 16px 2px; }
  .faq__body { padding: 0 22px 16px 2px; font-size: 13.4px; }

  .cta-band { padding: 42px 0; }
  .cta-band h2 { font-size: 22px; }
  .cta-band p { font-size: 13px; }

  .hot__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hot__head h2 { font-size: 21px; }
  .hot__list a { gap: 10px; padding: 13px 2px; }
  .hot__title { font-size: 13.8px; }

  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .page { padding: 24px 0 44px; }
  .page__head h1 { font-size: 23px; }
  .post { padding: 22px 18px 26px; }
  .post__head h1 { font-size: 21px; }
  .prose { font-size: 14.5px; }
  .cross { padding: 18px; }
  .searchbar { flex-direction: column; }
}

@media (hover: none) and (pointer: coarse) {
  .fcard:hover, .acard:hover, .btn:hover { transform: none; }
}
