@charset "utf-8";
/* ============================================================
   樱花漫画 · yinghuacomic.com.cn
   配色档位：第 4 档（雾雪青白底 + 樱绯主色 + 黛蓝辅色 + 青瓷点缀）
   渲染语言：大圆角 + 卡内顶部渐变条 + 分层柔和投影
   ============================================================ */

@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/baloo2-600-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/baloo2-700-latin.woff2") format("woff2");
}

:root {
  --bg: #F3F2F9;
  --panel: #FFFFFF;
  --line: #E6E3F0;
  --line2: #F0EEF8;
  --rose: #D9435F;
  --rose-d: #A32B44;
  --rose-l: #FBE3E8;
  --indigo: #2B3A72;
  --indigo-d: #1D2A57;
  --indigo-l: #E7EAF8;
  --indigo-ll: #F1F3FC;
  --mint: #3DBFA4;
  --mint-l: #DFF5EF;
  --star: #F0A93B;
  --ink: #1B1A2B;
  --ink2: #4A4863;
  --ink3: #85829E;
  --ft: #151A2E;
  --ftx: #C6C3DC;
  --r: 18px;
  --sh: 0 1px 2px rgba(27, 26, 43, .04), 0 18px 34px -18px rgba(43, 58, 114, .20);
  --sh-hi: 0 2px 4px rgba(27, 26, 43, .05), 0 26px 44px -20px rgba(43, 58, 114, .28);
  --cn: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", -apple-system, "Segoe UI", sans-serif;
  --font: "Baloo 2", var(--cn);
  --en: "Baloo 2", Georgia, serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--panel);
  color: var(--ink);
  font: 16px/1.75 var(--cn);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-d); text-decoration: none; }
a:hover { color: var(--rose); }
h1, h2, h3 { margin: 0; line-height: 1.32; font-weight: 700; }
p { margin: 0; }
figure, blockquote, figcaption { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

.wrap { width: min(1180px, calc(100% - 44px)); margin-inline: auto; }
.en { font-family: var(--en); }

/* ── 入场动效：纯 CSS，与滚动位置无关 ── */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.rise { animation: rise .55s cubic-bezier(.2, .7, .3, 1) both; }
.rise.d1 { animation-delay: .08s; }
.rise.d2 { animation-delay: .16s; }
.rise.d3 { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; opacity: 1; transform: none; }
}

/* ── 顶部导航 ── */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top.in { box-shadow: 0 10px 26px -18px rgba(43, 58, 114, .45); }
.top__row { display: flex; align-items: center; gap: 18px; min-height: 72px; }

.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
.brand b { font-size: 21px; letter-spacing: .5px; color: var(--ink); }
.brand span { display: block; font-size: 11px; color: var(--ink3); letter-spacing: 2px; }

.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a {
  padding: 8px 14px; border-radius: 999px; color: var(--ink2);
  font-size: 15px; white-space: nowrap;
}
.nav a:hover { background: var(--indigo-l); color: var(--indigo-d); }
.nav a.on { background: var(--rose-l); color: var(--rose-d); font-weight: 700; }

.top__btn { margin-left: 6px; }
.burger {
  display: none; margin-left: auto; width: 44px; height: 40px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
  color: var(--ink2); cursor: pointer;
}

/* ── 按钮 ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 12px; font-weight: 700; font-size: 16px;
  border: 1px solid transparent; transition: transform .18s, box-shadow .18s, background .18s;
}
.btn--rose {
  background: var(--rose); color: #fff;
  box-shadow: 0 12px 24px -12px rgba(217, 67, 95, .7);
}
.btn--rose:hover { background: var(--rose-d); color: #fff; transform: translateY(-2px); }
.btn--ghost {
  background: var(--panel); color: var(--indigo-d); border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--indigo); color: var(--indigo-d); transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: 15px; }

/* ── Hero（浅色：雾雪青白 + 柔焦极光色带）── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(100deg, #FFFFFF 0%, #FBF2F6 34%, #F1F3FC 72%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: 0; border-radius: 46%;
  filter: blur(58px); opacity: .5;
}
.hero::before {
  width: 560px; height: 320px; top: -130px; left: -80px;
  background: rgba(217, 67, 95, .40); transform: rotate(-17deg);
}
.hero::after {
  width: 600px; height: 340px; bottom: -190px; right: -90px;
  background: rgba(61, 191, 164, .34); transform: rotate(13deg);
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.12fr .88fr; gap: 46px;
  align-items: center; padding: 62px 0 66px;
}
.hero h1 {
  font-size: 44px; letter-spacing: -.5px;
  color: var(--ink); margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--rose); }
.hero__lead { font-size: 17px; color: var(--ink2); max-width: 620px; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero__tags li {
  font-size: 13.5px; color: var(--indigo-d); background: var(--indigo-l);
  padding: 6px 14px; border-radius: 999px;
}
.hero__art { position: relative; justify-self: center; }
.hero__phone {
  width: min(240px, 100%); margin: 0 auto; padding: 8px;
  background: var(--panel); border-radius: 26px;
  box-shadow: 0 2px 3px rgba(27, 26, 43, .06), 0 30px 60px -26px rgba(43, 58, 114, .48);
  border: 1px solid var(--line);
}
.hero__phone img { width: 100%; height: auto; border-radius: 19px; }
.hero__badge {
  position: absolute; left: -34px; bottom: 30px; width: 190px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--sh); padding: 14px 16px;
}
.hero__badge b { font-family: var(--en); font-size: 26px; color: var(--rose); }
.hero__badge span { display: block; font-size: 12.5px; color: var(--ink3); margin-top: 2px; }

/* ── 事实条 ── */
.facts { background: var(--indigo-d); color: #fff; }
.facts__row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0;
}
.facts__row div { text-align: center; }
.facts__row b { display: block; font-size: 19px; font-weight: 700; }
.facts__row span { font-size: 13px; color: #A9B1D8; }

/* ── 区块（全宽交替带状）── */
.band { padding: 72px 0; }
.band--bg { background: var(--bg); }
.band--ind { background: var(--indigo-ll); }
.band--rose { background: linear-gradient(180deg, #FFF8F9, #FDF1F4); }

.sec-head { max-width: 760px; margin-bottom: 34px; }
.sec-head p { color: var(--ink2); font-size: 16.5px; margin-top: 12px; }

h2 {
  font-size: 29px; color: var(--ink); display: flex; align-items: center; gap: 11px;
}
h2::before {
  content: ""; flex: 0 0 auto; width: 15px; height: 15px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23D9435F'%3E%3Cellipse cx='12' cy='6.4' rx='3.9' ry='6.2'/%3E%3Cellipse cx='12' cy='17.6' rx='3.9' ry='6.2'/%3E%3Cellipse cx='6.4' cy='12' rx='6.2' ry='3.9'/%3E%3Cellipse cx='17.6' cy='12' rx='6.2' ry='3.9'/%3E%3C/g%3E%3Ccircle cx='12' cy='12' r='2.3' fill='%23F0A93B'/%3E%3C/svg%3E");
}
h3 { font-size: 19px; color: var(--indigo-d); }

/* ── 功能卡（顶部渐变条 + 分层柔和投影）── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; overflow: hidden; padding: 28px 26px 26px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--rose), var(--indigo));
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-hi); border-color: var(--indigo-l); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink2); font-size: 15.5px; }
.card__tag {
  display: inline-block; margin-top: 16px; font-size: 12.5px; color: var(--rose-d);
  background: var(--rose-l); border-radius: 999px; padding: 4px 12px;
}

/* ── 软件预览 ── */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.shot .ph {
  width: min(236px, 100%); margin: 0 auto; padding: 7px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 22px; box-shadow: var(--sh);
}
.shot .ph img { width: 100%; height: auto; border-radius: 16px; }
.shot figcaption { margin-top: 13px; text-align: center; }
.shot figcaption b { display: block; font-size: 16px; color: var(--ink); }
.shot figcaption span { font-size: 13.5px; color: var(--ink3); }

/* ── 图文交错（左文右图 / 左图右文）── */
.zig { display: grid; grid-template-columns: 1.06fr .94fr; gap: 42px; align-items: center; }
.zig > div > p { color: var(--ink2); font-size: 16.5px; }
.zig > div > p + p { margin-top: 14px; }
.zig__art { justify-self: center; }
.frame {
  width: min(236px, 100%); padding: 7px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--sh);
}
.frame img { width: 100%; height: auto; border-radius: 16px; }
.fig-cap { text-align: center; font-size: 13.5px; color: var(--ink3); margin-top: 11px; }

/* ── 列表 / 步骤 ── */
.steps { counter-reset: st; display: grid; gap: 16px; }
.steps li {
  position: relative; padding: 18px 22px 18px 62px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  color: var(--ink2); font-size: 15.5px;
}
.steps li::before {
  counter-increment: st; content: counter(st, decimal-leading-zero);
  position: absolute; left: 20px; top: 17px;
  font-family: var(--en); font-size: 17px; font-weight: 700; color: var(--rose);
}
.steps li b { color: var(--ink); }

.plain li { position: relative; padding-left: 20px; color: var(--ink2); font-size: 16px; }
.plain li + li { margin-top: 10px; }
.plain li::before {
  content: ""; position: absolute; left: 2px; top: 11px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--mint);
}
.plain li b { color: var(--ink); }

/* ── 深度内容入口 ── */
.entries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.entry {
  display: block; padding: 24px 22px; border-radius: var(--r);
  background: var(--panel); border: 1px solid var(--line); box-shadow: var(--sh);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.entry:hover { transform: translateY(-3px); box-shadow: var(--sh-hi); border-color: var(--rose-l); }
.entry b { display: block; font-size: 17.5px; color: var(--ink); margin-bottom: 8px; }
.entry span { font-size: 14.5px; color: var(--ink2); display: block; }
.entry i {
  display: inline-block; margin-top: 14px; font-style: normal;
  font-size: 13.5px; color: var(--rose-d);
}

/* ── 评价 ── */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  padding: 26px 24px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--sh);
}
.review .stars { color: var(--star); font-family: var(--en); font-size: 16px; letter-spacing: 2px; }
.review p { margin-top: 12px; color: var(--ink2); font-size: 15.5px; }
.review footer { margin-top: 16px; font-size: 13.5px; color: var(--ink3); }

/* ── FAQ（details）── */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 2px 20px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 17px 26px 17px 0; position: relative;
  font-weight: 700; color: var(--ink); font-size: 16.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 2px; top: 14px;
  font-family: var(--en); font-size: 22px; color: var(--rose); font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq .ans { padding: 0 0 18px; color: var(--ink2); font-size: 15.5px; }
.faq .ans p + p { margin-top: 10px; }

/* ── 内页横幅（无主视觉图）── */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(102deg, #FFFFFF 0%, #FBF1F5 42%, #F1F3FC 100%);
  border-bottom: 1px solid var(--line); padding: 50px 0 46px;
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -120px;
  width: 420px; height: 300px; border-radius: 46%;
  background: rgba(217, 67, 95, .22); filter: blur(54px); transform: rotate(-16deg);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: 34px; margin-bottom: 16px; }
.page-hero p { max-width: 780px; color: var(--ink2); font-size: 17px; }
.crumb { font-size: 13.5px; color: var(--ink3); margin-bottom: 14px; }
.crumb a { color: var(--ink3); }
.crumb a:hover { color: var(--rose); }

/* ── 正文排版 ── */
.prose { max-width: 880px; }
.prose h2 { margin: 44px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 10px; }
.prose p { color: var(--ink2); font-size: 16.5px; margin-bottom: 14px; }
.prose p b, .prose li b { color: var(--ink); }
.prose .plain { margin: 6px 0 18px; }
.prose .steps { margin: 8px 0 20px; }
.note {
  margin: 22px 0; padding: 18px 22px; border-radius: 14px;
  background: var(--mint-l); border: 1px solid #C6EADD; color: #1F6B58; font-size: 15.5px;
}
.note b { color: #14513F; }
.tblwrap { overflow-x: auto; margin: 18px 0 8px; }
.tbl-cap { font-size: 14.5px; color: var(--ink3); margin-bottom: 8px; }
.tbl-note { font-size: 13.5px; color: var(--ink3); margin-top: 8px; }
table { border-collapse: collapse; min-width: 540px; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--indigo-ll); color: var(--indigo-d); font-weight: 700; }
td { color: var(--ink2); }
td b { color: var(--ink); }

.also { margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line); }
.also h2 { margin-top: 0; }
.also__row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.also__row a {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--panel); color: var(--indigo-d); font-size: 15px;
}
.also__row a:hover { border-color: var(--rose); color: var(--rose-d); }

/* ── CTA 条（左端斜切）── */
.cta { position: relative; overflow: hidden; background: var(--indigo-d); color: #fff; }
.cta__slash {
  position: absolute; top: -30%; left: -6%; width: 42%; height: 160%;
  background: linear-gradient(180deg, var(--rose), var(--rose-d));
  transform: skewX(-15deg); opacity: .92;
}
.cta__dot {
  position: absolute; right: 12%; bottom: -60px; width: 200px; height: 200px;
  border-radius: 50%; background: rgba(61, 191, 164, .22);
}
.cta .wrap {
  position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 22px;
  align-items: center; justify-content: space-between; padding: 52px 0;
}
.cta h2 { color: #fff; }
.cta h2::before { filter: brightness(0) invert(1); }
.cta p { color: #C4CAE6; font-size: 15.5px; margin-top: 10px; max-width: 560px; }
.cta__go {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--rose); color: #fff; font-weight: 700; font-size: 17px;
  padding: 15px 34px; clip-path: polygon(17px 0, 100% 0, 100% 100%, 0 100%);
}
.cta__go:hover { background: #E8546F; color: #fff; }
.cta__meta { margin-top: 12px; font-size: 13.5px; color: #9AA3CC; }

/* ── 页脚 ── */
.ft { background: var(--ft); color: var(--ftx); padding: 54px 0 26px; }
.ft__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.ft h3 {
  color: #fff; font-size: 15px; letter-spacing: .6px; margin-bottom: 14px;
  font-weight: 700;
}
.ft p, .ft li { font-size: 14.5px; color: var(--ftx); }
.ft li + li { margin-top: 9px; }
.ft a { color: #E7E4F4; }
.ft a:hover { color: #fff; }
.ft__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ft__brand img { width: 40px; height: 40px; border-radius: 11px; }
.ft__brand b { color: #fff; font-size: 19px; }
.ft__dis {
  margin-top: 38px; padding: 16px 20px; border-radius: 12px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.5px; color: #B4AECB;
}
.ft__bar {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: 13.5px; color: #9C97B4;
}

/* ── 响应式 ── */
@media (max-width: 980px) {
  .nav {
    position: absolute; left: 0; right: 0; top: 72px; display: none;
    flex-direction: column; gap: 2px; padding: 14px 22px 20px;
    background: var(--panel); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 14px; }
  .burger { display: block; }
  .top__btn { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 34px; padding: 44px 0 54px; }
  .hero h1 { font-size: 33px; }
  .hero__badge { left: auto; right: 0; bottom: 16px; width: 168px; }
  .facts__row { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .entries { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .zig { grid-template-columns: 1fr; gap: 26px; }
  .zig__art { order: -1; }
  .ft__grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .page-hero h1 { font-size: 28px; }
  .band { padding: 54px 0; }
}

@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .hero h1 { font-size: 27px; }
  .hero__lead { font-size: 16px; }
  .hero__badge { position: static; width: 100%; margin-top: 16px; }
  h2 { font-size: 22px; }
  .cards, .entries, .steps { grid-template-columns: minmax(0, 1fr); }
  .cards, .entries { display: grid; }
  .entries { grid-template-columns: minmax(0, 1fr); }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .facts__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact, .card, .entry, .review { min-width: 0; }
  .band { padding: 44px 0; }
  .cta .wrap { padding: 40px 0; }
  .cta__slash { width: 60%; opacity: .7; }
  .ft__grid { grid-template-columns: minmax(0, 1fr); }
  .prose p, .zig > div > p { font-size: 16px; }
  .tblwrap { max-width: 100%; min-width: 0; }
}
