@charset "utf-8";
/* 梦漫 mengmanmanhua.net 全站共享样式（单文件，无任何外部依赖） */

:root {
  --v1: #6d28d9;
  --v2: #8b5cf6;
  --v3: #a78bfa;
  --pk: #ec4899;
  --pk2: #f472b6;
  --sk: #3b82f6;
  --sk2: #60a5fa;
  --ink: #241a3a;
  --ink2: #453a60;
  --muted: #7a709a;
  --line: #eae3fa;
  --bg: #fbf9ff;
  --soft: #f5f0ff;
  --card: #ffffff;
  --grad: linear-gradient(135deg, #6d28d9 0%, #a855f7 45%, #ec4899 100%);
  --grad-soft: linear-gradient(135deg, #f5f0ff 0%, #fdeef8 100%);
  --shadow: 0 10px 30px rgba(88, 52, 168, 0.10);
  --shadow-lg: 0 18px 48px rgba(88, 52, 168, 0.16);
  --r: 18px;
  --r-lg: 26px;
  --font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans CJK SC", "WenQuanYi Micro Hei", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  overflow-x: hidden;
}

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

a { color: var(--v1); text-decoration: none; }
a:hover { color: var(--pk); }

h1, h2, h3, h4 { line-height: 1.35; margin: 0; font-weight: 700; letter-spacing: .2px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin: 0 0 8px; }

.wrap { width: 100%; max-width: 1128px; margin: 0 auto; padding: 0 20px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------- 顶栏 ---------------- */
.topbar {
  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 { display: flex; align-items: center; gap: 18px; min-height: 72px; }

.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text b { font-size: 19px; color: var(--ink); letter-spacing: 1px; }
.brand-text .sub { font-size: 12px; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink2);
  font-size: 15px;
  white-space: nowrap;
}
.nav-links a:hover { background: var(--soft); color: var(--v1); }
.nav-links a.is-active { background: var(--soft); color: var(--v1); font-weight: 700; }

.menu-btn {
  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;
}
.menu-btn svg { width: 20px; height: 20px; display: block; }
.menu-btn path { stroke: var(--v1); stroke-width: 2.2; stroke-linecap: round; fill: none; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(139, 92, 246, .32); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(139, 92, 246, .42); }
.btn-ghost { background: #fff; color: var(--v1); border-color: var(--line); }
.btn-ghost:hover { color: var(--v1); background: var(--soft); }
.btn-sm { padding: 10px 20px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; display: block; flex: 0 0 auto; }
.btn svg path, .btn svg circle { stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; }

/* ---------------- Hero ---------------- */
.hero { padding: 56px 0 26px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: -220px -10% auto -10%;
  height: 620px;
  background: radial-gradient(600px 320px at 18% 40%, rgba(167, 139, 250, .30), transparent 70%),
    radial-gradient(560px 300px at 82% 30%, rgba(244, 114, 182, .26), transparent 70%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: center; }
.hero-grid > * { min-width: 0; }

.pill {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--v1);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
}
.hero h1 { font-size: clamp(30px, 4.6vw, 46px); margin: 0 0 16px; }
.lede { font-size: 17px; color: var(--ink2); max-width: 540px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-points li {
  margin: 0;
  padding: 7px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink2);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.tiny { font-size: 13px; color: var(--muted); margin: 0; }

.hero-visual { display: flex; gap: 16px; align-items: flex-end; justify-content: center; }
.phone {
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: clamp(148px, 44%, 228px);
  flex-shrink: 1;
}
.phone.small { width: clamp(112px, 33%, 172px); margin-bottom: 26px; }
.phone .screen { padding: 6px; }
.phone .screen img { width: 100%; height: auto; border-radius: 20px; }

/* ---------------- 数据信任条 ---------------- */
.stats { padding: 12px 0 6px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 18px;
  box-shadow: var(--shadow);
}
.stat { text-align: center; }
.stat b { display: block; font-size: 30px; color: var(--v1); letter-spacing: .5px; }
.stat span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 56px 0; }
.section.alt { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.sec-head { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.sec-head h2 { font-size: clamp(23px, 3vw, 32px); margin-bottom: 12px; }
.sec-head p { color: var(--muted); margin: 0; }

/* ---------------- 功能卡 ---------------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feat .ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--grad-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feat .ico svg { width: 24px; height: 24px; display: block; }
.feat .ico svg path, .feat .ico svg circle, .feat .ico svg rect {
  stroke: var(--v1); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.feat h3 { font-size: 18px; margin-bottom: 8px; }
.feat p { color: var(--ink2); font-size: 15px; margin: 0; }

/* ---------------- 截图 ---------------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shots--pair { grid-template-columns: repeat(2, 1fr); }
.shot { margin: 0; }
.shot .frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}
.shot img { width: 100%; height: auto; }
.shot figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------------- 深度内容入口 ---------------- */
.entries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.entry {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.entry:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.entry .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--v1);
  background: var(--soft);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 14px;
}
.entry h3 { font-size: 17px; margin-bottom: 8px; }
.entry p { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.entry .more { font-size: 14px; color: var(--pk); font-weight: 700; }

/* ---------------- 评价 ---------------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-grid--two { grid-template-columns: repeat(2, 1fr); }
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.review .who { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad);
  color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.review .who b { display: block; font-size: 15px; }
.review .who span { display: block; font-size: 12px; color: var(--muted); }
.review .stars { color: #f5a524; letter-spacing: 2px; font-size: 14px; margin-bottom: 8px; }
.review p { font-size: 14.5px; color: var(--ink2); margin: 0; }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-list summary {
  cursor: pointer;
  padding: 18px 50px 18px 22px;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  color: var(--v1);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "\2013"; }
.faq-list .ans { padding: 0 22px 20px; color: var(--ink2); font-size: 15px; }
.faq-list .ans p:last-child { margin-bottom: 0; }

/* ---------------- 下载通道 ---------------- */
.band { padding: 20px 0 60px; }
.band-inner {
  background: var(--grad);
  border-radius: var(--r-lg);
  padding: 40px 34px;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  box-shadow: var(--shadow-lg);
}
.band-inner h2 { font-size: clamp(20px, 2.6vw, 28px); color: #fff; margin-bottom: 8px; }
.band-inner p { margin: 0; color: rgba(255, 255, 255, .9); font-size: 15px; }
.band .btn-white { background: #fff; color: var(--v1); }
.band .btn-white:hover { color: var(--v1); }

/* ---------------- 页脚 ---------------- */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 44px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; }
.foot-brand .brand { margin-bottom: 12px; }
.foot-brand p { font-size: 14px; color: var(--muted); max-width: 320px; }
.foot-col h4 { font-size: 15px; margin-bottom: 12px; }
.foot-col a { display: block; font-size: 14px; color: var(--ink2); margin-bottom: 8px; }
.foot-col a:hover { color: var(--v1); }
.disclaimer {
  margin-top: 30px;
  padding: 16px 20px;
  background: var(--soft);
  border-radius: var(--r);
  color: var(--ink2);
  font-size: 13.5px;
  line-height: 1.8;
}
.copyright {
  margin: 18px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* ---------------- 内页通用 ---------------- */
.page-head { padding: 48px 0 10px; }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--v1); }
.page-head h1 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 14px; }
.page-head .lede { max-width: 760px; }

.toc {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 26px 0 0;
}
.toc a {
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink2);
}
.toc a:hover { color: var(--v1); border-color: var(--v3); }

.prose { max-width: 900px; }
.prose h2 { font-size: clamp(21px, 2.6vw, 27px); margin: 46px 0 16px; }
.prose h3 { font-size: 18px; margin: 26px 0 10px; color: var(--v1); }
.prose p { color: var(--ink2); font-size: 16px; }
.prose strong { color: var(--ink); }
.prose .note {
  background: var(--grad-soft);
  border-left: 4px solid var(--v2);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 15px;
  color: var(--ink2);
}
.prose .note b { color: var(--v1); }

.steps { list-style: none; padding: 0; counter-reset: st; margin: 0; }
.steps > li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 24px 20px 74px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  counter-increment: st;
}
.steps > li::before {
  content: counter(st);
  position: absolute; left: 22px; top: 22px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.steps > li h3 { margin: 0 0 8px; }
.steps > li p { margin: 0; color: var(--ink2); font-size: 15px; }

.faq-group { margin-bottom: 34px; }
.faq-group > h2 { font-size: 21px; margin: 0 0 16px; }

.related { margin-top: 12px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 22px;
  color: inherit;
  box-shadow: var(--shadow);
}
.related-card:hover { color: inherit; border-color: var(--v3); }
.related-card b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.related-card span { display: block; font-size: 13.5px; color: var(--muted); }

/* ---------------- 渐显（三层保险） ---------------- */
.reveal { transition: opacity .55s ease, transform .55s ease; }
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* ---------------- 断点 ---------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-visual { flex-wrap: wrap; justify-content: center; }
  .phone { width: clamp(140px, 40%, 210px); }
  .phone.small { width: clamp(104px, 30%, 150px); margin-bottom: 18px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .entries { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .shots--pair { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    left: 20px; right: 20px; top: 78px;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 10px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .menu-btn { display: flex; }
  .nav > .btn-sm { display: none; }
  .section { padding: 44px 0; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .brand-text .sub { display: none; }
  .hero { padding: 34px 0 18px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 10px; padding: 20px 14px; }
  .stat b { font-size: 24px; }
  .feat-grid, .entries, .review-grid, .review-grid--two, .related-grid, .shots--pair { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .band-inner { padding: 28px 22px; }
  .band-inner .btn { width: 100%; }
  .steps > li { padding: 20px 18px 18px 64px; }
  .steps > li::before { left: 18px; top: 18px; width: 30px; height: 30px; font-size: 15px; }
  .faq-list summary { padding: 16px 46px 16px 18px; font-size: 15.5px; }
  .faq-list .ans { padding: 0 18px 18px; }
  .cta-row .btn { flex: 1 1 100%; }
}
