/* ============ 漫单漫画 官网样式（深绿翡翠主题） ============ */
:root {
  --bg: #07120f;
  --bg-2: #0c1c17;
  --card: #10231d;
  --border: rgba(52, 211, 153, 0.16);
  --primary: #10b981;
  --primary-2: #34d399;
  --grad: linear-gradient(135deg, #34d399 0%, #10b981 55%, #0d9488 100%);
  --text: #ecfdf5;
  --muted: #8fb3a6;
  --radius: 16px;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { width: min(1180px, 92%); margin: 0 auto; }

.grad-text {
  background: linear-gradient(135deg, #6ee7b7, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.ico { width: 18px; height: 18px; flex: none; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #04140e;
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(16, 185, 129, 0.55); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.btn-light {
  background: #fff;
  color: #047857;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.btn-light:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 34px; font-size: 16px; }

/* ============ 顶部导航 ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 18, 15, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  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; }
.brand-name { font-size: 21px; font-weight: 800; letter-spacing: 1px; }
.brand-name em { font-style: normal; background: linear-gradient(135deg, #6ee7b7, #10b981); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links { display: flex; gap: 28px; }
.nav-link { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-link:hover, .nav-link.active { color: var(--text); }

.nav-download { padding: 9px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ============ Hero ============ */
.hero { position: relative; padding: 80px 0 100px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .35; }
.blob-1 { width: 460px; height: 460px; background: #10b981; top: -120px; right: -80px; }
.blob-2 { width: 380px; height: 380px; background: #0d9488; bottom: -120px; left: -60px; opacity: .3; }

.hero-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  font-size: 13px;
  margin-bottom: 22px;
}
.hero-title { font-size: 52px; line-height: 1.18; font-weight: 900; letter-spacing: 1px; }
.hero-sub { margin: 22px 0 32px; color: var(--muted); font-size: 17px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  list-style: none;
  margin-top: 44px;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 26px; font-weight: 800; color: #34d399; }
.hero-stats span { font-size: 13px; color: var(--muted); margin-top: 2px; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-frame {
  width: 300px;
  border-radius: 38px;
  padding: 10px;
  background: linear-gradient(160deg, #34d399, #0d9488);
  box-shadow: var(--shadow);
}
.phone-img { border-radius: 30px; width: 100%; }

/* ============ 通用 Section ============ */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  color: #6ee7b7;
  margin-bottom: 14px;
}
.section-head h2 { font-size: 38px; font-weight: 800; line-height: 1.25; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 16px; }

/* ============ 功能卡片 ============ */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(16, 185, 129, 0.5); }
.feature-ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(16,185,129,.2), rgba(52,211,153,.2));
  color: #6ee7b7;
  margin-bottom: 18px;
}
.feature-ico svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14.5px; }

/* ============ 应用展示 ============ */
.shots-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}
.shot {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.shot:hover { transform: translateY(-6px); border-color: rgba(16, 185, 129, 0.5); }
.shot img { width: 100%; aspect-ratio: 9/16; object-fit: cover; object-position: top; }
.shot figcaption {
  text-align: center;
  padding: 12px;
  font-size: 14px;
  color: var(--muted);
}

/* ============ 下载 CTA ============ */
.download-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
  background: linear-gradient(135deg, #064e3b 0%, #065f46 60%, #0f766e 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 26px;
  padding: 54px;
  overflow: hidden;
}
.download-info h2 { font-size: 34px; font-weight: 800; margin: 18px 0 14px; }
.download-info p { color: #a7f3d0; margin-bottom: 28px; max-width: 460px; }
.download-logo { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.download-side { display: flex; justify-content: flex-end; }
.download-side img {
  height: 300px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: var(--shadow);
  object-fit: cover;
}

/* ============ 页脚 ============ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--bg-2);
}
.footer-wrap { text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; }
.footer-logo { width: 34px; height: 34px; border-radius: 8px; }
.footer-brand span { font-weight: 600; }
.footer-links { display: flex; justify-content: center; gap: 26px; margin-bottom: 18px; }
.footer-links a { color: var(--muted); font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.copyright { color: #5f8a7a; font-size: 13px; }

/* ============ 回到顶部 ============ */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--grad);
  color: #04140e;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(16, 185, 129, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .3s;
  z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top svg { width: 20px; height: 20px; }

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .hero { padding: 50px 0 70px; }
  .hero-wrap { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-title { font-size: 38px; }
  .hero-visual { order: -1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .shots-row { grid-template-columns: repeat(2, 1fr); }
  .download-card { grid-template-columns: 1fr; padding: 36px; }
  .download-side { justify-content: center; }

  .nav-links, .nav-download { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-2);
    padding: 18px 6%;
    gap: 18px;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 600px) {
  .hero-title { font-size: 30px; }
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 28px; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .phone-frame { width: 240px; }
  .download-info h2 { font-size: 26px; }
}
