/* ============================================================
   有数 · 官网样式 —— 墨宋美学
   宣纸为底，松烟为墨，朱砂为印
   ============================================================ */

:root {
  --paper: #f7f3ea;        /* 宣纸 */
  --paper-2: #fdfbf6;      /* 亮纸（卡片） */
  --ink: #1a2426;          /* 松烟墨 */
  --ink-soft: #46535a;     /* 次墨 */
  --muted: #7d878a;        /* 灰墨 */
  --line: #e6dfd0;         /* 界格线 */
  --accent: #c23a2b;       /* 朱砂 */
  --accent-dark: #9e2e21;
  --accent-soft: rgba(194, 58, 43, 0.08);
  --glow: rgba(194, 58, 43, 0.25);
  --kai: "Kaiti SC", "STKaiti", "KaiTi", "BiauKai", "DFKai-SB", "Noto Serif SC", serif;
  --sans: "PingFang SC", "MiSans", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* —— 四款主题（点击色卡全站换色，与 App 内同款） —— */
html[data-theme="ji"]   { --accent: #1d4ed8; --accent-dark: #1638a8; --accent-soft: rgba(29,78,216,.08); --glow: rgba(29,78,216,.25); }
html[data-theme="qing"] { --accent: #2d5a4c; --accent-dark: #21443a; --accent-soft: rgba(45,90,76,.08);  --glow: rgba(45,90,76,.25); }
html[data-theme="jin"]  { --accent: #967240; --accent-dark: #7a5a30; --accent-soft: rgba(150,114,64,.10); --glow: rgba(150,114,64,.25); }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 宣纸颗粒 */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

main { position: relative; z-index: 2; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 28px; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #fff; }

/* ============ 吸顶导航 ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(247, 243, 234, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(247, 243, 234, 0.88); }
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--kai); font-size: 22px; font-weight: 700; letter-spacing: .08em; }
.brand .seal-mini { width: 30px; height: 30px; border-radius: 6px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--ink-soft); }
.nav-links a { position: relative; padding: 4px 0; transition: color .2s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--accent); transition: width .25s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav .btn-mini {
  font-size: 14px; padding: 8px 20px; border-radius: 999px;
  background: var(--accent); color: #fff; transition: background .2s, transform .2s;
}
.nav .btn-mini:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* ============ 印章 ============ */
.seal {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fdfbf6;
  font-family: var(--kai); font-weight: 700;
  border-radius: 7px;
  box-shadow: 0 4px 14px var(--glow);
  transform: rotate(-4deg);
  user-select: none;
}

/* ============ 首屏 ============ */
.hero {
  position: relative;
  padding: 168px 0 96px;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 48px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--accent);
  border: 1px solid var(--accent); border-radius: 999px;
  padding: 5px 16px; letter-spacing: .12em;
  background: var(--accent-soft);
}
.hero-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  margin-top: 26px;
  font-family: var(--kai);
  font-size: clamp(64px, 10vw, 108px);
  font-weight: 700; line-height: 1.1; letter-spacing: .06em;
  display: flex; align-items: flex-start; gap: 18px;
}
.hero h1 .seal-hero {
  width: 1.2em; height: 1.2em; font-size: .5em; line-height: 1;
  margin-top: .16em;
  animation: stamp .55s cubic-bezier(.2, 1.6, .4, 1) .35s both;
}
@keyframes stamp {
  0% { opacity: 0; transform: scale(2.1) rotate(9deg); }
  100% { opacity: 1; transform: scale(1) rotate(-4deg); }
}
.hero .slogan {
  margin-top: 22px;
  font-family: var(--kai);
  font-size: clamp(19px, 2.4vw, 24px);
  color: var(--ink-soft); letter-spacing: .04em;
}
.hero .slogan em { font-style: normal; color: var(--accent); }
.hero .meta { margin-top: 16px; font-size: 14px; color: var(--muted); }
.hero .meta strong { color: var(--accent); font-weight: 600; }
.hero-cta { margin-top: 34px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(145deg, var(--accent), var(--accent-dark));
  color: #fff; padding: 16px 34px; border-radius: 999px;
  font-size: 17px; font-weight: 600; letter-spacing: .02em;
  box-shadow: 0 12px 30px var(--glow);
  transition: transform .2s, box-shadow .2s, filter .2s;
  cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 40px var(--glow); filter: brightness(1.05); }
.btn-note { font-size: 13px; color: var(--muted); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 28px; border-radius: 999px;
  border: 1.5px solid var(--ink); color: var(--ink);
  font-size: 16px; font-weight: 600;
  transition: all .2s; cursor: pointer; background: transparent;
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-3px); }
.btn-ghost svg { width: 18px; height: 18px; }

/* 首屏右侧 · 手机 */
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art::before {
  content: "";
  position: absolute; width: 560px; height: 560px; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(closest-side, var(--accent-soft), transparent 70%),
    radial-gradient(closest-side at 65% 35%, rgba(26,36,38,.06), transparent 70%);
  z-index: 0;
}
/* 米字格暗纹 */
.hero-art::after {
  content: "";
  position: absolute; width: 420px; height: 420px; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-2deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Cg stroke='%231a2426' stroke-opacity='.055' fill='none'%3E%3Crect x='10' y='10' width='400' height='400' rx='18' stroke-width='1.5'/%3E%3Cpath d='M10 10 L410 410 M410 10 L10 410 M210 10 V410 M10 210 H410'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}
.phone {
  position: relative; z-index: 2;
  width: 288px; aspect-ratio: 9 / 19.4;
  border-radius: 46px;
  background: #0e1517;
  padding: 10px;
  box-shadow: 0 40px 80px rgba(26, 36, 38, .28), 0 8px 24px rgba(26,36,38,.18);
  animation: floaty 6s ease-in-out infinite alternate;
}
@keyframes floaty {
  from { transform: translateY(-8px) rotate(-.6deg); }
  to   { transform: translateY(10px) rotate(.6deg); }
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; }
.float-chip {
  position: absolute; z-index: 3;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 16px;
  font-size: 13px; color: var(--ink-soft);
  box-shadow: 0 14px 34px rgba(26,36,38,.14);
  display: flex; align-items: center; gap: 8px;
  animation: floaty 7s 1s ease-in-out infinite alternate;
}
.float-chip b { color: var(--accent); font-weight: 600; }
.float-chip.c1 { top: 16%; left: -6%; }
.float-chip.c2 { bottom: 20%; right: -8%; animation-delay: 2.2s; }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: var(--muted); font-size: 12px; letter-spacing: .3em;
  writing-mode: vertical-rl;
  display: flex; align-items: center; gap: 8px;
}
.scroll-hint::after {
  content: ""; width: 1px; height: 42px;
  background: linear-gradient(var(--muted), transparent);
  animation: drip 2s ease-in-out infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============ 通用 section ============ */
section { padding: 96px 0; scroll-margin-top: 72px; }
.kicker {
  font-family: var(--kai); color: var(--accent);
  font-size: 16px; letter-spacing: .3em;
  display: flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--accent); }
h2.sec-title {
  margin-top: 14px;
  font-family: var(--kai); font-size: clamp(32px, 4.6vw, 44px);
  font-weight: 700; letter-spacing: .06em;
}
.sec-sub { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* 滚动入场 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.16, .84, .3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ============ 一句话办事 · 动画演示 ============ */
.demo { background: linear-gradient(180deg, transparent, rgba(26,36,38,.03) 20%, rgba(26,36,38,.03) 80%, transparent); }
.demo-card {
  margin-top: 48px;
  background: var(--paper-2);
  border: 1px solid var(--line); border-radius: 26px;
  box-shadow: 0 30px 70px rgba(26, 36, 38, .10);
  overflow: hidden;
  display: grid; grid-template-columns: 1fr;
}
.demo-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 24px; border-bottom: 1px solid var(--line);
}
.demo-head .seal { width: 34px; height: 34px; font-size: 19px; }
.demo-head .t { font-family: var(--kai); font-size: 18px; letter-spacing: .1em; }
.demo-head .s { font-size: 12px; color: var(--muted); }
.demo-head .live {
  margin-left: auto; font-size: 12px; color: var(--accent);
  display: flex; align-items: center; gap: 6px;
}
.demo-head .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .35; transform: scale(.72);} }
.demo-body { padding: 28px 24px 34px; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; max-width: 720px; margin: 0 auto; width: 100%; }

.msg { display: flex; flex-direction: column; gap: 6px; max-width: 86%; opacity: 0; transform: translateY(14px); transition: opacity .45s, transform .45s; }
.msg.show { opacity: 1; transform: none; }
.msg.user { align-self: flex-end; align-items: flex-end; }
.msg.bot { align-self: flex-start; align-items: flex-start; }
.msg .who { font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.msg .bubble {
  padding: 13px 18px; border-radius: 18px; font-size: 15.5px; line-height: 1.75;
}
.msg.user .bubble { background: var(--ink); color: var(--paper); border-bottom-right-radius: 6px; }
.msg.bot .bubble { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; color: var(--ink); }
.msg .bubble .cursor { display: inline-block; width: 2px; height: 1em; background: var(--accent); vertical-align: -0.15em; margin-left: 2px; animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.chip {
  font-size: 13px; color: var(--accent);
  border: 1px solid var(--accent); border-radius: 999px;
  padding: 4px 14px; background: var(--accent-soft);
}
.cardrow { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; width: 100%; }
.mcard {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 14px; font-size: 14px; color: var(--ink-soft);
}
.mcard .tag {
  flex: 0 0 auto; font-size: 12px; color: #fff; background: var(--accent);
  border-radius: 6px; padding: 1px 8px; letter-spacing: .08em;
}
.mcard b { color: var(--ink); font-weight: 600; }
.mcard .amt { margin-left: auto; color: var(--accent); font-weight: 600; }
.typing { display: inline-flex; gap: 5px; align-items: center; padding: 6px 2px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: tp 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes tp { 0%,100% { opacity: .25; transform: translateY(0);} 50% { opacity: 1; transform: translateY(-4px);} }

/* ============ 功能 ============ */
.feature-grid {
  margin-top: 52px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.feature {
  background: var(--paper-2);
  border: 1px solid var(--line); border-radius: 20px;
  padding: 28px 26px 24px;
  position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
  opacity: 0; transition: opacity .25s;
}
.feature:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 22px 44px rgba(26,36,38,.10); }
.feature:hover::after { opacity: 1; }
.feature .fic {
  width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); background: var(--accent-soft);
  margin-bottom: 16px;
}
.feature .fic svg { width: 24px; height: 24px; }
.feature h3 { font-family: var(--kai); font-size: 20px; letter-spacing: .06em; }
.feature p { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ============ 主题 ============ */
.themes-strip { margin-top: 52px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.theme-card {
  background: var(--paper-2); border: 1.5px solid var(--line); border-radius: 20px;
  padding: 26px 24px; cursor: pointer; text-align: left;
  font-family: inherit; transition: transform .22s, border-color .22s, box-shadow .22s;
  position: relative;
}
.theme-card:hover { transform: translateY(-4px); }
.theme-card.active { border-color: var(--accent); box-shadow: 0 16px 36px var(--glow); }
.theme-card .dots { display: flex; gap: 8px; }
.theme-card .dots i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--paper-2); box-shadow: 0 0 0 1px var(--line); }
.theme-card h3 { margin-top: 16px; font-family: var(--kai); font-size: 21px; letter-spacing: .1em; }
.theme-card p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.theme-card .pick {
  position: absolute; top: 18px; right: 18px; font-size: 12px; color: var(--accent);
  opacity: 0; transition: opacity .2s; letter-spacing: .1em;
}
.theme-card.active .pick { opacity: 1; }
.themes-hint { margin-top: 18px; font-size: 13px; color: var(--muted); text-align: center; }
.themes-hint em { font-style: normal; color: var(--accent); }

/* ============ 截图墙 ============ */
.shots-strip {
  margin-top: 52px;
  display: flex; gap: 22px;
  overflow-x: auto; padding: 10px 4px 26px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.shot { flex: 0 0 auto; scroll-snap-align: center; text-align: center; }
.shot img {
  height: 470px; width: auto;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(26, 36, 38, .12);
  background: #fff;
}
.shot.wide img { height: 300px; padding: 12px; }
.shot figcaption { margin-top: 14px; font-size: 13.5px; color: var(--ink-soft); font-family: var(--kai); letter-spacing: .06em; }
.shot figcaption b { color: var(--accent); font-weight: 600; margin-right: 6px; }

/* ============ 下载 ============ */
.dl-panel {
  margin-top: 48px;
  background: var(--paper-2);
  border: 1px solid var(--line); border-radius: 28px;
  padding: 46px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  box-shadow: 0 26px 60px rgba(26, 36, 38, .08);
  position: relative; overflow: hidden;
}
.dl-panel::before {
  content: "数";
  position: absolute; right: -30px; bottom: -70px;
  font-family: var(--kai); font-size: 280px; line-height: 1;
  color: var(--ink); opacity: .04; pointer-events: none;
}
.dl-info h3 { font-family: var(--kai); font-size: 26px; letter-spacing: .05em; }
.dl-info p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.dl-info p b { color: var(--accent); font-weight: 600; }
.dl-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.dl-steps {
  margin-top: 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px;
  list-style: none;
}
.dl-steps li {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 20px; font-size: 14.5px; color: var(--ink-soft);
  display: flex; gap: 12px; align-items: flex-start;
}
.dl-steps .n {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--kai); font-size: 15px;
}
.dl-note { margin-top: 16px; text-align: center; font-size: 13px; color: var(--muted); }

/* ============ 交流群 ============ */
.community-card {
  margin-top: 48px;
  background: var(--ink); color: var(--paper);
  border-radius: 28px; padding: 56px 44px;
  text-align: center; position: relative; overflow: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg stroke='%23f7f3ea' stroke-opacity='.05' fill='none'%3E%3Cpath d='M0 0 L120 120 M120 0 L0 120 M60 0 V120 M0 60 H120'/%3E%3C/g%3E%3C/svg%3E");
}
.community-card::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), transparent);
  top: -210px; right: -120px;
}
.community-card h3 { font-family: var(--kai); font-size: 30px; letter-spacing: .12em; }
.community-card .sub { margin-top: 8px; color: rgba(247,243,234,.6); font-size: 14.5px; }
.qq-row {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center;
}
.qq-num {
  font-family: var(--kai); font-size: clamp(38px, 6vw, 56px);
  letter-spacing: .12em; color: var(--paper);
  text-shadow: 0 6px 30px var(--glow);
}
.qq-copy {
  border: 1.5px solid rgba(247,243,234,.45); background: transparent; color: var(--paper);
  border-radius: 999px; padding: 10px 24px; font-size: 15px; cursor: pointer;
  transition: all .2s; font-family: inherit;
}
.qq-copy:hover { background: var(--accent); border-color: var(--accent); }
.qq-tags { margin-top: 22px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.qq-tags span { font-size: 13px; color: rgba(247,243,234,.75); border: 1px solid rgba(247,243,234,.25); padding: 4px 14px; border-radius: 999px; }

/* ============ 页脚 ============ */
.site-footer {
  margin-top: 40px;
  background: var(--ink); color: rgba(247, 243, 234, .82);
  padding: 46px 0 40px;
  font-size: 14px;
}
.site-footer .container { display: flex; flex-direction: column; gap: 10px; text-align: center; }
.site-footer a { color: rgba(247, 243, 234, .82); border-bottom: 1px dotted rgba(247,243,234,.35); transition: color .2s, border-color .2s; }
.site-footer a:hover { color: #fff; border-color: #fff; }
.site-footer .fine { color: rgba(247,243,234,.45); font-size: 13px; }

/* 悬浮 QQ 胶囊 */
.qq-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--paper);
  border: none; cursor: pointer;
  border-radius: 999px; padding: 11px 20px;
  font-size: 14px; font-family: inherit;
  box-shadow: 0 14px 34px rgba(26,36,38,.3);
  transition: background .2s, transform .2s;
}
.qq-fab:hover { background: var(--accent); transform: translateY(-2px); }
.qq-fab svg { width: 16px; height: 16px; }

/* 移动端底部常驻操作条 */
.m-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
  display: none;
  gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(253, 251, 246, 0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.m-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: 999px; padding: 13px 10px;
  font-size: 15.5px; font-weight: 600; font-family: inherit;
  text-align: center;
}
.m-btn svg { width: 17px; height: 17px; }
.m-dl {
  background: linear-gradient(145deg, var(--accent), var(--accent-dark));
  color: #fff; box-shadow: 0 8px 22px var(--glow);
}
.m-qq {
  background: var(--ink); color: var(--paper);
  border: none; cursor: pointer;
}

/* 加群提醒卡 */
.m-note {
  position: fixed; left: 50%; bottom: 96px; z-index: 66;
  transform: translateX(-50%) translateY(24px);
  width: min(340px, calc(100vw - 40px));
  background: var(--ink); color: var(--paper);
  border-radius: 20px; padding: 22px 22px 20px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(26, 36, 38, .4);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg stroke='%23f7f3ea' stroke-opacity='.06' fill='none'%3E%3Cpath d='M0 0 L120 120 M120 0 L0 120 M60 0 V120 M0 60 H120'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0; pointer-events: none;
  transition: opacity .4s, transform .4s cubic-bezier(.16, .84, .3, 1);
}
.m-note.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.m-note-t { font-family: var(--kai); font-size: 20px; letter-spacing: .08em; }
.m-note-s { margin-top: 5px; font-size: 12.5px; color: rgba(247,243,234,.62); }
.m-note-btn {
  margin-top: 14px; width: 100%;
  background: var(--accent); color: #fff; border: none; cursor: pointer;
  border-radius: 999px; padding: 12px 16px;
  font-size: 15px; font-weight: 600; font-family: inherit; letter-spacing: .04em;
  box-shadow: 0 8px 22px var(--glow);
}
.m-note-x {
  position: absolute; top: 8px; right: 10px;
  background: none; border: none; cursor: pointer;
  color: rgba(247,243,234,.55); font-size: 22px; line-height: 1;
  padding: 4px 8px;
}

/* 截图墙滑动提示（移动端显示） */
.shots-hint { display: none; margin-top: 14px; text-align: center; font-size: 13px; color: var(--muted); letter-spacing: .08em; }

/* 复制成功 toast */
.toast {
  position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%) translateY(16px);
  background: var(--ink); color: var(--paper);
  padding: 10px 22px; border-radius: 999px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  z-index: 70; box-shadow: 0 14px 34px rgba(26,36,38,.3);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ 文档页（隐私/协议） ============ */
.doc { padding: 150px 0 90px; max-width: 800px; }
.doc h1 { font-family: var(--kai); font-size: 34px; letter-spacing: .08em; }
.doc .updated { margin-top: 8px; color: var(--muted); font-size: 13px; }
.doc h2 {
  margin: 38px 0 12px; font-size: 20px; letter-spacing: .04em;
  border-left: 3px solid var(--accent); padding-left: 12px;
}
.doc h3 { font-size: 16px; margin: 20px 0 8px; }
.doc p, .doc li { font-size: 15px; color: #3c4649; }
.doc ul, .doc ol { padding-left: 22px; margin: 10px 0; }
.doc li { margin: 7px 0; }
.doc .doc-foot { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ============ 响应式 ============ */
@media (max-width: 920px) {
  .hero { padding: 132px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { margin-top: 12px; }
  .float-chip.c1 { left: 0; }
  .float-chip.c2 { right: 0; }
  .nav-links { display: none; }
  .scroll-hint { display: none; }
  .shots-hint { display: block; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  section { padding: 72px 0; }
  .hero { padding: 118px 0 56px; }
  .hero h1 { font-size: 64px; }
  .phone { width: 232px; }
  .float-chip { font-size: 12px; padding: 8px 13px; }
  .shot img { height: 380px; }
  .shot.wide img { height: 220px; }
  .dl-panel { padding: 32px 26px; }
  .community-card { padding: 44px 24px; }
  .hero-cta .btn, .hero-cta .btn-ghost { width: 100%; justify-content: center; }
  /* 桌面胶囊让位给底部操作条 */
  .qq-fab { display: none; }
  .m-bar { display: flex; }
  .m-note { bottom: calc(84px + env(safe-area-inset-bottom)); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}

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