/* ============================================================
   五一漫画 (wuyimanhua.net.cn) · 松绿 + 暖金主题
   ============================================================ */
:root {
  --brand: #0f8a6f;
  --brand-deep: #0b6b57;
  --brand-soft: #e3f4ef;
  --gold: #d99a2b;
  --ink: #1e2a26;
  --muted: #63736d;
  --line: #e4eee9;
  --bg: #fbfdfc;
  --surface: #ffffff;
  --alt: #f0f7f4;
  --dark: #12312a;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15,138,111,.16);
  --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(--brand-deep)); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(15,138,111,.35); }
.btn-line { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-line: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(251,253,252,.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 85% -10%, var(--brand-soft), transparent 60%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; padding: 64px 24px; }
.eyebrow { color: var(--brand); font-weight: 700; letter-spacing: 1px; font-size: 14px; margin-bottom: 14px; }
.hero h1 { font-size: 46px; line-height: 1.18; font-weight: 900; letter-spacing: -.5px; }
.grad { background: linear-gradient(120deg, var(--brand), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 480px; }
.hero-cta { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { margin-top: 22px; list-style: none; display: flex; gap: 22px; color: var(--muted); font-size: 14px; }
.hero-meta li::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: 6px; }
.hero-visual { display: flex; justify-content: center; }
.hero-img { max-height: 540px; border-radius: 22px; box-shadow: 0 30px 60px rgba(18,49,42,.2); }

/* Section */
.section { padding: 80px 0; }
.section-alt { background: var(--alt); }
.section-tag { 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(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 功能 */
.grid-3 { display: grid; gap: 18px; }
.feat-grid { grid-template-columns: repeat(3,1fr); }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.feat:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: var(--shadow); }
.fi { font-size: 26px; margin-bottom: 12px; }
.feat h3 { font-size: 18px; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 14.5px; }

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

/* 更新日志 */
.log-list { display: grid; gap: 16px; }
.log-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; }
.log-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.log-head b { color: var(--brand-deep); font-size: 16px; }
.log-head span { color: var(--muted); font-size: 13.5px; }
.log-item ul { list-style: none; }
.log-item li { color: var(--muted); font-size: 14.5px; padding-left: 18px; position: relative; }
.log-item li::before { content: "•"; color: var(--gold); position: absolute; left: 4px; }

/* 关于我们 */
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.astat { background: var(--dark); border-radius: var(--radius); color: #fff; text-align: center; padding: 36px 20px; }
.astat b { display: block; font-size: 34px; color: #ffd27a; }
.astat span { font-size: 14px; opacity: .75; }

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

/* 页脚 */
.footer { background: #0d241e; padding: 36px 0; }
.foot-inner { text-align: center; color: #9db8b0; 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(15,138,111,.4); display: none; }

/* 响应式 */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 48px 24px; }
  .hero h1 { font-size: 34px; }
  .hero-img { max-height: 440px; margin: 0 auto; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: 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; }
  .feat-grid, .preview-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .sec-title { font-size: 26px; }
  .float-download { display: inline-flex; }
}
