@charset "UTF-8";
/* ============================================================
   bikamanga.cn  共享样式表
   品牌：哔咔漫画（安卓版漫画阅读应用）
   配色档位：本品牌第 7 档 —— 洋红紫主 + 孔雀青 CTA + 靛蓝辅助 + 蜜杏点缀
   ⚠️ 变量名沿用初版命名，取值已是第 7 档，不要按变量名反推颜色。
   ============================================================ */

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('../fonts/nunito.woff2') format('woff2');
}

:root {
  --mag: #B8328F;
  --mag-d: #8A1F6B;
  --mag-l: #F8E8F4;
  --teal: #1B7C93;
  --teal-d: #12556A;
  --teal-l: #E3F2F6;
  --indigo: #3B4E96;
  --amber: #F0B860;
  --amber-d: #DFA23F;
  --ink: #231A22;
  --ink2: #57505A;
  --muted: #8C8492;
  --line: #F2E7F0;
  --bg: #FBF7FB;
  --card: #FFFFFF;
  --foot: #0C2A33;
  --foot-tx: #C3D8DE;
  --cta: linear-gradient(135deg, #39A6C2, #1B7C93 54%, #12556A);
  --cta-h: linear-gradient(135deg, #4FB6D0, #2290AA 54%, #166378);
  --radius: 16px;
  --wrap: 1180px;
  --shadow: 0 10px 30px rgba(90, 40, 80, .10);
  --num: 'Nunito', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; }

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

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

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

a { color: var(--teal-d); text-decoration: none; }
a:hover { color: var(--mag); }

h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 .6em; }
h2 { font-size: 27px; letter-spacing: .2px; }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.35em; }
li { margin: .35em 0; }

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

/* 跳转正文链接：视觉隐藏但不越界（left:-9999px 会被 oob 探针判为越界） */
.skip {
  position: absolute; top: 0; left: 0; width: 1px; height: 1px;
  padding: 0; border: 0; overflow: hidden; white-space: nowrap;
  clip: rect(0 0 0 0); clip-path: inset(50%);
}
.skip:focus {
  width: auto; height: auto; padding: 10px 16px; clip: auto; clip-path: none;
  background: #fff; color: var(--mag-d); border-radius: 0 0 10px 0;
  box-shadow: var(--shadow); z-index: 99;
}

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.nav-in {
  display: flex; align-items: center; gap: 18px;
  min-height: 70px;
}
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 42px; height: 42px; border-radius: 11px; }
.brand b { font-size: 21px; color: var(--mag-d); letter-spacing: .5px; }
.brand span { display: block; font-size: 12px; color: var(--muted); letter-spacing: 1.5px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav-links a {
  padding: 8px 13px; border-radius: 10px; font-size: 15px; color: var(--ink2);
}
.nav-links a:hover { background: var(--mag-l); color: var(--mag-d); text-decoration: none; }
.nav-links a[aria-current="page"] { background: var(--mag-l); color: var(--mag-d); font-weight: 700; }
.nav .btn { flex: none; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 40px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; cursor: pointer; padding: 0;
}
.nav-toggle i { display: block; width: 20px; height: 2px; background: var(--mag-d); margin: 4px auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-size: 16px; font-weight: 700;
  background: var(--cta); color: #fff; border: 0; cursor: pointer;
  box-shadow: 0 8px 20px rgba(18, 85, 106, .24);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { background: var(--cta-h); color: #fff; transform: translateY(-2px); text-decoration: none; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn.ghost {
  background: #fff; color: var(--mag-d); box-shadow: none;
  border: 1px solid var(--line);
}
.btn.ghost:hover { background: var(--mag-l); color: var(--mag-d); }
.btn.lg { padding: 16px 34px; font-size: 17px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #FDF2FA, #F7EEFA 46%, #EAF6F9);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px 380px at 8% 12%, rgba(184, 50, 143, .20), transparent 68%),
    radial-gradient(480px 360px at 92% 20%, rgba(27, 124, 147, .20), transparent 68%),
    radial-gradient(560px 420px at 50% 108%, rgba(240, 184, 96, .26), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(184, 50, 143, .13) 1.5px, transparent 1.6px);
  background-size: 22px 22px;
}
.hero-in {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 46px;
  align-items: center; padding: 62px 0 68px;
}
.hero h1 { font-size: 46px; margin: 0 0 16px; color: var(--mag-d); letter-spacing: 1px; }
.hero-lead { font-size: 17px; color: var(--ink2); max-width: 33em; margin-bottom: 20px; }
.pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13px;
  background: #fff; border: 1px solid var(--line); color: var(--mag-d);
  margin-bottom: 16px; letter-spacing: .5px;
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-size: 14px; color: var(--ink2); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--mag); flex: none;
}
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.phone {
  position: relative; border-radius: 30px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(59, 78, 150, .16), 0 24px 48px rgba(120, 60, 100, .26);
}
.phone img { width: 100%; height: auto; }
.hero-art { position: relative; max-width: 340px; margin: 0 auto; }
.hero-chip {
  position: absolute; left: -18px; bottom: 76px; z-index: 3;
  background: #fff; border-radius: 14px; padding: 10px 15px;
  box-shadow: var(--shadow); font-size: 13px; color: var(--ink2); line-height: 1.5;
}
.hero-chip b { display: block; font-size: 17px; color: var(--mag-d); font-family: var(--num); }

/* ---------- 数据信任条 ---------- */
.stats {
  background: #fff; border-bottom: 1px solid var(--line);
}
.stats-in {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 30px 0;
  text-align: center;
}
.stat b {
  display: block; font-size: 32px; color: var(--mag); font-family: var(--num);
  line-height: 1.2; letter-spacing: .5px;
}
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- 区块通用 ---------- */
.sec { padding: 66px 0; }
.sec.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 780px; margin-bottom: 34px; }
.sec-head h2 { color: var(--mag-d); }
.sub { color: var(--ink2); font-size: 16px; margin: 0; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- 功能卡 ---------- */
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: 0 4px 14px rgba(120, 60, 100, .05);
}
.card h3 { color: var(--mag-d); margin-bottom: .5em; }
.card p { margin: 0; color: var(--ink2); font-size: 15px; }
.card .kicker {
  display: inline-block; font-size: 12px; letter-spacing: 1px; color: var(--teal-d);
  background: var(--teal-l); border-radius: 999px; padding: 3px 10px; margin-bottom: 12px;
}
.icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--mag-l);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.icon svg { width: 22px; height: 22px; }

/* ---------- 截图 ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.shot { text-align: center; }
.shot .phone { border-radius: 22px; }
.shot .phone img { width: 100%; height: auto; }
.shot figcaption { font-size: 14px; color: var(--ink2); margin-top: 12px; }
figure { margin: 0; }

/* ---------- 长文入口 ---------- */
.entry {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.entry a {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; color: inherit; box-shadow: 0 4px 14px rgba(120, 60, 100, .05);
  transition: transform .18s ease, box-shadow .18s ease;
}
.entry a:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; text-decoration: none; }
.entry h3 { color: var(--mag-d); }
.entry p { margin: 0 0 12px; color: var(--ink2); font-size: 15px; }
.more { color: var(--teal-d); font-weight: 700; font-size: 14px; }

/* ---------- 评价 ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--amber);
  border-radius: 14px; padding: 22px;
}
.quote p { color: var(--ink2); font-size: 15px; margin: 0 0 14px; }
.who { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.stars { color: var(--amber-d); letter-spacing: 2px; font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 4px 20px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--ink); padding: 14px 0;
  list-style: none; position: relative; padding-right: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 13px; color: var(--mag);
  font-size: 22px; font-family: var(--num);
}
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { color: var(--mag-d); }
.faq .ans { color: var(--ink2); font-size: 15px; padding-bottom: 14px; }
.faq .ans p:last-child { margin-bottom: 0; }
.qgroup { margin-top: 34px; }
.qgroup h2 { font-size: 22px; }
.qgroup:first-child { margin-top: 0; }

/* ---------- 正文排版（内页） ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #FDF2FA, #F6EFFA 46%, #EAF6F9);
  border-bottom: 1px solid var(--line);
  padding: 44px 0 48px;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .42;
  background-image: radial-gradient(rgba(184, 50, 143, .12) 1.5px, transparent 1.6px);
  background-size: 22px 22px;
}
.page-hero-in { position: relative; z-index: 2; max-width: 860px; }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.crumb a { color: var(--teal-d); }
.page-hero h1 { font-size: 36px; color: var(--mag-d); margin-bottom: 16px; }
.page-lead { font-size: 16px; color: var(--ink2); max-width: 46em; margin: 0; }
.prose { max-width: 900px; }
.prose h2 { color: var(--mag-d); margin-top: 2em; }
.prose h3 { margin-top: 1.7em; color: var(--ink); }
.prose > h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink2); }
.prose strong { color: var(--ink); }
.note {
  background: var(--teal-l); border-left: 4px solid var(--teal); border-radius: 12px;
  padding: 16px 20px; margin: 22px 0; font-size: 15px; color: var(--ink2);
}
.note b { color: var(--teal-d); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps > li {
  counter-increment: s; position: relative; padding: 0 0 0 56px; margin: 0 0 26px;
}
.steps > li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 12px; background: var(--mag-l);
  color: var(--mag-d); font-weight: 700; font-family: var(--num); font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.steps h3 { margin: 0 0 .4em; }
.tbl { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.tbl caption { text-align: left; color: var(--muted); font-size: 14px; padding-bottom: 8px; }
.tbl th, .tbl td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.tbl th { background: var(--mag-l); color: var(--mag-d); font-weight: 700; }
.tbl td { color: var(--ink2); background: #fff; }
.figure-inline { margin: 26px 0; max-width: 320px; }
.figure-inline .phone { border-radius: 22px; }
.figure-inline .phone img { width: 100%; height: auto; }
.figure-inline figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.links a {
  display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 14px; color: var(--teal-d);
}
.links a:hover { background: var(--teal-l); text-decoration: none; }

/* ---------- 底部下载条 ---------- */
.cta-band {
  background: linear-gradient(152deg, #7C2260, #B8328F 46%, #1B7C93);
  color: #fff; border-radius: 22px; padding: 42px 38px; text-align: center;
  margin: 0 0 10px;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, .88); max-width: 44em; margin: 0 auto 22px; }
.cta-band .btn {
  background: #fff; color: var(--mag-d); box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}
.cta-band .btn:hover { background: #FFF2FA; color: var(--mag-d); }

/* ---------- 页脚 ---------- */
.foot { background: var(--foot); color: var(--foot-tx); margin-top: 66px; padding: 48px 0 26px; }
.foot a { color: var(--foot-tx); }
.foot a:hover { color: #fff; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot h4 { color: #fff; font-size: 15px; letter-spacing: 1px; margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: .45em 0; font-size: 14px; }
.foot-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.foot-brand img { width: 38px; height: 38px; border-radius: 10px; }
.foot-brand b { color: #fff; font-size: 19px; }
.foot p { font-size: 14px; color: #9FBAC2; }
.foot-note {
  border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 34px; padding-top: 20px;
  font-size: 13px; color: #9FBAC2;
}
.disclaimer {
  background: rgba(255, 255, 255, .06); border-radius: 12px; padding: 14px 18px;
  font-size: 13px; color: #C9DCE2; margin-bottom: 14px;
}

/* ---------- 渐显 ---------- */
.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; transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; gap: 34px; padding: 46px 0 52px; }
  .hero h1 { font-size: 38px; }
  .hero-art { max-width: 292px; }
  .hero-chip { left: -8px; bottom: 52px; }
  .g3, .entry, .quotes { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .stats-in { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .page-hero h1 { font-size: 30px; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 70px;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 10px 22px 16px; margin: 0;
  }
  .nav.open .nav-links { display: flex; }
  .nav-toggle { display: block; }
  .nav .btn { display: none; }
  .nav.open .nav-links .btn { display: inline-flex; margin-top: 8px; align-self: flex-start; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 31px; }
  .hero p.sub, .hero-lead { font-size: 16px; }
  .hero-chip { display: none; }
  .sec { padding: 48px 0; }
  h2 { font-size: 23px; }
  .g3, .g2, .entry, .quotes { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stats-in { padding: 24px 0; }
  .stat b { font-size: 27px; }
  .page-hero { padding: 34px 0 36px; }
  .page-hero h1 { font-size: 25px; }
  .cta-band { padding: 32px 20px; border-radius: 18px; }
  .foot-top { grid-template-columns: 1fr; gap: 22px; }
  .tbl { font-size: 14px; }
  .tbl th, .tbl td { padding: 9px 10px; }
  .steps > li { padding-left: 48px; }
  .steps > li::before { width: 34px; height: 34px; font-size: 16px; }
}
