@charset "utf-8";
/* ==========================================================================
   bikaapp.cn — 哔咔漫画 专题站 共享样式
   配色：天蓝主色 + 珊瑚粉 CTA + 暖黄点缀（漫画阅读类清新活泼调性）
   ========================================================================== */

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('../fonts/nunito.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --sky: #2e9be6;
  --sky-dp: #1467a8;
  --sky-soft: #e7f4fe;
  --navy: #0b1f33;
  --navy-2: #0e2a44;
  --coral: #ff7d9c;
  --peach: #ffb07c;
  --sun: #ffc94a;
  --bg: #f3f9ff;
  --card: #ffffff;
  --line: #ddebf7;
  --ink: #0d2a44;
  --text: #17324d;
  --muted: #64809a;
  --cta: linear-gradient(135deg, #ff9a8b 0%, #ff7d9c 48%, #f0567e 100%);
  --grad-hero: linear-gradient(155deg, #0b1f33 0%, #10416b 46%, #1277b4 100%);
  --r-s: 12px;
  --r-m: 18px;
  --r-l: 26px;
  --shadow: 0 10px 30px rgba(20, 103, 168, .10);
  --shadow-l: 0 24px 60px rgba(11, 31, 51, .18);
  --maxw: 1180px;
}

* { box-sizing: border-box; }

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-dp); text-decoration: none; }
a:hover { color: var(--coral); }
ul, ol { padding-left: 1.15em; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── 顶部导航 ─────────────────────────────────────────── */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-in {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 74px;
  padding: 10px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img {
  width: 44px; height: 44px; border-radius: 12px;
  box-shadow: 0 6px 16px rgba(20, 103, 168, .26);
}
.brand b { font-size: 20px; color: var(--ink); letter-spacing: .5px; }
.brand small { display: block; font-size: 12px; color: var(--muted); letter-spacing: 1.4px; }
.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 9px 14px; border-radius: 999px;
  font-size: 15px; color: var(--text); white-space: nowrap;
}
.nav a:hover { background: var(--sky-soft); color: var(--sky-dp); }
.nav a.on { background: var(--sky); color: #fff; }
.head-cta { flex: 0 0 auto; }

/* ── 按钮 ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border-radius: 999px; font-weight: 700;
  padding: 12px 26px; font-size: 15px; border: 0; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-dl { background: var(--cta); color: #fff; box-shadow: 0 10px 24px rgba(240, 86, 126, .34); }
.btn-dl:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(240, 86, 126, .42); }
.btn-ghost {
  background: rgba(255, 255, 255, .12); color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55);
}
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .22); }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-line { background: #fff; color: var(--sky-dp); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { color: var(--sky-dp); box-shadow: inset 0 0 0 1.5px var(--sky); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* ── Hero（首页）───────────────────────────────────────── */
.hero { position: relative; background: var(--grad-hero); color: #fff; overflow: hidden; }
.hero::before,
.hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before {
  width: 520px; height: 520px; right: -140px; top: -160px;
  background: radial-gradient(circle, rgba(255, 125, 156, .38), rgba(255, 125, 156, 0) 66%);
}
.hero::after {
  width: 460px; height: 460px; left: -160px; bottom: -180px;
  background: radial-gradient(circle, rgba(46, 155, 230, .42), rgba(46, 155, 230, 0) 68%);
}
.hero-in {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 44px; align-items: center;
  padding: 62px 0 74px;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .34);
  color: #eaf6ff; border-radius: 999px; padding: 6px 16px;
  font-size: 13px; letter-spacing: .4px; margin-bottom: 18px;
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.hero h1 {
  font-size: 46px; color: #fff; letter-spacing: 1px;
  margin: 0 0 16px; line-height: 1.24;
}
.hero-lead {
  font-size: 17px; color: #d3e8f8; margin: 0 0 26px; max-width: 34em;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  font-size: 14px; color: #b9d7ee; margin: 0; padding: 0; list-style: none;
}
.hero-meta li { display: flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 16px; height: 16px; color: #7fd0ff; flex: 0 0 auto; }

.phone {
  position: relative; width: 100%; max-width: 320px; margin: 0 auto;
  padding: 12px; border-radius: 42px;
  background: linear-gradient(160deg, #1b3f60, #0a1c2e);
  box-shadow: var(--shadow-l), inset 0 0 0 1.5px rgba(255, 255, 255, .16);
}
.phone::after {
  content: ""; position: absolute; left: 50%; top: 20px;
  width: 88px; height: 10px; margin-left: -44px;
  border-radius: 999px; background: rgba(255, 255, 255, .18);
}
.phone img { width: 100%; height: auto; border-radius: 32px; }

/* ── 数据信任条 ────────────────────────────────────────── */
.stats { margin-top: -40px; position: relative; z-index: 5; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m);
  padding: 22px 20px; text-align: center; box-shadow: var(--shadow);
}
.stat b { display: block; font-size: 30px; color: var(--sky-dp); line-height: 1.2; }
.stat span { font-size: 14px; color: var(--muted); }

/* ── 通用区块 ─────────────────────────────────────────── */
.sec { padding: 66px 0; }
.sec-head { max-width: 780px; margin: 0 auto 38px; text-align: center; }
.sec-head h2 { font-size: 31px; letter-spacing: .4px; }
.sec-head p { margin: 12px 0 0; color: var(--muted); font-size: 16px; }
.sec-alt { background: #fff; }

/* ── 功能卡片 ─────────────────────────────────────────── */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 28px 26px; box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.card-ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--sky-soft); color: var(--sky-dp); margin-bottom: 16px;
}
.card-ico svg { width: 26px; height: 26px; }
.card-ico.p2 { background: #fff0f4; color: #e2557d; }
.card-ico.p3 { background: #fff6e4; color: #c98600; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card a.more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; }

/* ── 截图 gallery ─────────────────────────────────────── */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.shot {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m);
  padding: 12px; box-shadow: var(--shadow);
}
.shot img {
  width: 100%; height: auto; border-radius: 14px;
  box-shadow: 0 0 0 1px var(--line);
}
.shot figcaption { margin: 12px 4px 4px; font-size: 14px; color: var(--muted); text-align: center; }
.shot figcaption b { display: block; color: var(--ink); font-size: 15px; }

/* ── 内页入口卡 ───────────────────────────────────────── */
.entries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.entry {
  display: block; position: relative; overflow: hidden;
  border-radius: var(--r-l); padding: 30px 26px 28px;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow); color: var(--text);
}
.entry::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 5px;
  background: var(--sky);
}
.entry:nth-child(2)::before { background: var(--coral); }
.entry:nth-child(3)::before { background: var(--sun); }
.entry:hover { transform: translateY(-4px); color: var(--text); }
.entry em { font-style: normal; font-size: 13px; letter-spacing: 1px; color: var(--sky-dp); }
.entry h3 { font-size: 20px; margin: 8px 0 10px; }
.entry p { margin: 0; color: var(--muted); font-size: 15px; }
.entry span.go { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--coral); }

/* ── 评价 ─────────────────────────────────────────────── */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-l); padding: 26px; box-shadow: var(--shadow);
}
.stars { display: flex; gap: 3px; margin-bottom: 12px; }
.stars svg { width: 16px; height: 16px; color: var(--sun); }
.stars svg.off { color: #dbe7f3; }
.review p { margin: 0 0 16px; font-size: 15px; color: var(--text); }
.who { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.who b {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sky-soft); color: var(--sky-dp); font-size: 14px;
}

/* ── FAQ（details）───────────────────────────────────── */
.faq { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-m); padding: 0 22px; box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 30px 18px 0;
  font-weight: 700; color: var(--ink); font-size: 16px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 2px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--sky); border-bottom: 2px solid var(--sky);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

/* ── CTA 条 ───────────────────────────────────────────── */
.cta-band {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(140deg, #10416b, #1277b4 58%, #2e9be6);
  border-radius: var(--r-l); padding: 46px 40px; text-align: center;
  box-shadow: 0 24px 56px rgba(11, 31, 51, .22);
}
.cta-band::before {
  content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 125, 156, .4), rgba(255, 125, 156, 0) 66%);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: 28px; margin-bottom: 10px; }
.cta-band p { color: #cfe6f8; margin: 0 0 24px; font-size: 16px; }

/* ── 内页 hero ────────────────────────────────────────── */
.page-hero { position: relative; background: var(--grad-hero); color: #fff; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; width: 460px; height: 460px; right: -150px; top: -170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 176, 124, .34), rgba(255, 176, 124, 0) 66%);
}
.page-hero .wrap { position: relative; z-index: 2; padding-top: 30px; padding-bottom: 52px; }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #a9cbe6; margin: 0 0 20px; padding: 0; list-style: none; }
.crumb a { color: #cfe6f8; }
.crumb a:hover { color: #fff; }
.crumb li::after { content: "/"; margin-left: 8px; color: #6d94b4; }
.crumb li:last-child::after { content: ""; }
.page-hero h1 { font-size: 36px; color: #fff; margin: 0 0 16px; }
.page-lead { font-size: 16.5px; color: #d3e8f8; max-width: 46em; margin: 0; }

/* ── 正文排版 ─────────────────────────────────────────── */
.article { padding: 56px 0 20px; }
.article-in { max-width: 880px; margin: 0 auto; }
.article h2 {
  font-size: 25px; margin: 46px 0 16px; padding-left: 16px;
  border-left: 5px solid var(--sky); line-height: 1.4;
}
.article h2:first-of-type { margin-top: 0; }
.article h3 { font-size: 19px; margin: 28px 0 10px; }
.article p { margin: 0 0 16px; }
.article ul, .article ol { margin: 0 0 18px; color: var(--text); }
.article li { margin-bottom: 9px; }
.article .sub { color: var(--muted); font-size: 15px; margin: -6px 0 18px; }

.steps { list-style: none; padding: 0; margin: 0 0 20px; counter-reset: s; }
.steps li {
  position: relative; padding: 18px 22px 18px 66px; margin-bottom: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m);
  box-shadow: var(--shadow); counter-increment: s;
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 20px; top: 18px;
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: var(--sky-soft); color: var(--sky-dp); font-weight: 800; font-size: 14px;
}
.steps li b { display: block; color: var(--ink); margin-bottom: 4px; }
.steps li span { color: var(--muted); font-size: 15px; }

.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 26px 28px; box-shadow: var(--shadow); margin: 0 0 22px;
}
.panel h3 { margin-top: 0; }
.panel p:last-child, .panel ul:last-child { margin-bottom: 0; }

.tbl { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 15px; }
.tbl th, .tbl td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.tbl th { background: var(--sky-soft); color: var(--sky-dp); font-weight: 700; }
.tbl td { background: #fff; }

.shots-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 8px 0 26px; }

.related {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 26px 28px; box-shadow: var(--shadow); margin: 40px 0 0;
}
.related h2 { border: 0; padding: 0; font-size: 21px; margin: 0 0 14px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.related li a { font-weight: 700; }
.related li span { display: block; color: var(--muted); font-size: 14px; }

/* ── 页脚 ─────────────────────────────────────────────── */
.site-foot { background: var(--navy); color: #9fbcd4; margin-top: 66px; padding: 46px 0 26px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-foot .brand b { color: #fff; }
.site-foot .brand small { color: #7fa2c0; }
.site-foot h4 { color: #fff; font-size: 16px; margin: 0 0 14px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 9px; font-size: 14.5px; }
.site-foot a { color: #9fbcd4; }
.site-foot a:hover { color: #fff; }
.disc {
  margin: 34px 0 0; padding: 16px 20px; border-radius: var(--r-s);
  background: rgba(255, 255, 255, .06); color: #b8d2e6; font-size: 14px; line-height: 1.7;
}
.copy {
  margin: 18px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13.5px; color: #7fa2c0; display: flex; flex-wrap: wrap; gap: 8px 20px;
}

/* ── 渐显（三层保险见 main.js）─────────────────────────── */
.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) {
  .reveal, .js .reveal, .js .reveal.is-in { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ── 断点 1：≤980px ───────────────────────────────────── */
@media (max-width: 980px) {
  .head-in { flex-wrap: wrap; padding: 10px 18px; }
  .nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .nav ul { gap: 2px; padding-bottom: 4px; }
  .nav a { padding: 8px 12px; font-size: 14px; }
  .head-cta { margin-left: auto; }
  .wrap { padding: 0 18px; }
  .hero-in { grid-template-columns: 1fr; gap: 34px; padding: 44px 0 60px; text-align: center; }
  .hero h1 { font-size: 34px; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-btns, .hero-meta { justify-content: center; }
  .pill { margin-left: auto; margin-right: auto; }
  .stats { margin-top: -30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .feat, .entries, .reviews { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .sec { padding: 52px 0; }
  .sec-head h2 { font-size: 26px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .page-hero h1 { font-size: 29px; }
}

/* ── 断点 2：≤620px ───────────────────────────────────── */
@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .head-in { min-height: 64px; gap: 12px; }
  .brand img { width: 38px; height: 38px; border-radius: 10px; }
  .brand b { font-size: 17px; }
  .brand small { display: none; }
  .head-cta .btn { padding: 9px 18px; font-size: 14px; }
  .hero-in { padding: 34px 0 48px; gap: 28px; }
  .hero h1 { font-size: 27px; letter-spacing: .5px; }
  .hero-lead { font-size: 15.5px; }
  .hero-btns .btn { flex: 1 1 100%; }
  .hero-meta { gap: 8px 18px; font-size: 13px; }
  .phone { max-width: 260px; padding: 9px; border-radius: 32px; }
  .phone img { border-radius: 24px; }
  .stats { margin-top: -24px; }
  .stats-grid { gap: 12px; }
  .stat { padding: 16px 12px; }
  .stat b { font-size: 24px; }
  .stat span { font-size: 13px; }
  .sec { padding: 44px 0; }
  .sec-head { margin-bottom: 26px; }
  .sec-head h2 { font-size: 23px; }
  .sec-head p { font-size: 15px; }
  .feat, .entries, .reviews, .shots, .shots-2 { grid-template-columns: 1fr; }
  .card, .entry, .review { padding: 22px 20px; }
  .cta-band { padding: 34px 22px; }
  .cta-band h2 { font-size: 22px; }
  .cta-band .btn { width: 100%; }
  .page-hero .wrap { padding-top: 22px; padding-bottom: 38px; }
  .page-hero h1 { font-size: 23px; }
  .page-lead { font-size: 15px; }
  .article { padding: 36px 0 10px; }
  .article h2 { font-size: 21px; margin: 34px 0 14px; padding-left: 12px; border-left-width: 4px; }
  .article h3 { font-size: 17px; }
  .steps li { padding: 16px 18px 16px 56px; }
  .steps li::before { left: 16px; top: 16px; width: 28px; height: 28px; font-size: 13px; }
  .panel, .related { padding: 20px 18px; }
  .tbl { font-size: 14px; }
  .tbl th, .tbl td { padding: 10px 10px; }
  .site-foot { margin-top: 46px; padding: 34px 0 22px; }
  .foot-top { grid-template-columns: 1fr; gap: 24px; }
  .disc { font-size: 13px; }
}
