@charset "UTF-8";
/* ==========================================================================
   樱花漫画 · yinghuacomic.net
   第 3 档配色：丁香紫主 + 晴空蓝辅 + 樱花粉点缀 + 暖米白底
   渲染语言：大圆角 + 主色半透明硬偏移影 + 1px 暖线
   ========================================================================== */

:root {
  --bg: #FEFAF7;
  --bg-2: #F8F1EA;
  --bg-3: #FBF6F1;
  --panel: #FFFFFF;
  --line: #EFE2D9;

  --lilac: #8B7BD8;
  --lilac-dp: #6B57B8;
  --lilac-dk: #453180;
  --lilac-lt: #EFEBFB;

  --sky: #4FA3E0;
  --sky-dp: #2C7CB5;
  --sky-lt: #E6F2FC;

  --sakura: #F0A0BE;
  --sakura-lt: #FDEDF4;

  --star: #EFA13C;

  --ink: #2B2733;
  --ink-2: #5F586E;
  --muted: #948CA5;

  --foot: #221C38;
  --foot-tx: #C9C2DD;

  --shade: 9px 9px 0 rgba(139, 123, 216, .15);
  --shade-sm: 6px 6px 0 rgba(139, 123, 216, .13);
  --radius: 20px;
  --radius-sm: 13px;
  --wrap: 1140px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.78;
}

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

a { color: var(--sky-dp); text-decoration: none; }
a:hover { color: var(--lilac-dp); }

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

p { margin: 0 0 14px; }

ul, ol { margin: 0 0 14px; padding-left: 20px; }
li { margin-bottom: 6px; }

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

/* ---------- 入场动效：纯 CSS，与滚动位置无关（闸门必读到终态）---------- */
@keyframes pop {
  from { opacity: 0; transform: translateY(12px) scale(.986); }
  to   { opacity: 1; transform: none; }
}
.pop { animation: pop .5s cubic-bezier(.2, .7, .3, 1) both; }
.pop.d1 { animation-delay: .07s; }
.pop.d2 { animation-delay: .14s; }
.pop.d3 { animation-delay: .21s; }
@media (prefers-reduced-motion: reduce) {
  .pop { animation: none; opacity: 1; transform: none; }
}

/* ---------- 顶栏 ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(254, 250, 247, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(6px);
}
.nav-in { display: flex; align-items: center; gap: 16px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand b { font-size: 18px; letter-spacing: .5px; color: var(--lilac-dk); }
.nav-menu { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav-menu a {
  display: block; padding: 7px 13px; border-radius: 999px;
  color: var(--ink-2); font-size: 15px;
}
.nav-menu a:hover { background: var(--lilac-lt); color: var(--lilac-dk); }
.nav-menu a.on { background: var(--lilac-lt); color: var(--lilac-dk); font-weight: 700; }
.nav-cta { flex: none; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 22px 11px 24px;
  border-radius: 999px;
  background: var(--panel);
  border: 2px solid var(--lilac-dp);
  color: var(--lilac-dk);
  font-size: 15px; font-weight: 700;
  box-shadow: var(--shade-sm);
  transition: transform .16s ease, background .16s ease, color .16s ease;
}
.btn::after {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--lilac);
  box-shadow: 0 0 0 4px rgba(139, 123, 216, .18);
}
.btn:hover {
  background: var(--lilac-dp); color: #fff;
  transform: translate(3px, 3px); box-shadow: 2px 2px 0 rgba(139, 123, 216, .18);
}
.btn:hover::after { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .28); }
.btn.big { padding: 14px 28px 14px 30px; font-size: 17px; }
.nav-cta .btn { padding: 8px 16px 8px 18px; font-size: 14px; box-shadow: none; }

/* ---------- Hero（首页，居中单栏）---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(520px 320px at 12% 6%, rgba(139, 123, 216, .20), transparent 62%),
    radial-gradient(460px 300px at 88% 20%, rgba(79, 163, 224, .19), transparent 64%),
    radial-gradient(420px 280px at 62% 96%, rgba(240, 160, 190, .22), transparent 66%),
    linear-gradient(158deg, #FFF6F0, #F4F0FF 46%, #EAF4FF);
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(60deg, rgba(139, 123, 216, .075) 0 1px, transparent 1px 13px),
    repeating-linear-gradient(-60deg, rgba(79, 163, 224, .06) 0 1px, transparent 1px 13px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .18));
}
.hero-in { position: relative; z-index: 2; padding: 62px 0 66px; text-align: center; }
.hero h1 {
  font-size: 42px; letter-spacing: 1px; color: var(--lilac-dk);
  max-width: 760px; margin: 0 auto 16px;
}
.hero-lead {
  max-width: 720px; margin: 0 auto 24px;
  color: var(--ink-2); font-size: 17px;
}
.hero-facts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  list-style: none; padding: 0; margin: 0 0 26px;
}
.hero-facts li {
  margin: 0; padding: 6px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); border: 1px solid #fff;
  color: var(--lilac-dk); font-size: 14px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 42px; }
.hero-visual {
  max-width: 340px; margin: 0 auto;
  border-radius: 26px; overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shade), 0 1px 0 rgba(255, 255, 255, .9) inset;
}
.hero-visual img { width: 100%; height: auto; }

/* ---------- 内页横幅（无主视觉图）---------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(420px 240px at 84% 10%, rgba(79, 163, 224, .18), transparent 62%),
    radial-gradient(360px 220px at 10% 88%, rgba(240, 160, 190, .20), transparent 64%),
    linear-gradient(148deg, #FBF3FF, #F2F5FF 52%, #FFF4F8);
  border-bottom: 1px solid var(--line);
}
.page-hero-in { position: relative; z-index: 2; padding: 46px 0 44px; max-width: 830px; }
.page-hero h1 { font-size: 32px; color: var(--lilac-dk); margin-bottom: 12px; }
.page-hero .lead-p { color: var(--ink-2); font-size: 16.5px; margin: 0; }
.crumb { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--lilac-dp); }

/* ---------- 通用区块 ---------- */
.sec { padding: 58px 0; }
.sec.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-h { margin-bottom: 26px; }
.sec-h h2 {
  display: flex; align-items: center; gap: 12px;
  font-size: 25px; color: var(--lilac-dk);
}
.sec-h h2::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 7px;
  background: linear-gradient(140deg, var(--lilac), var(--sky));
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, .92);
}
.sec-sub { color: var(--ink-2); margin: 8px 0 0; font-size: 15.5px; }

/* ---------- 错位双列卡片盒 ---------- */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.grid2 > .col { display: flex; flex-direction: column; gap: 26px; }
.grid2 > .col.shift { transform: translateY(30px); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shade-sm);
}
.card h3 { font-size: 18px; margin-bottom: 8px; color: var(--lilac-dk); }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.card .tag {
  display: inline-block; margin-bottom: 10px; padding: 3px 11px;
  border-radius: 999px; background: var(--sky-lt); color: var(--sky-dp);
  font-size: 13px; font-weight: 700;
}
.card.pink .tag { background: var(--sakura-lt); color: #C0688C; }

/* ---------- 图集 ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shots .col { display: flex; flex-direction: column; gap: 22px; }
.shots .col.shift { transform: translateY(34px); }
figure.shot {
  margin: 0; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 12px 0; box-shadow: var(--shade-sm);
}
figure.shot img { width: 100%; height: auto; border-radius: 12px; }
figure.shot figcaption {
  padding: 11px 4px 13px; color: var(--ink-2); font-size: 14px;
}

/* ---------- 步骤 ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: st; }
.steps li {
  position: relative; counter-increment: st;
  padding: 4px 0 18px 52px; margin: 0;
  border-left: 2px dashed #E4D9F5;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(st, decimal-leading-zero);
  position: absolute; left: -19px; top: 0;
  width: 36px; height: 36px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--lilac), var(--sky));
  color: #fff; font-size: 13px; font-weight: 700;
}
.steps b { display: block; margin-bottom: 3px; color: var(--lilac-dk); }
.steps span { color: var(--ink-2); font-size: 15.5px; }

/* ---------- 入口卡 ---------- */
.entries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.entry {
  display: block; padding: 22px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
  box-shadow: var(--shade-sm);
  transition: transform .16s ease;
}
.entry:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 rgba(139, 123, 216, .16); }
.entry i { display: block; font-style: normal; font-size: 13px; font-weight: 700; color: var(--sakura); margin-bottom: 6px; }
.entry b { display: block; font-size: 17px; color: var(--lilac-dk); margin-bottom: 6px; }
.entry span { color: var(--ink-2); font-size: 15px; }

/* ---------- 数据条 ---------- */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: -34px; position: relative; z-index: 3;
}
.facts div {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shade-sm);
}
.facts b { display: block; font-size: 22px; color: var(--lilac-dp); letter-spacing: .5px; }
.facts span { color: var(--muted); font-size: 13.5px; }

/* ---------- 评价 ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.quote {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shade-sm);
}
.quote p { margin: 0 0 12px; color: var(--ink-2); font-size: 15.5px; }
.quote footer { color: var(--muted); font-size: 13.5px; }
.quote .st { color: var(--star); letter-spacing: 2px; }

/* ---------- FAQ ---------- */
details.faq {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 4px 18px; margin-bottom: 12px;
  box-shadow: var(--shade-sm);
}
details.faq summary {
  cursor: pointer; padding: 12px 0; font-weight: 700;
  color: var(--lilac-dk); list-style: none; position: relative; padding-right: 26px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 2px; top: 11px;
  color: var(--sky); font-weight: 700; font-size: 19px;
}
details.faq[open] summary::after { content: "–"; }
details.faq .ans { padding: 0 0 14px; color: var(--ink-2); font-size: 15.5px; }
details.faq .ans p { margin: 0 0 10px; }
details.faq .ans p:last-child { margin-bottom: 0; }

/* ---------- 正文长文 ---------- */
.prose { max-width: 880px; }
.prose h2 { font-size: 23px; color: var(--lilac-dk); margin: 34px 0 12px; display: flex; align-items: center; gap: 12px; }
.prose h2::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 7px;
  background: linear-gradient(140deg, var(--lilac), var(--sky));
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, .92);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17.5px; margin: 22px 0 8px; color: var(--lilac-dp); }
.prose p { color: var(--ink-2); }
.prose .kbd {
  display: inline-block; padding: 1px 8px; border-radius: 6px;
  background: var(--lilac-lt); color: var(--lilac-dk); font-size: 14px;
}
.note {
  border-left: 4px solid var(--sakura);
  background: var(--sakura-lt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px; color: var(--ink-2); font-size: 15.5px;
}
.tbl-wrap { overflow-x: auto; margin: 18px 0; }
table.cmp { border-collapse: collapse; min-width: 540px; width: 100%; background: var(--panel); }
table.cmp th, table.cmp td { border: 1px solid var(--line); padding: 10px 13px; font-size: 15px; text-align: left; }
table.cmp th { background: var(--lilac-lt); color: var(--lilac-dk); }
table.cmp td { color: var(--ink-2); }
.tbl-cap { color: var(--muted); font-size: 13.5px; margin: 18px 0 6px; }

/* ---------- CTA ---------- */
.cta { padding: 54px 0; background: linear-gradient(150deg, #F7F1FF, #EFF6FF 55%, #FFF3F8); border-top: 1px solid var(--line); }
.cta-in { text-align: center; }
.cta h2 { font-size: 24px; color: var(--lilac-dk); justify-content: center; }
.cta h2::before { display: none; }
.cta p { color: var(--ink-2); max-width: 640px; margin: 10px auto 22px; }
.cta small { display: block; margin-top: 14px; color: var(--muted); font-size: 13.5px; }

/* ---------- 页脚 ---------- */
.foot { background: var(--foot); color: var(--foot-tx); padding: 44px 0 26px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot h3 { color: #fff; font-size: 17px; margin-bottom: 12px; }
.foot p { color: var(--foot-tx); font-size: 14.5px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 7px; }
.foot a { color: #E6DEFA; font-size: 14.5px; }
.foot a:hover { color: #fff; }
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.foot-brand img { width: 34px; height: 34px; border-radius: 9px; }
.foot-brand b { color: #fff; font-size: 17px; letter-spacing: .5px; }
.disc { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 30px; padding-top: 18px; }
.disc p { color: #AFA6C8; font-size: 13.5px; margin: 0 0 6px; }
.copy { color: #8E86A8; font-size: 13px; margin: 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero h1 { font-size: 33px; }
  .page-hero h1 { font-size: 27px; }
  .sec { padding: 46px 0; }
  .grid2, .grid3, .shots, .quotes, .entries { grid-template-columns: 1fr; }
  .grid2 > .col.shift, .shots .col.shift { transform: none; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .nav-in { height: auto; padding: 10px 0; flex-wrap: wrap; }
  .nav-menu { margin-left: 0; width: 100%; order: 3; }
  .nav-cta { margin-left: auto; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .hero-in { padding: 40px 0 44px; }
  .hero h1 { font-size: 26px; }
  .hero-lead { font-size: 15.5px; }
  .page-hero-in { padding: 32px 0 30px; }
  .page-hero h1 { font-size: 23px; }
  .sec { padding: 36px 0; }
  .sec-h h2, .prose h2 { font-size: 20px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: -22px; }
  .facts b { font-size: 18px; }
  .foot-top { grid-template-columns: 1fr; }
  .btn { padding: 10px 18px 10px 20px; font-size: 15px; }
  .btn.big { padding: 12px 22px 12px 24px; font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .steps li { padding-left: 44px; }
}
