/* ============================================================
   禁漫天堂 (jmcomic31.cn) · 深色 Indigo-Cyan Pro 主题
   ============================================================ */
:root {
  --bg: #0c0e1a;
  --surface: #151830;
  --surface-2: #1e2242;
  --line: rgba(255,255,255,.08);
  --txt: #eef0ff;
  --muted: #9aa0c4;
  --blue: #4f7cff;
  --cyan: #22d3ee;
  --grad: linear-gradient(120deg, var(--blue), var(--cyan));
  --radius: 18px;
  --shadow: 0 10px 30px rgba(79,124,255,.25);
  --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(--txt); line-height: 1.7; overflow-x: hidden; }
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: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(79,124,255,.45); }
.btn-ghost { background: transparent; color: var(--txt); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-light { background: #fff; color: var(--blue); }
.btn-lg { padding: 15px 34px; font-size: 16px; }

/* 导航 */
.nav { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(14px); background: rgba(12,14,26,.8); 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(--cyan); font-weight: 700; 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(--cyan); }
.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(--txt); border-radius: 2px; }

/* Hero */
.hero { background: radial-gradient(900px 500px at 80% -10%, rgba(79,124,255,.22), 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(--cyan); background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.3); 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: var(--grad); -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(0,0,0,.55); border: 1px solid var(--line); }

/* 滚动条 */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.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(--blue); 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: var(--grad); -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(--surface); }
.eyebrow { color: var(--cyan); 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: var(--grad); -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; }
.section-alt .card { background: var(--bg); }
.card-lg { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; }
.card:hover { transform: translateY(-5px); border-color: var(--blue); }
.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(--bg); 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: var(--grad); 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(0,0,0,.45); 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(--bg); 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(--cyan); 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: var(--grad); 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: #07080f; padding: 36px 0; }
.foot-inner { text-align: center; color: var(--muted); font-size: 14px; }
.foot-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; color: var(--txt); 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: var(--grad); color: #fff; padding: 14px 26px; border-radius: 999px; font-weight: 700; box-shadow: 0 12px 30px rgba(79,124,255,.45); 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: var(--bg); 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; }
}
