/* ==========================================================================
   漫蛙3 · 站点样式表（全站共用）
   配色：松墨绿 + 杏橙 + 金盏黄，浅底清爽阅读调性
   ========================================================================== */

:root {
  --brand: #0f6e5f;
  --brand-2: #16a085;
  --brand-l: #d9f2ea;
  --brand-d: #0a4f45;
  --accent: #ff8f3c;
  --accent-d: #e96d15;
  --gold: #ffcf3f;
  --ink: #16302c;
  --ink-2: #2c4b45;
  --muted: #5d7a74;
  --line: #dde8e4;
  --bg: #f4f9f7;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(12, 60, 50, .08);
  --shadow-sm: 0 2px 8px rgba(12, 60, 50, .06);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Heiti SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

body, h1, h2, h3, h4, p, ul, ol, li, figure, figcaption, blockquote, dl, dd, dt, table { margin: 0; padding: 0; }
figure, figcaption { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--accent-d); }
table { border-collapse: collapse; width: 100%; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---------------- 头部导航 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(6px);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 66px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
.brand-name { display: block; line-height: 1.15; }
.brand-name b { display: block; font-size: 19px; font-weight: 800; color: var(--brand-d); letter-spacing: .5px; }
.brand-name .sub { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: .3px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  display: inline-block; padding: 8px 12px; border-radius: 9px;
  font-size: 15px; color: var(--ink-2); font-weight: 600;
}
.nav a:hover { background: var(--brand-l); color: var(--brand-d); }
.nav a.active { color: var(--brand-d); background: var(--brand-l); }
.nav .header-cta {
  display: inline-block; margin-left: 8px; padding: 9px 18px; border-radius: 10px;
  background: linear-gradient(135deg, #ffa95e, #ff7a1f); color: #fff !important;
  font-weight: 700; box-shadow: 0 6px 14px rgba(233, 109, 21, .28);
}
.nav .header-cta:hover { filter: brightness(1.05); }

/* ---------------- 通用区块 ---------------- */
.section { padding: 62px 0; }
.section.tight { padding: 44px 0; }
.section.alt { background: #fff; }
.sec-head { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.sec-head .eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 1px;
  color: var(--brand); background: var(--brand-l); padding: 4px 12px; border-radius: 20px; margin-bottom: 12px;
}
.sec-head h2 { font-size: 29px; line-height: 1.35; color: var(--brand-d); }
.sec-head p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

/* ---------------- Hero ---------------- */
.hero {
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(22, 160, 133, .16), transparent 62%),
    radial-gradient(700px 380px at 6% 106%, rgba(255, 143, 60, .13), transparent 60%),
    linear-gradient(180deg, #eef8f5, var(--bg));
  padding: 54px 0 62px;
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.hero-grid > * { min-width: 0; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700;
  color: var(--brand-d); background: #fff; border: 1px solid var(--line);
  padding: 5px 13px; border-radius: 22px; box-shadow: var(--shadow-sm);
}
.hero-badge em { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); font-style: normal; }

.hero h1 {
  margin: 16px 0 0; font-size: 44px; line-height: 1.24; letter-spacing: .5px;
  color: var(--brand-d); font-weight: 800;
}
.hero .lede { margin-top: 14px; font-size: 16.5px; color: var(--ink-2); max-width: 34em; }
.hero .lede b { color: var(--brand); }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }
.hero-download-info { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: 13.5px; color: var(--ink-2); }
.hero-download-info li { position: relative; padding-left: 12px; white-space: nowrap; }
.hero-download-info li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.hero-download-info strong { color: var(--brand-d); }
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 12px; font-size: 16.5px; font-weight: 700;
  background: linear-gradient(135deg, #ffa95e, #ff7a1f); color: #fff !important;
  box-shadow: 0 10px 22px rgba(233, 109, 21, .3); transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); color: #fff !important; }
.btn.ghost {
  background: #fff; color: var(--brand-d) !important; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn.ghost:hover { background: var(--brand-l); }
.hero-note { font-size: 13.5px; color: var(--muted); }

.hero-visual { display: flex; justify-content: flex-end; }
.phone-stage { display: flex; align-items: flex-end; justify-content: center; gap: 16px; }
.phone {
  width: 206px; flex-shrink: 0; border-radius: 24px; overflow: hidden;
  border: 5px solid #14322c; background: #fff;
  box-shadow: 0 20px 44px rgba(12, 60, 50, .24);
}
.phone.small { width: 142px; margin-bottom: 16px; }
.phone img, .phone .screen img { width: 100%; height: auto; display: block; }

/* ---------------- 数据条 ---------------- */
.stats { background: var(--brand-d); color: #e9f7f2; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 26px; padding-bottom: 26px; }
.stat { text-align: center; }
.stat b { display: block; font-size: 27px; color: #fff; font-weight: 800; letter-spacing: .5px; }
.stat span { font-size: 13.5px; color: #a8d6cb; }

/* ---------------- 功能卡 ---------------- */
.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .16s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ico {
  width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-d)); color: #fff;
  font-weight: 800; font-size: 17px; margin-bottom: 14px;
}
.card:nth-child(3n+2) .ico { background: linear-gradient(135deg, #ffb055, var(--accent-d)); }
.card:nth-child(3n+0) .ico { background: linear-gradient(135deg, #7b5cc4, #47318a); }
.card h3 { font-size: 18px; color: var(--brand-d); margin-bottom: 8px; }
.card p { font-size: 14.8px; color: var(--muted); }
.card .card-body { display: block; }

/* 深度入口卡（整块可点） */
.entry { padding: 0; overflow: hidden; }
.entry .card-body { display: block; padding: 22px 20px 20px; color: inherit; }
.entry .card-body h3 { color: var(--brand-d); }
.entry .card-body p { color: var(--muted); }
.entry .more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--accent-d); }
.entry .tagline {
  display: block; font-size: 12.5px; font-weight: 700; color: var(--brand);
  background: var(--brand-l); padding: 3px 10px; border-radius: 14px; margin-bottom: 10px; width: fit-content;
}

/* ---------------- 截图墙 ---------------- */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.shot {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 12px 14px; box-shadow: var(--shadow-sm);
}
.shot img { width: 100%; height: auto; border-radius: 9px; }
.shot figcaption { margin-top: 10px; font-size: 13.6px; font-weight: 700; color: var(--brand-d); text-align: center; }
.shot .desc { display: block; margin-top: 3px; font-size: 12.4px; font-weight: 400; color: var(--muted); text-align: center; }

/* ---------------- 评价 ---------------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow-sm);
}
.review .who { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.review .av {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-d));
  color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center;
}
.review:nth-child(2) .av { background: linear-gradient(135deg, #ffb055, var(--accent-d)); }
.review:nth-child(3) .av { background: linear-gradient(135deg, #7b5cc4, #47318a); }
.review .who b { display: block; font-size: 14.5px; color: var(--ink); }
.review .who span { font-size: 12.5px; color: var(--muted); }
.review .stars { color: var(--gold); font-size: 13px; letter-spacing: 1px; margin-bottom: 8px; }
.review p { font-size: 14.6px; color: var(--ink-2); }
.review-grid--two { grid-template-columns: repeat(2, 1fr); }

/* ---------------- FAQ 折叠 ---------------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 12px; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 15px 20px 15px 46px; position: relative;
  font-size: 16px; font-weight: 700; color: var(--brand-d);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:before {
  content: "?"; position: absolute; left: 17px; top: 15px; width: 20px; height: 20px; border-radius: 6px;
  background: var(--brand-l); color: var(--brand); font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .ans { padding: 14px 20px 18px; font-size: 15px; color: var(--ink-2); }
.faq .ans p + p { margin-top: 10px; }
.faq .ans ul { margin-top: 8px; }
.faq .ans li { position: relative; padding-left: 16px; margin-bottom: 6px; font-size: 14.8px; color: var(--muted); }
.faq .ans li:before { content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); }
.faq-group-title {
  font-size: 17px; color: var(--brand-d); font-weight: 800; margin: 26px 0 12px;
  padding-left: 12px; border-left: 4px solid var(--brand-2);
}
.faq-more { text-align: center; margin-top: 26px; }

/* ---------------- CTA 条 ---------------- */
.cta-band {
  background: linear-gradient(135deg, #0f7a68, var(--brand-d) 60%);
  border-radius: 20px; color: #eafaf6; padding: 40px 34px; text-align: center;
  box-shadow: 0 18px 40px rgba(10, 79, 69, .26);
}
.cta-band h2 { font-size: 27px; color: #fff; }
.cta-band p { margin-top: 10px; font-size: 15.5px; color: #bde4da; }
.cta-band .btn { margin-top: 22px; }
.cta-band .mini { margin-top: 12px; font-size: 13px; color: #9ed2c6; }

/* ---------------- 内页正文 ---------------- */
.page-hero {
  background:
    radial-gradient(760px 320px at 90% -20%, rgba(22, 160, 133, .18), transparent 60%),
    linear-gradient(180deg, #eef8f5, var(--bg));
  padding: 40px 0 34px; border-bottom: 1px solid var(--line);
}
.crumb { font-size: 13.5px; color: var(--muted); }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--brand); }
.page-hero h1 { margin-top: 10px; font-size: 34px; line-height: 1.3; color: var(--brand-d); font-weight: 800; }
.page-hero .sub { margin-top: 12px; font-size: 16px; color: var(--ink-2); max-width: 46em; }

.layout { display: grid; grid-template-columns: 1fr; gap: 0; }
.layout > * { min-width: 0; }
.prose { max-width: 900px; min-width: 0; width: 100%; margin: 0 auto; padding: 48px 0 56px; }
.prose h2 {
  font-size: 24px; color: var(--brand-d); margin: 40px 0 14px; padding-left: 14px;
  border-left: 5px solid var(--brand-2); line-height: 1.4;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18.5px; color: var(--brand-d); margin: 26px 0 10px; }
.prose p { margin-bottom: 14px; color: var(--ink-2); font-size: 15.8px; }
.prose strong { color: var(--brand-d); }
.prose ul, .prose ol { margin: 0 0 16px; }
.prose > ul > li, .prose > ol > li {
  position: relative; padding-left: 18px; margin-bottom: 9px; font-size: 15.6px; color: var(--ink-2);
}
.prose > ul > li:before {
  content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-2);
}
.prose > .circled-steps > li {
  position: relative; padding-left: 32px; margin-bottom: 12px; font-size: 15.6px; color: var(--ink-2);
}
.prose .circled-no {
  position: absolute; left: 0; top: 0; color: var(--brand-2); font-size: 20px;
  font-weight: 800; line-height: 1.35;
}
.prose .note {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 10px; padding: 16px 20px; margin: 20px 0; font-size: 15.2px; color: var(--ink-2);
}
.prose .note b { color: var(--accent-d); }
.prose .shot { max-width: 368px; margin: 26px auto; }
.prose .shot img { width: 100%; height: auto; border-radius: 10px; }
.prose .shot figcaption { margin-top: 9px; font-size: 13.4px; color: var(--muted); text-align: center; }

.steps { counter-reset: st; margin: 6px 0 18px; }
.prose .steps li {
  position: relative; padding-left: 52px; margin-bottom: 20px; counter-increment: st;
}
.prose .steps li:before {
  content: counter(st); position: absolute; left: 0; top: 2px; width: 34px; height: 34px;
  border-radius: 11px; background: linear-gradient(135deg, var(--brand-2), var(--brand-d));
  color: #fff; font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center;
}
.prose .steps li b { display: block; font-size: 17px; color: var(--brand-d); margin-bottom: 4px; }
.prose .steps li p { margin: 0; font-size: 15.4px; color: var(--muted); }

.table-scroll { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.cmp { min-width: 680px; border-collapse: collapse; font-size: 14.8px; }
.cmp th, .cmp td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp th { background: #f2f8f6; color: var(--brand-d); font-weight: 700; white-space: nowrap; }
.cmp td { color: var(--ink-2); }
.cmp tr:last-child td { border-bottom: 0; }
.cmp td b { color: var(--brand); }

.chipset { display: flex; flex-wrap: wrap; gap: 9px; margin: 16px 0 20px; }
.chipset span {
  font-size: 13.6px; font-weight: 700; color: var(--brand-d); background: #fff;
  border: 1px solid var(--line); padding: 6px 14px; border-radius: 18px;
}
.chipset span:nth-child(3n+2) { color: var(--accent-d); }
.chipset span:nth-child(3n+0) { color: #5a3fa0; }

.rel-links { margin-top: 40px; padding-top: 26px; border-top: 1px dashed var(--line); }
.rel-links h3 { font-size: 17px; color: var(--brand-d); margin-bottom: 12px; }
.rel-links ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.rel-links li { padding: 0; margin: 0; }
.rel-links li:before { display: none; }
.rel-links a { font-size: 14.8px; font-weight: 600; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #0d2723; color: #9fc4bb; padding: 46px 0 26px; margin-top: 0; }
.footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.site-footer p { font-size: 14px; line-height: 1.8; }
.site-footer .footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.site-footer .footer-brand img { width: 38px; height: 38px; border-radius: 11px; }
.site-footer .footer-brand b { color: #fff; font-size: 17px; }
.footer-col a { display: block; font-size: 14px; color: #9fc4bb; padding: 4px 0; }
.footer-col a:hover { color: var(--gold); }
.footer-dl { display: inline-block; margin-top: 10px; padding: 10px 22px; border-radius: 10px;
  background: linear-gradient(135deg, #ffa95e, #ff7a1f); color: #fff !important; font-weight: 700; font-size: 15px; }
.disclaimer {
  margin-top: 30px; padding: 15px 18px; border-radius: 10px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09);
  font-size: 13.4px; color: #8fb8ae; line-height: 1.75;
}
.copyright { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px; color: #7ba79c; }

/* ---------------- 渐显动画 ---------------- */
.reveal { transition: opacity .5s ease, transform .5s ease; }
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { justify-content: center; }
  .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .review-grid, .review-grid--two { grid-template-columns: repeat(2, 1fr); }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .rel-links ul { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .section { padding: 44px 0; }
  .header-inner { flex-wrap: wrap; min-height: 0; padding-top: 10px; padding-bottom: 10px; gap: 8px; }
  .brand { width: 100%; }
  .brand-name .sub { display: none; }
  .nav { width: 100%; margin-left: 0; flex-wrap: wrap; justify-content: space-between; gap: 0; }
  .nav a { flex: 0 0 33.3333%; text-align: center; padding: 7px 0; font-size: 14px; white-space: nowrap; }
  .nav .header-cta { display: none; }

  .hero { padding: 36px 0 44px; }
  .hero h1 { font-size: 30px; }
  .hero .lede { font-size: 15.4px; }
  .hero-actions { gap: 10px; }
  .btn { padding: 12px 22px; font-size: 15.5px; }

  .hero-visual { order: 2; }
  .phone-stage { flex-wrap: wrap; gap: 12px; }
  .phone { width: 44vw; max-width: 196px; border-width: 4px; }
  .phone.small { width: 30vw; max-width: 132px; }

  .sec-head h2 { font-size: 23px; }
  .cards--3, .cards--4, .cards--2 { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .shot { padding: 9px 9px 11px; }
  .shot figcaption { font-size: 12.6px; }
  .review-grid, .review-grid--two { grid-template-columns: 1fr; }

  .page-hero h1 { font-size: 25px; }
  .prose { padding: 32px 0 40px; }
  .prose h2 { font-size: 20.5px; margin: 32px 0 12px; }
  .prose p { font-size: 15.2px; }
  .prose .shot { max-width: 300px; }
  .prose .steps li { padding-left: 44px; }
  .prose .steps li:before { width: 30px; height: 30px; font-size: 14px; }

  .cta-band { padding: 30px 20px; border-radius: 16px; }
  .cta-band h2 { font-size: 21px; }
  .footer-cols { grid-template-columns: 1fr; gap: 22px; }
}

@media print {
  .js .reveal, .reveal { opacity: 1 !important; transform: none !important; }
  .site-header, .cta-band, .hero-actions { display: none; }
}
