/* ========== 基础重置 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --red: #d32f2f;
  --red-dark: #b71c1c;
  --red-light: #ef9a9a;
  --red-soft: #ffebee;
  --yellow: #ffd600;
  --dark: #1a1a1a;
  --bg: #fafafa;
  --bg-alt: #f5f5f5;
  --text: #1a1a1a;
  --text-light: #666;
  --white: #fff;
  --shadow: 0 12px 32px rgba(0,0,0,.12);
  --radius: 16px;
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }

/* ========== 按钮 ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 8px;
  font-weight: 700; font-size: 15px; cursor: pointer;
  border: none; transition: all .25s ease; white-space: nowrap;
}
.btn-red {
  background: var(--red); color: #fff;
  box-shadow: 0 6px 18px rgba(211,47,47,.35);
}
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-outline-white {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); }
.btn-yellow {
  background: var(--yellow); color: var(--dark);
  box-shadow: 0 6px 18px rgba(255,214,0,.35);
}
.btn-yellow:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 32px; font-size: 16px; }

/* ========== 导航栏 ========== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(26,26,26,.92); backdrop-filter: blur(12px);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.3); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 36px; height: 36px; border-radius: 8px; }
.brand-name { font-size: 22px; font-weight: 900; color: #fff; }
.brand-name em { font-style: normal; color: var(--red-light); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 14px; color: #ccc; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--yellow); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s; }

/* ========== Hero ========== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--dark); color: #fff; overflow: hidden;
  padding: 90px 0 60px;
}
.hero-manga {
  position: absolute; top: 0; right: 0; bottom: 0; width: 45%;
  opacity: .25; z-index: 0;
}
.hero-manga-img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--dark) 30%, rgba(26,26,26,.6) 70%, rgba(26,26,26,.3));
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; width: 100%; }
.hero-text { max-width: 600px; }
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 4px;
  background: var(--red); color: #fff;
  font-size: 13px; font-weight: 700; margin-bottom: 22px;
}
.hero-text h1 { font-size: 64px; line-height: 1.05; font-weight: 900; letter-spacing: -2px; }
.hero-text h1 .stroke {
  color: transparent;
  -webkit-text-stroke: 2px var(--yellow);
}
.hero-desc { margin: 24px 0 32px; font-size: 17px; color: #ccc; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta { list-style: none; display: flex; gap: 32px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta li { font-size: 14px; color: #999; }
.hero-meta strong { display: block; font-size: 26px; font-weight: 900; color: #fff; }

/* ========== 数据条 ========== */
.stats { background: var(--red); color: #fff; padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { display: block; font-size: 34px; font-weight: 900; }
.stat-label { font-size: 14px; opacity: .9; }

/* ========== 通用 Section ========== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-tag {
  display: inline-block; font-size: 12px; letter-spacing: 4px; font-weight: 800;
  color: var(--red); margin-bottom: 12px;
}
.section-head h2 { font-size: 36px; font-weight: 900; margin-bottom: 14px; }
.section-head p { color: var(--text-light); font-size: 16px; }

/* ========== 特色卡片 ========== */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
  background: #fff; padding: 32px 24px; border-radius: var(--radius);
  border-bottom: 4px solid var(--red);
  box-shadow: 0 2px 12px rgba(0,0,0,.05); transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 12px; font-size: 28px;
  background: var(--red-soft); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-light); }

/* ========== 界面预览 ========== */
.screens-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.screen-shot {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.12); background: #fff;
  transition: transform .3s;
}
.screen-shot:hover { transform: translateY(-6px); }
.screen-shot img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.screen-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 14px 12px; text-align: center;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  color: #fff; font-size: 14px; font-weight: 600;
}

/* ========== 分类 ========== */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  background: #fff; padding: 26px; border-radius: var(--radius);
  border-left: 4px solid var(--c, var(--red));
  box-shadow: 0 2px 12px rgba(0,0,0,.05); transition: transform .25s;
}
.cat-card:hover { transform: translateY(-4px); }
.cat-card span { font-size: 30px; }
.cat-card h3 { margin: 8px 0 6px; font-size: 18px; }
.cat-card p { font-size: 14px; color: var(--text-light); }

/* ========== 下载 CTA ========== */
.download-band {
  background: var(--dark); padding: 80px 0;
}
.download-inner { display: flex; justify-content: center; }
.download-card { text-align: center; color: #fff; max-width: 560px; }
.download-icon { width: 90px; height: 90px; border-radius: 20px; margin: 0 auto 22px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.download-card h2 { font-size: 36px; margin-bottom: 14px; }
.download-card p { opacity: .8; margin-bottom: 26px; font-size: 16px; }
.download-tip { display: block; margin-top: 16px; font-size: 13px; opacity: .6; }

/* ========== FAQ ========== */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 24px; font-size: 16px; font-weight: 700; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; color: var(--text);
}
.faq-arrow { transition: transform .3s; font-size: 22px; color: var(--red); }
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 20px; color: var(--text-light); font-size: 15px; }

/* ========== 页脚 ========== */
.footer { background: #111; color: #888; padding: 50px 0 0; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-logo { width: 46px; height: 46px; border-radius: 10px; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; max-width: 280px; }
.footer-links { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.footer-links a { font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { text-align: center; padding: 20px 0; font-size: 13px; opacity: .7; }

/* ========== 回到顶部 ========== */
.back-top {
  position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px;
  border-radius: 8px; border: none; cursor: pointer; font-size: 20px;
  background: var(--red); color: #fff;
  box-shadow: 0 6px 18px rgba(211,47,47,.4);
  opacity: 0; pointer-events: none; transition: .3s; z-index: 99;
}
.back-top.show { opacity: 1; pointer-events: auto; }

/* ========== 响应式 ========== */
@media (max-width: 900px) {
  .hero-text h1 { font-size: 44px; }
  .hero-manga { width: 100%; opacity: .15; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .screens-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--dark); flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .nav-links a { padding: 16px 24px; border-top: 1px solid #333; }
  .nav-links.open { max-height: 400px; }
  .nav-toggle { display: flex; }
  .nav-download { display: none; }
}
@media (max-width: 560px) {
  .hero-text h1 { font-size: 34px; }
  .features-grid, .cat-grid { grid-template-columns: 1fr; }
  .screens-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 28px; }
  .download-card h2 { font-size: 26px; }
}
