@charset "utf-8";
/* ==========================================================================
   汗汗漫画 · hanhanmanga.com.cn
   配色档位：主色莓红 #D6336C / 辅色深青 #0E8F86 / 点缀明黄 #F5B324
   与 App 自身（白底 + 珊瑚红 #F96B53 / 正红 #CD273D）刻意分离。
   ========================================================================== */

@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/quicksand.woff2') format('woff2');
}

:root {
  --bg: #FBF6F9;
  --bg-2: #F7EEF3;
  --card: #FFFFFF;
  --berry: #D6336C;
  --berry-dp: #A61E50;
  --berry-dk: #6E0F33;
  --berry-lt: #FBE3EC;
  --teal: #0E8F86;
  --teal-dp: #0A6A63;
  --teal-lt: #DCF3F1;
  --sun: #F5B324;
  --sun-lt: #FEF3D9;
  --ink: #1E1420;
  --ink-2: #55464F;
  --muted: #8A7A83;
  --line: #EADFE6;
  --radius: 16px;
  --wrap: 1160px;
  --shadow-s: 0 2px 10px rgba(110, 15, 51, .06);
  --shadow-m: 0 10px 30px rgba(110, 15, 51, .10);
  --shadow-l: 0 20px 52px rgba(110, 15, 51, .16);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Quicksand', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.78;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dp); text-decoration: none; }
a:hover { color: var(--berry); }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Header ── */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 246, 249, .93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr__in { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 700; flex: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: var(--shadow-s); }
.brand__name { font-size: 20px; letter-spacing: .5px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a {
  display: block; padding: 8px 13px; border-radius: 10px;
  color: var(--ink-2); font-size: 15px; font-weight: 600;
}
.nav a:hover { background: var(--berry-lt); color: var(--berry-dp); }
.nav a.on { background: var(--berry); color: #fff; }

.burger {
  margin-left: auto; display: none; width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer;
  padding: 11px 10px; flex-direction: column; justify-content: space-between;
}
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 30px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1;
  background: linear-gradient(135deg, #F0639A, #D6336C 52%, #96184A);
  color: #fff; box-shadow: 0 10px 26px rgba(166, 30, 80, .30);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(166, 30, 80, .36); }
.btn--ghost {
  background: transparent; color: #fff; box-shadow: none;
  border: 1px solid rgba(255, 255, 255, .55);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; }
.btn--sm { padding: 11px 22px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ── Hero（本品牌首次深色 Hero） ── */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(155deg, #2B0A1C 0%, #451030 46%, #0D3B3A 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 420px at 82% 12%, rgba(214, 51, 108, .38), transparent 68%),
    radial-gradient(560px 400px at 6% 88%, rgba(14, 143, 134, .30), transparent 70%),
    radial-gradient(420px 300px at 96% 86%, rgba(245, 179, 36, .18), transparent 72%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 24px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 96%);
}
.hero__in {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 320px; align-items: center;
  gap: 46px; padding: 62px 0 66px;
}
.hero h1 { font-size: 50px; letter-spacing: -1px; color: #fff; }
.hero .lead {
  margin: 18px 0 24px; max-width: 620px;
  font-size: 17px; line-height: 1.85; color: #F0D7E2;
}
.hero .lead strong { color: #FFD9E6; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  padding: 7px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28);
  color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .3px;
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); flex: none; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; font-size: 14px; color: #CBB0BD; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 15px; height: 15px; color: #37C9B4; flex: none; }

.hero-visual { justify-content: flex-start; display: flex; }
.phone {
  width: 296px; margin: 0 auto; padding: 11px; border-radius: 38px;
  background: linear-gradient(160deg, #43102B, #1C0814);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.phone__screen { border-radius: 28px; overflow: hidden; background: #fff; }
.phone__screen img { width: 100%; height: auto; display: block; }

/* ── 数据信任条 ── */
.stats { background: var(--card); border-bottom: 1px solid var(--line); }
.stats__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 26px 0; }
.stat { text-align: center; padding: 6px 10px; }
.stat b {
  display: block; font-size: 30px; font-weight: 700; line-height: 1.2;
  color: var(--berry-dp); font-family: 'Quicksand', inherit;
  white-space: nowrap;
}
.stat b em { font-style: normal; font-size: 17px; margin-left: 2px; color: var(--berry); }
/* ⚠️ 必须用子选择器：`.stat span` 会连 <b> 里做计数动画的 <span> 一起命中，
   把它变成 display:block，于是「50」与「万+」被拆到两行。 */
.stat > span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); }

/* ── Sections ── */
.sec { padding: 66px 0; }
.sec--alt { background: var(--bg-2); }
.sec__head { max-width: 720px; margin-bottom: 34px; }
.sec__head--c { margin-left: auto; margin-right: auto; text-align: center; }
.sec h2 {
  position: relative; display: inline-block; padding-bottom: 12px;
  font-size: 30px; letter-spacing: -.4px;
}
.sec h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 54px; height: 4px;
  border-radius: 3px; background: linear-gradient(90deg, var(--berry), var(--teal));
}
.sec__head--c h2::after { left: 50%; transform: translateX(-50%); }
.sec__head p { margin: 14px 0 0; color: var(--ink-2); font-size: 15.5px; }

/* ── 功能卡 ── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-s);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: #E2D0DA; }
.card__ico {
  width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: var(--berry-lt); color: var(--berry-dp); margin-bottom: 15px;
}
.card__ico svg { width: 23px; height: 23px; }
.card:nth-child(3n+2) .card__ico { background: var(--teal-lt); color: var(--teal-dp); }
.card:nth-child(3n) .card__ico { background: var(--sun-lt); color: #9A6B00; }
.card h3 { font-size: 17.5px; margin-bottom: 8px; }
.card p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }

/* ── 预览图（渲染宽 180–220px 才叫「预览图」） ── */
.shots {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px; max-width: 760px; margin: 0 auto;
}
.shot { margin: 0; text-align: center; }
.shot__frame {
  max-width: 212px; margin: 0 auto 12px; border-radius: 18px;
  box-shadow: 0 0 0 1px var(--line), 0 10px 26px rgba(110, 15, 51, .12);
  overflow: hidden; background: #fff;
}
.shot__frame img { width: 100%; height: auto; display: block; }
.shot figcaption { max-width: 212px; margin: 0 auto; }
.shot figcaption b { display: block; font-size: 14.5px; color: var(--ink); }
.shot figcaption span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.65; }

/* ── 评价 ── */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.review {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-s); position: relative;
}
.review::before {
  content: "\201C"; position: absolute; top: 6px; right: 20px;
  font-size: 62px; line-height: 1; color: var(--berry-lt); font-family: Georgia, serif;
}
.review__stars { display: flex; gap: 3px; margin-bottom: 10px; color: var(--sun); }
.review__stars svg { width: 16px; height: 16px; }
.review p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.82; color: var(--ink-2); }
.review__who { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.review__who b { color: var(--ink); font-size: 14px; }
.review__av {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--berry-lt); color: var(--berry-dp); font-weight: 700; font-size: 14px;
}
.review:nth-child(2) .review__av { background: var(--teal-lt); color: var(--teal-dp); }
.review:nth-child(3) .review__av { background: var(--sun-lt); color: #9A6B00; }
.review:nth-child(4) .review__av { background: var(--berry-lt); color: var(--berry-dp); }

/* ── FAQ（details/summary） ── */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 13px;
  margin-bottom: 12px; box-shadow: var(--shadow-s); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 17px 52px 17px 20px;
  font-size: 15.5px; font-weight: 700; color: var(--ink); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 21px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--berry); border-bottom: 2px solid var(--berry);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details[open] summary { background: var(--berry-lt); }
.faq .ans { padding: 4px 22px 18px; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.faq .ans p:last-child { margin-bottom: 0; }
.faq__grp { margin: 34px 0 14px; font-size: 15px; font-weight: 700; color: var(--berry-dp); }
.faq__grp:first-of-type { margin-top: 0; }

/* ── 内页入口卡 ── */
.entries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.entry {
  display: block; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-s);
  transition: transform .2s ease, box-shadow .2s ease;
}
.entry:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.entry__no {
  display: inline-block; margin-bottom: 12px; padding: 3px 11px; border-radius: 999px;
  background: var(--teal-lt); color: var(--teal-dp); font-size: 12.5px; font-weight: 700;
}
.entry h3 { font-size: 16.5px; color: var(--ink); margin-bottom: 8px; }
.entry p { margin: 0; font-size: 14px; line-height: 1.78; color: var(--ink-2); }
.entry .more { display: block; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--berry); }

/* ── CTA 条 ── */
.cta {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(140deg, #3A0C24 0%, #58153C 48%, #0E4340 100%);
}
.cta::before {
  content: ""; position: absolute; inset: 0; opacity: .45; pointer-events: none;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 24px);
}
.cta__in { position: relative; z-index: 2; text-align: center; padding: 60px 22px 64px; }
.cta h2 { font-size: 29px; color: #fff; }
.cta h2::after { display: none; }
.cta p { margin: 14px auto 26px; max-width: 620px; color: #E9C9D8; font-size: 15.5px; }
.cta .btn { margin: 0 auto; }
.cta__sub { margin-top: 20px; font-size: 13.5px; color: #BFA0B0; }

/* ── 正文排版（内页） ── */
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { margin: 44px 0 14px; font-size: 25px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 10px; font-size: 18px; color: var(--berry-dp); }
.prose p { font-size: 15.5px; line-height: 1.92; color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ol, .prose ul { color: var(--ink-2); font-size: 15.5px; line-height: 1.9; }
.prose a { border-bottom: 1px solid var(--teal); }

.steps { counter-reset: st; list-style: none; padding: 0; margin: 22px 0 8px; }
.steps > li {
  position: relative; counter-increment: st;
  background: var(--card); border: 1px solid var(--line); border-radius: 13px;
  padding: 20px 22px 20px 68px; margin-bottom: 14px; box-shadow: var(--shadow-s);
  font-size: 15px; line-height: 1.85; color: var(--ink-2);
}
.steps > li::before {
  content: counter(st); position: absolute; left: 20px; top: 19px;
  width: 32px; height: 32px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--berry); color: #fff; font-weight: 700; font-size: 15px;
  font-family: 'Quicksand', inherit;
}
.steps > li b { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 4px; }

.figure { max-width: 228px; margin: 30px auto 8px; text-align: center; }
.figure .shot__frame { max-width: 228px; }
.figure figcaption { font-size: 13px; color: var(--muted); line-height: 1.68; }
.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 560px; margin: 26px auto 6px; }
.duo .figure { margin: 0; max-width: 100%; }
.duo .shot__frame { max-width: 228px; }

.note {
  background: var(--teal-lt); border-left: 4px solid var(--teal);
  border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 22px 0;
  font-size: 14.5px; line-height: 1.85; color: #14534E;
}
.note b { color: var(--teal-dp); }

.tablewrap { overflow-x: auto; margin: 22px 0; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14.5px; }
th, td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
th { background: var(--bg-2); color: var(--ink); font-weight: 700; }
td { color: var(--ink-2); }
tbody tr:nth-child(even) td { background: #FDFAFB; }

/* ── Footer ── */
.ftr { background: #1B0611; color: #C9A8B6; padding: 52px 0 30px; font-size: 14px; }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; }
.ftr__brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; color: #fff; font-weight: 700; font-size: 19px; }
.ftr__brand img { width: 38px; height: 38px; border-radius: 10px; }
.ftr h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.ftr a { color: #C9A8B6; }
.ftr a:hover { color: #fff; }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr li { margin-bottom: 9px; }
.ftr__about p { margin: 0; line-height: 1.85; font-size: 13.5px; color: #A98C9B; }
.ftr__disc {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid #35182A;
  font-size: 13px; line-height: 1.85; color: #96798A;
}
.ftr__cp { margin-top: 12px; font-size: 12.5px; color: #7E6272; }

/* ── 渐显（三层保险） ── */
.reveal { transition: opacity .5s ease, transform .5s 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; transform: none; transition: none; }
  .card:hover, .entry:hover, .btn:hover { transform: none; }
}

/* ── ≤980px ── */
@media (max-width: 980px) {
  .hero__in { grid-template-columns: 1fr; gap: 34px; padding: 46px 0 50px; }
  .hero h1 { font-size: 38px; }
  .hero-visual { justify-content: flex-start; margin-top: 6px; }
  .phone { margin: 0; width: 268px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .entries { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .shot__frame { max-width: 200px; }
  .shot figcaption { max-width: 200px; }
  .sec { padding: 54px 0; }
}

/* ── ≤620px ── */
@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .hdr__in { min-height: 62px; }
  .brand__name { font-size: 18px; }
  .burger { display: flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 14px 16px; box-shadow: var(--shadow-m); gap: 2px;
  }
  .nav.open { display: block; }
  .nav a { padding: 12px 14px; font-size: 15.5px; }
  .hero h1 { font-size: 30px; }
  .hero .lead { font-size: 15px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .phone { width: 232px; }
  .stats__in { grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 20px 0; }
  .stat b { font-size: 25px; }
  .sec { padding: 44px 0; }
  .sec h2 { font-size: 23px; }
  .sec__head { margin-bottom: 26px; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .entries { grid-template-columns: 1fr; gap: 14px; }
  .shots { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .shot__frame { max-width: 152px; }
  .shot figcaption { max-width: 152px; }
  .shot figcaption span { font-size: 11.5px; }
  .prose h2 { font-size: 21px; margin: 34px 0 12px; }
  .prose h3 { font-size: 16.5px; }
  .steps > li { padding: 17px 16px 17px 58px; }
  .steps > li::before { left: 16px; top: 16px; width: 28px; height: 28px; font-size: 14px; }
  .duo { grid-template-columns: 1fr; gap: 18px; }
  .cta h2 { font-size: 23px; }
  .ftr__grid { grid-template-columns: 1fr; gap: 24px; }
}
