:root {
  color-scheme: dark;
  --bg: #070b0c;
  --surface: #0d1314;
  --surface-2: #131b1c;
  --line: #263536;
  --text: #f2f5f4;
  --muted: #91a09f;
  --gold: #f3c65a;
  --gold-soft: #3c321d;
  --green: #43e5a8;
  --red: #ff6f7d;
  --cyan: #5de2d7;
  --radius: 6px;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.container { width: min(var(--content), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 50; height: 64px;
  background: rgba(7, 11, 12, .94); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 700; white-space: nowrap; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--gold);
  color: var(--gold); border-radius: 5px; box-shadow: 0 0 18px rgba(241,199,91,.16); font-size: 18px;
}
.brand small { display: block; color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.2; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.btn {
  min-height: 42px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); color: var(--text);
  text-decoration: none; cursor: pointer; font-weight: 650; transition: .18s ease;
}
.btn:hover { border-color: #52606a; transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--gold); border-color: var(--gold); color: #17130a; box-shadow: 0 0 24px rgba(243,198,90,.16); }
.btn-primary:hover { background: #ffda76; border-color: #ffda76; }
.btn-danger { color: #ffc3c9; border-color: #713b43; background: #25171a; }
.btn-ghost { background: transparent; }
.btn-small { min-height: 34px; padding: 0 12px; font-size: 13px; }
.hero {
  min-height: min(720px, calc(100vh - 64px)); position: relative; display: flex; align-items: center;
  background: #070b0c url('/assets/market-hero-v2.png') center / cover no-repeat;
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(2,5,6,.16); }
.hero-copy { position: relative; z-index: 1; width: min(700px, 100%); padding: 82px 0; text-shadow: 0 2px 14px #000; }
.eyebrow { color: var(--cyan); font-weight: 700; font-size: 13px; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 16px; font-size: clamp(38px, 5.5vw, 68px); line-height: 1.06; letter-spacing: 0; }
.hero p { max-width: 620px; color: #d9e0df; font-size: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 32px; color: #c8d2d0; font-size: 13px; }
.hero-tags span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); vertical-align: 1px; }
.band { padding: 76px 0; border-bottom: 1px solid var(--line); }
.band-alt { background: #091011; }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head h2 { font-size: 30px; line-height: 1.25; margin-bottom: 9px; letter-spacing: 0; }
.section-head p { color: var(--muted); }
.strategy-list { border-top: 1px solid var(--line); }
.strategy-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 28px; padding: 28px 4px;
  border-bottom: 1px solid var(--line); transition: background .18s ease;
}
.strategy-row.selected { background: linear-gradient(90deg, rgba(243,198,90,.055), transparent 65%); }
.strategy-title { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; }
.strategy-index { color: var(--cyan); font: 700 12px/28px Consolas, monospace; }
.strategy-title h3 { margin-bottom: 6px; font-size: 21px; }
.strategy-title h3 em { color: var(--gold); font-size: 13px; font-style: normal; font-weight: 700; }
.strategy-title p { margin: 0; max-width: 720px; color: var(--muted); font-size: 14px; }
.strategy-facts, .strategy-features { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0 56px; color: #c5cecd; font-size: 12px; }
.strategy-facts span::before { content: "/"; margin-right: 8px; color: var(--cyan); }
.strategy-features { gap: 7px; }
.strategy-features span { padding: 3px 8px; border: 1px solid var(--line); color: var(--muted); }
.strategy-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 9px; }
.strategy-side > strong { color: var(--gold); font-size: 20px; }
.risk-level { color: var(--muted); font-size: 12px; }
.strategy-actions { display: flex; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.btn.disabled { opacity: .45; pointer-events: none; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plan {
  position: relative; min-height: 210px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); cursor: pointer; transition: .18s ease; overflow: hidden;
}
.plan::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: #304344; }
.plan:hover, .plan.selected { border-color: var(--gold); background: #111817; box-shadow: inset 0 0 0 1px rgba(243,198,90,.18), 0 0 24px rgba(243,198,90,.07); }
.plan:hover::before, .plan.selected::before { background: var(--gold); box-shadow: 0 0 14px rgba(243,198,90,.5); }
.plan.selected::after { content: "已选择"; position: absolute; top: 14px; right: 14px; color: var(--green); font-size: 12px; }
.plan h3 { font-size: 18px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 24px 0 6px; }
.price strong { font-size: 38px; color: var(--gold); line-height: 1; }
.price span, .plan-note { color: var(--muted); font-size: 13px; }
.purchase-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 48px; align-items: start; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.feature { padding: 22px; background: #081011; min-height: 132px; }
.feature b { display: block; margin-bottom: 7px; color: var(--text); }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }
.order-form { padding: 25px; border: 1px solid #57513c; border-top-color: var(--gold); border-radius: var(--radius); background: var(--surface); position: sticky; top: 88px; box-shadow: 0 18px 55px rgba(0,0,0,.24); }
.order-form h3 { font-size: 20px; }
.order-product { margin: -7px 0 16px; color: var(--gold); font-size: 13px; }
.field { margin: 18px 0; }
.field label { display: block; margin-bottom: 7px; color: #cad2d7; font-size: 13px; }
.input, .select {
  width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 5px; padding: 0 13px;
  background: #070c0d; color: var(--text); outline: none;
}
.input:focus, .select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(84,216,237,.08); }
.check-row { display: grid; grid-template-columns: 20px 1fr; gap: 9px; align-items: start; color: var(--muted); font-size: 13px; }
.check-row input { width: 18px; height: 18px; accent-color: var(--gold); }
.check-row a { color: var(--cyan); }
.form-total { display: flex; justify-content: space-between; align-items: center; margin: 22px 0; padding-top: 18px; border-top: 1px solid var(--line); }
.form-total strong { color: var(--gold); font-size: 24px; }
.wide { width: 100%; }
.fine-print { margin: 12px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.risk-strip { display: grid; grid-template-columns: 180px 1fr; border: 1px solid #56363b; background: #171115; }
.risk-strip strong { padding: 24px; color: var(--red); border-right: 1px solid #56363b; }
.risk-strip p { padding: 24px; margin: 0; color: #c9bfc1; }
.site-footer { padding: 36px 0; color: var(--muted); font-size: 13px; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.toast { position: fixed; z-index: 100; right: 20px; bottom: 20px; max-width: 380px; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #172027; color: var(--text); box-shadow: 0 16px 50px #000; }
.toast.error { border-color: #7e3d47; color: #ffc1c8; }
.hidden { display: none !important; }
dialog { width: min(720px, calc(100% - 30px)); max-height: 84vh; border: 1px solid var(--line); border-radius: var(--radius); padding: 0; background: var(--surface); color: var(--text); }
dialog::backdrop { background: rgba(0,0,0,.72); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 0; font-size: 20px; }
.dialog-body { padding: 22px; color: #c0c9ce; max-height: 62vh; overflow: auto; }
.icon-btn { width: 38px; height: 38px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 24px; }

@media (max-width: 880px) {
  .nav-links a:not(.btn) { display: none; }
  .hero { min-height: 650px; background-position: 58% center; }
  .hero::before { background: rgba(2,5,6,.38); }
  .hero-copy { padding: 58px 0; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .purchase-grid { grid-template-columns: 1fr; }
  .strategy-row { grid-template-columns: 1fr; }
  .strategy-side { align-items: flex-start; padding-left: 56px; }
  .strategy-actions { justify-content: flex-start; }
  .order-form { position: static; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 26px, var(--content)); }
  .site-header { height: 58px; }
  .brand span:last-child { font-size: 13px; }
  .nav .btn { padding: 0 11px; min-height: 36px; font-size: 12px; }
  h1 { font-size: 39px; }
  .hero { min-height: 620px; background-position: 62% center; }
  .hero::before { background: rgba(2,5,6,.56); }
  .hero p { font-size: 16px; }
  .band { padding: 54px 0; }
  .plans, .feature-grid { grid-template-columns: 1fr; }
  .strategy-row { padding: 23px 0; gap: 18px; }
  .strategy-title { grid-template-columns: 30px minmax(0, 1fr); gap: 8px; }
  .strategy-facts, .strategy-features, .strategy-side { margin-left: 38px; padding-left: 0; }
  .plan { min-height: 165px; }
  .risk-strip { grid-template-columns: 1fr; }
  .risk-strip strong { border-right: 0; border-bottom: 1px solid #56363b; }
}
