/* ============ 首页（营销落地）============ */
/* 流体容器：随屏宽伸展，充分利用大屏，两侧留白按比例呼吸 */
.wrap { width: min(100%, 1480px); margin-inline: auto; padding-inline: clamp(20px, 5vw, 84px); }
.wrap.narrow { width: min(100%, 880px); }
@media (min-width: 1760px) { .wrap { width: min(100%, 1680px); } }

/* ---- 顶栏 ---- */
.topbar {
  position: sticky; top: 0; z-index: 50; height: 76px;
  background: rgba(243, 246, 241, .82); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.topbar.scrolled { border-color: var(--line); box-shadow: var(--shadow-1); }
.topbar-in { height: 76px; display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 19px;
}
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: .02em; line-height: 1.1; }
.brand-name em {
  display: block; font-style: normal; font-weight: 400; font-size: 10.5px;
  letter-spacing: .18em; color: var(--ink-3); margin-top: 1px;
}
.topnav { display: flex; gap: clamp(20px, 2.6vw, 38px); margin-left: auto; font-size: 14.5px; color: var(--ink-2); }
.topnav a { transition: color .15s ease; }
.topnav a:hover { color: var(--brand-ink); }
.topbar .btn { margin-left: 4px; }
@media (max-width: 820px) { .topnav { display: none; } }

/* ---- HERO ---- */
.hero { padding: clamp(48px, 7vw, 120px) 0 clamp(56px, 8vw, 132px); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 5vw, 96px); align-items: center; }
.hero-copy .chip { margin-bottom: 24px; }
.h1 em { font-style: italic; color: var(--brand-ink); }
.hero-copy .lead { margin: 20px 0 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { display: flex; align-items: center; gap: 7px; margin: 16px 0 0; font-size: 12.5px; color: var(--ink-3); }
.hero-note .ic { color: var(--brand); }
.hero-note .only-mobile { display: none; }
@media (max-width: 960px) {
  .hero-note .only-desktop { display: none; }
  .hero-note .only-mobile { display: inline; }
}
.hero-cta .btn.lg { padding: 15px 32px; font-size: 15.5px; }
.hero-meta { display: flex; gap: 26px; margin-top: 30px; color: var(--ink-3); font-size: 13px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .ic { color: var(--brand); }

/* hero 右侧：可用的去水印输入卡片（真实能力，非示意） */
.hero-demo { position: relative; }
.demo-card { padding: 22px; box-shadow: var(--shadow-2); }
.demo-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.demo-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.demo-label .ic { color: var(--brand); }
.demo-tools { display: inline-flex; align-items: center; gap: 6px; }
.demo-tool {
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink-3);
  border-radius: 8px; padding: 4px 9px; font: inherit; font-size: 11.5px; font-weight: 600;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.demo-tool:hover { border-color: var(--brand); color: var(--brand-ink); background: var(--brand-tint); }
.demo-tool[hidden] { display: none; } /* display:inline-flex 会盖掉 [hidden] 的 UA 规则 */
.demo-field {
  display: block; font-family: var(--mono); font-size: 12.8px; line-height: 1.6;
  min-height: 66px; margin-bottom: 10px; background: var(--surface-2);
  resize: none; /* 高度随内容自动增长，不需要拖拽手柄 */
}
.demo-field:focus { background: var(--surface); }
.demo-hint { font-size: 11.5px; color: var(--ink-3); margin: -4px 0 12px; line-height: 1.5; }
.demo-hint.bad { color: var(--err); }
.demo-hint.ok { color: var(--brand-ink); }
.demo-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.demo-div { height: 1px; background: var(--line); margin: 16px 0; }
.demo-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
  color: var(--brand-ink); text-decoration: none; white-space: nowrap;
}
.demo-link:hover { text-decoration: underline; }

/* 解析 / 下载结果区 */
.demo-out { margin-top: 14px; border-top: 1px dashed var(--line-2); padding-top: 14px; }
.demo-out.hidden { display: none; }
.demo-out .busy { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.spin {
  width: 13px; height: 13px; flex: none; display: inline-block; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; opacity: .75;
  animation: hlspin .7s linear infinite;
}
@keyframes hlspin { to { transform: rotate(360deg); } }
.demo-res { display: flex; gap: 12px; align-items: flex-start; }
.demo-res img {
  width: 64px; height: 84px; object-fit: cover; border-radius: 10px; flex: none;
  border: 1px solid var(--line); background: var(--surface-2);
}
.demo-res .txt { min-width: 0; }
.demo-res h4 { font-size: 13.5px; line-height: 1.45; margin-bottom: 5px; word-break: break-word; }
.demo-res p { font-size: 12px; color: var(--ink-3); line-height: 1.7; }
.demo-res .ok-line { color: var(--brand-ink); display: flex; align-items: center; gap: 6px; }
.demo-err {
  display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.6;
  color: var(--err); background: var(--err-soft); border-radius: 10px; padding: 10px 12px;
}
.demo-err .ic { margin-top: 2px; }
.demo-prog { height: 6px; border-radius: 999px; background: var(--surface-3); overflow: hidden; margin: 10px 0 6px; }
.demo-prog > i { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 999px; transition: width .4s ease; }
.demo-sub { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; color: var(--ink-3); }
.demo-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 1.4s; } }

.demo-float {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-chip);
  padding: 7px 14px; font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-2); pointer-events: none; z-index: 2;
}
.demo-float .ic { color: var(--brand); }
.demo-float.f1 { top: -16px; right: 8px; }
.demo-float.f2 { bottom: -16px; left: -6px; }
@media (max-width: 960px) {
  .hero { padding: 44px 0 60px; }
  .hero-in { grid-template-columns: 1fr; gap: 44px; }
  .demo-card { padding: 18px; }
  .demo-float.f1 { top: -14px; right: 2px; }
  .demo-float.f2 { bottom: -14px; left: 2px; }
}

/* ---- 通用 section ---- */
.section { padding: clamp(64px, 8.5vw, 148px) 0; }
.section.alt { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-sub { margin-top: 14px; }

/* ---- 能力 bento ---- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 1.8vw, 28px); margin-top: clamp(36px, 4vw, 64px); }
.b-cell { border-radius: 22px; padding: clamp(26px, 2.8vw, 48px); border: 1px solid var(--line); background: var(--surface); }
.b-major { grid-column: span 7; }
.b-minor { grid-column: span 5; grid-row: span 1; }
.b-third { grid-column: span 12; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: clamp(18px, 2.2vw, 32px); }
.b-third p { margin: 0; }
.b-icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-ink); font-size: 24px; margin-bottom: 20px;
}
.b-cell h3 { font-size: clamp(19px, 1.5vw, 23px); }
.b-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.b-cell p { color: var(--ink-2); font-size: 14px; max-width: 58ch; }
.b-list { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.b-list li { display: flex; gap: 9px; align-items: baseline; color: var(--ink-2); font-size: 13.5px; }
.b-list .ic { color: var(--brand); align-self: center; }

/* 免费特性：品牌浅染底 */
.b-cell.tint { background: linear-gradient(160deg, var(--brand-tint), var(--surface) 62%); }

/* 克隆特性：松绿深色块（真实色彩变化，非白卡堆砌） */
.b-cell.dark { background: var(--pine); border-color: var(--pine); color: #dce8df; position: relative; overflow: hidden; }
.b-cell.dark p { color: #b7c9bd; }
.b-cell.dark .b-icon { background: rgba(255, 255, 255, .09); color: #8fd6ab; }
.b-cell.dark::after {
  content: ""; position: absolute; right: -46px; bottom: -46px; width: 190px; height: 190px;
  border-radius: 50%; border: 34px solid rgba(255, 255, 255, .05);
}

.roadmap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.roadmap-label { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-3); font-size: 12.5px; font-weight: 600; }
.roadmap .chip .ic { color: var(--brand); }

@media (max-width: 900px) {
  .b-major, .b-minor, .b-third { grid-column: span 12; }
  .b-third { display: block; }
  .b-third .b-icon { margin-bottom: 14px; }
  .b-third .b-head { margin-bottom: 8px; }
}

/* ---- 工作流 ---- */
.flow { display: flex; align-items: stretch; gap: clamp(10px, 1.6vw, 28px); margin-top: clamp(40px, 5vw, 72px); }
.flow-step { flex: 1; padding-top: 26px; border-top: 2px solid var(--line); }
.flow-step:hover { border-top-color: var(--brand); }
.flow-step { transition: border-color .2s ease; }
.flow-no { display: block; font-size: 14px; color: var(--brand); font-weight: 700; margin-bottom: 30px; }
.flow-step h3 { margin-bottom: 10px; font-size: clamp(17px, 1.4vw, 21px); }
.flow-step p { color: var(--ink-2); max-width: 36ch; }
.flow-line { width: clamp(48px, 6vw, 110px); align-self: center; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
@media (max-width: 860px) {
  .flow { flex-direction: column; gap: 0; }
  .flow-line { display: none; }
  .flow-step { padding: 18px 0 18px 22px; border-top: none; border-left: 2px solid var(--line); }
}

/* ---- 定价 ---- */
.price-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.price-note { display: flex; gap: 10px; flex-wrap: wrap; }
.price-note .ic { color: var(--brand); }
.free-band {
  margin-top: clamp(28px, 3.4vw, 48px); padding: clamp(20px, 2.4vw, 34px) clamp(22px, 2.6vw, 40px); display: flex; align-items: center;
  justify-content: space-between; gap: 18px; background: var(--brand-tint); border-color: transparent;
}
.free-left { display: flex; align-items: center; gap: 16px; }
.free-left > .ic { font-size: 22px; color: var(--brand-ink); width: 46px; height: 46px; border-radius: 13px; background: var(--surface); display: grid; place-items: center; }
.free-left strong { display: block; font-size: 16px; }
.free-left small { color: var(--ink-2); }
.free-right { display: flex; align-items: baseline; gap: 12px; }
.free-num { font-size: clamp(34px, 3.4vw, 46px); font-weight: 800; color: var(--brand-ink); }

.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(14px, 1.8vw, 26px); min-height: 120px; }
.pack { padding: clamp(22px, 2vw, 34px) clamp(20px, 1.8vw, 28px); display: flex; flex-direction: column; gap: 6px; position: relative; transition: transform .18s ease, box-shadow .18s ease; }
.pack:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.pack.popular { border: 1.5px solid var(--brand); }
.pack-tag { position: absolute; top: -11px; left: 18px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 600; border-radius: 99px; padding: 2px 12px; }
.pack-name { font-weight: 700; font-size: 15px; }
.pack-secs { margin: 8px 0 2px; }
.pack-secs b { font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.pack-secs span { color: var(--ink-3); margin-left: 4px; }
.pack-unit { color: var(--ink-3); font-size: 12.5px; }
.pack-price { margin-top: 14px; font-weight: 700; font-size: 18px; }
.pack .btn { margin-top: auto; }
.pack-bonus { color: var(--brand-ink); font-size: 12.5px; font-weight: 600; }
.packs-loading { grid-column: 1 / -1; text-align: center; padding: 30px 0; }

.price-rules {
  margin-top: clamp(24px, 3vw, 44px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 32px);
  border-top: 1px solid var(--line); padding-top: clamp(22px, 2.6vw, 36px); color: var(--ink-2); font-size: 14px;
}
.price-rules strong { color: var(--ink); display: block; margin-bottom: 5px; }
@media (max-width: 820px) { .price-rules { grid-template-columns: 1fr; } }

/* ---- 痛点场景 ---- */
.pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(36px, 4vw, 60px); }
.pain { padding: clamp(22px, 2vw, 30px); display: flex; flex-direction: column; gap: 10px; border-radius: 18px; transition: transform .18s ease, box-shadow .18s ease; }
.pain:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.pain-q { color: var(--ink-3); font-size: 13.5px; line-height: 1.7; }
.pain-q::before { content: "“"; }
.pain-q::after { content: "”"; }
.pain h3 { font-size: 17.5px; }
.pain > p:not(.pain-q) { color: var(--ink-2); font-size: 13.5px; flex: 1; }
.pain .chip { align-self: flex-start; }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 2px; font-size: 15.5px; font-weight: 600;
  position: relative; transition: color .15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand-ink); }
.faq-item summary::after {
  content: ""; position: absolute; right: 14px; top: 26px; width: 9px; height: 9px;
  border-right: 1.8px solid var(--ink-3); border-bottom: 1.8px solid var(--ink-3);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item p { padding: 0 2px 22px; color: var(--ink-2); max-width: 65ch; }

/* ---- CTA 深色带 ---- */
.cta-band { background: var(--pine); color: #e7efe8; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 3vw, 56px); padding-block: clamp(52px, 6.5vw, 104px); flex-wrap: wrap; }
.cta-in p { color: #a9bdaf; margin-top: 10px; }

/* ---- 页脚 ---- */
.foot { background: var(--surface-2); border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: clamp(32px, 4vw, 72px); padding-block: clamp(40px, 4.5vw, 72px) clamp(26px, 3vw, 40px); }
.foot-brand p { color: var(--ink-3); margin-top: 14px; font-size: 13.5px; }
.foot-col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--ink-2); }
.foot-col h4 { font-size: 13.5px; color: var(--ink); margin-bottom: 4px; }
.foot-col a:hover { color: var(--brand-ink); }
.foot-base { display: flex; justify-content: space-between; padding-block: 18px 24px; font-size: 12.5px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } }
