/* ============================================================
   漫蛙2 (1manwa2) · 单页官网样式
   主题：青蛙绿（贴合漫蛙吉祥物）
   ============================================================ */
:root {
  --brand: #43a047;
  --brand-deep: #2e7d32;
  --brand-soft: #e8f5e9;
  --ink: #1f2a22;
  --ink-soft: #5e6b60;
  --line: #e8efe9;
  --bg: #ffffff;
  --bg-alt: #f5faf6;
  --dark: #1c2b20;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(67, 160, 71, .15);
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }

/* ---------- 按钮 ---------- */
.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 ease, box-shadow .15s ease, background .15s ease;
}
.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 14px 34px rgba(67,160,71,.3); }
.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; }

/* ---------- 导航 ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); 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; }
.brand-logo { width: 38px; height: 38px; border-radius: 10px; object-fit: contain; }
.brand-name { font-weight: 700; font-size: 18px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 15px; color: var(--ink-soft); transition: color .15s; }
.nav-links a:hover { color: var(--brand); }
.nav-download { padding: 9px 20px; font-size: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, var(--brand-soft), transparent 60%),
    linear-gradient(180deg, #f4fbf5 0%, #fff 100%);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; padding: 72px 24px; }
.hero-eyebrow { color: var(--brand); font-weight: 700; letter-spacing: 1px; font-size: 14px; margin-bottom: 14px; }
.hero h1 { font-size: 48px; line-height: 1.18; font-weight: 800; letter-spacing: -.5px; }
.hl { background: linear-gradient(120deg, var(--brand), #81c784); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 18px; font-size: 17px; color: var(--ink-soft); max-width: 500px; }
.hero-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { margin-top: 22px; list-style: none; display: flex; gap: 22px; color: var(--ink-soft); 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: 560px; border-radius: 22px; box-shadow: 0 30px 60px rgba(28,43,32,.18); }

/* ---------- 通用 section ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-tag { color: var(--brand); font-weight: 700; letter-spacing: 2px; font-size: 13px; margin-bottom: 12px; }
.section-title { font-size: 32px; font-weight: 800; letter-spacing: -.3px; }
.section-desc { margin-top: 12px; color: var(--ink-soft); font-size: 16px; max-width: 640px; }

/* ---------- 功能 ---------- */
.grid-3 { display: grid; gap: 20px; }
.features-grid { grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature-card:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: var(--shadow); }
.feat-ico { font-size: 28px; display: block; margin-bottom: 14px; }
.feature-card h3 { font-size: 19px; margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- 界面预览 ---------- */
.preview-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pv { margin: 0; }
.pv img { border-radius: 16px; box-shadow: 0 16px 36px rgba(28,43,32,.14); transition: transform .2s; }
.pv:hover img { transform: translateY(-6px); }
.pv figcaption { text-align: center; margin-top: 12px; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 更新日志 ---------- */
.log-list { margin-top: 32px; display: grid; gap: 16px; }
.log-item { background: #fff; 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(--ink-soft); font-size: 13.5px; }
.log-item ul { list-style: none; }
.log-item li { color: var(--ink-soft); font-size: 14.5px; padding-left: 18px; position: relative; }
.log-item li::before { content: "•"; color: var(--brand); position: absolute; left: 4px; }

/* ---------- 关于我们 ---------- */
.about-stats { margin-top: 36px; 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: #a5d6a7; }
.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; }
.cta-inner { text-align: center; }
.cta h2 { font-size: 32px; font-weight: 800; }
.cta p { margin: 12px 0 28px; opacity: .92; font-size: 16px; }
.cta-ver { margin-top: 16px; font-size: 13px; opacity: .8; }

/* ---------- 页脚 ---------- */
.site-footer { background: #16241a; color: #9fb3a3; padding: 40px 0; font-size: 14px; }
.footer-inner { text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 14px; color: #fff; font-weight: 600; }
.footer-copy { margin-top: 10px; opacity: .7; font-size: 12.5px; }

/* ---------- 悬浮下载 ---------- */
.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(67,160,71,.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; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .preview-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .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 ease; }
  .nav-links.open { max-height: 320px; }
  .nav-links a { padding: 14px 24px; border-top: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .nav-download { display: none; }
  .features-grid, .preview-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section-title { font-size: 26px; }
  .float-download { display: inline-flex; }
}
