/* ============================================================
   导潮数字资产服务平台 · 统一视觉设计系统
   奶油白底色 + 香槟金主色 + 轻奢科技蓝线条
   高端极简科技风 · 适配品牌牌匾高级质感
   ============================================================ */
:root {
  --cream: #FBF7F0;
  --cream-soft: #F4ECDD;
  --surface: #FFFDF8;
  --surface-2: #F8F2E7;
  --gold: #C9A227;
  --gold-light: #E6CF8B;
  --gold-deep: #9C7B1E;
  --tech: #6FA8C7;
  --tech-deep: #2F7DA6;
  --ink: #2E2A22;
  --ink-2: #5C5648;
  --ink-3: #8C8470;
  --line: rgba(201, 162, 39, 0.18);
  --line-soft: rgba(46, 42, 34, 0.08);
  --shadow-sm: 0 2px 10px rgba(120, 95, 30, 0.06);
  --shadow-md: 0 10px 30px rgba(120, 95, 30, 0.10);
  --shadow-gold: 0 8px 30px rgba(201, 162, 39, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  /* 字体栈：Mac 走优雅衬线(宋体/思源宋体)，Windows 无衬线兜底到微软雅黑，避免落到宋体(SimSun)显得单薄 */
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "Microsoft YaHei", "PingFang SC", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(111, 168, 199, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(201, 162, 39, 0.08), transparent 55%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(251, 247, 240, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: .6px; min-width: 0; }
.brand-logo { width: 42px; height: 42px; object-fit: contain; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.18; white-space: nowrap; }
.brand small { display: block; font-family: var(--sans); font-weight: 400; font-size: 10px; color: var(--ink-3); letter-spacing: 1.6px; margin-top: 2px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 15px; color: var(--ink-2); transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-deep); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--gold); transition: width .2s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-cta-desktop { display: flex; gap: 12px; align-items: center; }
.nav-account { display: none; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: 1px solid transparent; transition: all .2s; font-family: var(--sans);
}
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #fff; box-shadow: var(--shadow-gold); }
.btn-gold:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-outline { border-color: var(--gold); color: var(--gold-deep); background: transparent; }
.btn-outline:hover { background: rgba(201,162,39,0.08); }
.btn-ghost { background: var(--surface-2); color: var(--ink-2); }
.btn-ghost:hover { background: var(--cream-soft); }
/* 微信登录按钮（绿色调，区别于金色主按钮） */
.btn-wx { background: linear-gradient(135deg, #1aad19, #09bb07); color: #fff; box-shadow: 0 6px 18px rgba(9,187,7,0.28); }
.btn-wx:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 2px; color: var(--gold-deep); text-transform: uppercase; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.slogan { font-family: var(--serif); font-size: 44px; line-height: 1.34; font-weight: 700; letter-spacing: 0.5px; }
.slogan .hl { color: var(--gold-deep); position: relative; }
.slogan .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 8px; background: rgba(201,162,39,0.22); z-index: -1; border-radius: 4px; }
.lede { margin-top: 22px; font-size: 17px; color: var(--ink-2); max-width: 520px; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { margin-top: 44px; display: flex; gap: 40px; }
.hero-stats .num { font-family: var(--serif); font-size: 30px; color: var(--gold-deep); font-weight: 700; }
.hero-stats .lbl { font-size: 13px; color: var(--ink-3); }

/* 牌匾质感装饰卡 */
.plaque {
  border-radius: 20px; padding: 34px;
  background: linear-gradient(160deg, #FFFDF8, #F6EEDD);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.plaque::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(201,162,39,0.25); border-radius: 14px; pointer-events: none; }
.plaque .plaque-tag { font-size: 12px; letter-spacing: 3px; color: var(--gold-deep); }
.plaque .plaque-title { font-family: var(--serif); font-size: 24px; margin: 10px 0 6px; }
.plaque .plaque-sub { color: var(--ink-2); font-size: 14px; }
.plaque .plaque-line { position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(111,168,199,0.18), transparent 70%); }

/* 科技蓝线条装饰 */
.tech-line { height: 1px; background: linear-gradient(90deg, transparent, var(--tech), transparent); opacity: .5; margin: 8px 0; }

/* ---------- 区块标题 ---------- */
.section { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .tag { font-size: 13px; letter-spacing: 3px; color: var(--gold-deep); }
.section-head h2 { font-family: var(--serif); font-size: 34px; margin-top: 10px; letter-spacing: 0.5px; font-weight: 700; }
.section-head p { color: var(--ink-2); margin-top: 12px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line); }
.card .icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(201,162,39,0.12); color: var(--gold-deep); display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; }
.card h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 8px; font-weight: 600; }
.card p { color: var(--ink-2); font-size: 15px; }
.card .meta { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

/* 资产卡 */
.asset-card .thumb { height: 160px; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--cream-soft), rgba(111,168,199,0.18)); display: grid; place-items: center; font-size: 44px; margin-bottom: 16px; border: 1px solid var(--line); }
.asset-card .badge { position: absolute; top: 16px; right: 16px; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(47,125,166,0.12); color: var(--tech-deep); }
.asset-card .price-pill { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--gold-deep); font-weight: 600; }
.asset-card .owner-pill { display: inline-block; margin-top: 6px; font-size: 12px; color: var(--tech-deep); }
.asset-card .thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.asset-card { cursor: pointer; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* 资产详情弹窗 */
.modal-mask { position: fixed; inset: 0; background: rgba(28,22,15,0.55); backdrop-filter: blur(3px); display: none; place-items: center; z-index: 400; padding: 20px; }
.modal-mask.open { display: grid; }
.modal { position: relative; width: min(560px, 100%); max-height: 88vh; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow-md); }
.modal-close { position: absolute; top: 14px; right: 16px; width: 32px; height: 32px; border: none; border-radius: 50%; background: var(--cream); color: var(--ink-2); font-size: 20px; cursor: pointer; line-height: 1; }
.modal-close:hover { background: var(--gold-light); color: #fff; }
.detail-head { display: flex; gap: 18px; align-items: center; }
.detail-cover { width: 120px; height: 150px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); flex: none; }
.detail-cover.emoji { display: grid; place-items: center; font-size: 56px; background: linear-gradient(135deg, var(--cream-soft), rgba(111,168,199,0.18)); }
.detail-cert { width: 100%; max-width: 100%; border-radius: 12px; border: 1px solid var(--line); margin-top: 6px; }
.detail-single { width: 100%; max-width: 100%; border-radius: 12px; border: 1px solid var(--line); margin-top: 6px; }
@media(max-width:520px){ .detail-head { flex-direction: column; align-items: flex-start; } }

/* 资产详情：三视图 + 证书 + 付费下载 */
.section-sub { font-weight: 600; color: var(--ink); margin: 18px 0 10px; font-family: var(--serif); font-size: 16px; }
.three-view { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tv-item { border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; background: var(--cream); }
.tv-thumb { aspect-ratio: 3 / 4; display: grid; place-items: center; background: linear-gradient(135deg, var(--cream-soft), rgba(111,168,199,0.14)); }
.tv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tv-ph { color: var(--ink-3); font-size: 13px; text-align: center; line-height: 1.5; }
.tv-label { text-align: center; font-size: 13px; color: var(--ink-2); padding: 8px 0; border-top: 1px solid var(--line-soft); }
.dl-note { font-size: 13px; color: var(--gold-deep); margin-top: 6px; font-weight: 600; }
.dl-hint { font-size: 12px; color: var(--ink-3); }
.dl-tag { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--tech-deep); background: rgba(47,125,166,0.10); padding: 3px 10px; border-radius: 999px; }
.dl-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; }
.dl-bal { font-size: 13px; font-weight: 600; color: var(--tech-deep); }
.dl-bal.low { color: #c0392b; }
.goto-cta { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.goto-cta a { color: var(--gold-deep); font-weight: 600; text-decoration: none; }
.goto-cta a:hover { text-decoration: underline; }

/* 钱包充值弹窗：档位选择 */
.rc-presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rc-pre { padding: 12px 0; border: 1px solid var(--line); background: var(--cream); border-radius: 10px; cursor: pointer; font-size: 15px; color: var(--ink); transition: .15s; }
.rc-pre:hover { border-color: var(--gold); }
.rc-pre.active { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #fff; border-color: var(--gold); }
@media(max-width:520px){ .three-view { gap: 6px; } .tv-label { font-size: 11px; } .dl-foot { flex-direction: column; align-items: flex-start; } }

/* 后台：资产三视图 / 证书 上传 */
.up-grid { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.up-previews { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }


/* 套餐卡 */
.pkg-card { text-align: center; padding: 36px 28px; }
.pkg-card.featured { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.pkg-card .pkg-price { font-family: var(--serif); font-size: 44px; color: var(--gold-deep); font-weight: 700; }
.pkg-card .pkg-price small { font-size: 16px; color: var(--ink-3); }
.pkg-card .pkg-name { font-family: var(--serif); font-size: 22px; margin: 8px 0; }
.pkg-card ul { text-align: left; margin: 18px auto 24px; max-width: 280px; color: var(--ink-2); font-size: 14px; }
.pkg-card ul li { list-style: none; padding: 6px 0 6px 24px; position: relative; border-bottom: 1px dashed var(--line-soft); }
.pkg-card ul li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }

/* ---------- 分账示意 ---------- */
.split-visual { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.split-box { border-radius: var(--radius); padding: 26px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.split-box .role { font-size: 14px; opacity: .92; }
.split-box .pct { font-family: var(--serif); font-size: 40px; font-weight: 700; margin: 6px 0; }
.split-box.referrer { background: linear-gradient(135deg, var(--tech), var(--tech-deep)); }
.split-box.owner { background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.split-box.platform { background: linear-gradient(135deg, #4a4438, #2E2A22); }
.split-box .sub { font-size: 12px; opacity: .85; }

/* ---------- 表单 ---------- */
.form-wrap { max-width: 420px; margin: 40px auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-md); }
.form-wrap h2 { font-family: var(--serif); text-align: center; margin-bottom: 6px; }
.form-wrap .sub { text-align: center; color: var(--ink-3); font-size: 14px; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-soft);
  background: var(--cream); font-size: 15px; font-family: var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,0.12); }
.form-hint { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.form-switch { text-align: center; margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.form-switch a { color: var(--gold-deep); font-weight: 600; }
.form-error { color: #c0392b; font-size: 13px; margin-top: 10px; min-height: 18px; }

/* ---------- 后台套餐管理表单 ---------- */
.pkg-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
.pkg-form .field { margin-bottom: 0; }
.pkg-form textarea { resize: vertical; }
.split-msg { display: inline-block; font-size: 13px; margin-top: 4px; }
.split-msg.ok { color: var(--tech-deep); }
.split-msg.err { color: #c0392b; font-weight: 600; }
@media (max-width: 680px) { .pkg-form { grid-template-columns: 1fr; } }

/* ---------- 个人中心 ---------- */
.dash { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.dash-side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.dash-side .avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold)); display: grid; place-items: center; color: #fff; font-size: 26px; font-family: var(--serif); margin-bottom: 14px; }
.dash-side .uname { font-family: var(--serif); font-size: 20px; }
.dash-side .role { font-size: 12px; color: var(--ink-3); }
.dash-nav { margin-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.dash-nav button { text-align: left; padding: 10px 14px; border-radius: var(--radius-sm); border: none; background: transparent; color: var(--ink-2); font-size: 15px; cursor: pointer; font-family: var(--sans); }
.dash-nav button.active, .dash-nav button:hover { background: rgba(201,162,39,0.10); color: var(--gold-deep); }
.balance-card { background: linear-gradient(135deg, #FFFDF8, #F6EEDD); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.balance-card .b-num { font-family: var(--serif); font-size: 38px; color: var(--gold-deep); font-weight: 700; }
.panel { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
/* 点导航后面板会被滚入视野（手机端面板原本落在首屏之外），留出吸顶导航的高度避免被遮住 */
#panel { scroll-margin-top: 78px; }
.empty { text-align: center; color: var(--ink-3); padding: 40px; }

/* 表格 */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.tbl th { color: var(--ink-3); font-weight: 600; font-size: 13px; }
.tbl tr:hover td { background: var(--surface-2); }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.status.paid, .status.producing { background: rgba(111,168,199,0.16); color: var(--tech-deep); }
.status.done { background: rgba(201,162,39,0.16); color: var(--gold-deep); }
.status.settled { background: rgba(46,42,34,0.10); color: var(--ink-2); }
.status.pending { background: rgba(140,132,112,0.14); color: var(--ink-2); }
.status.approved { background: rgba(46,125,166,0.16); color: var(--tech-deep); }
.status.rejected { background: rgba(192,57,43,0.12); color: #c0392b; }

/* 标签 */
.tag-gold { background: rgba(201,162,39,0.14); color: var(--gold-deep); padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.tag-soft { background: rgba(47,125,166,0.12); color: var(--tech-deep); padding: 2px 10px; border-radius: 999px; font-size: 12px; }

/* 登录/注册：密码-验证码切换 tabs */
.tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.tab { flex: 1; padding: 10px 0; border: 1px solid var(--line); background: transparent; color: var(--ink-2); border-radius: 10px; cursor: pointer; font-size: 14px; transition: all .2s; }
.tab.active { border-color: var(--gold); color: var(--gold-deep); background: rgba(201,162,39,0.08); font-weight: 600; }
.code-row { display: flex; gap: 10px; align-items: stretch; }
.code-row input { flex: 1; }
.get-code-btn { white-space: nowrap; padding: 0 16px; border: 1px solid var(--gold); color: var(--gold-deep); background: rgba(201,162,39,0.08); border-radius: 10px; cursor: pointer; font-size: 13px; }
.get-code-btn:disabled { opacity: .5; cursor: not-allowed; }
.divider { display: flex; align-items: center; text-align: center; color: var(--ink-3); font-size: 12px; margin: 18px 0 6px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.divider span { padding: 0 12px; }
.tag-tech { background: rgba(47,125,166,0.14); color: var(--tech-deep); padding: 2px 10px; border-radius: 999px; font-size: 12px; }

/* ---------- 合规底部 ---------- */
.compliance {
  margin-top: 40px; padding: 22px; border-radius: var(--radius);
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: 13px; color: var(--ink-2); line-height: 1.8;
}
.compliance strong { color: var(--gold-deep); }
.site-footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 40px 0 30px; color: var(--ink-3); font-size: 14px; }
.site-footer .f-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--ink-2); }
.site-footer .copy { margin-top: 20px; font-size: 12px; color: var(--ink-3); }

/* 提示 toast */
.toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: all .3s; z-index: 100000; box-shadow: var(--shadow-md); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 响应式（手机 H5） ---------- */
@media (max-width: 880px) {
  .container { padding: 0 16px; }
  .hero-grid { grid-template-columns: 1fr; }
  .slogan { font-size: 34px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split-visual { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; }
  /* 顶部导航：品牌居中留白 + 菜单抽屉（导航与账户操作都收进抽屉，避免窄屏拥挤） */
  .nav { height: 60px; gap: 10px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--cream); padding: 8px 18px 20px;
    border-bottom: 1px solid var(--line); gap: 0;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open > a { padding: 13px 2px; font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
  .nav-links.open > a::after { display: none; }
  .nav-account { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
  .nav-account .btn { width: 100%; }
  .nav-cta-desktop { display: none; }
  .menu-btn { display: inline-grid !important; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .section { padding: 44px 0; }
}
.menu-btn {
  display: none; width: 42px; height: 42px; place-items: center;
  border-radius: 11px; border: 1px solid var(--line);
  background: var(--surface); font-size: 20px; line-height: 1;
  cursor: pointer; color: var(--ink); box-shadow: var(--shadow-sm);
}
/* 超窄屏（小手机）：品牌再收一档并隐藏英文副标，保证一行放得下 */
@media (max-width: 480px) {
  .brand { font-size: 16px; gap: 8px; letter-spacing: .2px; }
  .brand-logo { width: 34px; height: 34px; }
  .brand small { display: none; }
}

/* ============================================================
   精修轮次 · 滚动揭示 / 页头阴影 / 区块与卡片质感提升
   ============================================================ */

/* 滚动揭示：进入视口后淡入上移；无 JS 时全部正常显示（降级安全） */
.js .reveal, .js .section-head, .js .card, .js .pkg-card, .js .split-box, .js .plaque {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.js .reveal.in, .js .section-head.in, .js .card.in, .js .pkg-card.in, .js .split-box.in, .js .plaque.in {
  opacity: 1; transform: none;
}
/* 三列/两列卡片依次淡入 */
.js .grid-3 .card:nth-child(2), .js .grid-2 .card:nth-child(2) { transition-delay: .07s; }
.js .grid-3 .card:nth-child(3) { transition-delay: .14s; }
.js .grid-3 .card:nth-child(4) { transition-delay: .07s; }
.js .grid-3 .card:nth-child(5) { transition-delay: .14s; }
.js .grid-3 .card:nth-child(6) { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .section-head, .js .card, .js .pkg-card, .js .split-box, .js .plaque {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}

/* 页头滚动阴影 */
.site-header.scrolled { box-shadow: 0 6px 24px rgba(120,95,30,0.10); background: rgba(251,247,240,0.94); }

/* 区块标题装饰：两侧金线 + 标题下短金条 */
.section-head .tag { display: inline-flex; align-items: center; gap: 10px; }
.section-head .tag::before, .section-head .tag::after { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.section-head .tag::after { background: linear-gradient(90deg, var(--gold), transparent); }
.section-head h2 { position: relative; }
.section-head h2::after { content: ""; display: block; width: 46px; height: 3px; margin: 14px auto 0; border-radius: 3px; background: linear-gradient(90deg, var(--gold-light), var(--gold)); }

/* 卡片顶饰金线与图标质感 */
.card::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--line), transparent); opacity: 0; transition: opacity .25s; }
.card:hover::before { opacity: 1; }
.card .icon { box-shadow: inset 0 0 0 1px rgba(201,162,39,0.22); }

/* Hero 数字分隔线 */
.hero-stats .num { position: relative; }
.hero-stats > div:not(:last-child) .num::after { content: ""; position: absolute; right: -20px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }

/* 套餐主推徽标 + 渐变描边 */
.pkg-card .badge { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #fff; font-size: 12px; letter-spacing: 1px; padding: 5px 14px; border-radius: 999px; box-shadow: var(--shadow-gold); }
.pkg-card.featured { position: relative; }
.pkg-card.featured::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 1px; background: linear-gradient(135deg, var(--gold-light), var(--gold)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }

/* 后台统计磁贴：左侧金线 + 右上柔光 */
.stat { position: relative; overflow: hidden; border-left: 3px solid var(--gold); }
.stat::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(111,168,199,0.12), transparent 70%); }
.stat .l { font-weight: 500; }
