:root {
  /* 品牌色：白义玄青徽标 */
  --navy: #0b2b2a;
  --teal: #12706a;
  --teal-2: #1f9a8f;
  --mint: #3fd0bd;
  --coral: #ff7a4d;
  --gold: #d9a441;
  --ink: #0f1f1e;
  --muted: #5b6b6a;
  --line: #e7edec;
  --soft: #f4f8f7;
  --bg: #ffffff;
  --dark: #071a1a;
  --dark-2: #0c2a29;
  --radius: 18px;
  --wrap: 1160px;
  --shadow: 0 14px 40px rgba(11, 43, 42, .10);
  --shadow-lg: 0 24px 70px rgba(11, 43, 42, .18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font: 15px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { color: var(--teal-2); font-size: 12px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; margin: 0 0 14px; }
h1, h2, h3, h4 { line-height: 1.22; letter-spacing: -0.4px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* 动效 */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%,100% { transform: translateY(-6px); } 50% { transform: translateY(8px); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: .55; } 50% { opacity: .95; } }
.fade { animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) both; }
.fade.d1 { animation-delay: .08s; } .fade.d2 { animation-delay: .16s; } .fade.d3 { animation-delay: .24s; } .fade.d4 { animation-delay: .32s; }

/* ── 深色导航 ── */
.nav {
  display: flex; align-items: center; gap: 26px; padding: 14px 24px;
  position: sticky; top: 0; z-index: 40;
  background: rgba(7,26,26,.92); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand { display: flex; align-items: center; }
.brand-mark { height: 36px; width: auto; }
.nav nav { display: flex; gap: 24px; margin-left: auto; font-size: 14px; font-weight: 500; }
.nav nav a { color: #d6e6e3; padding: 4px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.nav nav a:hover { color: #fff; border-color: var(--mint); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(95deg, var(--teal), var(--teal-2)); color: #fff;
  border: 0; border-radius: 12px; padding: 12px 22px; font-size: 14px; font-weight: 700;
  cursor: pointer; box-shadow: 0 8px 24px rgba(31,154,143,.30); transition: transform .12s, box-shadow .18s, opacity .15s;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(31,154,143,.4); }
.button.small { padding: 9px 16px; font-size: 13px; border-radius: 10px; }
.button.light { background: #fff; color: var(--navy); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.button.ghost { background: transparent; color: #eaf5f3; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.button.ghost:hover { box-shadow: inset 0 0 0 1px var(--mint); }
.button.line { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); }
.button.line:hover { box-shadow: inset 0 0 0 1px var(--teal-2); }
.text-link { color: var(--teal-2); font-weight: 700; font-size: 14px; }
.text-link:hover { text-decoration: underline; }

/* ── 深色 Hero ── */
.hero-dark {
  position: relative; overflow: hidden; color: #eaf5f3;
  background: linear-gradient(160deg, #04120f 0%, var(--dark) 40%, var(--dark-2) 100%);
  padding: 84px 0 96px;
}
.hero-dark::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(80% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-dark .glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
.hero-dark .glow.g1 { width: 460px; height: 460px; right: -80px; top: -120px; background: radial-gradient(circle, rgba(63,208,189,.55), transparent 62%); animation: pulse 7s ease-in-out infinite; }
.hero-dark .glow.g2 { width: 420px; height: 420px; left: -140px; bottom: -160px; background: radial-gradient(circle, rgba(31,154,143,.4), transparent 62%); animation: pulse 9s ease-in-out infinite; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.badge-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(63,208,189,.4); background: rgba(63,208,189,.10); color: #bff3ea; border-radius: 999px; padding: 6px 14px; font-size: 12.5px; font-weight: 600; margin-bottom: 20px; }
.badge-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); animation: pulse 2s infinite; }
.hero-dark h1 { font-size: clamp(32px, 4.8vw, 56px); margin: 0 0 20px; color: #fff; letter-spacing: -1.2px; }
.hero-dark h1 em { font-style: normal; background: linear-gradient(95deg, var(--mint), #7ff0dd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-dark .lede { font-size: 17px; color: #a9c4c0; max-width: 620px; }
.hero-dark .actions { display: flex; gap: 14px; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.trust { display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.trust div b { display: block; font-size: 22px; color: #fff; }
.trust div span { font-size: 12.5px; color: #8fb0ac; }

/* Hero 右侧可视化 */
.hero-visual { position: relative; }
.hero-card {
  position: relative; border: 1px solid rgba(255,255,255,.12); border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  backdrop-filter: blur(8px); padding: 22px; box-shadow: var(--shadow-lg); animation: floaty 7s ease-in-out infinite;
}
.hero-card .ring { position: absolute; inset: -40px; border-radius: 50%; border: 1px dashed rgba(63,208,189,.25); animation: spinSlow 40s linear infinite; pointer-events: none; }
.hero-card .hc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.hero-card .hc-top img { height: 30px; }
.hero-card .hc-top span { font-weight: 700; color: #fff; font-size: 14px; }
.hero-card .hc-top em { margin-left: auto; font-size: 11px; color: var(--mint); border: 1px solid rgba(63,208,189,.4); border-radius: 999px; padding: 2px 10px; font-style: normal; }
.hc-rows { display: grid; gap: 10px; }
.hc-row { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 12px 14px; }
.hc-row .dot { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--teal-2), var(--mint)); display: grid; place-items: center; color: #04201c; font-weight: 800; font-size: 13px; }
.hc-row b { color: #fff; font-size: 13.5px; display: block; }
.hc-row small { color: #93b3af; font-size: 12px; }
.hero-card .hc-foot { margin-top: 14px; font-size: 12px; color: #93b3af; display: flex; justify-content: space-between; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { display: none; } }

/* ── 明亮正文 ── */
.section { padding: 70px 0; }
.section.alt { background: var(--soft); }
.section-intro { max-width: 760px; margin-bottom: 36px; }
.section-intro.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-intro h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 12px; color: var(--navy); }
.section-intro p { color: var(--muted); margin: 0; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid3, .grid4 { grid-template-columns: 1fr; } }

/* 特性 */
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .16s, box-shadow .16s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 20px; background: linear-gradient(135deg, rgba(31,154,143,.14), rgba(63,208,189,.18)); color: var(--teal); margin-bottom: 14px; }
.feature h3 { margin: 0 0 8px; font-size: 17px; color: var(--navy); }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

/* 产品卡 */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff;
  box-shadow: var(--shadow); transition: transform .16s, box-shadow .16s;
}
.case::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--mint)); opacity: .9; }
.case:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.case .tag { display: inline-block; color: var(--teal-2); font-size: 12px; font-weight: 800; letter-spacing: .8px; margin: 0 0 12px; }
.case h3 { margin: 0 0 8px; font-size: 19px; color: var(--navy); }
.case .tagline { color: var(--teal); font-weight: 600; font-size: 13.5px; margin: 0 0 8px; }
.case p { color: var(--muted); font-size: 14px; flex: 1; margin: 0; }
.case .actions { margin-top: 18px; gap: 12px; }
@media (max-width: 900px) { .cases { grid-template-columns: 1fr; } }

/* 步骤 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; position: relative; }
.step-card b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--navy); color: #fff; font-size: 15px; margin-bottom: 12px; }
.step-card h3 { font-size: 16px; margin: 0 0 6px; color: var(--navy); }
.step-card p { color: var(--muted); font-size: 14px; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* CTA 带 */
.band { background: linear-gradient(140deg, var(--dark) 0%, var(--dark-2) 60%, #0f3b38 100%); color: #eaf5f3; border-radius: 26px; padding: 46px; display: flex; align-items: center; gap: 32px; justify-content: space-between; flex-wrap: wrap; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; width: 360px; height: 360px; right: -80px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(63,208,189,.5), transparent 60%); filter: blur(40px); }
.band h2 { color: #fff; margin: 0 0 8px; font-size: clamp(22px, 3vw, 30px); }
.band p { margin: 0; color: #a9c4c0; }

/* 套餐 / 支付 */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.plan { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.plan:hover { border-color: var(--teal-2); transform: translateY(-2px); }
.plan.active { border-color: var(--teal-2); box-shadow: 0 14px 36px rgba(31,154,143,.20); }
.plan .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(95deg, var(--teal), var(--mint)); color: #05221f; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 14px; }
.plan h3 { margin: 0 0 6px; font-size: 16px; color: var(--navy); }
.plan .price { color: var(--coral); font-size: 32px; font-weight: 800; margin: 4px 0; }
.plan .price small { font-size: 14px; font-weight: 600; }
.plan .unit { font-size: 13px; color: var(--muted); }
.reco { display: none; margin-top: 14px; background: linear-gradient(95deg, rgba(31,154,143,.10), rgba(63,208,189,.10)); border: 1px dashed rgba(31,154,143,.4); border-radius: 14px; padding: 14px 16px; font-size: 13.5px; color: var(--navy); }
.reco.show { display: block; animation: fadeUp .5s both; }
.reco b { color: var(--teal); }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }

.pay-panel { margin-top: 30px; display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; border: 1px solid var(--line); border-radius: 22px; padding: 34px; background: #fff; box-shadow: var(--shadow); }
.pay-panel h2 { font-size: 19px; margin: 0 0 18px; color: var(--navy); }
.step { display: flex; gap: 12px; margin-bottom: 16px; }
.step b { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 13px; }
.step div { flex: 1; }
.step small { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.order-no { display: flex; align-items: center; gap: 10px; background: var(--soft); border-radius: 10px; padding: 10px 14px; margin: 8px 0 0; }
.order-no code { font-size: 15px; font-weight: 800; letter-spacing: .5px; }
.copy-btn { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 5px 12px; font-size: 13px; cursor: pointer; color: var(--ink); }
.copy-btn:hover { border-color: var(--teal-2); color: var(--teal); }
.qr-box { text-align: center; }
.qr-box img { width: 100%; max-width: 240px; margin: 0 auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.qr-box .ph { width: 220px; height: 220px; margin: 0 auto; border: 1px dashed var(--line); border-radius: 14px; display: grid; place-items: center; color: var(--muted); font-size: 13px; background: var(--soft); }
.qr-box p { font-size: 14px; font-weight: 700; margin: 12px 0 2px; }
.qr-box small { color: var(--muted); font-size: 12px; }
@media (max-width: 860px) { .pay-panel { grid-template-columns: 1fr; } }

/* 表单 */
fieldset { border: 0; padding: 0; margin: 0; }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
input, select, textarea { width: 100%; margin-top: 6px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 11px; font: inherit; font-size: 14px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal-2); box-shadow: 0 0 0 3px rgba(31,154,143,.14); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 700; cursor: pointer; color: var(--navy); }
.faq p { color: var(--muted); font-size: 14px; margin: 8px 0 0; }

/* 合规正文 */
.prose { max-width: 860px; }
.prose h2 { font-size: 18px; margin: 32px 0 10px; color: var(--navy); }
.prose p, .prose li { color: #33465c; font-size: 14.5px; }
.prose ul { padding-left: 20px; }
.notice { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; color: var(--muted); font-size: 13.5px; }
.meta-line { color: var(--muted); font-size: 13px; }

/* 页脚 */
.footer { border-top: 1px solid var(--line); background: #f7faf9; padding: 46px 24px 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; max-width: var(--wrap); margin: 0 auto 26px; }
.footer-grid h4 { font-size: 13px; margin: 0 0 12px; color: var(--navy); }
.footer-grid a { display: block; color: var(--muted); font-size: 13.5px; padding: 3px 0; }
.footer-grid a:hover { color: var(--teal); }
.f-logo { height: 32px; width: auto; margin-bottom: 12px; }
.f-brand p { font-size: 13px; max-width: 300px; margin: 0; }
.footer-legal { max-width: var(--wrap); margin: 0 auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 12.5px; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--teal); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ── 智能助手挂件 ── */
.ai-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 18px; border: 0; cursor: pointer;
  border-radius: 999px; color: #04201c; font-weight: 800; font-size: 14px;
  background: linear-gradient(95deg, var(--mint), #7ff0dd); box-shadow: 0 14px 34px rgba(31,154,143,.45);
  transition: transform .14s;
}
.ai-fab:hover { transform: translateY(-2px); }
.ai-fab i { width: 8px; height: 8px; border-radius: 50%; background: #04201c; animation: pulse 2s infinite; }
.ai-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 61; width: 380px; max-width: calc(100vw - 32px);
  height: 560px; max-height: calc(100vh - 44px); background: #fff; border: 1px solid var(--line);
  border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; display: none; flex-direction: column;
}
.ai-panel.open { display: flex; animation: fadeUp .3s both; }
.ai-head { background: linear-gradient(140deg, var(--dark) 0%, var(--dark-2) 100%); color: #eaf5f3; padding: 15px 18px; display: flex; align-items: center; gap: 10px; }
.ai-head img { height: 26px; }
.ai-head b { font-size: 14px; }
.ai-head .mode { margin-left: auto; font-size: 11px; border: 1px solid rgba(63,208,189,.5); color: var(--mint); border-radius: 999px; padding: 2px 9px; }
.ai-head .x { margin-left: 8px; cursor: pointer; opacity: .8; font-size: 18px; line-height: 1; background: none; border: 0; color: #fff; }
.ai-body { flex: 1; overflow-y: auto; padding: 16px; background: var(--soft); }
.ai-msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.6; margin-bottom: 10px; white-space: pre-wrap; word-break: break-word; }
.ai-msg.bot { background: #fff; border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; }
.ai-msg.me { background: linear-gradient(95deg, var(--teal), var(--teal-2)); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; background: var(--soft); }
.ai-chips button { border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; cursor: pointer; }
.ai-chips button:hover { border-color: var(--teal-2); color: var(--teal); }
.ai-foot { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.ai-foot input { margin: 0; }
.ai-foot .button { padding: 10px 16px; }
.ai-typing span { display: inline-block; width: 6px; height: 6px; margin: 0 1px; border-radius: 50%; background: var(--teal-2); animation: pulse 1s infinite; }
.ai-typing span:nth-child(2) { animation-delay: .15s; } .ai-typing span:nth-child(3) { animation-delay: .3s; }

/* 通用 */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 11px 20px; border-radius: 10px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 70; }
.toast.show { opacity: .96; }
.card-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-weight: 600; }
.res-badge { border-radius: 6px; padding: 1px 8px; font-size: 12px; font-weight: 700; }
.res-pending { background: #fff4e5; color: #b7791f; }
.res-fulfilled { background: #e6ffef; color: #1a7f4b; }
.res-cancelled { background: #f2f3f5; color: #7a8794; }
.rowbtns { display: flex; gap: 6px; }
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 20px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; }
.kpi b { display: block; font-size: 22px; }
.kpi small { color: var(--muted); font-size: 12px; }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.code-cell { font-family: ui-monospace, Menlo, monospace; font-weight: 700; }
