/* ══════════ TOKPOWER 全球代理站 · 设计基调：工业深空 × 能量琥珀 ══════════ */
:root {
  --bg: #0a0e13;
  --bg-soft: #0f151d;
  --line: rgba(235, 225, 205, 0.10);
  --ink: #ece5d8;
  --ink-dim: #9a958a;
  --amber: #f0a828;
  --amber-deep: #c47f10;
  --font-display: "Sora", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
/* 锚点跳转时避开固定导航 */
section[id], footer[id] { scroll-margin-top: 84px; }
::selection { background: var(--amber); color: #14100a; }
a { color: inherit; text-decoration: none; }
img { display: block; }

/* ══════════ 顶部导航 ══════════ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  background: linear-gradient(to bottom, rgba(10,14,19,.85), rgba(10,14,19,0));
  backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo { width: 52px; height: 52px; object-fit: contain; border-radius: 10px;
  box-shadow: 0 0 0 1px var(--line), 0 8px 24px rgba(0,0,0,.5); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .14em; }
.brand-text em { font-style: normal; font-size: .68rem; color: var(--ink-dim); letter-spacing: .32em; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 36px); font-size: .92rem; }
.nav a { color: var(--ink-dim); transition: color .2s; letter-spacing: .05em; }
.nav a:hover { color: var(--amber); }
.nav-cta {
  border: 1px solid var(--amber); color: var(--amber) !important;
  padding: 9px 20px; border-radius: 2px; transition: background .25s, color .25s;
}
.nav-cta:hover { background: var(--amber); color: #14100a !important; }
.lang-wrap { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; color: var(--ink-dim);
  border: 1px solid var(--line); border-radius: 2px;
  padding: 9px 16px; font-family: var(--font-body); font-size: .84rem;
  letter-spacing: .08em; cursor: pointer;
  transition: color .2s, border-color .2s;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] {
  color: var(--amber); border-color: var(--amber);
}
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 170px; list-style: none;
  max-height: min(72vh, 540px); overflow-y: auto;
  background: rgba(15,21,29,.97); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-top: 2px solid var(--amber);
  border-radius: 3px; padding: 6px; z-index: 60;
  box-shadow: 0 14px 40px rgba(0,0,0,.55);
  animation: langIn .18s cubic-bezier(.2,.8,.2,1);
}
@keyframes langIn { from { opacity: 0; transform: translateY(-6px); } }
.lang-menu button {
  display: block; width: 100%; text-align: left;
  background: none; border: 0; color: var(--ink-dim);
  padding: 9px 14px; font-family: var(--font-body); font-size: .88rem;
  cursor: pointer; border-radius: 2px; transition: background .15s, color .15s;
}
.lang-menu button:hover { background: rgba(240,168,40,.1); color: var(--amber); }
.lang-menu li.current button { color: var(--amber); }
.lang-menu li.current button::after { content: " ✓"; }

/* ══════════ 首屏 ══════════ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.globe-stage { position: absolute; inset: 0; }
.globe-canvas, .globe-canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* 地球画布独占手势：单指拖动旋转、双指缩放 */
.globe-canvas canvas { touch-action: none; }

.globe-flags { position: absolute; inset: 0; pointer-events: none; }

/* 文字保护遮罩：压暗地球左侧，不挡交互 */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(10,14,19,.95) 0%, rgba(10,14,19,.75) 26%,
    rgba(10,14,19,.35) 44%, rgba(10,14,19,0) 62%);
}

/* 旗帜标钉 */
.flag-pin {
  position: absolute; left: 0; top: 0;
  transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; gap: 0;
  pointer-events: auto; cursor: pointer;
  transition: opacity .3s;
  will-change: transform;
}
.flag-pin img {
  width: 34px; height: auto; border-radius: 3px;
  box-shadow: 0 3px 12px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.22);
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.flag-pin .pin-stick { width: 1px; height: 16px; background: linear-gradient(to bottom, rgba(240,168,40,.9), rgba(240,168,40,0)); }
.flag-pin .pin-dot { width: 5px; height: 5px; margin-top: -2px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 8px rgba(240,168,40,.9); }
/* 扩大触控热区，手机上更容易点中旗帜 */
.flag-pin::after { content: ""; position: absolute; inset: -12px; }
.flag-pin:hover img { transform: scale(1.35) translateY(-2px); }
.flag-pin.active img { outline: 2px solid var(--amber); outline-offset: 1px; transform: scale(1.3); }

.globe-loader {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  display: flex; align-items: center; gap: 12px;
  color: var(--ink-dim); font-size: .9rem; letter-spacing: .2em;
}
.globe-loader span {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--line); border-top-color: var(--amber);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 2D 兜底世界地图：WebGL/importmap 不可用时降级显示，按经纬度插旗、可点击查看详情 */
.globe-fallback {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  padding: 6vh 3vw 4vh;
}
.globe-fallback[hidden] { display: none; }
.map-wrap {
  position: relative;
  width: min(94%, 900px);
  aspect-ratio: 2 / 1;
  max-height: 72vh;
}
.map-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 6px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(120, 170, 220, .16);
}
.map-pins { position: absolute; inset: 0; }
/* 地图上的旗帜标钉：复用 .flag-pin 视觉，仅定位改为经纬度百分比 */
.map-pin { left: 0; top: 0; }
.map-pin img { width: 28px; }

.hero-copy {
  position: relative; z-index: 5;
  max-width: 640px;
  padding: 22vh clamp(20px, 4vw, 56px) 0;
  pointer-events: none;
}
.hero-copy .btn { pointer-events: auto; }
.hero-kicker {
  font-family: var(--font-display); font-size: .72rem; font-weight: 500;
  letter-spacing: .42em; color: var(--amber); margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  line-height: 1.18; letter-spacing: .02em; margin-bottom: 26px;
}
.hero-accent { color: var(--amber); }
.hero-sub { color: var(--ink-dim); max-width: 30em; margin-bottom: 36px; font-size: 1.02rem; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: .9rem; letter-spacing: .12em; padding: 14px 30px; border-radius: 2px;
  transition: transform .2s, box-shadow .2s, background .25s, color .25s;
}
.btn-solid { background: var(--amber); color: #14100a; box-shadow: 0 10px 34px rgba(240,168,40,.28); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(240,168,40,.4); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-big { font-size: 1rem; padding: 16px 44px; }

.globe-hint {
  position: absolute; z-index: 5; right: clamp(20px, 4vw, 56px); bottom: 28px;
  display: flex; align-items: center; gap: 10px;
  font-size: .78rem; letter-spacing: .14em; color: var(--ink-dim);
}
.hint-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber);
  animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(240,168,40,.6); } 100% { box-shadow: 0 0 0 12px rgba(240,168,40,0); } }

/* 代理详情卡片 */
.agent-card {
  position: absolute; z-index: 10; right: clamp(20px, 4vw, 56px); top: 50%;
  transform: translateY(-50%);
  width: min(340px, calc(100vw - 40px));
  background: rgba(15,21,29,.92); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-top: 2px solid var(--amber);
  padding: 26px 26px 22px; border-radius: 4px;
  animation: cardIn .35s cubic-bezier(.2,.8,.2,1);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(-50%) translateX(24px); } }
.agent-card-close {
  position: absolute; top: 10px; right: 14px; border: 0; background: none;
  color: var(--ink-dim); font-size: 1.4rem; cursor: pointer; line-height: 1;
}
.agent-card-close:hover { color: var(--amber); }
.agent-card-flag { width: 44px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.2); margin-bottom: 12px; }
.agent-card-region { font-size: .72rem; letter-spacing: .3em; color: var(--amber); margin-bottom: 4px; }
.agent-card-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.agent-card-desc { font-size: .86rem; color: var(--ink-dim); margin-bottom: 16px; }
.agent-card-meta { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 6px; }
.agent-card-meta div { display: flex; justify-content: space-between; font-size: .82rem; }
.agent-card-meta dt { color: var(--ink-dim); }
.agent-card-meta dd { text-align: right; }

/* ══════════ 数据条 ══════════ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { padding: 42px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 3rem); color: var(--amber); line-height: 1.1;
}
.stat strong::after { content: "+"; font-size: .55em; vertical-align: super; color: var(--ink-dim); }
.stat span { font-size: .85rem; color: var(--ink-dim); letter-spacing: .2em; }

/* ══════════ 通用 Section ══════════ */
.section { padding: clamp(80px, 11vw, 150px) clamp(20px, 5vw, 72px); }
.section-head { margin-bottom: clamp(48px, 6vw, 84px); }
.section-no { font-family: var(--font-display); font-size: .72rem; letter-spacing: .4em; color: var(--amber); margin-bottom: 16px; }
.section h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem); letter-spacing: .02em;
}
.section-sub { color: var(--ink-dim); margin-top: 14px; max-width: 34em; }

/* 代理权益：编辑式清单 */
.why-list { list-style: none; max-width: 1200px; margin: 0 auto; counter-reset: none; }
.why-item {
  display: grid; grid-template-columns: 110px 1fr; gap: 28px; align-items: start;
  padding: 34px 0; border-top: 1px solid var(--line);
  transition: background .3s;
}
.why-item:last-child { border-bottom: 1px solid var(--line); }
.why-item:hover { background: rgba(240,168,40,.04); }
.why-index {
  font-family: var(--font-display); font-weight: 300; font-size: 2.2rem;
  color: transparent; -webkit-text-stroke: 1px var(--amber-deep); line-height: 1;
}
.why-item:hover .why-index { color: var(--amber); -webkit-text-stroke: 1px var(--amber); }
.why-item h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 8px; }
.why-item p { color: var(--ink-dim); max-width: 52em; }

/* 产品线 */
.prod-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.prod {
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  background: var(--bg-soft);
  transition: border-color .3s, transform .3s;
}
.prod:hover { border-color: rgba(240,168,40,.5); transform: translateY(-4px); }
/* 产品图画廊：统一 4:3 白底，完整显示、不裁切不变形 */
.prod img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 3; object-fit: contain; object-position: center;
  padding: 5%; box-sizing: border-box;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.prod-body { padding: 24px 24px 20px; }
.prod h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; margin-bottom: 8px; }
.prod-body p { color: var(--ink-dim); font-size: .92rem; }
.prod-specs {
  margin-top: 12px; font-family: var(--font-display); font-size: .72rem;
  letter-spacing: .06em; color: var(--amber); opacity: .9;
}
.prod-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.05fr 1fr; }
/* 工厂实拍图：照片类，裁切填满但锁定比例 */
.prod-wide img {
  display: block; width: 100%; height: 100%; min-height: 300px;
  aspect-ratio: auto; padding: 0; background: transparent;
  object-fit: cover; object-position: center;
  border-bottom: 0; border-right: 1px solid var(--line);
}

/* 加盟条件 */
.terms-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 64px); }
.terms-col { border-top: 2px solid var(--amber); padding-top: 26px; }
.terms-col h3 { font-family: var(--font-display); font-weight: 700; margin-bottom: 18px; letter-spacing: .08em; }
.terms-must ul { list-style: none; }
.terms-must li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); color: var(--ink-dim); position: relative; }
.terms-must li::before { content: "▸"; position: absolute; left: 0; color: var(--amber); }
.terms-flow ol { list-style: none; display: grid; gap: 14px; }
.terms-flow li { display: flex; align-items: center; gap: 16px; color: var(--ink-dim); }
.terms-flow i {
  font-style: normal; flex: 0 0 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--amber); color: var(--amber);
  font-family: var(--font-display); font-weight: 700;
}

/* 六步时间轴 */
.terms-flow ol.flow-steps { gap: 0; }
.flow-steps li { align-items: flex-start; padding: 13px 0; position: relative; }
.flow-steps li::after {
  content: ""; position: absolute; left: 17px; top: 47px; bottom: -1px;
  width: 1px; background: linear-gradient(to bottom, rgba(240,168,40,.5), rgba(235,225,205,.10));
}
.flow-steps li:last-child::after { display: none; }
.flow-steps li > div { display: grid; gap: 3px; padding-top: 5px; }
.flow-steps em {
  font-style: normal; font-size: .7rem; letter-spacing: .12em;
  color: var(--amber); opacity: .8;
}
.flow-more {
  display: inline-block; margin-top: 20px;
  font-size: .82rem; letter-spacing: .06em; color: var(--amber);
  border-bottom: 1px solid rgba(240,168,40,.35); padding-bottom: 2px;
  transition: border-color .2s;
}
.flow-more:hover { border-bottom-color: var(--amber); }

/* 申请表单 */
.apply { background: var(--bg-soft); border-top: 1px solid var(--line); }
.apply-form { max-width: 880px; margin: 0 auto; display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.apply-form label { display: grid; gap: 8px; font-size: .85rem; letter-spacing: .1em; color: var(--ink-dim); }
.apply-form input, .apply-form textarea {
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font-family: var(--font-body); font-size: 1rem; padding: 10px 2px;
  transition: border-color .25s; resize: vertical;
}
.apply-form input:focus, .apply-form textarea:focus { outline: none; border-bottom-color: var(--amber); }
.form-full textarea { border: 1px solid var(--line); padding: 14px; }
.form-full textarea:focus { border-color: var(--amber); }
.apply-form .btn { justify-self: start; margin-top: 6px; }
.form-note { font-size: .8rem; color: var(--ink-dim); letter-spacing: .06em; }

/* 联系方式 */
.contact-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ct-card {
  display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 4px 14px;
  border: 1px solid var(--line); border-radius: 4px; padding: 20px 22px;
  background: var(--bg-soft); color: inherit;
  transition: border-color .25s, transform .25s;
}
.ct-card:hover { border-color: rgba(240,168,40,.5); transform: translateY(-3px); }
.ct-card svg { grid-row: span 2; width: 30px; height: 30px; color: var(--amber); }
.ct-card b { font-family: var(--font-display); font-size: .92rem; font-weight: 700; }
.ct-card span { font-size: .84rem; color: var(--ink-dim); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ct-badge {
  font-style: normal; font-size: .66rem; font-weight: 700; letter-spacing: .08em;
  color: #14100a; background: var(--amber); border-radius: 999px; padding: 2px 9px;
}
.ct-dim { font-style: normal; opacity: .75; }

/* 页脚 */
.footer { text-align: center; padding: 64px 20px 48px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-dim); display: grid; gap: 8px; justify-items: center; }
.footer-logo { width: 44px; margin-bottom: 8px; opacity: .9; }
.footer-dim { font-size: .72rem; opacity: .6; letter-spacing: .1em; }
.footer-site {
  font-family: var(--font-display); font-size: .9rem; letter-spacing: .08em;
  color: var(--amber); border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.footer-site:hover { border-bottom-color: var(--amber); }
.footer-main { color: var(--ink); font-size: .9rem; }
.footer-contacts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
  max-width: 860px; margin: 6px auto 0;
  font-size: .85rem; color: var(--ink-dim);
}
.footer-contacts a { color: var(--ink-dim); transition: color .2s; }
.footer-contacts a:hover { color: var(--amber); }
.footer-qr { width: 96px; margin-top: 10px; border-radius: 6px; box-shadow: 0 0 0 1px var(--line); background: #fff; padding: 6px; }
.footer-qr-note { font-size: .72rem; letter-spacing: .14em; color: var(--ink-dim); }

/* 明星型号橱窗 */
.spot-title {
  max-width: 1200px; margin: 64px auto 18px; padding-top: 34px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em;
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
}
.spot-title span { font-family: var(--font-body); font-weight: 300; font-size: .76rem; color: var(--ink-dim); letter-spacing: .12em; }
.spot-strip {
  max-width: 1200px; margin: 0 auto;
  display: flex; gap: 14px; overflow-x: auto; padding-bottom: 14px;
  scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--amber-deep) transparent;
}
.spot {
  flex: 0 0 172px; scroll-snap-align: start;
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  background: var(--bg-soft); transition: border-color .25s, transform .25s;
}
.spot:hover { border-color: rgba(240,168,40,.5); transform: translateY(-3px); }
.spot img {
  display: block; width: 100%; aspect-ratio: 1 / 1;
  object-fit: contain; object-position: center;
  padding: 12%; box-sizing: border-box; background: #fff;
}
.spot figcaption { padding: 10px 12px 12px; display: grid; gap: 2px; }
.spot b { font-family: var(--font-display); font-size: .82rem; font-weight: 700; }
.spot span { font-size: .7rem; color: var(--ink-dim); }

/* ══════════ 响应式：平板 ══════════ */
@media (max-width: 900px) {
  .nav a:not(.nav-cta) { display: none; }

  .hero-copy { max-width: none; padding: 104px 22px 0; }
  .hero h1 { font-size: clamp(1.9rem, 6vw, 2.6rem); }
  .hero-scrim {
    background: linear-gradient(to bottom,
      rgba(10,14,19,.94) 0%, rgba(10,14,19,.78) 30%,
      rgba(10,14,19,.34) 52%, rgba(10,14,19,0) 72%);
  }
  /* 手机上地球为纯展示，隐藏「拖动」提示以免误导 */
  .globe-hint { display: none; }

  .agent-card {
    top: auto; bottom: 18px; left: 16px; right: 16px;
    width: auto; max-height: 60vh; overflow-y: auto;
    transform: none; padding: 22px 20px 18px;
  }
  @keyframes cardIn { from { opacity: 0; transform: translateY(24px); } }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .terms-grid, .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .prod-wide { grid-template-columns: 1fr; }
  .prod-wide img { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; height: 220px; }
  .why-item { grid-template-columns: 64px 1fr; gap: 16px; }
  .why-index { font-size: 1.5rem; }
}

/* ══════════ 响应式：手机 ══════════ */
@media (max-width: 640px) {
  /* 首屏改为上下排布：文案在上，地球在按钮下方完整展示 */
  .hero { display: flex; flex-direction: column; }
  .hero-copy { order: 1; padding: 92px 18px 0; }
  .globe-stage {
    order: 2; position: relative; inset: auto;
    width: 100%; flex: 1 1 auto; min-height: 258px;
    margin-top: 6px;
  }
  /* 图文已分离，不再需要压暗遮罩 */
  .hero-scrim { display: none; }

  .site-header { padding: 10px 16px; }
  .brand { gap: 10px; }
  .brand-logo { width: 40px; height: 40px; border-radius: 8px; }
  .brand-text strong { font-size: .92rem; letter-spacing: .1em; }
  /* 窄屏隐藏副标题，避免导航被挤爆 */
  .brand-text em { display: none; }
  .nav { gap: 8px; }
  .lang-btn { padding: 7px 10px; font-size: .74rem; letter-spacing: .04em; }
  .nav-cta { padding: 7px 12px; font-size: .74rem; letter-spacing: .06em; }

  .hero-copy { padding: 96px 18px 0; }
  .hero-kicker { font-size: .62rem; letter-spacing: .28em; margin-bottom: 14px; }
  .hero h1 { font-size: clamp(1.68rem, 7.2vw, 2.1rem); line-height: 1.26; margin-bottom: 16px; }
  .hero-sub { font-size: .9rem; line-height: 1.72; margin-bottom: 22px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn {
    flex: 1 1 46%; text-align: center;
    padding: 13px 10px; font-size: .8rem; letter-spacing: .06em;
  }
  .flag-pin img { width: 26px; }

  .stat { padding: 26px 12px; }
  .stat strong { font-size: 1.65rem; }
  .stat strong::after { font-size: .5em; }
  .stat span { font-size: .7rem; letter-spacing: .1em; }

  .section { padding: 54px 18px; }
  .section-head { margin-bottom: 32px; }
  .section-no { font-size: .62rem; letter-spacing: .26em; margin-bottom: 12px; }
  .section h2 { font-size: 1.5rem; line-height: 1.34; }
  .section-sub { font-size: .88rem; }

  .why-item { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .why-index { font-size: 1.15rem; }
  .why-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
  .why-item p { font-size: .88rem; }

  .prod-grid { gap: 14px; }
  .prod-body { padding: 18px 16px 16px; }
  .prod h3 { font-size: .98rem; }
  .prod-body p { font-size: .85rem; }
  .prod-specs { font-size: .63rem; letter-spacing: .04em; }
  .prod-wide img { height: 186px; }

  .spot-title { margin-top: 40px; padding-top: 24px; font-size: .92rem; gap: 6px; }
  .spot-strip { gap: 10px; padding-bottom: 10px; -webkit-overflow-scrolling: touch; }
  .spot { flex: 0 0 138px; }
  .spot figcaption { padding: 8px 10px 10px; }
  .spot b { font-size: .76rem; }

  .terms-col h3 { font-size: 1rem; }
  .terms-must li { font-size: .86rem; padding: 10px 0 10px 22px; }
  .terms-flow li { font-size: .86rem; }
  .terms-flow i { flex-basis: 28px; height: 28px; font-size: .8rem; }
  .flow-steps li { padding: 11px 0; }
  .flow-steps li::after { left: 14px; top: 42px; }
  .flow-steps li > div { padding-top: 3px; }
  .flow-steps em { font-size: .65rem; }

  .apply-form { gap: 18px; }
  .form-row { gap: 18px; }
  .apply-form label { font-size: .76rem; letter-spacing: .06em; }
  .apply-form input, .apply-form textarea { font-size: 16px; padding: 10px 2px; }
  .apply-form .btn { width: 100%; text-align: center; }
  .form-note { font-size: .72rem; line-height: 1.7; }

  .ct-card { padding: 16px; gap: 2px 12px; }
  .ct-card svg { width: 24px; height: 24px; }
  .ct-card b { font-size: .84rem; }
  .ct-card span { font-size: .76rem; }

  .footer { padding: 44px 18px 36px; font-size: .8rem; }
  .footer-main { font-size: .84rem; }
  .footer-contacts { flex-direction: column; gap: 6px; font-size: .8rem; }
  .footer-qr { width: 82px; }
  .footer-dim { font-size: .64rem; line-height: 1.8; }
}

/* 横屏矮屏：压缩首屏文案 */
@media (max-height: 480px) and (orientation: landscape) {
  .hero-copy { padding-top: 74px; }
  .hero h1 { font-size: 1.45rem; }
  .hero-sub { display: none; }
}

/* ══════════ 代理流程详情页 ══════════ */
.doc-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(10,14,19,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.doc-nav { display: flex; align-items: center; gap: 20px; font-size: .86rem; }
.doc-back { color: var(--ink-dim); transition: color .2s; }
.doc-back:hover { color: var(--amber); }

.doc { max-width: 900px; margin: 0 auto; padding: clamp(44px, 7vw, 84px) clamp(18px, 4vw, 40px) 90px; }
.doc-hero { border-bottom: 1px solid var(--line); padding-bottom: 34px; margin-bottom: 44px; }
.doc-kicker { font-family: var(--font-display); font-size: .7rem; letter-spacing: .38em; color: var(--amber); margin-bottom: 14px; }
.doc-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.85rem, 4.4vw, 2.9rem); line-height: 1.2; margin-bottom: 16px; }
.doc-lead { color: var(--ink-dim); font-size: 1rem; max-width: 34em; }
.doc-lead strong { color: var(--amber); font-weight: 500; }

.doc-section { margin-bottom: clamp(40px, 5vw, 62px); }
.doc-h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 2.4vw, 1.5rem); margin-bottom: 20px; letter-spacing: .02em; }
.doc-text { color: var(--ink-dim); font-size: .94rem; max-width: 46em; }

.doc-steps { list-style: none; }
.doc-steps li { padding: 24px 0; border-top: 1px solid var(--line); }
.doc-steps li:last-child { border-bottom: 1px solid var(--line); }
.doc-step-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.doc-num { font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: var(--amber); letter-spacing: .1em; }
.doc-step-head h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.doc-step-head em {
  margin-left: auto; font-style: normal; font-size: .7rem; letter-spacing: .12em;
  color: var(--amber); border: 1px solid rgba(240,168,40,.35);
  border-radius: 999px; padding: 3px 12px; white-space: nowrap;
}
.doc-steps p { color: var(--ink-dim); font-size: .91rem; max-width: 46em; }
.doc-note { margin-top: 8px; font-size: .8rem !important; color: var(--amber) !important; opacity: .85; }

.doc-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; }
.doc-table { width: 100%; border-collapse: collapse; font-size: .89rem; min-width: 460px; }
.doc-table th, .doc-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.doc-table tr:last-child th, .doc-table tr:last-child td { border-bottom: 0; }
.doc-table th {
  width: 32%; font-family: var(--font-display); font-weight: 700; font-size: .82rem;
  letter-spacing: .06em; color: var(--ink); background: rgba(240,168,40,.04);
}
.doc-table td { color: var(--ink-dim); }

.doc-faq { display: grid; gap: 10px; }
.doc-faq details { border: 1px solid var(--line); border-radius: 4px; background: var(--bg-soft); }
.doc-faq summary {
  cursor: pointer; padding: 15px 18px; font-size: .92rem; font-weight: 500;
  list-style: none; display: flex; justify-content: space-between; gap: 14px;
}
.doc-faq summary::-webkit-details-marker { display: none; }
.doc-faq summary::after { content: "+"; color: var(--amber); font-family: var(--font-display); }
.doc-faq details[open] summary::after { content: "–"; }
.doc-faq p { padding: 0 18px 16px; color: var(--ink-dim); font-size: .87rem; }

.doc-cta {
  border: 1px solid var(--line); border-top: 2px solid var(--amber);
  border-radius: 4px; padding: clamp(26px, 4vw, 40px); background: var(--bg-soft);
}
.doc-cta h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 3vw, 1.7rem); margin-bottom: 10px; }
.doc-cta p { color: var(--ink-dim); margin-bottom: 22px; font-size: .94rem; }
.doc-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 640px) {
  .doc-header { padding: 10px 16px; }
  .doc-nav { gap: 10px; font-size: .76rem; }
  .doc { padding: 38px 18px 64px; }
  .doc-step-head em { margin-left: 0; }
  .doc-table th, .doc-table td { padding: 12px 14px; font-size: .83rem; }
  .doc-table th { width: 38%; }
  .doc-cta-actions .btn { flex: 1 1 100%; text-align: center; }
}
