:root {
  --bg: #0b0908;
  --bg-2: #120e0b;
  --surface: #181310;
  --surface-2: #201914;
  --text: #f2e9dc;
  --muted: #a3958a;
  --line: rgba(214, 178, 118, 0.16);
  --line-strong: rgba(214, 178, 118, 0.34);
  --gold: #d9b071;
  --gold-2: #f3d59a;
  --ok: #7fa88f;
  --danger: #d98080;
  --serif: "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* ---------------------------------------------------------- 导航 */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  background: linear-gradient(to bottom, rgba(9, 7, 6, 0.92), rgba(9, 7, 6, 0.55) 70%, rgba(9, 7, 6, 0));
  backdrop-filter: blur(6px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand .seal {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--gold-2);
  font-size: 17px;
  font-family: var(--serif);
  border-radius: 4px;
  background: rgba(217, 176, 113, 0.06);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  color: var(--muted);
}

.nav-links a:hover { color: var(--text); }

.nav-right { display: flex; align-items: center; gap: 14px; }

.menu-btn {
  display: none;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 3px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 67px;
  left: 0;
  right: 0;
  z-index: 49;
  background: rgba(12, 10, 9, 0.98);
  border-bottom: 1px solid var(--line);
  padding: 6px 0 10px;
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 14px clamp(20px, 4vw, 56px);
  font-size: 16px;
  color: var(--text);
  border-bottom: 1px solid rgba(214, 178, 118, 0.08);
}

.mobile-menu a:last-child { border-bottom: none; color: var(--gold-2); }

/* ---------------------------------------------------------- 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 26px;
  border-radius: 3px;
  border: 1px solid transparent;
  font-size: 15px;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(180deg, #e8c88c, #c99a55);
  color: #1b1208;
  font-weight: 600;
  box-shadow: 0 8px 24px -12px rgba(217, 176, 113, 0.8);
}

.btn-primary:hover { background: linear-gradient(180deg, #f3d59a, #d9b071); }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }

.btn-sm { min-height: 38px; padding: 0 18px; font-size: 14px; }

/* ---------------------------------------------------------- 首屏 */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/hero.svg");
  background-size: cover;
  background-position: center bottom;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 7, 6, 0.93) 0%, rgba(8, 7, 6, 0.66) 38%, rgba(8, 7, 6, 0.20) 64%, rgba(8, 7, 6, 0.45) 100%),
    linear-gradient(to top, var(--bg) 2%, rgba(11, 9, 8, 0) 42%);
}

.hero-mark {
  position: absolute;
  right: clamp(18px, 6vw, 120px);
  top: 48%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: clamp(90px, 13vw, 190px);
  line-height: 0.95;
  color: rgba(217, 176, 113, 0.08);
  text-shadow: 0 0 80px rgba(217, 176, 113, 0.08);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero .wrap { position: relative; z-index: 1; }

.hero-inner { padding: 120px 0 150px; max-width: 660px; }

.hero-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 15px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: rgba(9, 7, 6, 0.62);
  backdrop-filter: blur(6px);
  font-size: 14px;
  color: var(--muted);
}

.hero-strip:hover .hs-arrow { color: var(--gold-2); }

.hs-label {
  flex: none;
  font-size: 12px;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 2px 8px;
}

.hs-text { flex: 1 1 auto; min-width: 0; }

.hs-arrow { flex: none; color: var(--text); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 26px;
  background: rgba(217, 176, 113, 0.05);
}

.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 10px var(--gold-2);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(46px, 7vw, 84px);
  line-height: 1.15;
  margin: 0 0 10px;
  font-weight: 700;
  color: #f6ecdb;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.6);
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero .lead {
  font-size: clamp(17px, 1.5vw, 19px);
  color: #cdbfae;
  max-width: 30em;
  margin: 18px 0 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.hero-meta b {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold-2);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------- 通用区块 */
section { position: relative; }

.sec { padding: 84px 0; }

.sec-head { max-width: 620px; margin-bottom: 40px; }

.sec-head .kicker {
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 12px;
}

.sec-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.3;
  margin: 0 0 14px;
  font-weight: 600;
}

.sec-head p { color: var(--muted); margin: 0; font-size: 16px; max-width: 34em; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.feature {
  padding: 34px 34px 34px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
}

.feature:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 40px; }
.feature:nth-child(even) { padding-left: 40px; }

.feature .num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold);
  border-top: 1px solid var(--line-strong);
  padding-top: 10px;
  font-variant-numeric: tabular-nums;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 600;
}

.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* 攻城带 */
.band {
  padding: 78px 0;
  background:
    radial-gradient(120% 100% at 15% 0%, rgba(217, 176, 113, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band .quote {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.5;
  max-width: 24em;
  margin: 0 0 20px;
}

.band .quote span { color: var(--gold); }

.band p { color: var(--muted); max-width: 40em; margin: 0; }

.band-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}

.band-facts { display: grid; gap: 0; }

.band-facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}

.band-facts div b { color: var(--text); font-weight: 500; }

/* 代理流程 */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
}

.step { padding: 34px 30px; border-right: 1px solid var(--line); }
.step:last-child { border-right: none; }

.step .sn {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 14px;
}

.step h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.agent-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding: 30px 34px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: linear-gradient(120deg, rgba(217, 176, 113, 0.08), rgba(217, 176, 113, 0.01));
}

.agent-cta h3 { margin: 0 0 6px; font-size: 20px; font-weight: 600; }
.agent-cta p { margin: 0; color: var(--muted); font-size: 15px; }

/* 下载 */
.download {
  text-align: center;
  padding: 84px 0 96px;
}

.download h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 42px);
  margin: 0 0 12px;
}

.download p { color: var(--muted); margin: 0 0 26px; font-size: 16px; }

.dl-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* 页脚 */
footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

footer .fine { max-width: 46em; line-height: 1.8; }

/* ---------------------------------------------------------- 落地页 */
.join-hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 110px 24px 80px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.join-hero .hero-bg {
  background-position: center;
  opacity: 0.95;
}

.join-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(48% 40% at 50% 46%, rgba(217, 176, 113, 0.12), rgba(217, 176, 113, 0) 72%);
}

.join-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(85% 65% at 50% 42%, rgba(11, 9, 8, 0.22), rgba(11, 9, 8, 0.78) 80%),
    linear-gradient(to top, var(--bg), rgba(11, 9, 8, 0) 55%);
}

.join-card {
  width: min(600px, 100%);
  text-align: center;
  padding: 52px 44px 42px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(32, 25, 20, 0.92), rgba(18, 14, 11, 0.96));
  box-shadow: 0 40px 90px -50px #000;
}

.join-card .seal-lg {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--gold-2);
  font-family: var(--serif);
  font-size: 24px;
  background: rgba(217, 176, 113, 0.07);
}

.join-card .from {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

.join-card .inviter {
  font-family: var(--serif);
  font-size: clamp(28px, 6vw, 38px);
  line-height: 1.35;
  margin: 0 0 6px;
  color: var(--gold-2);
  word-break: break-all;
}

.join-card .inviter-qq {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
  font-variant-numeric: tabular-nums;
}

.join-card h2 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0 0 12px;
  font-weight: 500;
}

.join-card p.sub { color: var(--muted); font-size: 15px; margin: 0 0 28px; }

.join-card .btn { width: 100%; min-height: 50px; font-size: 16px; }

.join-card .tip {
  margin-top: 16px;
  font-size: 13px;
  color: #9d8e81;
  line-height: 1.7;
}

.join-card .divider {
  height: 1px;
  background: var(--line);
  margin: 26px 0 18px;
}

.join-card .mini {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 13px;
  color: #a3958a;
}

/* ---------------------------------------------------------- 表单页 */
.center-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 100px 24px 60px;
  background: radial-gradient(70% 50% at 50% 0%, #1c1510, var(--bg) 70%);
}

.form-card {
  width: min(420px, 100%);
  padding: 38px 34px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
}

.form-card h1 {
  font-family: var(--serif);
  font-size: 24px;
  margin: 0 0 8px;
  font-weight: 600;
}

.form-card .hint { color: var(--muted); font-size: 14px; margin: 0 0 26px; }

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.field input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  font-size: 16px;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  outline: none;
}

.field input:focus { border-color: var(--gold); }

.form-card .btn { width: 100%; min-height: 48px; margin-top: 6px; }

.err {
  color: var(--danger);
  font-size: 14px;
  min-height: 22px;
  margin: 10px 0 0;
}

.notice {
  font-size: 12px;
  color: #8b7d72;
  margin-top: 18px;
  line-height: 1.7;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

/* ---------------------------------------------------------- 手机 */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .hero { min-height: auto; }
  .hero-mark { display: none; }
  .hero-inner { padding: 104px 0 118px; max-width: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature:nth-child(odd) { border-right: none; padding-right: 0; }
  .feature:nth-child(even) { padding-left: 0; }
  .band-grid { grid-template-columns: 1fr; gap: 34px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
  .sec { padding: 66px 0; }
  .hero-meta { gap: 20px; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .hero h1 { font-size: 42px; }
  .nav-agent { display: none; }
  .brand { font-size: 17px; }
  .hero-strip { gap: 12px; }
  .hs-label { display: none; }
  .hs-text { font-size: 13px; line-height: 1.5; }
  .join-card { padding: 34px 22px 30px; }
  .agent-cta { padding: 24px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}
