/* ============================================================
   导潮数字资产服务平台 · 统一视觉设计系统
   奶油白底色 + 香槟金主色 + 轻奢科技蓝线条
   高端极简科技风 · 适配品牌牌匾高级质感
   ============================================================ */
: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; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: 1px; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: grid; place-items: center; color: #fff; font-size: 18px;
  box-shadow: var(--shadow-gold);
}
.brand .logo span { font-family: var(--serif); }
.brand small { display: block; font-family: var(--sans); font-weight: 400; font-size: 11px; color: var(--ink-3); letter-spacing: 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 { 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 { width: 100%; }
.nav-cta { display: flex; gap: 12px; align-items: center; }

/* ---------- 按钮 ---------- */
.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-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); }

/* 套餐卡 */
.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; }

/* ---------- 个人中心 ---------- */
.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); }
.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-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: 200; box-shadow: var(--shadow-md); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 响应式（手机 H5） ---------- */
@media (max-width: 880px) {
  .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-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--cream); padding: 16px 24px; border-bottom: 1px solid var(--line); gap: 14px; }
  .menu-btn { display: inline-grid !important; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .section { padding: 44px 0; }
}
.menu-btn { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--ink); }

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

/* 滚动揭示：进入视口后淡入上移；无 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; }
