@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

:root {
  --navy: #102b49;
  --navy-light: #1b456f;
  --gold: #c9a84c;
  --gold-light: #f1d888;
  --ink: #182536;
  --muted: #66758a;
  --line: #dfe5ed;
  --paper: #fff;
  --wash: #f3f6fa;
  --green: #167c51;
  --shadow: 0 16px 42px rgba(20, 43, 72, .1);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--wash); font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif; }
a { color: inherit; }
.commerce-nav { height: 70px; padding: 0 max(24px, calc((100vw - 1240px) / 2)); display: flex; align-items: center; justify-content: space-between; background: linear-gradient(120deg, #173c61, #0d233d); border-bottom: 2px solid var(--gold); color: #fff; }
.brand { display: flex; align-items: center; gap: 13px; color: var(--gold-light); text-decoration: none; font-family: 'Noto Serif SC', serif; font-weight: 700; letter-spacing: .04em; }
.brand img { width: 38px; height: 38px; object-fit: contain; border-radius: 50%; }
.nav-links { display: flex; gap: 8px; }
.nav-links a { color: rgba(255,255,255,.78); text-decoration: none; font-size: 13px; padding: 8px 13px; border-radius: 6px; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.1); }
main { max-width: 1240px; margin: auto; padding: 0 24px 70px; }
.pricing-hero { text-align: center; padding: 78px 20px 60px; position: relative; }
.pricing-hero::before { content: ''; width: 520px; height: 300px; position: absolute; left: 50%; top: -80px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(201,168,76,.15), transparent 68%); pointer-events: none; }
.eyebrow, .section-kicker { display: inline-block; color: #92741f; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.pricing-hero h1 { position: relative; max-width: 860px; margin: 14px auto 18px; font-family: 'Noto Serif SC', serif; font-size: clamp(30px, 4vw, 48px); line-height: 1.3; color: var(--navy); }
.pricing-hero > p { max-width: 780px; margin: auto; color: var(--muted); font-size: 16px; line-height: 1.9; }
.hero-pills { margin-top: 26px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.hero-pills span { padding: 7px 15px; border: 1px solid #d9c98d; color: #705b1c; background: rgba(255,255,255,.78); border-radius: 99px; font-size: 12px; }
.price-section { margin-bottom: 68px; }
.section-heading { margin-bottom: 24px; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.section-heading h2, .comparison h2 { margin: 6px 0 0; color: var(--navy); font-family: 'Noto Serif SC', serif; font-size: 28px; }
.section-heading > p { margin: 0; color: var(--muted); }
.price-grid { display: grid; gap: 17px; align-items: stretch; }
.personal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin: 0 auto; }
.deploy-grid { grid-template-columns: repeat(3, 1fr); }
.price-card { position: relative; display: flex; flex-direction: column; padding: 28px 25px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 4px 18px rgba(23,48,79,.045); transition: .24s ease; overflow: hidden; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c8d2df; }
.price-card.featured { border: 2px solid var(--gold); box-shadow: 0 13px 32px rgba(117,89,17,.13); }
.popular { position: absolute; right: -31px; top: 18px; width: 120px; padding: 5px; transform: rotate(38deg); text-align: center; color: #fff; background: var(--gold); font-size: 11px; font-weight: 700; }
.card-tag { color: #9b7b22; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.price-card h3 { margin: 8px 0 16px; font-family: 'Noto Serif SC', serif; color: var(--navy); font-size: 22px; }
.price { color: var(--navy); font-size: 38px; font-weight: 700; line-height: 1.1; }
.price > span:first-child { font-size: 18px; vertical-align: 10px; margin-right: 3px; }
.price .suffix { font-size: 13px; margin-left: 4px; color: var(--muted); font-weight: 500; }
.price-note { min-height: 28px; color: var(--muted); margin-top: 8px; font-size: 13px; }
.saving { display: inline-flex; width: fit-content; margin-top: 2px; padding: 3px 8px; border-radius: 5px; background: #eaf7f0; color: var(--green); font-size: 11px; font-weight: 600; }
.price-card ul { flex: 1; margin: 22px 0 25px; padding: 18px 0 0; list-style: none; border-top: 1px solid #edf0f4; }
.price-card li { position: relative; margin: 0 0 11px; padding-left: 21px; color: #46566a; font-size: 13px; line-height: 1.55; }
.price-card li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.price-card li.muted { color: #8d98a7; }
.price-card li.muted::before { content: '—'; color: #a3acb8; }
.buy-button { display: block; padding: 12px 16px; border-radius: 7px; text-align: center; text-decoration: none; color: #fff; background: linear-gradient(120deg, #1b456f, #102b49); font-size: 14px; font-weight: 600; transition: .2s; }
.buy-button:hover { filter: brightness(1.12); box-shadow: 0 7px 16px rgba(16,43,73,.2); }
.buy-button.disabled { cursor: default; color: #6e7d8e; background: #eef2f6; border: 1px solid #d8e0e8; box-shadow: none; }
.buy-button.disabled:hover { filter: none; box-shadow: none; }
.buy-button.secondary { color: var(--navy); background: #fff; border: 1px solid #b9c6d4; }
.annual { background: linear-gradient(145deg, #fff, #fffdf6); }
.fine-print { color: #8390a0; font-size: 11px; margin: 13px 4px 0; }
.deployment { padding: 48px 40px 42px; margin-left: -40px; margin-right: -40px; border-radius: 24px; background: linear-gradient(145deg, #e9eef5, #f7f8fa); border: 1px solid #e0e5eb; }
.deployment-card.enterprise { background: linear-gradient(145deg, #173c61, #0d233d); border-color: #173c61; }
.deployment-card.enterprise h3, .deployment-card.enterprise .price { color: #fff; }
.deployment-card.enterprise .card-tag { color: var(--gold-light); }
.deployment-card.enterprise .price-note, .deployment-card.enterprise li { color: rgba(255,255,255,.73); }
.deployment-card.enterprise ul { border-color: rgba(255,255,255,.12); }
.deployment-card.enterprise .buy-button { color: #182536; background: var(--gold-light); }
.comparison { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 0; padding: 38px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.comparison > div:first-child { grid-row: span 2; padding-right: 40px; align-self: center; }
.feature-row { padding: 15px 20px; border-left: 1px solid var(--line); }
.feature-row span { color: var(--gold); font-size: 11px; font-weight: 700; }
.feature-row strong { display: block; margin: 3px 0; color: var(--navy); }
.feature-row p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
footer { padding: 25px; text-align: center; color: #8c98a7; font-size: 12px; border-top: 1px solid #e2e7ed; }

/* 支付收银台 */
.checkout-shell { padding-top: 42px; }
.checkout-steps { max-width: 660px; margin: 0 auto 36px; display: flex; align-items: center; justify-content: center; color: #9aa5b3; font-size: 12px; }
.checkout-steps i { width: 90px; height: 1px; margin: 0 12px; background: #cfd7e1; }
.checkout-steps .done { color: var(--green); }
.checkout-steps .active { color: var(--navy); font-weight: 700; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .7fr); gap: 24px; align-items: start; }
.order-panel, .summary-panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 5px 25px rgba(20,43,72,.06); }
.order-panel { padding: 34px 38px; }
.panel-head h1 { margin: 5px 0 6px; font-family: 'Noto Serif SC', serif; color: var(--navy); font-size: 28px; }
.panel-head p { margin: 0; color: var(--muted); font-size: 13px; }
.order-product { display: flex; gap: 18px; align-items: center; margin-top: 28px; padding: 22px; background: #f5f7fa; border-radius: 10px; }
.product-icon { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; color: var(--gold-light); background: var(--navy); border-radius: 10px; font-family: serif; font-weight: 700; }
.order-product small { color: #9a7b26; }
.order-product h2 { margin: 2px 0; color: var(--navy); font-size: 19px; }
.order-product p { margin: 0; color: var(--muted); font-size: 12px; }
.order-details { margin: 18px 0 26px; border: 1px solid #e5e9ef; border-radius: 9px; overflow: hidden; }
.order-details > div { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid #edf0f4; font-size: 12px; }
.order-details > div:last-child { border-bottom: none; }
.order-details dt { color: var(--muted); }
.order-details dd { margin: 0; color: #344459; font-weight: 500; text-align: right; }
.payment-methods-wrap h3 { margin: 0 0 13px; color: var(--navy); font-size: 15px; }
.payment-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pay-method { position: relative; min-height: 70px; padding: 13px; display: flex; align-items: center; gap: 10px; border: 1px solid #dce2e9; border-radius: 9px; background: #fff; color: var(--ink); cursor: pointer; font-family: inherit; text-align: left; }
.pay-method:hover, .pay-method.selected { border-color: var(--gold); background: #fffdf6; }
.pay-method b { width: 30px; height: 30px; display: grid; flex: 0 0 30px; place-items: center; color: #fff; border-radius: 7px; font-size: 12px; }
.pay-method b.wechat { background: #16a765; }.pay-method b.alipay { background: #1685e5; }.pay-method b.bank { background: #b46b32; }
.pay-method span { font-size: 13px; font-weight: 600; }
.pay-method small { display: block; margin-top: 2px; color: #8793a2; font-size: 9px; font-weight: 400; white-space: nowrap; }
.pay-method em { display: none; position: absolute; right: 5px; bottom: 2px; color: #9d7c21; font-style: normal; font-size: 11px; }
.pay-method.selected em { display: block; }
.bank-notice { margin-top: 10px; padding: 11px 13px; color: #725a17; background: #fff8e5; border-radius: 7px; font-size: 11px; line-height: 1.7; }
.agreement { margin-top: 23px; display: flex; align-items: start; gap: 7px; color: #7b8796; font-size: 11px; line-height: 1.6; cursor: pointer; }
.agreement input { margin-top: 3px; accent-color: var(--navy); }
.summary-panel { position: sticky; top: 24px; padding: 28px; }
.summary-panel h2 { margin: 0 0 24px; color: var(--navy); font-family: 'Noto Serif SC', serif; font-size: 20px; }
.summary-line { display: flex; justify-content: space-between; margin: 12px 0; color: #536176; font-size: 12px; }
.summary-line strong { color: #334357; }
.summary-line.discount strong { color: var(--green); }
.total-line { margin: 23px 0 18px; padding-top: 18px; display: flex; align-items: end; justify-content: space-between; border-top: 1px solid var(--line); color: var(--navy); font-size: 13px; }
.total-line strong { color: #b78413; font-size: 28px; line-height: 1; }
.pay-now { width: 100%; padding: 13px; border: 0; border-radius: 7px; color: #fff; background: linear-gradient(120deg, #1b456f, #102b49); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.pay-now:hover { filter: brightness(1.12); }
.security-note { color: #8a96a5; text-align: center; font-size: 9px; }
.invoice-note { margin-top: 22px; padding: 14px; background: #f6f8fa; border-radius: 8px; }
.invoice-note strong { color: var(--navy); font-size: 12px; }
.invoice-note p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.payment-dialog[hidden] { display: none; }
.payment-dialog { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(9,24,41,.65); backdrop-filter: blur(3px); }
.dialog-card { position: relative; max-width: 430px; padding: 36px; text-align: center; background: #fff; border-radius: 16px; box-shadow: 0 25px 65px rgba(0,0,0,.25); }
.dialog-close { position: absolute; top: 9px; right: 13px; border: 0; background: none; color: #8591a0; font-size: 22px; cursor: pointer; }
.dialog-icon { width: 50px; height: 50px; margin: 0 auto 16px; display: grid; place-items: center; color: var(--navy); background: #eef3f8; border-radius: 50%; font-size: 22px; }
.dialog-card h2 { color: var(--navy); margin: 0 0 10px; }
.dialog-card p { color: var(--muted); font-size: 13px; line-height: 1.8; }
#wechatQrBox img { display: block; width: 220px; height: 220px; margin: 12px auto; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
#wechatQrBox .qr-amount { color: var(--green); font-size: 14px; font-weight: 700; }
.dialog-action { margin-top: 10px; padding: 10px 28px; border: 0; border-radius: 6px; color: #fff; background: var(--navy); font-family: inherit; cursor: pointer; }

@media (max-width: 1000px) {
  .personal-grid { grid-template-columns: repeat(2, 1fr); }
  .group-grid, .deploy-grid { grid-template-columns: 1fr; }
  .comparison { grid-template-columns: 1fr 1fr; }
  .comparison > div:first-child { grid-column: 1 / -1; grid-row: auto; padding: 0 0 20px; }
  .feature-row { border-top: 1px solid var(--line); }
  .checkout-layout { grid-template-columns: 1fr; }
  .summary-panel { position: static; }
}

@media (max-width: 640px) {
  .commerce-nav { height: auto; min-height: 62px; padding: 10px 15px; }
  .brand span { display: none; }
  .nav-links a { padding: 7px 8px; font-size: 11px; }
  main { padding-left: 14px; padding-right: 14px; }
  .pricing-hero { padding: 48px 4px 42px; }.pricing-hero h1 { font-size: 29px; }
  .section-heading { display: block; }.section-heading > p { margin-top: 8px; font-size: 12px; }
  .personal-grid, .group-grid { grid-template-columns: 1fr; }
  .deployment { margin-left: -5px; margin-right: -5px; padding: 34px 14px 28px; }
  .comparison { grid-template-columns: 1fr; padding: 24px; }.feature-row { border-left: 0; padding-left: 0; }
  .checkout-shell { padding-top: 25px; }.checkout-steps i { width: 20px; margin: 0 5px; }.checkout-steps { font-size: 10px; }
  .order-panel { padding: 25px 18px; }.payment-methods { grid-template-columns: 1fr; }
}


