/* ===========================================================
   梦漫 · mengmanmanhua.com.cn  共享样式表
   配色：梦幻紫 / 樱粉 / 渐变蓝
   =========================================================== */
:root {
  --violet: #6d5efc;
  --violet-d: #5647e0;
  --violet-l: #eeebff;
  --pink: #ff6fa5;
  --pink-l: #ffe9f1;
  --sky: #38bdf8;
  --mint: #26d0a8;
  --ink: #222038;
  --ink-2: #3c3856;
  --muted: #7c7896;
  --line: #e9e6f5;
  --bg: #f7f5ff;
  --bg-2: #f2efff;
  --card: #ffffff;
  --grad: linear-gradient(135deg, #6d5efc 0%, #a06bff 46%, #ff6fa5 100%);
  --grad-soft: linear-gradient(135deg, #eeebff 0%, #ffe9f1 100%);
  --shadow: 0 18px 46px rgba(78, 62, 168, .10);
  --shadow-l: 0 8px 22px rgba(78, 62, 168, .07);
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --wrap: 1160px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

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

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

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

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

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 245, 255, .84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(233, 230, 245, .9);
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img {
  width: 44px; height: 44px; border-radius: 13px;
  box-shadow: 0 6px 16px rgba(109, 94, 252, .28);
}
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name b { font-size: 21px; font-weight: 800; color: var(--ink); letter-spacing: 1px; }
.brand-name .sub { font-size: 11.5px; color: var(--muted); letter-spacing: .4px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-block; padding: 8px 15px; border-radius: 11px;
  font-size: 15px; font-weight: 600; color: var(--ink-2);
}
.nav a:hover { background: var(--violet-l); color: var(--violet-d); }
.nav a.active { background: var(--violet); color: #fff; box-shadow: 0 8px 18px rgba(109, 94, 252, .28); }
.header-cta {
  margin-left: 6px; padding: 10px 20px; border-radius: 12px;
  background: var(--grad); color: #fff !important; font-size: 15px; font-weight: 700;
  box-shadow: 0 10px 22px rgba(124, 92, 255, .3); white-space: nowrap;
}
.header-cta:hover { transform: translateY(-1px); }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 14px;
  font-size: 16.5px; font-weight: 700; cursor: pointer; border: 0;
  background: var(--grad); color: #fff !important;
  box-shadow: 0 14px 30px rgba(124, 92, 255, .32);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(124, 92, 255, .4); }
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn-ghost {
  background: #fff; color: var(--violet-d) !important;
  box-shadow: 0 8px 20px rgba(78, 62, 168, .1);
}
.btn-ghost:hover { box-shadow: 0 12px 26px rgba(78, 62, 168, .16); }
.btn-lg { padding: 17px 42px; font-size: 18px; border-radius: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1100px 520px at 12% -10%, #efe9ff 0%, rgba(247, 245, 255, 0) 62%),
              radial-gradient(900px 480px at 92% 0%, #ffe7f1 0%, rgba(247, 245, 255, 0) 58%),
              var(--bg);
  padding: 60px 0 66px;
}
.hero::after {
  content: ""; position: absolute; right: -110px; top: 40px;
  width: 340px; height: 340px; border-radius: 50%;
  background: var(--grad); opacity: .13; filter: blur(6px);
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.06fr .94fr; gap: 46px; align-items: center;
}
.hero-grid > * { min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 700; color: var(--violet-d);
  box-shadow: var(--shadow-l); margin-bottom: 20px;
}
.eyebrow span.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
.hero h1 {
  font-size: 52px; line-height: 1.16; letter-spacing: -1px;
  background: linear-gradient(120deg, #4a3ad0 0%, #8b5cf6 48%, #ff5f9e 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #6d5efc;
  margin-bottom: 18px;
}
.hero .lede { font-size: 17.5px; color: var(--ink-2); max-width: 540px; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 26px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14.5px; color: var(--muted); }
.hero-meta i { font-style: normal; color: var(--mint); font-weight: 800; margin-right: 5px; }

.hero-visual { display: flex; justify-content: center; align-items: flex-end; gap: 20px; }
.phone {
  position: relative; padding: 9px; border-radius: 30px;
  background: linear-gradient(160deg, #ffffff, #ece8fb);
  box-shadow: 0 26px 56px rgba(72, 56, 160, .2), inset 0 0 0 1px #fff;
}
.phone .screen { border-radius: 23px; overflow: hidden; background: #fff; }
.phone .screen img { width: 100%; height: auto; }
.phone::before {
  content: ""; position: absolute; left: 50%; top: 15px; transform: translateX(-50%);
  width: 42%; height: 5px; border-radius: 3px; background: rgba(34, 32, 56, .1); z-index: 3;
}
.hero-visual .phone { width: 46%; max-width: 236px; flex-shrink: 1; }
.hero-visual .phone.small { width: 37%; max-width: 192px; }

/* ---------- 信任数据条 ---------- */
.trust { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; padding: 30px 0;
}
.trust-item { text-align: center; }
.trust-item b {
  display: block; font-size: 30px; font-weight: 800; letter-spacing: -.5px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--violet);
}
.trust-item span { font-size: 14px; color: var(--muted); }

/* ---------- 区块骨架 ---------- */
.section { padding: 74px 0; }
.section.alt { background: linear-gradient(180deg, #fbfaff 0%, var(--bg-2) 100%); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head .kicker {
  display: inline-block; font-size: 13.5px; font-weight: 800; letter-spacing: 2.4px;
  color: var(--pink); text-transform: uppercase; margin-bottom: 12px;
}
.section-head h2 { font-size: 34px; margin-bottom: 14px; }
.section-head p { color: var(--muted); margin: 0; font-size: 16px; }

/* ---------- 核心卖点 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px; box-shadow: var(--shadow-l);
  transition: transform .2s ease, box-shadow .2s ease;
}
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fico {
  width: 52px; height: 52px; border-radius: 15px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-soft); color: var(--violet-d);
}
.fico svg { width: 26px; height: 26px; }
.fcard h3 { font-size: 19px; margin-bottom: 10px; }
.fcard p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- 截图画廊 ---------- */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.shot { margin: 0; }
.shot .frame {
  border-radius: 18px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow-l); border: 1px solid var(--line);
}
.shot img { width: 100%; height: auto; }
.shot figcaption { margin-top: 12px; text-align: center; }
.shot figcaption b { display: block; font-size: 15px; }
.shot figcaption span { font-size: 13px; color: var(--muted); }

/* ---------- 深度内容入口 ---------- */
.entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.entry {
  display: block; color: inherit;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-l);
  transition: transform .2s ease, box-shadow .2s ease;
}
.entry:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.entry .top { padding: 26px 26px 0; }
.entry .tag {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--violet-l); color: var(--violet-d);
  font-size: 12.5px; font-weight: 800; margin-bottom: 14px;
}
.entry h3 { font-size: 21px; margin-bottom: 10px; }
.entry p { font-size: 15px; color: var(--muted); margin: 0 0 20px; }
.entry .more {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 26px; background: var(--grad-soft);
  font-size: 14.5px; font-weight: 700; color: var(--violet-d);
}
.entry .more svg { width: 17px; height: 17px; }

/* ---------- 用户评价 ---------- */
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.review {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px; box-shadow: var(--shadow-l);
}
.review .who { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 17px;
}
.review .who b { display: block; font-size: 15.5px; }
.review .who span { font-size: 13px; color: var(--muted); }
.review p { font-size: 15.2px; color: var(--ink-2); margin: 0; }
.stars { display: flex; gap: 3px; margin-top: 14px; }
.stars svg { width: 16px; height: 16px; color: #ffb43c; }

/* ---------- FAQ 折叠 ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow-l);
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 24px;
  font-size: 16.5px; font-weight: 700; color: var(--ink);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 700; color: var(--violet); line-height: 1;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item[open] summary { color: var(--violet-d); }
.faq-body { padding: 0 24px 22px; font-size: 15.4px; color: var(--ink-2); }
.faq-body p:last-child { margin-bottom: 0; }
.faq-group {
  max-width: 860px; margin: 40px auto 18px; font-size: 20px; font-weight: 800;
  padding-left: 14px; border-left: 4px solid var(--pink);
}

/* ---------- 底部下载通道 ---------- */
.download-band { padding: 0 0 74px; }
.band {
  position: relative; overflow: hidden;
  border-radius: 30px; padding: 56px 46px; text-align: center;
  background: var(--grad); color: #fff;
  box-shadow: 0 30px 66px rgba(109, 94, 252, .34);
}
.band::before, .band::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .14);
}
.band::before { width: 280px; height: 280px; left: -90px; top: -120px; }
.band::after { width: 220px; height: 220px; right: -70px; bottom: -110px; }
.band > * { position: relative; z-index: 2; }
.band h2 { font-size: 32px; margin-bottom: 14px; color: #fff; }
.band p { color: rgba(255, 255, 255, .9); max-width: 640px; margin: 0 auto 28px; font-size: 16.5px; }
.band .btn { background: #fff; color: var(--violet-d) !important; box-shadow: 0 14px 30px rgba(40, 26, 110, .26); }
.band .band-note { margin: 18px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .82); }

/* ---------- 正文排版（内页） ---------- */
.page-hero {
  background: radial-gradient(900px 420px at 15% -20%, #efe9ff 0%, rgba(247, 245, 255, 0) 60%),
              radial-gradient(760px 400px at 90% 0%, #ffe7f1 0%, rgba(247, 245, 255, 0) 55%), var(--bg);
  padding: 54px 0 46px; border-bottom: 1px solid var(--line);
}
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--violet); }
.page-hero h1 { font-size: 42px; margin-bottom: 16px; letter-spacing: -.6px; }
.page-hero .lede { font-size: 17px; color: var(--ink-2); max-width: 780px; margin: 0; }

.prose { max-width: 860px; margin: 0 auto; }
.prose h2 {
  font-size: 27px; margin: 52px 0 16px; padding-left: 15px;
  border-left: 5px solid var(--violet);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 30px 0 12px; color: var(--ink); }
.prose p { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { color: var(--ink-2); }

.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px 26px 26px 22px; margin-bottom: 16px; box-shadow: var(--shadow-l);
}
.step .n {
  width: 56px; height: 56px; border-radius: 17px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad); color: #fff; font-size: 22px; font-weight: 800;
}
.step h3 { margin: 4px 0 8px; font-size: 19px; }
.step p { margin: 0; font-size: 15.2px; color: var(--muted); }
.step .hint {
  display: inline-block; margin-top: 12px; padding: 6px 13px; border-radius: 9px;
  background: var(--pink-l); color: #d2436f; font-size: 13.5px; font-weight: 700;
}

.fn {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 30px; margin-bottom: 20px; box-shadow: var(--shadow-l);
}
.fn-head { display: flex; align-items: center; gap: 15px; margin-bottom: 16px; }
.fn-head .fico { margin: 0; }
.fn-head h2 { font-size: 23px; margin: 0; padding: 0; border: 0; }
.fn .row { margin-bottom: 12px; font-size: 15.3px; color: var(--ink-2); }
.fn .row:last-child { margin-bottom: 0; }
.fn .row b { color: var(--violet-d); }

.note {
  background: var(--grad-soft); border-radius: var(--r-md);
  padding: 22px 26px; margin: 30px 0; border: 1px solid #e6e1ff;
}
.note b { display: block; margin-bottom: 6px; color: var(--violet-d); }
.note p { margin: 0; font-size: 15.2px; color: var(--ink-2); }

.related { margin-top: 54px; }
.related h2 { font-size: 22px; margin-bottom: 18px; padding-left: 15px; border-left: 5px solid var(--pink); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.relink {
  display: block; padding: 20px 22px; border-radius: var(--r-md);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-l);
  color: inherit;
}
.relink:hover { border-color: #d8d0ff; color: inherit; }
.relink b { display: block; font-size: 16px; margin-bottom: 5px; }
.relink span { font-size: 13.5px; color: var(--muted); }

/* ---------- 页脚 ---------- */
.site-footer { background: #1c1930; color: #b9b4d2; padding: 54px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; }
.site-footer .brand-name b { color: #fff; }
.site-footer .brand-name .sub { color: #8d88a8; }
.site-footer p { font-size: 14.2px; color: #b9b4d2; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col a { display: block; color: #b9b4d2; font-size: 14.4px; padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.disclaimer {
  margin-top: 38px; padding-top: 22px; border-top: 1px solid #322e4d;
  font-size: 13.4px; color: #8d88a8; line-height: 1.8;
}
.copyright { margin-top: 14px; font-size: 13.4px; color: #8d88a8; }

/* ---------- 渐显 ---------- */
.reveal { transition: opacity .62s ease, transform .62s ease; }
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero { padding: 44px 0 52px; }
  .hero h1 { font-size: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { flex-wrap: wrap; justify-content: center; }
  .hero-visual .phone { width: 44%; max-width: 214px; }
  .hero-visual .phone.small { width: 34%; max-width: 168px; }
  .section { padding: 58px 0; }
  .section-head h2 { font-size: 28px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(3, 1fr); }
  .entry-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero h1 { font-size: 33px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .band { padding: 44px 30px; }
  .band h2 { font-size: 26px; }
}

@media (max-width: 620px) {
  body { font-size: 15.4px; }
  .wrap { padding: 0 16px; }
  .header-inner { flex-wrap: wrap; min-height: 0; padding-top: 10px; padding-bottom: 10px; gap: 8px; }
  .brand { width: 100%; gap: 10px; }
  .brand img { width: 38px; height: 38px; border-radius: 11px; }
  .brand-name b { font-size: 18.5px; }
  .brand-name .sub { display: none; }
  .nav { width: 100%; margin-left: 0; justify-content: space-between; gap: 0; }
  .nav a { padding: 6px 9px; font-size: 13.5px; }
  /* 注意：必须用 .nav .header-cta（0,2,0）才能压过 .nav a{display:inline-block}（0,1,1） */
  .nav .header-cta { display: none; }
  .hero { padding: 34px 0 42px; }
  .hero h1 { font-size: 31px; }
  .hero .lede { font-size: 15.6px; }
  .hero-actions { gap: 10px; }
  .btn { padding: 13px 24px; font-size: 15.4px; }
  .btn-lg { padding: 15px 28px; font-size: 16.4px; }
  .hero-visual { gap: 12px; }
  .hero-visual .phone { width: 47%; max-width: 176px; }
  .hero-visual .phone.small { width: 36%; max-width: 138px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .trust-item b { font-size: 24px; }
  .section { padding: 46px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 23px; }
  .feature-grid, .entry-grid, .review-grid, .related-grid { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .shot figcaption b { font-size: 14px; }
  .page-hero { padding: 36px 0 32px; }
  .page-hero h1 { font-size: 26px; }
  .page-hero .lede { font-size: 15.4px; }
  .prose h2 { font-size: 22px; margin: 40px 0 14px; }
  .step { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .step .n { width: 46px; height: 46px; border-radius: 14px; font-size: 19px; }
  .fn { padding: 24px 20px; }
  .fn-head h2 { font-size: 20px; }
  .band { padding: 36px 20px; border-radius: 22px; }
  .band h2 { font-size: 22px; }
  .band p { font-size: 15.2px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
