/* =========================================================
   鹏城商务通 · 设计系统
   ========================================================= */
:root {
  --brand: #0B4D63;
  --brand-deep: #073747;
  --brand-2: #127C8E;
  --brand-soft: #EAF2F5;
  --gold: #C08A3E;
  --gold-soft: #FBF4E6;
  --ink: #14212B;
  --ink-2: #2B3A45;
  --sub: #64757F;
  --line: #E3E8EB;
  --line-2: #EFF3F5;
  --bg: #F5F7F8;
  --white: #FFFFFF;
  --danger: #C0392B;
  --ok: #1E7B52;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(18, 42, 56, .06);
  --shadow-lg: 0 24px 60px rgba(10, 38, 52, .14);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; border: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.01em; line-height: 1.28; }
h1 { font-size: 32px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
::selection { background: var(--brand); color: #fff; }

.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.container-sm { width: min(880px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 56px 0; }
.section-sm { padding: 32px 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px;
  border: 1px solid transparent; background: var(--brand); color: #fff;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: .18s ease; cursor: pointer;
}
.btn:hover { background: var(--brand-deep); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { height: 52px; padding: 0 30px; font-size: 16px; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { background: var(--brand-soft); border-color: transparent; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: #F1F6F8; }
.btn-gold { background: linear-gradient(135deg, #C9A45C, #B3853F); color: #fff; }
.btn-gold:hover { background: linear-gradient(135deg, #BE9750, #A17534); }
.btn-outline-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.32); }
.btn-outline-light:hover { background: rgba(255,255,255,.16); }
.btn-danger { background: var(--danger); }
.btn-danger:hover { background: #A93226; }
.btn-disabled, .btn[disabled] { opacity: .5; cursor: not-allowed; transform: none !important; }
.linklike { background: none; border: 0; color: var(--brand); font-weight: 600; padding: 0; }
.linklike:hover { text-decoration: underline; }

/* ---------- 通用 ---------- */
.muted { color: var(--sub); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.strong { font-weight: 700; }
.gold { color: var(--gold); }
.mt-4 { margin-top: 4px; } .mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.flex { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.text-right { text-align: right; } .text-center { text-align: center; }
.w-full { width: 100%; }
.hr { height: 1px; background: var(--line); margin: 20px 0; }

.tag {
  display: inline-flex; align-items: center; gap: 4px;
  height: 24px; padding: 0 10px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 600;
}
.tag.gold { background: var(--gold-soft); color: #91672A; }
.tag.gray { background: #F2F4F5; color: var(--sub); }
.tag.green { background: #E9F5EF; color: var(--ok); }
.tag.red { background: #FBECEA; color: var(--danger); }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #27AE60; display: inline-block; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-pad { padding: 24px; }
.card-hover { transition: .22s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #D5DEE3; }

.avatar { border-radius: 50%; object-fit: cover; background: var(--brand-soft); }
.avatar-32 { width: 32px; height: 32px; } .avatar-40 { width: 40px; height: 40px; }
.avatar-56 { width: 56px; height: 56px; } .avatar-72 { width: 72px; height: 72px; }
.avatar-fallback { display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--brand); }

.empty {
  padding: 56px 20px; text-align: center; color: var(--sub);
  background: #fff; border: 1px dashed var(--line); border-radius: var(--radius);
}
.empty h3 { color: var(--ink); margin-bottom: 6px; }

/* ---------- 头部 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 70px; display: flex; align-items: center; gap: 36px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--brand-2), var(--brand)); color: #fff;
  font-size: 19px; font-weight: 700; letter-spacing: 1px;
  box-shadow: 0 6px 16px rgba(11, 77, 99, .25);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { font-size: 17px; letter-spacing: .02em; }
.logo-text em { font-style: normal; font-size: 9px; letter-spacing: .18em; color: var(--sub); margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.site-nav a {
  padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-size: 14.5px; font-weight: 500;
  transition: .16s;
}
.site-nav a:hover { background: #F0F4F6; color: var(--brand); }
.site-nav a.is-active { color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-user { display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; border: 1px solid var(--line); }
.header-user:hover { border-color: #CFDADF; background: #FAFCFD; }
.header-user b { font-size: 13px; max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-points { font-size: 13px; color: var(--gold); font-weight: 700; }
.topbar {
  background: var(--brand-deep); color: rgba(255,255,255,.86); font-size: 12.5px;
  text-align: center; padding: 6px 16px; letter-spacing: .02em;
}
.topbar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0B1B24; color: rgba(255,255,255,.62); padding: 56px 0 36px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .logo-mark { background: linear-gradient(140deg, #1B8FA3, #0B4D63); }
.footer-brand p { margin-top: 14px; font-size: 13px; line-height: 1.8; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: .08em; margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; font-size: 13px; margin-bottom: 9px; color: rgba(255,255,255,.6); }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1100px 460px at 78% -10%, rgba(62, 198, 192, .22), transparent 60%),
              radial-gradient(800px 420px at 8% 110%, rgba(192, 138, 62, .18), transparent 55%),
              linear-gradient(135deg, #062330 0%, #0A3D50 48%, #0B4D63 100%);
  border-radius: 26px; margin-top: 26px;
  padding: 62px 60px 52px;
}
.hero::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(70% 80% at 50% 45%, #000 30%, transparent 100%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .12em; color: rgba(255,255,255,.72); text-transform: uppercase; }
.hero-kicker::before { content: ""; width: 22px; height: 1px; background: var(--gold); }
.hero h1 { font-size: clamp(34px, 4vw, 50px); margin: 18px 0 16px; letter-spacing: -.02em; line-height: 1.18; }
.hero h1 span { color: #E7C98F; }
.hero p.lead { font-size: 16px; color: rgba(255,255,255,.78); max-width: 540px; line-height: 1.8; }
.hero-search { display: flex; gap: 8px; margin-top: 30px; max-width: 520px; background: rgba(255,255,255,.1); padding: 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); }
.hero-search input {
  flex: 1; height: 44px; border: 0; background: transparent; color: #fff; padding: 0 18px; outline: none;
}
.hero-search input::placeholder { color: rgba(255,255,255,.5); }
.hero-search .btn { height: 44px; background: #fff; color: var(--brand); }
.hero-cta { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-stat {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: 16px;
  padding: 22px 24px; backdrop-filter: blur(6px);
}
.hero-stat b { display: block; font-size: 30px; letter-spacing: -.02em; }
.hero-stat span { font-size: 12.5px; color: rgba(255,255,255,.62); }
.hero-stat.gold b { color: #E7C98F; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-head h2 { font-size: 26px; }
.section-head p { color: var(--sub); font-size: 14px; margin-top: 6px; }
.section-head .more { font-size: 13.5px; color: var(--brand); font-weight: 600; white-space: nowrap; }
.section-head .more:hover { text-decoration: underline; }

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip {
  height: 34px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  display: inline-flex; align-items: center; font-size: 13.5px; color: var(--ink-2); transition: .16s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- 产品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .22s ease; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #D3DDE2; }
.product-cover { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #EAF1F4, #DCE8EC); position: relative; overflow: hidden; }
.product-cover img { width: 100%; height: 100%; object-fit: cover; }
.product-cover .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #7D9AA6; font-size: 34px; font-weight: 700; letter-spacing: 2px; }
.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h3 { font-size: 16px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--sub); }
.product-price { color: var(--gold); font-weight: 700; font-size: 17px; }
.product-ent { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--sub); }
.product-ent img { width: 18px; height: 18px; border-radius: 5px; object-fit: cover; }

/* ---------- 企业卡片 ---------- */
.ent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ent-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 14px; align-items: flex-start; transition: .2s; }
.ent-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.ent-logo { width: 52px; height: 52px; border-radius: 13px; object-fit: cover; background: var(--brand-soft); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--brand); font-size: 18px; overflow: hidden; }
.ent-card h3 { font-size: 16px; margin-bottom: 4px; }
.ent-card p { font-size: 12.5px; color: var(--sub); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ent-card .meta { margin-top: 10px; display: flex; gap: 10px; font-size: 12px; color: var(--sub); }

/* ---------- 三步流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; position: relative; overflow: hidden; }
.step .num { font-size: 40px; font-weight: 800; color: var(--brand-soft); line-height: 1; letter-spacing: -.04em; }
.step h3 { margin: 14px 0 6px; font-size: 16px; }
.step p { color: var(--sub); font-size: 13.5px; line-height: 1.75; }

.cta-band {
  margin-top: 56px; border-radius: 22px; padding: 42px 48px; color: #fff; overflow: hidden; position: relative;
  background: linear-gradient(120deg, #0B4D63, #0A3B4C 60%, #133B44);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { font-size: 26px; margin-bottom: 7px; }
.cta-band p { color: rgba(255,255,255,.7); font-size: 14px; }

/* ---------- 认证 / 登录 ---------- */
.auth-wrap { min-height: calc(100vh - 70px); display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; align-items: stretch; padding: 40px 0 60px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 40px 44px; box-shadow: var(--shadow); }
.auth-aside {
  background: linear-gradient(150deg, #082F3D, #0B4D63 55%, #12707F); color: #fff;
  border-radius: 22px; margin-left: 22px; padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
}
.auth-aside::after { content: "鹏"; position: absolute; right: -18px; bottom: -50px; font-size: 190px; font-weight: 800; color: rgba(255,255,255,.05); }
.auth-aside h2 { font-size: 30px; line-height: 1.28; margin-bottom: 14px; }
.auth-aside p { color: rgba(255,255,255,.72); font-size: 14.5px; line-height: 1.9; }
.auth-aside ul { margin-top: 26px; display: grid; gap: 12px; font-size: 14px; color: rgba(255,255,255,.85); }
.auth-aside li::before { content: "·"; color: #E7C98F; font-weight: 700; margin-right: 8px; }
.auth-head { margin-bottom: 28px; }
.auth-head h1 { font-size: 26px; margin-bottom: 7px; }
.auth-head p { color: var(--sub); font-size: 14px; }
.btn-wechat { background: #07C160; width: 100%; height: 52px; border-radius: 12px; font-size: 16px; }
.btn-wechat:hover { background: #06AD56; }
.qr-box { width: 190px; height: 190px; margin: 0 auto; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.qr-box canvas, .qr-box img { width: 100% !important; height: 100% !important; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--sub); font-size: 12px; margin: 24px 0; }
.divider::before, .divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.dev-hint { font-size: 12px; color: var(--sub); background: #F8FAFB; border-radius: 10px; padding: 10px 12px; line-height: 1.7; }

/* ---------- 表单 ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.field label .req { color: var(--danger); margin-left: 2px; }
.input, .textarea, .select {
  width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; outline: none; transition: .16s; font-size: 14px;
}
.textarea { height: auto; min-height: 120px; padding: 12px 14px; line-height: 1.7; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #7A8B93 50%), linear-gradient(135deg, #7A8B93 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(18,124,142,.12); }
.field-hint { font-size: 12px; color: var(--sub); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.check input { width: 16px; height: 16px; accent-color: var(--brand); }
.upload-box {
  border: 1px dashed #C9D6DC; border-radius: 12px; padding: 18px; text-align: center; background: #FAFCFD; cursor: pointer; position: relative;
}
.upload-box input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.upload-box .preview { width: 84px; height: 84px; border-radius: 10px; object-fit: cover; margin: 0 auto 8px; background: var(--brand-soft); }
.upload-box span { font-size: 12.5px; color: var(--sub); }
.form-actions { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.table th { text-align: left; font-weight: 600; color: var(--sub); background: #FAFBFC; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.table td { padding: 13px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
table.table tr:last-child td { border-bottom: 0; }
table.table td.num { font-variant-numeric: tabular-nums; }
.table-empty { padding: 40px; text-align: center; color: var(--sub); }

/* ---------- 提示 ---------- */
.flash-stack { position: fixed; top: 86px; left: 50%; transform: translateX(-50%); z-index: 900; display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); }
.flash {
  padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); font-size: 13.5px; display: flex; gap: 10px; align-items: flex-start;
  animation: flashIn .28s ease;
}
.flash.success { border-left: 4px solid var(--ok); }
.flash.error { border-left: 4px solid var(--danger); }
.flash.info { border-left: 4px solid var(--brand-2); }
.flash b { flex-shrink: 0; }
@keyframes flashIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- 个人中心 ---------- */
.page-head { padding: 36px 0 8px; }
.page-head h1 { font-size: 28px; }
.page-head p { color: var(--sub); margin-top: 6px; }
.profile-card { display: flex; gap: 18px; align-items: center; padding: 26px; }
.profile-meta h2 { font-size: 20px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.profile-meta p { color: var(--sub); font-size: 13px; margin-top: 4px; }
.points-pill { display: inline-flex; align-items: baseline; gap: 5px; background: var(--gold-soft); color: #8B6427; border-radius: 999px; padding: 7px 14px; font-size: 12px; }
.points-pill b { font-size: 21px; }
.dash-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; }
.dash-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.dash-card h3 { display: flex; align-items: center; justify-content: space-between; font-size: 16px; margin-bottom: 16px; }
.dash-card h3 a { font-size: 12.5px; color: var(--brand); font-weight: 500; }
.list-row { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.list-row:last-child { border-bottom: 0; }
.list-row .t { flex: 1; min-width: 0; }
.list-row .t b { display: block; font-size: 13.5px; }
.list-row .t span { color: var(--sub); font-size: 12px; }
.list-row .amt.plus { color: var(--ok); font-weight: 700; }
.list-row .amt.minus { color: var(--danger); font-weight: 700; }
.quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quick {
  display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 12px; background: #F8FAFB;
  border: 1px solid var(--line-2); transition: .16s;
}
.quick:hover { background: var(--brand-soft); border-color: transparent; }
.quick b { font-size: 14px; } .quick span { font-size: 12px; color: var(--sub); }
.notice-list li { padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.notice-list li:last-child { border-bottom: 0; }
.notice-list b { display: block; font-size: 13.5px; margin-bottom: 2px; }
.notice-list span { color: var(--sub); font-size: 12px; }

/* ---------- 积分 ---------- */
.balance-hero {
  background: linear-gradient(130deg, #0B4D63, #0A3C4D 65%, #124A52); color: #fff; border-radius: 20px;
  padding: 34px 38px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.balance-hero .label { font-size: 12.5px; color: rgba(255,255,255,.65); letter-spacing: .1em; }
.balance-hero .big { font-size: 46px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.balance-hero .big span { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.6); margin-left: 6px; }
.rule-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rule-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rule-item b { font-size: 14px; display: block; }
.rule-item span { font-size: 12px; color: var(--sub); }
.rule-item .pts { font-weight: 800; font-size: 16px; white-space: nowrap; }
.rule-item .pts.plus { color: var(--ok); } .rule-item .pts.minus { color: var(--danger); }

/* ---------- 套餐 ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; position: relative; display: flex; flex-direction: column; }
.plan-card.featured { border: 1.5px solid var(--brand); box-shadow: 0 18px 44px rgba(11,77,99,.12); }
.plan-card .badge {
  position: absolute; top: -12px; right: 22px; background: linear-gradient(135deg, #C9A45C, #B3853F);
  color: #fff; font-size: 11.5px; padding: 5px 12px; border-radius: 999px; letter-spacing: .04em;
}
.plan-card h3 { font-size: 21px; }
.plan-card .sub { color: var(--sub); font-size: 12.5px; margin-top: 3px; }
.plan-price { margin: 20px 0 6px; display: flex; align-items: baseline; gap: 4px; }
.plan-price b { font-size: 34px; color: var(--brand); letter-spacing: -.03em; }
.plan-price span { color: var(--sub); font-size: 12.5px; }
.plan-features { margin: 18px 0 24px; display: grid; gap: 9px; font-size: 13px; color: var(--ink-2); flex: 1; }
.plan-features li { display: flex; gap: 8px; align-items: flex-start; }
.plan-features li::before { content: "✓"; color: var(--brand-2); font-weight: 700; }
.plan-card .btn { margin-top: auto; }

/* ---------- 订单 ---------- */
.order-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; }
.order-sum { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 6px; }
.order-sum b { font-size: 40px; color: var(--brand); letter-spacing: -.03em; }
.order-line { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.order-line span { color: var(--sub); }
.pay-methods { display: grid; gap: 10px; margin: 22px 0; }
.pay-method { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.pay-method .dot { width: 34px; height: 34px; border-radius: 9px; background: #E9F8F0; color: #07C160; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.pay-method b { display: block; font-size: 14px; } .pay-method span { font-size: 12px; color: var(--sub); }

/* ---------- 名片入口/编辑 ---------- */
.tpl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tpl-option { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px; cursor: pointer; transition: .18s; background: #fff; }
.tpl-option:hover { border-color: #B9CBD3; }
.tpl-option.is-selected { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11,77,99,.1); }
.tpl-thumb { height: 92px; border-radius: 8px; margin-bottom: 8px; position: relative; overflow: hidden; }
.tpl-thumb .t-name { position: absolute; left: 10px; bottom: 9px; font-size: 10px; letter-spacing: .06em; opacity: .85; }
.tpl-thumb .t-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; }
.tpl-option b { font-size: 13px; display: block; }
.tpl-option span { font-size: 11px; color: var(--sub); }

/* ---------- 企业主页（PC / 移动） ---------- */
.eh { background: #fff; }
.eh-hero { position: relative; min-height: 340px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: #0B4D63; }
.eh-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.eh-hero .mask { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,30,40,.25), rgba(6,30,40,.82)); }
.eh-hero-inner { position: relative; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 76px 0 44px; }
.eh-brand { display: flex; align-items: center; gap: 18px; }
.eh-logo { width: 78px; height: 78px; border-radius: 16px; background: #fff; object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; color: var(--brand); overflow: hidden; box-shadow: 0 10px 26px rgba(0,0,0,.24); }
.eh-brand h1 { font-size: 34px; letter-spacing: -.02em; }
.eh-brand p { color: rgba(255,255,255,.75); font-size: 14px; margin-top: 5px; }
.eh-badges { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.eh-badges span { font-size: 11.5px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 3px 10px; color: rgba(255,255,255,.8); }
.eh-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.eh-nav-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; display: flex; align-items: center; gap: 6px; height: 62px; }
.eh-nav-inner a { padding: 8px 18px; border-radius: 999px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.eh-nav-inner a.is-active { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.eh-nav-inner .spacer { flex: 1; }
.eh-view-toggle { font-size: 12px; color: var(--sub); border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; }
.eh-body { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 48px 0 70px; }
.eh-section { margin-bottom: 52px; }
.eh-kicker { font-size: 11.5px; letter-spacing: .16em; color: var(--gold); text-transform: uppercase; margin-bottom: 8px; }
.eh-section h2 { font-size: 24px; margin-bottom: 18px; }
.eh-about-text { color: #3C4C56; line-height: 2; font-size: 14.5px; max-width: 860px; white-space: pre-line; }
.eh-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0; }
.eh-stat { background: #F7FAFB; border-radius: 14px; padding: 18px 20px; }
.eh-stat b { font-size: 24px; color: var(--brand); display: block; letter-spacing: -.02em; }
.eh-stat span { font-size: 12px; color: var(--sub); }
.eh-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.eh-contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.eh-contact-card { background: #F7FAFB; border-radius: 16px; padding: 28px 30px; }
.eh-contact-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.eh-contact-row:last-child { border-bottom: 0; }
.eh-contact-row .k { width: 76px; color: var(--sub); flex-shrink: 0; }
.eh-contact-row .v { color: var(--ink); word-break: break-all; }
.eh-staff { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.eh-staff-card { border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; gap: 12px; align-items: center; }
.eh-staff-card img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.eh-staff-card b { font-size: 13.5px; display: block; } .eh-staff-card span { font-size: 11.5px; color: var(--sub); }
.eh-expired { background: #FFF7E6; border: 1px solid #F2D9A6; color: #8A6116; padding: 12px 16px; border-radius: 10px; font-size: 13px; margin-bottom: 20px; }

/* ---------- 移动端底部导航 ---------- */
.mobile-nav {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(12px);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}
.mobile-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--sub); padding: 5px 0; }
.mobile-nav a.is-active { color: var(--brand); font-weight: 700; }
.mobile-nav .ico { font-size: 17px; line-height: 1; }

/* ---------- 后台 ---------- */
.admin-body { background: #F3F5F7; }
.admin-shell { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; }
.admin-side { background: #0A2330; color: #fff; padding: 22px 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .logo { margin-bottom: 26px; padding: 0 8px; }
.admin-side .logo-text b { color: #fff; }
.admin-side .logo-text em { color: rgba(255,255,255,.45); }
.admin-side nav { display: grid; gap: 3px; }
.admin-side nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; font-size: 13.5px; color: rgba(255,255,255,.72); }
.admin-side nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-side nav a.is-active { background: rgba(255,255,255,.13); color: #fff; font-weight: 600; }
.admin-side .side-foot { margin-top: 30px; padding: 14px 10px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; color: rgba(255,255,255,.5); }
.admin-main { padding: 26px 32px 60px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.admin-head h1 { font-size: 22px; }
.admin-head .actions { display: flex; gap: 8px; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.admin-stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.admin-stat span { font-size: 12px; color: var(--sub); }
.admin-stat b { display: block; font-size: 26px; letter-spacing: -.02em; margin-top: 4px; }
.admin-stat .sub { font-size: 11.5px; color: var(--sub); margin-top: 2px; }
.admin-panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin-bottom: 20px; }
.admin-panel h2 { font-size: 16px; margin-bottom: 14px; }
.admin-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .product-grid, .eh-products { grid-template-columns: repeat(2, 1fr); }
  .ent-grid, .steps, .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .tpl-grid { grid-template-columns: repeat(3, 1fr); }
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .container { width: calc(100% - 32px); }
  .site-header .header-inner { height: 62px; gap: 14px; }
  .site-nav { display: none; }
  .header-actions { margin-left: auto; gap: 8px; }
  .header-actions .btn { height: 36px; padding: 0 14px; font-size: 13px; }
  .header-user b { display: none; }
  .hero { padding: 34px 24px 30px; border-radius: 18px; margin-top: 14px; }
  .hero h1 { font-size: 30px; }
  .hero p.lead { font-size: 14px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat { padding: 16px; }
  .hero-stat b { font-size: 24px; }
  .hero-search { margin-top: 20px; }
  .section { padding: 36px 0; }
  .section-head h2 { font-size: 21px; }
  .product-grid, .ent-grid, .steps, .plan-grid, .rule-list, .eh-products, .eh-staff { grid-template-columns: 1fr; }
  .tpl-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .site-footer { padding: 40px 0 90px; margin-top: 30px; }
  .mobile-nav { display: flex; }
  .dash-grid, .field-row, .eh-contact { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; padding: 16px 0 30px; }
  .auth-aside { display: none; }
  .auth-card { padding: 26px 20px; border-radius: 16px; }
  .balance-hero { padding: 24px; }
  .balance-hero .big { font-size: 36px; }
  .eh-hero-inner { padding: 50px 0 30px; }
  .eh-brand { gap: 12px; }
  .eh-logo { width: 58px; height: 58px; }
  .eh-brand h1 { font-size: 24px; }
  .eh-nav-inner { width: calc(100% - 24px); height: 54px; gap: 2px; overflow-x: auto; }
  .eh-nav-inner a { padding: 7px 14px; font-size: 13px; white-space: nowrap; }
  .eh-view-toggle { display: none; }
  .eh-body { width: calc(100% - 32px); padding: 30px 0 50px; }
  .eh-section { margin-bottom: 34px; }
  .eh-stats { grid-template-columns: 1fr 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; display: none; }
  .admin-main { padding: 18px 16px 50px; }
  .admin-grid2 { grid-template-columns: 1fr; }
  .table-wrap { font-size: 12.5px; }
  .cta-band { padding: 28px 24px; }
}

/* 企业主页按访客端强制的排版 */
.eh.view-mobile .eh-hero { min-height: 270px; }
.eh.view-mobile .eh-brand h1 { font-size: 25px; }
.eh.view-mobile .eh-products { grid-template-columns: 1fr; }
.eh.view-mobile .eh-contact { grid-template-columns: 1fr; }
.eh.view-mobile .eh-stats { grid-template-columns: 1fr 1fr; }
.eh.view-mobile .eh-body { padding-bottom: 60px; }

/* ========== 企业主页 PC / 手机版强制形态 ========== */
body.view-pc { min-width: 1180px; }
body.view-pc .eh-hero-inner, body.view-pc .eh-nav-inner, body.view-pc .eh-body { width: 1180px; max-width: 1180px; }
body.view-pc .eh-hero { min-height: 420px; }
body.view-pc .eh-brand h1 { font-size: 38px; }

body.view-mobile { background: #EEF2F4; }
body.view-mobile .eh-hero { min-height: 210px; }
body.view-mobile .eh-hero-inner,
body.view-mobile .eh-nav-inner,
body.view-mobile .eh-body { width: 100%; max-width: 620px; padding-left: 16px; padding-right: 16px; }
body.view-mobile .eh-hero-inner { padding-top: 40px; padding-bottom: 24px; }
body.view-mobile .eh-brand { gap: 12px; }
body.view-mobile .eh-logo { width: 54px; height: 54px; border-radius: 12px; font-size: 18px; }
body.view-mobile .eh-brand h1 { font-size: 21px; }
body.view-mobile .eh-brand p { font-size: 12.5px; }
body.view-mobile .eh-badges span { font-size: 10.5px; }
body.view-mobile .eh-nav-inner { height: auto; padding-top: 8px; padding-bottom: 8px; overflow-x: auto; gap: 2px; }
body.view-mobile .eh-nav-inner a { padding: 6px 12px; font-size: 13px; white-space: nowrap; }
body.view-mobile .eh-nav-inner .spacer { display: none; }
body.view-mobile .eh-view-toggle { font-size: 11px; padding: 4px 8px; white-space: nowrap; }
body.view-mobile .eh-body { padding-top: 26px; padding-bottom: 44px; }
body.view-mobile .eh-section { margin-bottom: 34px; }
body.view-mobile .eh-section h2 { font-size: 20px; }
body.view-mobile .eh-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
body.view-mobile .eh-stat { padding: 14px; }
body.view-mobile .eh-stat b { font-size: 19px; }
body.view-mobile .eh-products { grid-template-columns: 1fr; gap: 14px; }
body.view-mobile .eh-contact { grid-template-columns: 1fr; }
body.view-mobile .eh-staff { grid-template-columns: 1fr; }
body.view-mobile .eh-about-text { font-size: 14px; line-height: 1.9; }
