/* ==========================================================================
   喵呜漫画专题站 · 共享样式
   配色：奶白底 + 珊瑚橙 / 暖黄 / 青蓝点缀；圆角 + 柔影，漫画纸质感
   ========================================================================== */

:root {
  --bg:           #FFFBF5;
  --bg-alt:       #FFF3EA;
  --bg-card:      #FFFFFF;
  --primary:      #FF8A66;
  --primary-dark: #FF6E47;
  --accent:       #FFC580;
  --accent-2:     #5AC8FA;
  --ink:          #4A2947;
  --ink-soft:     #7A5F76;
  --text:         #3A2738;
  --line:         #F1D8CE;
  --shadow-sm:    0 6px 14px -8px rgba(74, 41, 71, .18);
  --shadow-md:    0 16px 32px -18px rgba(255, 138, 102, .35);
  --shadow-lg:    0 22px 48px -22px rgba(74, 41, 71, .25);
  --radius:       16px;
  --radius-lg:    22px;
  --radius-pill:  999px;
  --maxw:         1140px;
  --gap:          20px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 .6em;
}

p { margin: 0 0 1em; }

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

/* ============== 顶部导航 ============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 245, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.brand .name { display: flex; flex-direction: column; line-height: 1.1; }
.brand .name b { color: var(--ink); font-size: 20px; letter-spacing: .5px; }
.brand .name small { color: var(--ink-soft); font-size: 11px; font-weight: 500; letter-spacing: 1px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  color: var(--ink-soft);
  font-size: 15px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-links a:hover, .nav-links a.is-active {
  color: var(--primary-dark);
  border-color: var(--primary);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform .15s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--primary-dark);
  box-shadow: none;
  border: 1.5px solid var(--primary);
  padding: 10px 18px;
}
.btn-ghost:hover { background: var(--primary); color: #fff; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px; height: 2px; background: var(--ink); position: relative; border-radius: 2px;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top:  7px; }

/* ============== Hero ============== */
.hero {
  background:
    radial-gradient(1200px 500px at 90% -10%, #FFE6D2 0%, transparent 60%),
    radial-gradient(800px 400px at -10% 30%, #E5F4FF 0%, transparent 55%),
    var(--bg);
  padding: 64px 0 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .9fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 138, 102, .12);
  color: var(--primary-dark);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.18;
  margin-bottom: 18px;
}
.hero h1 b {
  color: var(--primary-dark);
}
.hero p.lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 26px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-cta .meta {
  font-size: 13px;
  color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 6px;
}

.hero-meta-bar {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin-top: 30px;
  padding: 18px 22px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: 560px;
}
.hero-meta-bar .stat b {
  display: block;
  font-size: 22px;
  color: var(--ink);
}
.hero-meta-bar .stat span {
  font-size: 12px;
  color: var(--ink-soft);
}

.hero-visual {
  position: relative;
}
.hero-visual img {
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}
.hero-visual .deco {
  position: absolute;
  inset: auto -22px -22px auto;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(0);
  z-index: -1;
  opacity: .8;
}

/* ============== 通用 Section ============== */
.section {
  padding: 72px 0;
}
.section.alt { background: var(--bg-alt); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}
.section-head h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  margin-bottom: 10px;
}
.section-head p { color: var(--ink-soft); }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  border: 1px solid var(--line);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #FFE2D2, #FFD3BD);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-dark);
  margin-bottom: 14px;
}
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { font-size: 14px; color: var(--ink-soft); line-height: 1.65; margin: 0; }

/* 功能 6 卡 */
.features-grid { grid-template-columns: repeat(3, 1fr); }
.feature-card .icon { background: linear-gradient(135deg, #D8F0FF, #BFE6FF); color: #2176B9; }
.feature-card.f-2 .icon { background: linear-gradient(135deg, #FFE7D2, #FFD0A1); color: #B65A1F; }
.feature-card.f-3 .icon { background: linear-gradient(135deg, #E7E0FF, #D3C7FF); color: #6A4FC6; }
.feature-card.f-4 .icon { background: linear-gradient(135deg, #D6F4DD, #B7E6C4); color: #2F7E4B; }
.feature-card.f-5 .icon { background: linear-gradient(135deg, #FFE0E7, #FFC4D2); color: #C13C66; }
.feature-card.f-6 .icon { background: linear-gradient(135deg, #FFF3B8, #FFE38C); color: #8E6512; }

/* 截图 gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery figure {
  margin: 0;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 9/16;
  object-fit: cover;
}
.gallery figcaption {
  padding: 10px 14px 14px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* 信任数据 */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.trust .item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 22px 14px;
  border: 1px solid var(--line);
}
.trust .item b {
  display: block;
  font-size: 30px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trust .item span {
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: .5px;
}

/* 深度内容入口卡 */
.deep-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.deep-card {
  position: relative;
  display: block;
  padding: 26px 24px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #FFFFFF, #FFF1E7);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  transition: transform .2s, box-shadow .2s;
}
.deep-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); text-decoration: none; }
.deep-card .tag {
  font-size: 12px;
  color: var(--primary-dark);
  background: rgba(255, 138, 102, .15);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 12px;
}
.deep-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.deep-card p {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0 0 14px;
}
.deep-card .more {
  display: inline-flex;
  align-items: center; gap: 4px;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 14px;
}

/* 用户评价 */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.review {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.review .stars { color: #FFB347; letter-spacing: 2px; font-size: 16px; margin-bottom: 10px; }
.review p { color: var(--ink); font-size: 14.5px; line-height: 1.7; margin-bottom: 12px; }
.review .who { color: var(--ink-soft); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.review .who b { color: var(--ink); }

/* FAQ 速览（首页部分） */
.faq-quick summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--ink);
  position: relative;
}
.faq-quick summary::-webkit-details-marker { display: none; }
.faq-quick summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--primary-dark);
  transition: transform .15s;
}
.faq-quick details[open] summary::after { content: "−"; }
.faq-quick details { margin-bottom: 10px; }
.faq-quick details > p {
  padding: 12px 18px 6px;
  margin: 0;
  color: var(--ink-soft);
  background: #FFFCF8;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
}

/* 下载条 */
.download-strip {
  background: linear-gradient(135deg, #FFE3D2, #FFD8C1);
  padding: 50px 0;
}
.download-strip .container {
  display: flex; flex-wrap: wrap; gap: 22px;
  align-items: center; justify-content: space-between;
}
.download-strip h3 {
  margin: 0; font-size: 22px; color: var(--ink);
}
.download-strip p { margin: 4px 0 0; color: var(--ink-soft); font-size: 14px; }

/* ============== 内页样式 ============== */
.page-hero {
  background:
    radial-gradient(900px 360px at 90% 0%, #FFE6D2 0%, transparent 60%),
    var(--bg-alt);
  padding: 56px 0 36px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 12px;
}
.page-hero .breadcrumb {
  font-size: 13px;
  color: var(--ink-soft);
}
.page-hero .breadcrumb a { color: var(--ink-soft); }

.prose {
  background: var(--bg);
  padding: 56px 0 72px;
}
.prose-inner {
  max-width: 880px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.prose h2 {
  font-size: 22px;
  margin: 30px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}
.prose h3 { font-size: 17px; margin: 22px 0 8px; }
.prose p { color: var(--text); font-size: 15.5px; line-height: 1.85; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; font-size: 15.5px; color: var(--text); }
.prose blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 14.5px;
}
.prose .callout {
  margin: 18px 0;
  padding: 16px 18px;
  background: rgba(90, 200, 250, .1);
  border: 1px dashed #5AC8FA;
  border-radius: 12px;
  color: #1c5e88;
  font-size: 14.5px;
}
.prose .steps {
  counter-reset: step;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}
.prose .steps li {
  position: relative;
  padding: 16px 20px 16px 60px;
  background: #FFFCF8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  color: var(--text);
}
.prose .steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* FAQ 完整列表 */
.faq-list { counter-reset: faq; }
.faq-list details {
  margin-bottom: 12px;
  counter-increment: faq;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--ink);
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
  content: "Q" counter(faq);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  background: rgba(255, 138, 102, .14);
  color: var(--primary-dark);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  margin-right: 12px;
}
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--primary-dark);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > .answer {
  padding: 12px 22px 18px 64px;
  background: #FFFCF8;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
}
.faq-list details > .answer p { margin-bottom: 8px; }
.faq-list details > .answer b { color: var(--ink); }

/* ============== 底部 Footer ============== */
.footer {
  background: #2C1B2A;
  color: #D6C2D0;
  padding: 48px 0 30px;
}
.footer .container > * + * { margin-top: 20px; }
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer .brand-row { display: flex; align-items: center; gap: 14px; }
.footer .brand-row img {
  width: 44px; height: 44px; border-radius: 12px;
}
.footer .brand-row .brand-name { color: #fff; font-size: 18px; font-weight: 700; }
.footer .brand-row .brand-tag { color: #B79DB5; font-size: 12px; letter-spacing: .5px; }

.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-nav a { color: #D6C2D0; font-size: 14px; }
.footer-nav a:hover { color: #fff; text-decoration: none; }

.disclaimer {
  margin: 0;
  color: #B79DB5;
  font-size: 13px;
  line-height: 1.8;
}
.copyright {
  margin: 0;
  color: #997C9A;
  font-size: 12.5px;
}

/* ============== 动效 ============== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============== 响应式 ============== */
@media (max-width: 980px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 320px; margin: 0 auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .deep-links { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .nav-links {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 24px 20px;
    border-bottom: 1px solid var(--line);
    gap: 14px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-block; }
  .prose-inner { padding: 28px 24px; }
  .section { padding: 56px 0; }
}

@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .hero { padding: 36px 0 44px; }
  .hero h1 { font-size: 28px; }
  .cards { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery figcaption { padding: 8px 10px 12px; font-size: 12px; }
  .trust { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .download-strip .container { flex-direction: column; align-items: flex-start; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .nav { height: 56px; }
  .nav-links { top: 56px; }
}