@charset "utf-8";
/* 虫虫漫画 · chongchongmanga.com —— 档 3 视觉：紫罗兰 + 柠檬黄 + 淡紫白底
   与本站群同品牌档 1（青柠黄绿 / 晴空蓝）、档 2（湖青 / 蜜黄 / 朱砂）在
   主色相、底色、CTA 形状、Hero 纹理、Logo 母题、字体六个维度上全部错开。 */

/* ── 本地化字体（仅拉丁子集，作用于数字与英文标签） ───────────── */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/quicksand.woff2') format('woff2');
}

:root {
  --bg: #F6F4FD;
  --bg2: #FCFAFF;
  --panel: #FFFFFF;
  --pri: #6B46D4;
  --pri-d: #5232A8;
  --pri-dd: #371F6F;
  --pri-l: #EDE7FC;
  --sec: #FFD23F;
  --sec-d: #D4A400;
  --sec-l: #FFF8DC;
  --acc: #F25C8A;
  --acc-l: #FDE8EF;
  --ink: #221A3A;
  --ink2: #5B5273;
  --ink3: #918AA8;
  --line: #E6E0F6;
  --foot: #1B1436;
  --foot-tx: #C9C0E4;
  --shadow: 0 10px 30px rgba(80, 55, 160, .09);
  --shadow-s: 0 4px 14px rgba(80, 55, 160, .07);
  --r: 18px;
  --num: 'Quicksand', 'Microsoft YaHei', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pri); text-decoration: none; }
ul, ol { list-style: none; }

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

/* ── 顶部导航 ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(252, 250, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.brand b {
  font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: .5px;
  white-space: nowrap;
}
.menu { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.menu a {
  font-size: 13.5px; color: var(--ink2); letter-spacing: -.2px;
  padding: 7px 10px; border-radius: 10px; white-space: nowrap;
}
.menu a:hover { background: var(--pri-l); color: var(--pri-d); }
.menu a.on { color: var(--pri-d); background: var(--pri-l); font-weight: 700; }
/* 五个菜单项在 390px 下放不下 → 窄屏换成两字短标签（长标签仍留在 HTML 里） */
.menu .ns { display: none; }

/* ── 切角按钮（档 3 的 CTA 形状；档 1 是飘带、档 2 是胶囊沉底） ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 9px; min-height: 50px; padding: 0 30px 2px;
  font-size: 16.5px; font-weight: 700; color: #fff; letter-spacing: .5px;
  background: linear-gradient(120deg, var(--pri) 0%, var(--pri-d) 62%, #3B2380 100%);
  border: 0; border-radius: 6px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  box-shadow: 0 6px 20px rgba(107, 70, 212, .3);
  transition: transform .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(107, 70, 212, .38); }
.btn i { width: 8px; height: 8px; border-radius: 50%; background: var(--sec); display: block; }
.btn.ghost {
  background: #fff; color: var(--pri-d);
  box-shadow: inset 0 0 0 2px var(--pri-l), 0 4px 14px rgba(80, 55, 160, .08);
}
.btn.ghost:hover { background: var(--pri-l); }
.btn.sm { min-height: 42px; padding: 0 22px 2px; font-size: 15px; }
.btn.sm::after { content: ''; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 62px 0 68px; }
/* Hero 纹理：漫画「集中线」放射；档 1 是 45° 网点斜纹、档 2 是圆点阵列 + 缎带 */
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 150%;
  background:
    repeating-conic-gradient(from 0deg at 72% 42%,
      rgba(107, 70, 212, .075) 0deg 1.5deg, transparent 1.5deg 7deg);
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 72% 42%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 62% 58% at 72% 42%, #000 0%, transparent 78%);
  pointer-events: none;
}
.hero-in {
  position: relative; display: grid; grid-template-columns: 1.06fr .94fr;
  gap: 54px; align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--pri-l); color: var(--pri-d);
  font-size: 13px; font-weight: 700; letter-spacing: .4px;
}
.pill em { font-style: normal; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }
h1 { font-size: 43px; line-height: 1.28; letter-spacing: .5px; font-weight: 800; }
.lead { margin-top: 20px; font-size: 17px; color: var(--ink2); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.trust {
  display: flex; flex-wrap: wrap; gap: 30px 40px; margin-top: 36px;
  padding-top: 26px; border-top: 1px dashed var(--line);
}
.trust b {
  display: block; font-family: var(--num); font-size: 27px;
  color: var(--pri-d); font-weight: 700; line-height: 1.2;
}
.trust span { font-size: 13.5px; color: var(--ink3); }

/* Hero 右侧设备卡：图片自带圆角，白卡保证四角不外露底色 */
.device {
  background: var(--panel); border-radius: 26px; padding: 14px;
  box-shadow: var(--shadow); position: relative;
}
.device::after {
  content: ""; position: absolute; inset: 0; border-radius: 26px;
  box-shadow: inset 0 0 0 1px var(--line); pointer-events: none;
}
.device img { width: 100%; height: auto; border-radius: 14px; }
.device .tag {
  position: absolute; left: -12px; bottom: 34px; z-index: 2;
  background: var(--sec); color: #4A3400; font-size: 13px; font-weight: 700;
  padding: 8px 15px; border-radius: 12px 4px 12px 4px;
  box-shadow: 0 6px 16px rgba(212, 164, 0, .28);
}

/* ── 通用区块 ─────────────────────────────────────────────── */
section { padding: 66px 0; }
.sec-alt { background: var(--bg2); }
.sec-head { margin-bottom: 34px; max-width: 46em; }
.sec-head h2 { font-size: 29px; line-height: 1.35; letter-spacing: .4px; font-weight: 800; }
.sec-head h2::after {
  content: ""; display: block; width: 44px; height: 5px; border-radius: 3px;
  margin-top: 14px; background: linear-gradient(90deg, var(--pri), var(--sec));
}
.sec-head p { margin-top: 15px; color: var(--ink2); font-size: 16px; }
.center { text-align: center; }
.center .sec-head { margin-left: auto; margin-right: auto; }
.center .sec-head h2::after { margin-left: auto; margin-right: auto; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--panel); border-radius: var(--r); padding: 26px 24px;
  box-shadow: var(--shadow-s); border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 18.5px; margin-bottom: 10px; letter-spacing: .3px; }
.card p { font-size: 14.8px; color: var(--ink2); line-height: 1.85; }
.ico {
  width: 44px; height: 44px; border-radius: 13px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pri-l); color: var(--pri-d);
}
.ico svg { width: 22px; height: 22px; }
.card:nth-child(3n + 2) .ico { background: var(--sec-l); color: #8A6500; }
.card:nth-child(3n) .ico { background: var(--acc-l); color: #B32C58; }

/* 截图预览 */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shot {
  background: var(--panel); border-radius: var(--r); padding: 11px;
  border: 1px solid var(--line); box-shadow: var(--shadow-s);
}
.shot img { width: 100%; height: auto; border-radius: 11px; }
.shot figcaption {
  margin-top: 12px; padding: 0 4px 4px; font-size: 14px; color: var(--ink2);
}
.shot figcaption b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 3px; }

/* 深度内容入口 */
.deeps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.deep {
  display: block; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); padding: 24px 22px; box-shadow: var(--shadow-s);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.deep:hover { transform: translateY(-4px); border-color: var(--pri); box-shadow: var(--shadow); }
.deep span {
  font-family: var(--num); font-size: 13px; font-weight: 700; letter-spacing: 1px;
  color: var(--pri);
}
.deep b { display: block; font-size: 17.5px; margin: 10px 0 8px; color: var(--ink); }
.deep p { font-size: 14.5px; color: var(--ink2); line-height: 1.8; }
.deep em { display: inline-block; margin-top: 14px; font-style: normal; font-size: 14px; color: var(--pri-d); }

/* 步骤 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step {
  background: var(--panel); border-radius: var(--r); padding: 26px 24px;
  border: 1px solid var(--line); box-shadow: var(--shadow-s); position: relative;
}
.step::before {
  counter-increment: s; content: "0" counter(s);
  font-family: var(--num); font-size: 34px; font-weight: 700;
  color: var(--pri-l); display: block; line-height: 1; margin-bottom: 12px;
}
.step h3 { font-size: 18px; margin-bottom: 9px; }
.step p { font-size: 14.8px; color: var(--ink2); }

/* 评价 */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: var(--panel); border-radius: var(--r); padding: 26px 24px;
  border: 1px solid var(--line); box-shadow: var(--shadow-s);
}
.stars { color: var(--sec-d); font-size: 15px; letter-spacing: 3px; margin-bottom: 12px; }
.review p { font-size: 15px; color: var(--ink2); }
.who { display: flex; align-items: center; gap: 11px; margin-top: 18px; }
.who i {
  width: 38px; height: 38px; border-radius: 50%; display: block; flex: 0 0 38px;
  background: linear-gradient(140deg, var(--pri), var(--acc));
}
.who b { font-size: 14.5px; display: block; }
.who span { font-size: 12.5px; color: var(--ink3); }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
details {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 0 22px; box-shadow: var(--shadow-s);
}
details[open] { border-color: var(--pri); }
summary {
  cursor: pointer; list-style: none; padding: 18px 0;
  font-size: 16.5px; font-weight: 700; color: var(--ink);
  display: flex; gap: 12px; align-items: flex-start;
}
summary::-webkit-details-marker { display: none; }
summary::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px;
  background: var(--pri); margin-top: 10px;
}
details > p { padding: 0 0 20px 20px; color: var(--ink2); font-size: 15.2px; }
details > p + p { padding-top: 0; }

/* CTA 条 */
.band {
  background: linear-gradient(120deg, var(--pri-dd), var(--pri) 55%, #8A5BE8);
  border-radius: 26px; padding: 46px 44px; color: #fff;
  display: flex; align-items: center; gap: 34px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.band::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-conic-gradient(from 20deg at 88% 20%,
    rgba(255, 255, 255, .1) 0deg 1.5deg, transparent 1.5deg 9deg);
  pointer-events: none;
}
.band > div { position: relative; flex: 1 1 380px; }
.band h2 { font-size: 27px; color: #fff; letter-spacing: .4px; }
.band h2::after { display: none; }
.band p { margin-top: 12px; color: #DDD3F7; font-size: 15.5px; }
.band .btn {
  position: relative; flex: 0 0 auto;
  background: #fff; color: var(--pri-d);
  box-shadow: 0 8px 24px rgba(30, 12, 80, .3);
}
.band .btn i { background: var(--acc); }

/* ── 内页横幅 ─────────────────────────────────────────────── */
.page-hero {
  padding: 52px 0 46px;
  background:
    radial-gradient(ellipse 58% 130% at 88% 10%, var(--pri-l) 0%, transparent 62%),
    var(--bg2);
  border-bottom: 1px solid var(--line);
}
.crumb { font-size: 13.5px; color: var(--ink3); margin-bottom: 14px; }
.crumb a { color: var(--ink3); }
.crumb a:hover { color: var(--pri); }
.page-hero h1 { font-size: 35px; }
.page-hero .lead { max-width: 46em; }

/* ── 正文排版 ─────────────────────────────────────────────── */
.article { max-width: 940px; }
.article h2 { font-size: 25px; margin: 44px 0 16px; letter-spacing: .3px; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 18.5px; margin: 26px 0 10px; }
.article p { margin-bottom: 16px; color: var(--ink2); font-size: 16px; line-height: 1.95; }
.article p strong { color: var(--ink); }
.article ul, .article ol { margin: 0 0 18px 0; }
.article li {
  position: relative; padding-left: 22px; margin-bottom: 11px;
  color: var(--ink2); font-size: 15.6px; line-height: 1.9;
}
.article li::before {
  content: ""; position: absolute; left: 4px; top: 13px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--pri);
}
.article ol { counter-reset: o; }
.article ol li { padding-left: 34px; }
.article ol li::before {
  counter-increment: o; content: counter(o);
  left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px;
  background: var(--pri-l); color: var(--pri-d);
  font-family: var(--num); font-size: 12.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.table { width: 100%; border-collapse: collapse; margin: 6px 0 20px; font-size: 15px; }
.table th, .table td {
  border: 1px solid var(--line); padding: 12px 14px; text-align: left;
  color: var(--ink2);
}
.table th { background: var(--pri-l); color: var(--pri-d); font-weight: 700; }
.table td b { color: var(--ink); }
.note {
  background: var(--pri-l); border-left: 4px solid var(--pri);
  border-radius: 0 14px 14px 0; padding: 18px 22px; margin: 22px 0;
  font-size: 15.4px; color: var(--pri-dd);
}
figure.shot { max-width: 380px; margin: 26px 0; }
figure.shot img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); }
figure.shot figcaption { margin-top: 12px; font-size: 14px; color: var(--ink3); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.link-in { font-weight: 700; border-bottom: 2px solid var(--sec); }

/* ── 页脚 ─────────────────────────────────────────────────── */
footer { background: var(--foot); color: var(--foot-tx); padding: 54px 0 30px; margin-top: 8px; }
.f-top { display: flex; flex-wrap: wrap; gap: 30px; align-items: flex-start; }
.f-brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.f-brand img { width: 42px; height: 42px; border-radius: 12px; }
.f-brand b { font-size: 19px; color: #fff; letter-spacing: .5px; }
.f-nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.f-nav a { color: var(--foot-tx); font-size: 14.5px; }
.f-nav a:hover { color: var(--sec); }
.f-desc {
  margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(201, 192, 228, .18);
  font-size: 14px; line-height: 1.9; color: #A79CC9;
}
.f-desc p + p { margin-top: 10px; }
.f-copy { margin-top: 20px; font-size: 13px; color: #8C81B4; }

/* ── 渐显（三层兜底，见流水线说明） ───────────────────────── */
.reveal { transition: opacity .6s ease, transform .6s 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; transform: none; }
  html { scroll-behavior: auto; }
}

/* ── 断点 ─────────────────────────────────────────────────── */
@media (max-width: 980px) {
  h1 { font-size: 34px; }
  .hero { padding: 44px 0 52px; }
  .hero-in { grid-template-columns: 1fr; gap: 38px; }
  .device { max-width: 420px; }
  .grid-3, .grid-4, .shots, .deeps, .steps, .reviews, .two-col {
    grid-template-columns: repeat(2, 1fr);
  }
  .menu a { padding: 6px 9px; font-size: 13px; }
  .band { padding: 36px 28px; }
  .band h2 { font-size: 23px; }
  .page-hero h1 { font-size: 29px; }
}

@media (max-width: 620px) {
  body { font-size: 15.4px; }
  .wrap { padding: 0 14px; }
  .nav-in { height: 60px; gap: 8px; }
  .brand { gap: 8px; }
  .brand img { width: 34px; height: 34px; border-radius: 9px; }
  .brand b { font-size: 15.5px; letter-spacing: .2px; }
  .menu { gap: 0; }
  .menu a { padding: 5px 7px; font-size: 12.5px; letter-spacing: -.2px; }
  .menu .nl { display: none; }
  .menu .ns { display: inline; }
  section { padding: 46px 0; }
  h1 { font-size: 27px; }
  .lead { font-size: 15.8px; }
  .sec-head h2 { font-size: 22.5px; }
  .grid-3, .grid-4, .shots, .deeps, .steps, .reviews, .two-col {
    grid-template-columns: 1fr;
  }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .trust { gap: 22px 26px; }
  .trust b { font-size: 23px; }
  .band { padding: 30px 22px; border-radius: 20px; }
  .band h2 { font-size: 21px; }
  .band .btn { width: 100%; }
  .page-hero { padding: 36px 0 32px; }
  .page-hero h1 { font-size: 24px; }
  .article h2 { font-size: 21px; margin-top: 34px; }
  .article p, .article li { font-size: 15.4px; }
  .table { font-size: 13.6px; }
  .table th, .table td { padding: 9px 10px; }
  figure.shot { max-width: 100%; }
  .f-nav { margin-left: 0; }
  details { padding: 0 16px; }
  summary { font-size: 15.4px; }
}
