/* ==========================================================================
   拷贝漫画 · 站点样式表（全站共用）
   配色：草绿 + 天蓝 + 纸感米白，贴合漫画阅读的清爽活泼调性
   所有资源本地化，无任何外部 CDN 依赖
   ========================================================================== */

:root {
  --green: #2E9E5B;
  --green-d: #1C7A44;
  --green-mid: #46B873;
  --green-l: #E9F8EF;
  --sky: #2CA8E2;
  --sky-d: #17769F;
  --sky-l: #E6F4FC;
  --ink: #14261C;
  --body: #47614F;
  --muted: #7C9689;
  --bg: #F5FBF7;
  --card: #FFFFFF;
  --line: #E1F0E7;
  --sun: #F0A020;
  --hot: #F0733C;
  --shadow-sm: 0 2px 10px rgba(28, 90, 58, .06);
  --shadow: 0 10px 30px rgba(28, 90, 58, .09);
  --shadow-lg: 0 22px 60px rgba(23, 80, 52, .14);
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --maxw: 1200px;
  --nav-h: 68px;
}

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

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
               "Source Han Sans SC", system-ui, -apple-system, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; border: 0; }

a { color: var(--green-d); text-decoration: none; }

a:hover { color: var(--green); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; font-weight: 800; }

h1 { font-size: clamp(24px, 4.2vw, 40px); letter-spacing: .5px; }

h2 { font-size: clamp(21px, 3vw, 30px); letter-spacing: .4px; }

h3 { font-size: clamp(16px, 2vw, 19px); }

p { margin: 0; }

ul, ol { list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.skip { position: absolute; left: -9999px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ------------------------------ 顶部导航 ------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.brand img { width: 36px; height: auto; border-radius: 11px; }

.brand .btxt { display: block; }

.brand .bname {
  display: block;
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 1px;
  line-height: 1.05;
}

.brand .bsub {
  display: block;
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .6px;
  margin-top: 3px;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}

.nav-links a {
  display: inline-block;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--body);
  white-space: nowrap;
}

.nav-links a:hover { background: var(--green-l); color: var(--green-d); }

.nav-links a.is-active { color: var(--green-d); background: var(--green-l); }

.nav-cta { flex: 0 0 auto; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-toggle span::before { top: -6px; }

.nav-toggle span::after { top: 6px; }

/* ------------------------------ 按钮 ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(100deg, var(--green) 0%, var(--sky) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(44, 168, 226, .26);
}

.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(44, 168, 226, .34); }

.btn-ghost {
  background: #fff;
  color: var(--green-d);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover { background: var(--green-l); transform: translateY(-2px); }

.btn-lg { padding: 15px 34px; font-size: 16.5px; }

.btn .ico { width: 18px; height: 18px; flex: 0 0 auto; }

/* ------------------------------ Hero ------------------------------ */
.hero {
  position: relative;
  padding: 54px 0 60px;
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(70, 184, 115, .18), transparent 62%),
    radial-gradient(760px 420px at 96% 6%, rgba(44, 168, 226, .16), transparent 60%),
    linear-gradient(180deg, #F2FBF6 0%, var(--bg) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 46px;
  align-items: center;
}

.hero h1 { margin-bottom: 16px; }

.hero .lead {
  font-size: 17px;
  color: var(--body);
  max-width: 560px;
  margin-bottom: 20px;
}

.hero .kws {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
}

.hero .kws span {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-d);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
  box-shadow: var(--shadow-sm);
}

.hero .btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero .hint { font-size: 12.5px; color: var(--muted); margin-top: 14px; }

.hero-art { position: relative; display: flex; justify-content: center; }

.hero-art .phone-main {
  width: min(300px, 78%);
  height: auto;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(30, 90, 60, .08);
  background: #fff;
}

.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 11px 15px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 9px;
}

.float-card em { font-style: normal; color: var(--muted); font-weight: 600; font-size: 11px; display: block; }

.float-card .dot {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--green-mid), var(--sky));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex: 0 0 auto;
}

.fc-1 { left: -6px; top: 15%; }

.fc-2 { right: -6px; bottom: 16%; }

/* ------------------------------ 通用区块 ------------------------------ */
.section { padding: 62px 0; }

.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.sec-head { max-width: 780px; margin-bottom: 30px; }

.sec-head h2 { margin-bottom: 10px; }

.sec-head .sub { font-size: 15.5px; color: var(--muted); }

.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--green);
  background: var(--green-l);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 12px;
}

.section > * { scroll-margin-top: 90px; }

[id] { scroll-margin-top: 90px; }

/* ------------------------------ 数据统计 ------------------------------ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}

.stat b {
  display: block;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--green-d);
  letter-spacing: .5px;
}

.stat span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* ------------------------------ 卡片网格 ------------------------------ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 18px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  height: 100%;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #CDE9DA; }

.card .ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--green-l), var(--sky-l));
  border: 1px solid var(--line);
  color: var(--green-d);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.card .ico svg { width: 23px; height: 23px; }

.card h3 { margin-bottom: 8px; }

.card p { font-size: 14.6px; color: var(--body); }

.card .tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 7px; }

.card .tags i {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--sky-d);
  background: var(--sky-l);
  border-radius: 7px;
  padding: 3px 9px;
}

/* ------------------------------ 截图展示 ------------------------------ */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.shot {
  background: linear-gradient(180deg, #F0FAF4, #fff);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px 14px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.shot img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(23, 80, 52, .14);
}

.shot b { display: block; margin-top: 12px; font-size: 14px; color: var(--ink); }

.shot span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ------------------------------ 深度内容入口 ------------------------------ */
.entries { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }

.entry {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 22px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
  height: 100%;
}

.entry:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.entry .no {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--sky-d);
}

.entry h3 { margin: 8px 0 8px; }

.entry p { font-size: 14.4px; }

.entry .more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--green-d); }

.entry::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 24px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--green-l), var(--sky-l));
  border: 1px solid var(--line);
}

/* ------------------------------ 长文内容 ------------------------------ */
.prose { max-width: 860px; }

.prose h2 { margin: 40px 0 12px; }

.prose h2:first-child { margin-top: 0; }

.prose h3 { margin: 26px 0 8px; }

.prose p { margin-bottom: 14px; font-size: 16px; }

.prose ul, .prose ol { margin: 0 0 16px; }

.prose li { position: relative; padding-left: 22px; margin-bottom: 9px; font-size: 15.8px; }

.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-mid);
}

.prose ol { counter-reset: step; }

.prose ol li { padding-left: 34px; }

.prose ol li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 3px;
  width: 23px;
  height: 23px;
  border-radius: 8px;
  background: var(--green-l);
  color: var(--green-d);
  font-size: 12.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prose strong { color: var(--ink); }

.note {
  background: var(--green-l);
  border: 1px solid #CFEBD9;
  border-left: 4px solid var(--green);
  border-radius: var(--r-sm);
  padding: 15px 18px;
  font-size: 14.8px;
  color: var(--green-d);
  margin: 18px 0;
}

.note b { color: var(--ink); }

/* 两步/多栏内容 */
.cols2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }

.mini {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.mini h3 { margin-bottom: 8px; font-size: 16.5px; }

.mini p, .mini li { font-size: 14.6px; }

.mini ul li { position: relative; padding-left: 18px; margin-bottom: 7px; }

.mini ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
}

/* ------------------------------ 评价 ------------------------------ */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 18px; }

.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review .stars { color: var(--sun); font-size: 14px; letter-spacing: 2px; }

.review p { font-size: 14.8px; color: var(--body); flex: 1; }

.review .who { display: flex; align-items: center; gap: 10px; }

.review .av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--green-mid), var(--sky));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.review .who b { font-size: 13.5px; color: var(--ink); display: block; }

.review .who em { font-style: normal; font-size: 11.5px; color: var(--muted); }

/* ------------------------------ FAQ ------------------------------ */
.faq { max-width: 900px; }

.faq-group { margin-bottom: 34px; }

.faq-group > h3 {
  font-size: 17px;
  margin-bottom: 12px;
  padding-left: 13px;
  border-left: 4px solid var(--green);
  color: var(--ink);
}

.qa {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.qa summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 20px;
  font-size: 15.6px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.qa summary::-webkit-details-marker { display: none; }

.qa summary .qmark {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  border-radius: 7px;
  background: var(--green-l);
  color: var(--green-d);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.qa summary .arrow {
  margin-left: auto;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  color: var(--muted);
  transition: transform .2s ease;
  margin-top: 2px;
}

.qa[open] summary .arrow { transform: rotate(180deg); }

.qa[open] summary { background: var(--green-l); }

.qa .a {
  padding: 15px 20px 18px 52px;
  font-size: 15px;
  color: var(--body);
  border-top: 1px solid var(--line);
}

.qa .a p + p { margin-top: 10px; }

/* ------------------------------ CTA 条 ------------------------------ */
.cta-band {
  background: linear-gradient(115deg, #1F8F52 0%, #2E9E5B 42%, #2CA8E2 100%);
  border-radius: var(--r-lg);
  padding: 46px 34px;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

.cta-band::before { width: 260px; height: 260px; left: -70px; top: -110px; }

.cta-band::after { width: 320px; height: 320px; right: -100px; bottom: -170px; }

.cta-band > * { position: relative; }

.cta-band h2 { color: #fff; margin-bottom: 10px; }

.cta-band p { color: rgba(255, 255, 255, .92); font-size: 15.5px; max-width: 640px; margin: 0 auto 24px; }

.cta-band .btn-primary { background: #fff; color: var(--green-d); box-shadow: 0 12px 28px rgba(0, 0, 0, .16); }

.cta-band .btn-primary:hover { color: var(--green-d); }

.cta-band .meta { margin-top: 18px; font-size: 12.5px; color: rgba(255, 255, 255, .86); }

/* ------------------------------ 页脚 ------------------------------ */
.footer { background: #10241A; color: #B9CFC3; padding: 46px 0 26px; margin-top: 64px; }

.footer .fgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer .fbrand { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }

.footer .fbrand img { width: 36px; height: auto; border-radius: 11px; }

.footer .fbrand b { color: #fff; font-size: 18px; letter-spacing: 1px; }

.footer p { font-size: 13.6px; color: #9DB8AA; line-height: 1.9; }

.footer h3 { color: #fff; font-size: 15px; margin-bottom: 12px; }

.footer .flinks a { display: block; font-size: 13.8px; color: #A9C4B6; padding: 4px 0; }

.footer .flinks a:hover { color: #6FDC9B; }

.disclaimer {
  margin-top: 22px;
  padding: 15px 18px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-sm);
  font-size: 13.4px;
  color: #A9C4B6;
  line-height: 1.9;
}

.copyright { margin-top: 18px; font-size: 13px; color: #87A294; text-align: center; }

/* ------------------------------ 面包屑 ------------------------------ */
.crumb {
  font-size: 13.4px;
  color: var(--muted);
  padding: 16px 0 0;
}

.crumb a { color: var(--muted); }

.crumb a:hover { color: var(--green-d); }

.crumb i { font-style: normal; padding: 0 7px; color: #B9CEBF; }

/* ------------------------------ 页头（内页） ------------------------------ */
.page-head {
  padding: 34px 0 40px;
  background:
    radial-gradient(700px 320px at 8% -20%, rgba(70, 184, 115, .17), transparent 62%),
    radial-gradient(620px 320px at 94% 0%, rgba(44, 168, 226, .14), transparent 60%),
    linear-gradient(180deg, #F2FBF6 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.page-head h1 { margin-bottom: 12px; }

.page-head .lead { font-size: 16.5px; color: var(--body); max-width: 780px; }

.page-head .kws { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.page-head .kws span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green-d);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}

/* ------------------------------ 目录卡 ------------------------------ */
.toc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.toc h2 { font-size: 16px; margin-bottom: 12px; }

.toc ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 4px 18px; }

.toc li { position: relative; padding-left: 24px; font-size: 14.6px; margin-bottom: 6px; }

.toc li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--sky);
}

/* ------------------------------ 表格 ------------------------------ */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }

table { width: 100%; border-collapse: collapse; }

th, td { text-align: left; padding: 13px 16px; font-size: 14.6px; border-bottom: 1px solid var(--line); }

th { background: var(--green-l); color: var(--green-d); font-weight: 800; white-space: nowrap; }

td { color: var(--body); }

tr:last-child td { border-bottom: 0; }

/* 小屏：表格改为堆叠卡片，避免横向滚动与溢出 */
@media (max-width: 760px) {
  .table-wrap { overflow: visible; border: 0; background: transparent; }
  table, table thead, table tbody, table tr, table th, table td { display: block; width: auto; }
  table thead { display: none; }
  table tr {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }
  table td {
    border-bottom: 1px dashed var(--line);
    padding: 10px 15px;
    font-size: 14.4px;
  }
  table tr td:last-child { border-bottom: 0; }
  table td::before {
    content: attr(data-label) "：";
    font-weight: 800;
    color: var(--green-d);
    margin-right: 2px;
  }
  table td:first-child {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--ink);
    background: var(--green-l);
    border-bottom: 1px solid var(--line);
    padding: 11px 15px;
  }
  table td:first-child::before { display: none; }
}

/* ------------------------------ 返回顶部 ------------------------------ */
.totop {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green-d);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  z-index: 50;
  transform: translateY(8px);
}

.totop.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* 进场动画（JS 可用时才启用） */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }

.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------ 响应式 ------------------------------ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero .btns { gap: 10px; }
  .hero-art { order: -1; }
  .hero-art .phone-main { width: min(255px, 62%); }
  .fc-1 { left: 4%; top: 8%; }
  .fc-2 { right: 4%; bottom: 10%; }
  .footer .fgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    order: 3;
    width: 100%;
    margin: 0 0 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 10px;
    box-shadow: var(--shadow);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 11px 14px; border-radius: 12px; font-size: 15.5px; }
}

@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 46px 0; }
  .hero { padding: 34px 0 44px; }
  .cta-band { padding: 34px 22px; border-radius: var(--r); }
  .footer .fgrid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .qa .a { padding-left: 20px; }
  .shots { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}

@media (max-width: 480px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .nav-inner { padding: 0 16px; gap: 10px; }
  .brand img { width: 32px; height: 32px; border-radius: 10px; }
  .brand .bname { font-size: 17px; }
  .brand .bsub { display: none; }
  .btn { padding: 11px 20px; font-size: 14.5px; }
  .btn-lg { padding: 13px 26px; font-size: 15.5px; }
  .float-card { padding: 9px 12px; font-size: 11.5px; }
  .float-card .dot { width: 26px; height: 26px; border-radius: 9px; font-size: 12px; }
  .stats { gap: 12px; }
  .stat { padding: 17px 15px; }
  .card { padding: 20px 18px; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .shot { padding: 12px 10px 10px; }
  .shot img { max-width: 100%; border-radius: 14px; }
  .shot b { font-size: 13px; margin-top: 9px; }
  .shot span { font-size: 11.5px; }
  .totop { right: 14px; bottom: 16px; width: 42px; height: 42px; }
}
