/* ============================================================
   哔咔漫画1 (bikamanhua1.cn) · 米白暖珊瑚主题
   ============================================================ */
:root {
  --brand: #f0512e;
  --brand-deep: #d63a18;
  --brand-soft: #fdeae2;
  --coral: #fb923c;
  --ink: #2b1a14;
  --muted: #8a6f66;
  --line: #f3e2da;
  --bg: #fffaf6;
  --surface: #ffffff;
  --alt: #fdf1ea;
  --dark: #2b1a14;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(240,81,46,.18);
  --maxw: 1180px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; background: var(--bg); color: var(--ink); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; border: none; cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .15s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--coral)); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(240,81,46,.38); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand-deep); }
.btn-lg { padding: 15px 34px; font-size: 16px; }

/* 导航 */
.nav { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(14px); background: rgba(255,250,246,.92); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand-logo { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.brand-text em { font-style: normal; color: var(--muted); font-weight: 500; margin-left: 6px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-size: 15px; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--brand); }
.nav-download { padding: 9px 20px; font-size: 14px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Hero */
.hero { background: radial-gradient(900px 400px at 80% -10%, var(--brand-soft), transparent 60%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; padding: 70px 24px 50px; }
.badge { display: inline-block; font-size: 13px; color: var(--brand); background: #fff; border: 1px solid var(--line); padding: 5px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: 50px; line-height: 1.12; font-weight: 900; letter-spacing: -1px; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--brand), var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 460px; }
.hero-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { margin-top: 22px; display: flex; gap: 20px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; }
.phone { width: 300px; }
.phone img { border-radius: 28px; box-shadow: 0 30px 70px rgba(43,26,20,.22); border: 1px solid var(--line); }

/* 滚动条 */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; background: #fff; }
.marquee-track { display: flex; gap: 26px; white-space: nowrap; width: max-content; animation: scroll 22s linear infinite; }
.marquee-track span { color: var(--muted); font-size: 14px; }
.marquee-track i { color: var(--brand); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* 数据 */
.stats { padding: 40px 0 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-align: center; padding: 26px 10px; }
.stat b { display: block; font-size: 26px; background: linear-gradient(120deg, var(--brand), var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 13px; }

/* Section */
.section { padding: 80px 0; }
.section-alt { background: var(--alt); }
.eyebrow { color: var(--brand); font-weight: 700; letter-spacing: 2px; font-size: 13px; margin-bottom: 12px; }
.sec-title { font-size: 32px; font-weight: 900; margin-bottom: 30px; }
.sec-title em { font-style: normal; background: linear-gradient(120deg, var(--brand), var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.card-lg { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; }
.card:hover { transform: translateY(-5px); border-color: var(--brand); box-shadow: var(--shadow); }
.fi { font-size: 26px; margin-bottom: 12px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* 步骤 */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step b { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--coral)); color: #fff; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 14px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* 预览 */
.preview-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.pv { margin: 0; }
.pv img { width: 100%; border-radius: 16px; box-shadow: 0 18px 40px rgba(43,26,20,.14); transition: transform .2s; }
.pv:hover img { transform: translateY(-6px); }
.pv figcaption { text-align: center; margin-top: 12px; color: var(--muted); font-size: 14px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; padding: 18px 30px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--brand); font-size: 22px; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { padding: 0 0 18px; color: var(--muted); }

/* CTA */
.cta { text-align: center; padding: 80px 0; background: linear-gradient(135deg, var(--brand) 0%, var(--coral) 100%); color: #fff; }
.cta h2 { font-size: 32px; font-weight: 900; }
.cta h2 em { font-style: normal; }
.cta p { margin: 12px 0 28px; opacity: .92; }

/* 页脚 */
.footer { background: var(--dark); padding: 36px 0; }
.foot-inner { text-align: center; color: #b89a8e; font-size: 14px; }
.foot-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; color: #fff; font-weight: 600; }
.copy { margin-top: 10px; font-size: 12.5px; opacity: .7; }

/* 悬浮下载 */
.float-download { position: fixed; right: 18px; bottom: 22px; z-index: 99; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff; padding: 14px 26px; border-radius: 999px; font-weight: 700; box-shadow: 0 12px 30px rgba(240,81,46,.4); display: none; }

/* 响应式 */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 48px 24px 30px; }
  .hero h1 { font-size: 36px; }
  .phone { width: 240px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .25s; }
  .nav-links.open { max-height: 300px; }
  .nav-links a { padding: 14px 24px; border-top: 1px solid var(--line); }
  .burger { display: flex; }
  .nav-download { display: none; }
  .bento, .preview-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .sec-title { font-size: 26px; }
  .float-download { display: inline-flex; }
}
