/* ==========================================================================
   拷贝漫画 · 主题站样式表
   配色：草绿 #16A75C / 天蓝 #2E9BE6 / 暖黄 #FFB020 / 墨绿文字 #14281D
   所有资源本地化，无任何外部引用。
   ========================================================================== */

@font-face {
  font-family: "Kaobei Display";
  src: url("../fonts/kaobei-display.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #16a75c;
  --green-dark: #0e7f45;
  --green-soft: #e6f7ee;
  --blue: #2e9be6;
  --blue-soft: #e8f4fd;
  --sun: #ffb020;
  --ink: #14281d;
  --ink-2: #3c5a4a;
  --muted: #6a8478;
  --line: #dcece3;
  --bg: #f3faf6;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(20, 78, 51, 0.08);
  --shadow-lg: 0 18px 44px rgba(20, 78, 51, 0.14);
  --maxw: 1180px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Kaobei Display", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.2px;
}

img { max-width: 100%; height: auto; border: 0; }

a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--green); }

h1, h2, h3, h4 { margin: 0 0 12px; line-height: 1.32; font-weight: 700; }
h1 { font-size: 40px; letter-spacing: 0.5px; }
h2 { font-size: 28px; }
h3 { font-size: 19px; }
p { margin: 0 0 14px; }

ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 8px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.skip {
  position: absolute; left: 12px; top: -70px; z-index: 99;
  background: var(--green); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; color: #fff; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; height: 74px;
}
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand img { width: 42px; height: 42px; border-radius: 12px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: 1px; }
.brand-sub { font-size: 11px; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a {
  display: block; padding: 9px 14px; border-radius: 10px;
  color: var(--ink-2); font-size: 15.5px; font-weight: 700;
}
.nav a:hover { background: var(--green-soft); color: var(--green-dark); }
.nav a.active { background: var(--green-soft); color: var(--green-dark); }

.header-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--green); color: #fff; font-weight: 700;
  padding: 11px 20px; border-radius: 999px; font-size: 15px;
  box-shadow: 0 8px 18px rgba(22, 167, 92, 0.28);
  white-space: nowrap;
}
.header-cta:hover { background: var(--green-dark); color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink-2); border-radius: 2px; margin: 4px 0; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 34px; border-radius: 999px; font-size: 17px; font-weight: 700;
  background: linear-gradient(120deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff; box-shadow: 0 12px 26px rgba(22, 167, 92, 0.3);
  border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(22, 167, 92, 0.36); }
.btn-ghost {
  background: #fff; color: var(--green-dark);
  border: 2px solid var(--green); box-shadow: none;
}
.btn-ghost:hover { background: var(--green-soft); color: var(--green-dark); }
.btn-sm { padding: 11px 24px; font-size: 15.5px; }

/* ---------- Hero ---------- */
.hero-sub { padding: 46px 0 50px; }
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 460px at 88% 8%, rgba(46, 155, 230, 0.16), transparent 62%),
    radial-gradient(760px 420px at 6% 4%, rgba(22, 167, 92, 0.18), transparent 60%),
    var(--bg);
  padding: 62px 0 70px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(20, 40, 29, 0.07) 1.4px, transparent 1.4px);
  background-size: 20px 20px; opacity: .5;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); color: var(--green-dark);
  padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 700;
  box-shadow: var(--shadow); margin-bottom: 20px;
}
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); display: inline-block; }
.hero h1 { font-size: 52px; letter-spacing: 1px; margin-bottom: 16px; }
.hero h1 .hl {
  background: linear-gradient(transparent 62%, rgba(255, 176, 32, 0.48) 62%);
  padding: 0 4px; border-radius: 4px;
}
.hero-lead { font-size: 17.5px; color: var(--ink-2); max-width: 560px; margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 26px; }
.hero-note { font-size: 14px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 15px; font-size: 14px; color: var(--ink-2); font-weight: 700;
}

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-blob {
  position: absolute; width: 420px; height: 420px; border-radius: 48% 52% 44% 56% / 52% 44% 56% 48%;
  background: linear-gradient(150deg, rgba(22, 167, 92, 0.9), rgba(46, 155, 230, 0.85));
  filter: blur(2px); opacity: .95; top: -18px; left: 50%; transform: translateX(-50%);
}
.phone-cluster { position: relative; display: flex; gap: 18px; align-items: flex-end; z-index: 2; }

/* ---------- 手机外壳 ---------- */
.phone {
  width: 220px; background: #10251b; border-radius: 28px; padding: 8px;
  box-shadow: var(--shadow-lg); position: relative;
}
.phone::before {
  content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 66px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.35);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 21px; }
.phone-sm { width: 190px; }

/* ---------- 通用区块 ---------- */
.section { padding: 66px 0; }
.section-alt { background: #fff; }
.section-head { margin-bottom: 34px; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 3px;
  color: var(--blue); text-transform: uppercase; margin-bottom: 8px;
}
.section-head h2 { position: relative; padding-left: 18px; }
.section-head h2::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 6px; border-radius: 4px;
  background: linear-gradient(180deg, var(--green), var(--blue));
}
.section-head .sub { color: var(--muted); font-size: 16px; max-width: 760px; margin: 6px 0 0; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
}
.card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-2); font-size: 15.5px; }

.ico {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-soft);
}
.ico svg { width: 22px; height: 22px; display: block; }
.ico-blue { background: var(--blue-soft); }
.ico-sun { background: #fff5e0; }

/* ---------- 数据条 ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 20px; box-shadow: var(--shadow);
}
.stat { text-align: center; }
.stat b { display: block; font-size: 27px; color: var(--green-dark); letter-spacing: 0.5px; }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- 截图墙 ---------- */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.shot {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 16px 18px; box-shadow: var(--shadow); text-align: center;
}
.shot .phone { width: 100%; max-width: 236px; margin: 0 auto 14px; }
.shot h3 { font-size: 17px; margin-bottom: 4px; }
.shot p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- 步骤 ---------- */
.steps { counter-reset: st; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 24px 20px 24px; box-shadow: var(--shadow);
}
.step::before {
  counter-increment: st; content: "0" counter(st);
  display: inline-block; font-size: 15px; font-weight: 700; color: #fff;
  background: linear-gradient(120deg, var(--green), var(--blue));
  padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.step h3 { font-size: 18px; }
.step p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 0; }
.step ul { margin: 10px 0 0; }
.step li { font-size: 15px; color: var(--ink-2); }

/* ---------- 入口卡片 ---------- */
.entry {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow);
  color: var(--ink); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.entry:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--green); color: var(--ink); }
.entry .tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--blue);
  background: var(--blue-soft); border-radius: 999px; padding: 4px 12px; margin-bottom: 12px;
}
.entry h3 { font-size: 19px; }
.entry p { color: var(--ink-2); font-size: 15.5px; }
.entry .more { color: var(--green-dark); font-weight: 700; font-size: 15px; }

/* ---------- 评价 ---------- */
.quote {
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--green);
  border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow);
}
.quote p { color: var(--ink-2); font-size: 15.5px; }
.quote .who { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--green-soft);
  color: var(--green-dark); font-weight: 700; display: flex; align-items: center;
  justify-content: center; font-size: 15px;
}
.who b { font-size: 15px; }
.who span { font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 18px 52px 18px 20px; font-size: 16.5px; font-weight: 700; color: var(--ink);
  position: relative; font-family: inherit;
}
.faq-q::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--green); font-weight: 700;
}
.faq-item.open .faq-q::after { content: "\2212"; }
.faq-a { display: none; padding: 0 20px 20px; color: var(--ink-2); font-size: 15.5px; }
.faq-item.open .faq-a { display: block; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a a { font-weight: 700; text-decoration: underline; }

/* ---------- 正文长文 ---------- */
.prose { max-width: 900px; }
.prose h3 { margin-top: 26px; }
.prose p, .prose li { color: var(--ink-2); font-size: 16px; }
.article {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 36px; box-shadow: var(--shadow);
}
.note {
  background: var(--green-soft); border-radius: var(--radius-sm);
  padding: 16px 20px; color: var(--green-dark); font-size: 15.5px; border: 1px dashed var(--green);
}
.note p:last-child { margin-bottom: 0; }

/* ---------- CTA 带 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--green-dark) 0%, var(--green) 42%, var(--blue) 100%);
  border-radius: 24px; padding: 44px 40px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, 0.92); margin: 0; font-size: 16px; }
.cta-band .btn { background: #fff; color: var(--green-dark); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18); }
.cta-band .btn:hover { background: #f3fff8; color: var(--green-dark); }

/* ---------- 面包屑 ---------- */
.crumb { padding: 18px 0 0; font-size: 14px; color: var(--muted); }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--green); }
.crumb span { color: var(--ink-2); }

/* ---------- 页脚 ---------- */
.site-footer { background: #10251b; color: #b9d2c5; margin-top: 70px; padding: 52px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.site-footer a { color: #b9d2c5; font-size: 14.5px; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 38px; height: 38px; border-radius: 10px; }
.footer-brand b { color: #fff; font-size: 19px; letter-spacing: 1px; }
.footer-about { font-size: 14.5px; color: #a9c6b8; }
.disclaimer {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13.5px; color: #9fbcae; line-height: 1.7;
}
.copyright { margin-top: 12px; font-size: 13px; color: #8eab9d; }

/* ---------- 进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.show { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 42px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 74px;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 22px 18px; gap: 2px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; }
  .header-cta { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 15.5px; }
  h1 { font-size: 30px; }
  h2 { font-size: 23px; }
  .hero { padding: 40px 0 46px; }
  .hero h1 { font-size: 31px; }
  .hero-lead { font-size: 16px; }
  .section { padding: 46px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .article { padding: 24px 20px; }
  .cta-band { padding: 30px 22px; border-radius: 18px; }
  .cta-band .btn { width: 100%; }
  .phone-cluster { gap: 10px; }
  .phone { width: 150px; padding: 6px; border-radius: 22px; }
  .phone-sm { width: 132px; }
  .hero-blob { width: 300px; height: 300px; }
  .btn { padding: 14px 26px; font-size: 16px; }
  .wrap { padding: 0 16px; }
  .shot { padding: 12px 12px 14px; }
  .shot h3 { font-size: 15.5px; }
  .shot p { font-size: 13.5px; }
}
