/* 前台增量样式：内容分块、产品详情、支付信息、交互细节（浅色主题） */
:root { --brand-2: #2f7fc9; --soft-2: #f0f6fc; --ink-3: #4a5a6d; }
.header-inner { gap: 18px; }
.site-nav { gap: 2px; }
.site-nav a { padding: 8px 10px; font-size: 14px; }
.site-nav .nav-dropdown > a { padding: 8px 10px; }

/* 首屏 */
.hero { position: relative; overflow: hidden; background: linear-gradient(118deg, #ffffff 0%, #f3f8fd 62%, #e9f2fb 100%); }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(#c7dcf2 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 55%, #000 100%); }
.hero-inner { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid var(--brand-line);
  background: rgba(255,255,255,.85); color: var(--brand); border-radius: 30px; font-size: 12.5px; font-weight: 600; letter-spacing: .3px; margin-bottom: 18px; }
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.hero h1 { font-size: 43px; }
.hero h1 em { color: var(--brand); font-style: normal; }
.hero .lead { font-size: 17px; }
.hero-note { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-note span { background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 3px 9px; font-size: 12.5px; }
.hero-panel { background: #fff; box-shadow: 0 16px 38px rgba(20, 72, 130, .09); }
.flow-list { list-style: none; margin: 0; padding: 0; counter-reset: flow; }
.flow-list li { position: relative; padding: 9px 0 9px 38px; border-bottom: 1px dashed var(--line); color: var(--ink-2); font-size: 14px; }
.flow-list li:last-child { border-bottom: 0; }
.flow-list li::before { counter-increment: flow; content: '0' counter(flow); position: absolute; left: 0; top: 10px;
  width: 26px; height: 26px; border-radius: 7px; background: var(--brand-soft); color: var(--brand);
  font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.flow-list li b { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 1px; }
.hero-actions .btn { padding: 12px 24px; }

/* 区块通用 */
.section-head.center { text-align: center; }
.section-head.center p { margin: 0 auto; }
.section-head .sub-link { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; }
.eyebrow-line { display: inline-block; width: 26px; height: 2px; background: var(--brand); vertical-align: middle; margin-right: 9px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.split > div > h2 { font-size: 27px; margin: 0 0 14px; }
.split > div > p { color: var(--ink-2); margin: 0 0 16px; }
.soft-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow); }
.soft-panel h3 { margin: 0 0 14px; font-size: 18px; }
.mini-head { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.mini-index { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 8px; background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.mini-head h3 { margin: 0; font-size: 17px; }
.card-num { font-size: 27px; font-weight: 700; color: var(--brand); line-height: 1.3; }
.card-num small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.card p { margin-bottom: 0; }
.card p + p { margin-top: 10px; }

/* 承诺数据条 */
.promise-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.promise-strip > div { padding: 22px 20px; border-right: 1px solid var(--line); }
.promise-strip > div:last-child { border-right: 0; }
.promise-strip strong { display: block; color: var(--brand-dark); font-size: 16px; margin-bottom: 4px; }
.promise-strip span { color: var(--muted); font-size: 13px; }

/* 清单、表格、流程 */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: 7px 0 7px 26px; color: var(--ink-2); border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 7px; color: var(--brand); font-weight: 700; }
.guide-table, .spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 14.5px; }
.guide-table th, .spec-table th { background: var(--brand-soft); color: var(--brand-dark); text-align: left; font-weight: 600; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.guide-table td, .spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.guide-table tr:last-child td, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { width: 30%; color: var(--ink); font-weight: 600; background: var(--soft-2); }
.step-timeline { list-style: none; padding: 0; margin: 0; }
.step-timeline li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding-bottom: 20px; position: relative; }
.step-timeline li::before { content: ''; position: absolute; left: 16px; top: 32px; bottom: 0; width: 1px; background: var(--line); }
.step-timeline li:last-child::before { display: none; }
.step-timeline .step-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: flex;
  align-items: center; justify-content: center; font-size: 13px; font-weight: 700; z-index: 1; }
.step-timeline .step-content { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.step-timeline h4 { margin: 0 0 5px; font-size: 16px; }
.step-timeline p { margin: 0; color: var(--ink-2); font-size: 14px; }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 0 18px; }
.faq-list details[open] { border-color: var(--brand-line); box-shadow: var(--shadow); }
.faq-list summary { cursor: pointer; padding: 15px 0; font-weight: 600; font-size: 15px; color: var(--ink); list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; float: right; color: var(--brand); font-size: 18px; line-height: 1; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list .faq-a { padding: 0 0 16px; color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }

/* 产品详情 */
.product-detail-grid { gap: 36px; }
.product-cover-main { max-height: 380px; }
.product-gallery img { cursor: zoom-in; transition: transform .15s ease, border-color .15s ease; }
.product-gallery img:hover { transform: translateY(-2px); border-color: var(--brand); }
.product-detail-info h1 { font-size: 32px; }
.product-meta-line { line-height: 1.9; }
.product-body { margin-top: 34px; }
.detail-section { margin-bottom: 34px; }
.detail-section:last-child { margin-bottom: 0; }
.detail-section > h2 { font-size: 20px; margin: 0 0 16px; padding-left: 12px; border-left: 3px solid var(--brand); }
.highlight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.highlight-item { background: var(--soft-2); border: 1px solid var(--line); border-radius: 8px; padding: 13px 16px; color: var(--ink-2); font-size: 14.5px; }
.highlight-item::before { content: '✓'; color: var(--brand); font-weight: 700; margin-right: 9px; }
.notice-card { background: #fff9ee; border: 1px solid #f0dfbe; border-radius: 8px; padding: 14px 18px; color: #7a5a1f; font-size: 14px; }
.pay-card { background: #fff; border: 1px solid var(--brand-line); border-radius: var(--radius); padding: 20px 22px; }
.pay-card h3 { margin: 0 0 4px; font-size: 18px; }
.pay-card .pay-sub { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
.pay-methods { list-style: none; padding: 0; margin: 0; }
.pay-methods li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.pay-methods .pm-name { flex: 0 0 104px; color: var(--brand); font-weight: 600; }
.pay-methods .pm-detail { color: var(--ink-2); word-break: break-all; line-height: 1.7; }
.pay-methods .qr-thumb { width: 64px; height: 64px; border: 1px solid var(--line); border-radius: 5px; cursor: zoom-in; object-fit: contain; background: #fff; }
.pay-note { margin: 12px 0 0; padding: 10px 12px; background: var(--soft-2); border-radius: 6px; color: var(--ink-2); font-size: 13px; }
.lightbox { position: fixed; inset: 0; background: rgba(12, 24, 40, .78); z-index: 100; display: flex; align-items: center;
  justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox img { max-width: min(90vw, 460px); max-height: 86vh; background: #fff; border-radius: 8px; }

/* 转化区与细节 */
.cta-band { background: #fff; border: 1px solid var(--brand-line); border-radius: var(--radius); padding: 26px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  box-shadow: 0 10px 28px rgba(20, 98, 181, .07); }
.cta-band h3 { margin: 0 0 5px; font-size: 19px; }
.cta-band p { margin: 0; color: var(--muted); font-size: 14px; }
.tag-cloud { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-cloud a { padding: 6px 13px; border: 1px solid var(--line); background: #fff; border-radius: 20px; font-size: 13px; color: var(--ink-2); }
.tag-cloud a:hover { border-color: var(--brand); color: var(--brand); }
.list-item { display: block; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.list-item:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(20, 98, 181, .09); }
.list-item .list-tag { float: right; color: var(--brand); font-size: 12px; font-weight: 600; }
.back-top { position: fixed; right: 22px; bottom: 22px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); box-shadow: var(--shadow); cursor: pointer; z-index: 40; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { color: var(--brand); border-color: var(--brand); }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .promise-strip { grid-template-columns: repeat(2, 1fr); }
  .promise-strip > div:nth-child(2) { border-right: 0; }
  .promise-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero h1 { font-size: 31px; }
  .hero-badge { font-size: 11.5px; }
  .promise-strip { grid-template-columns: 1fr; }
  .promise-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .promise-strip > div:last-child { border-bottom: 0; }
  .highlight-grid { grid-template-columns: 1fr; }
  .spec-table td:first-child { width: 38%; }
  .pay-methods li { flex-wrap: wrap; }
  .pay-methods .pm-name { flex-basis: 100%; }
  .back-top { right: 12px; bottom: 12px; }
}
@media print {
  .hero::before, .back-top, .cta-band, .faq-list details[open] { display: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== 在线支付 ===== */
.btn-pay { background: #fff; color: var(--brand-dark); border: 1px solid var(--brand); box-shadow: 0 1px 0 rgba(20,98,181,.08); }
.btn-pay:hover { background: var(--brand-soft); color: var(--brand-dark); }
.product-cta .btn-pay { padding: 11px 24px; font-weight: 700; }
.checkout-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: start; }
.checkout-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow); }
.checkout-side { background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: var(--radius); padding: 26px 28px; }
.checkout-side h3 { margin: 0 0 16px; font-size: 17px; }
.checkout-product { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.checkout-product:last-child { border-bottom: 0; }
.checkout-product .ck-name { font-weight: 600; color: var(--ink); }
.checkout-product .ck-val { color: var(--ink-2); font-size: 14px; }
.checkout-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--brand-line); }
.checkout-total strong { color: var(--brand-dark); font-size: 30px; }
.checkout-field { margin-bottom: 18px; }
.checkout-field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.checkout-field input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; }
.checkout-field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.checkout-tip { font-size: 13px; color: var(--muted); line-height: 1.7; margin-top: 10px; }
.checkout-submit { width: 100%; margin-top: 8px; padding: 14px; font-size: 16px; font-weight: 700; }
.pay-result { max-width: 640px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 48px 40px; box-shadow: var(--shadow); }
.pay-result .pr-icon { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 700; }
.pay-result.ok .pr-icon { background: #e6f4ec; color: #2c8a4b; }
.pay-result.wait .pr-icon { background: #fff4e0; color: #b8801f; }
.pay-result.fail .pr-icon { background: #fdeaea; color: #c0392b; }
.pay-result h2 { margin: 0 0 12px; font-size: 26px; }
.pay-result p { color: var(--ink-2); line-height: 1.8; margin: 0 0 10px; }
.pay-result .pr-meta { text-align: left; background: #f7f9fb; border-radius: 8px; padding: 16px 20px; margin: 22px 0; font-size: 14px; }
.pay-result .pr-meta div { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; }
.pay-result .pr-meta span:first-child { color: var(--muted); }
.pay-result .pr-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 860px) { .checkout-wrap { grid-template-columns: 1fr; } }
/* 产品卡片立即支付入口 */
.card-pay-btn { margin-left: auto; align-self: center; padding: 6px 14px; border-radius: 6px;
  background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.card-pay-btn:hover { background: var(--brand-dark); }
.product-foot { align-items: center; }
