/* ============================================================
   漫蛙2 · manwa2manwa.com  共享样式表
   全站本地资源，无任何外部 CDN 依赖
   ============================================================ */

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('../fonts/nunito.woff2') format('woff2');
}

:root {
  --green: #22c55e;
  --green-d: #15803d;
  --green-dd: #0d5b2c;
  --green-l: #dcfce7;
  --green-mint: #eefbf2;
  --coral: #ff6b5a;
  --amber: #ffb020;
  --violet: #8b6eff;
  --ink: #1f2937;
  --ink-2: #344256;
  --muted: #6b7a8d;
  --muted-2: #90a0b1;
  --bg: #f5fbf7;
  --card: #ffffff;
  --line: #e5efe7;
  --line-2: #d8e8dd;
  --shadow-sm: 0 2px 10px rgba(24, 66, 44, .06);
  --shadow: 0 10px 30px rgba(24, 66, 44, .09);
  --shadow-lg: 0 24px 60px rgba(24, 66, 44, .14);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-lg: 30px;
  --maxw: 1180px;
}

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

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

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Heiti SC', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

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

/* ---------- 通用文字 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green-d);
  background: var(--green-l); padding: 6px 14px; border-radius: 999px;
}
.sec-title { font-size: 32px; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
.sec-sub { color: var(--muted); margin-top: 10px; font-size: 16.5px; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.sec-head .eyebrow { margin-bottom: 16px; }
.sec { padding: 78px 0; }
.sec.tint { background: linear-gradient(180deg, #ffffff 0%, var(--green-mint) 100%); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 800; border-radius: 999px; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  border: 0; font-family: inherit; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #29d46a, var(--green-d));
  color: #fff; padding: 14px 30px; font-size: 16.5px;
  box-shadow: 0 10px 24px rgba(21, 128, 61, .32);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(21, 128, 61, .4); }
.btn-ghost {
  background: #fff; color: var(--green-d); padding: 13px 28px; font-size: 16px;
  border: 2px solid var(--line-2);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green-d); transform: translateY(-2px); }
.btn-lg { padding: 17px 40px; font-size: 18px; }
.btn .ico { width: 19px; height: 19px; flex: 0 0 auto; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.brand-name { font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.brand-name em { font-style: normal; color: var(--green-d); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 9px 15px; border-radius: 999px; font-weight: 700; font-size: 15.5px;
  color: var(--ink-2); transition: background .16s, color .16s;
}
.nav-links a:hover { background: var(--green-mint); color: var(--green-d); }
.nav-links a.active { background: var(--green-l); color: var(--green-dd); }
.nav-cta .btn-primary { padding: 11px 22px; font-size: 15px; box-shadow: 0 6px 16px rgba(21,128,61,.26); }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-2); background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink);
}
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -10%, #d7f7e3 0%, rgba(215,247,227,0) 62%),
    radial-gradient(760px 400px at 6% 8%, #e6f4ff 0%, rgba(230,244,255,0) 60%),
    linear-gradient(180deg, #ffffff 0%, var(--green-mint) 100%);
  padding: 66px 0 84px;
}
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 54px; align-items: center; }
.hero h1 {
  font-size: 50px; line-height: 1.16; font-weight: 900; letter-spacing: -.02em;
  margin: 18px 0 16px;
}
.hero h1 .hl {
  position: relative; color: var(--green-dd); white-space: nowrap;
}
.hero h1 .hl::after {
  content: ''; position: absolute; left: -2px; right: -2px; bottom: 4px; height: 13px;
  background: rgba(255, 176, 32, .38); border-radius: 4px; z-index: -1;
}
.hero-lead { font-size: 18px; color: var(--ink-2); max-width: 540px; }
.hero-lead strong { color: var(--green-dd); font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 40px; }
.hero-stats .st b { display: block; font-size: 28px; font-weight: 900; color: var(--green-dd); letter-spacing: -.02em; }
.hero-stats .st span { font-size: 14px; color: var(--muted); font-weight: 700; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-badges i {
  font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--green-dd);
  background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 13px;
}

/* 手机预览 */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 268px; border-radius: 38px; padding: 12px;
  background: linear-gradient(160deg, #1f2937, #0f1720);
  box-shadow: var(--shadow-lg);
}
.phone::after {
  content: ''; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 7px; border-radius: 999px; background: rgba(255,255,255,.28);
}
.phone .screen { border-radius: 28px; overflow: hidden; background: #fff; }
.phone .screen img { width: 100%; height: auto; }
.phone-float {
  position: absolute; background: #fff; border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 14px; color: var(--ink);
}
.phone-float small { display: block; font-weight: 700; color: var(--muted); font-size: 12px; }
.pf-1 { top: 44px; left: -16px; animation: floaty 4.4s ease-in-out infinite; }
.pf-2 { bottom: 96px; right: -22px; animation: floaty 5.2s ease-in-out infinite .8s; }
.pf-2 .dot { width: 34px; height: 34px; border-radius: 11px; background: var(--green-l); display: grid; place-items: center; color: var(--green-d); font-size: 17px; }
.pf-1 .dot { width: 34px; height: 34px; border-radius: 11px; background: #fff3d6; display: grid; place-items: center; color: #b4790a; font-size: 17px; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card .ic {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--green-l); color: var(--green-d); margin-bottom: 16px;
}
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.3px; }
.ic.c-coral { background: #ffe8e4; color: #d8462f; }
.ic.c-amber { background: #fff2d8; color: #b4790a; }
.ic.c-violet { background: #efe9ff; color: #6a4de0; }
.ic.c-blue { background: #e4f0ff; color: #2563eb; }
.ic.c-teal { background: #def7f4; color: #0f8a80; }

/* ---------- 数据条 ---------- */
.stats-band {
  background: linear-gradient(135deg, #1c8a4e, #0d5b2c);
  border-radius: var(--radius-lg); padding: 46px 40px; color: #fff;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.stats-band::before {
  content: ''; position: absolute; right: -60px; top: -70px; width: 240px; height: 240px;
  border-radius: 50%; background: rgba(255,255,255,.08);
}
.stats-band .st { position: relative; }
.stats-band .st b { display: block; font-size: 34px; font-weight: 900; letter-spacing: -.02em; }
.stats-band .st span { font-size: 14.5px; color: #cdeadb; font-weight: 700; }

/* ---------- 预览画廊 ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.shot {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow-sm); text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.shot:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.shot img { border-radius: var(--radius-sm); width: 100%; height: auto; }
.shot b { display: block; margin-top: 13px; font-size: 15.5px; font-weight: 800; }
.shot span { font-size: 13.5px; color: var(--muted); }

/* ---------- 深度模块入口 ---------- */
.entry-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.entry {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.entry:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.entry::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--green), #6ee7a8); }
.entry.e-coral::before { background: linear-gradient(90deg, var(--coral), #ffb3a6); }
.entry.e-violet::before { background: linear-gradient(90deg, var(--violet), #c3b3ff); }
.entry.e-amber::before { background: linear-gradient(90deg, var(--amber), #ffd98a); }
.entry .n { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--muted-2); }
.entry h3 { font-size: 21px; font-weight: 800; margin: 10px 0 8px; }
.entry p { color: var(--muted); font-size: 15px; }
.entry .more { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-weight: 800; color: var(--green-d); font-size: 15px; }
.entry .more svg { width: 16px; height: 16px; transition: transform .2s; }
.entry:hover .more svg { transform: translateX(4px); }

/* ---------- 评价 ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.stars { color: var(--amber); font-size: 16px; letter-spacing: 2px; margin-bottom: 12px; }
.quote p { color: var(--ink-2); font-size: 15.4px; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; color: #fff; font-size: 16px; flex: 0 0 auto;
}
.quote .who b { display: block; font-size: 15px; }
.quote .who span { font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 24px; font-family: inherit; font-size: 16.5px; font-weight: 800; color: var(--ink);
  display: flex; align-items: center; gap: 14px;
}
.faq-q .q-ic {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 9px; background: var(--green-l);
  color: var(--green-d); display: grid; place-items: center; font-size: 14px; font-weight: 900;
}
.faq-q .arw { margin-left: auto; flex: 0 0 auto; transition: transform .22s ease; color: var(--muted); }
.faq-item.open .faq-q .arw { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a div { padding: 0 24px 22px 66px; color: var(--muted); font-size: 15.4px; }
.faq-a div a { color: var(--green-d); font-weight: 700; border-bottom: 1px solid var(--line-2); }
.faq-a div a:hover { border-color: var(--green); }
.faq-item.open .faq-a { max-height: 640px; }

/* ---------- 富文本正文 ---------- */
.prose { max-width: 860px; }
.prose h2 { font-size: 27px; font-weight: 900; margin: 40px 0 14px; letter-spacing: -.01em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; font-weight: 800; margin: 26px 0 10px; color: var(--green-dd); }
.prose p { margin: 13px 0; color: var(--ink-2); }
.prose ul, .prose ol { margin: 14px 0 14px 4px; display: grid; gap: 9px; }
.prose ul li { padding-left: 26px; position: relative; color: var(--ink-2); }
.prose ul li::before {
  content: ''; position: absolute; left: 6px; top: 11px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--green);
}
.prose ol { counter-reset: n; }
.prose ol li { padding-left: 40px; position: relative; color: var(--ink-2); counter-increment: n; }
.prose ol li::before {
  content: counter(n); position: absolute; left: 0; top: 2px; width: 26px; height: 26px;
  border-radius: 9px; background: var(--green-l); color: var(--green-dd);
  font-weight: 900; font-size: 14px; display: grid; place-items: center;
}
.prose a { color: var(--green-d); font-weight: 700; border-bottom: 1px solid var(--line-2); }
.prose a:hover { border-color: var(--green); }
.prose strong { color: var(--ink); font-weight: 800; }
.note {
  background: var(--green-mint); border-left: 4px solid var(--green);
  border-radius: 12px; padding: 18px 22px; margin: 22px 0; font-size: 15.3px; color: var(--ink-2);
}
.note b { color: var(--green-dd); }

/* ---------- 步骤 ---------- */
.steps { display: grid; gap: 16px; counter-reset: s; }
.step {
  display: flex; gap: 18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.step .num {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(135deg, #29d46a, var(--green-d)); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 19px;
}
.step b { display: block; font-size: 17.5px; font-weight: 800; margin-bottom: 5px; }
.step p { color: var(--muted); font-size: 15.2px; }

/* ---------- 页内锚点导航 ---------- */
.toc {
  display: flex; flex-wrap: wrap; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 12px 16px; box-shadow: var(--shadow-sm);
}
.toc a {
  font-size: 14.5px; font-weight: 700; color: var(--ink-2);
  padding: 7px 15px; border-radius: 999px; background: var(--green-mint);
}
.toc a:hover { background: var(--green-l); color: var(--green-dd); }

/* ---------- 内页头部 ---------- */
.page-hero {
  background:
    radial-gradient(700px 320px at 84% 0%, #d7f7e3 0%, rgba(215,247,227,0) 60%),
    linear-gradient(180deg, #fff 0%, var(--green-mint) 100%);
  padding: 54px 0 44px; border-bottom: 1px solid var(--line);
}
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 14px; font-weight: 700; }
.crumb a:hover { color: var(--green-d); }
.crumb span { margin: 0 7px; color: var(--muted-2); }
.page-hero h1 { font-size: 40px; font-weight: 900; letter-spacing: -.02em; line-height: 1.24; }
.page-hero .lead { color: var(--ink-2); margin-top: 14px; max-width: 760px; font-size: 17px; }

/* ---------- 底部下载通道 ---------- */
.dl-band {
  background: linear-gradient(135deg, #123a24 0%, #0d5b2c 60%, #17864a 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 54px 44px;
  display: grid; grid-template-columns: 1.3fr auto; gap: 30px; align-items: center;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.dl-band::after {
  content: ''; position: absolute; left: -70px; bottom: -90px; width: 260px; height: 260px;
  border-radius: 50%; background: rgba(255,255,255,.06);
}
.dl-band h2 { font-size: 31px; font-weight: 900; letter-spacing: -.01em; }
.dl-band p { color: #cdeadb; margin-top: 10px; font-size: 16px; max-width: 620px; }
.dl-band .btn-primary { background: #fff; color: var(--green-dd); box-shadow: 0 12px 28px rgba(0,0,0,.24); }
.dl-band .btn-primary:hover { background: #f2fff7; }
.dl-note { color: #a9d6bb; font-size: 13.5px; margin-top: 12px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0f1b15; color: #b9cfc2; padding: 56px 0 26px; margin-top: 0; }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; }
.foot-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.foot-brand img { width: 40px; height: 40px; border-radius: 12px; }
.foot-brand b { color: #fff; font-size: 20px; font-weight: 900; }
.site-footer h4 { color: #fff; font-size: 15.5px; font-weight: 800; margin-bottom: 14px; }
.site-footer a { color: #b9cfc2; font-size: 14.6px; display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: #6ee7a8; }
.foot-col ul { display: grid; gap: 2px; }
.site-footer p { font-size: 14.4px; color: #92ab9c; }
.disclaimer {
  margin-top: 34px; padding: 18px 22px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  color: #a9c2b3; font-size: 14px; line-height: 1.8;
}
.copyright {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.09);
  display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between;
  font-size: 13.6px; color: #8ba495;
}

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 26px; width: 46px; height: 46px; border-radius: 14px;
  background: var(--green-d); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: .25s; z-index: 70;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--green-dd); transform: translateY(-3px); }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-visual { order: -1; }
  .hero h1 { font-size: 40px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; left: 0; right: 0; top: 72px; background: #fff;
    padding: 14px 22px 20px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); margin-left: 0;
  }
  .site-header.open .nav-links a { padding: 12px 14px; }
  .g3, .gallery, .entry-list, .quotes { grid-template-columns: 1fr 1fr; }
  .dl-band { grid-template-columns: 1fr; text-align: center; }
  .dl-band .btn { justify-self: center; }
  .sec-title { font-size: 27px; }
  .page-hero h1 { font-size: 31px; }
}
@media (max-width: 560px) {
  .sec { padding: 56px 0; }
  .g2, .g3, .g4, .gallery, .entry-list, .quotes { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 34px 24px; }
  .stats-band .st b { font-size: 26px; }
  .hero h1 { font-size: 32px; }
  .hero-stats { gap: 20px; }
  .foot-top { grid-template-columns: 1fr; }
  .dl-band { padding: 38px 24px; }
  .dl-band h2 { font-size: 24px; }
  .faq-a div { padding-left: 24px; }
  .phone { width: 236px; }
  .phone-float { display: none; }
}
