/* =========================================================
   TMatrix Web Home — 全站样式
   参照 worker-link.com 视觉风格重构
   ========================================================= */

/* ── 设计令牌 ── */
:root {
  --blue:        #4070c0;
  --blue-dark:   #2f5ea8;
  --blue-deep:   #173f83;
  --blue-light:  #6d96dc;
  --blue-soft:   #eef4ff;
  --blue-mid:    #cfe0ff;
  --purple:      #7c3aed;
  --green:       #16a34a;
  --orange:      #ff8a00;
  --orange-deep: #d97706;
  --text:        #0c1a3a;
  --text-sub:    #4b5c7a;
  --text-light:  #8096b4;
  --line:        #e4eaf4;
  --white:       #ffffff;
  --bg:          #f6f9ff;
  --dark:        #07162e;
  --dark-mid:    #102b5c;
  --shadow-sm:   0 2px 12px rgba(11, 31, 68, 0.06);
  --shadow-md:   0 10px 34px rgba(11, 31, 68, 0.11);
  --shadow-lg:   0 24px 72px rgba(11, 31, 68, 0.16);
  --r-sm:        10px;
  --r-md:        16px;
  --r-lg:        24px;
  --r-xl:        32px;
}

/* ── 重置 ── */
*, *::before, *::after { box-sizing: border-box; }
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 320px;
  overflow-x: hidden;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbfdff 0%, var(--white) 320px);
  -webkit-font-smoothing: antialiased;
}
main,
header,
footer,
section {
  max-width: 100%;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0; }
img { display: block; max-width: 100%; }

/* ── 通用容器 ── */
.container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

/* ── 通用 Section ── */
.section {
  padding: 96px 0;
}

/* ── 区块标题 ── */
.section-head {
  margin-bottom: 52px;
}
.section-head.center {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 52px;
}
.section-head h2 {
  margin-top: 14px;
  font-size: clamp(30px, 3.8vw, 48px);
  letter-spacing: -0.03em;
  color: var(--text);
}
.section-head.light h2,
.section-head.light p { color: var(--white); }
.section-head p {
  margin-top: 16px;
  color: var(--text-sub);
  font-size: 16px;
  line-height: 1.8;
}

/* ── Tag Badge ── */
.tag-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(64, 112, 192, 0.22);
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.tag-badge.light {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

/* ── 按钮 ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 12px 28px rgba(64, 112, 192, 0.32);
}
.btn-primary:hover { box-shadow: 0 18px 38px rgba(64, 112, 192, 0.42); }
.btn-outline {
  color: var(--blue);
  background: var(--white);
  border: 1.5px solid rgba(64, 112, 192, 0.3);
}
.btn-outline:hover { border-color: var(--blue); }

/* ============================================================
   HEADER — 全宽，白色背景，参照 worker-link.com
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(207, 224, 255, 0.72);
  box-shadow: 0 8px 28px rgba(11, 31, 68, 0.06);
  backdrop-filter: blur(16px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
  height: 76px;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 206px;
  padding: 6px 10px 6px 6px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  font-size: 19px;
  font-weight: 900;
  flex-shrink: 0;
}
.brand-logo {
  width: auto;
  height: 39px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text { display: grid; gap: 6px; }
.brand-text strong {
  color: var(--blue);
  font-size: 25px;
  line-height: 25px;
  font-weight: 900;
  letter-spacing: 0.01em;
}
.brand-initial {
  color: var(--orange-deep);
}
.brand-text small {
  color: #617294;
  font-size: 12px;
  line-height: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}
.main-nav a {
  padding: 8px 18px;
  color: var(--text-sub);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 0.16s;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 18px;
  right: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}
.main-nav a:hover {
  color: var(--blue);
}
.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}
.main-nav a.is-active {
  color: var(--blue);
  font-weight: 600;
}
.nav-dropdown {
  position: relative;
}
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-arrow {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.16s ease;
}
.nav-dropdown:hover .nav-arrow,
.nav-dropdown:focus-within .nav-arrow {
  transform: rotate(225deg) translateY(-1px);
}
.nav-submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  min-width: 168px;
  padding: 8px;
  border: 1px solid rgba(207, 224, 255, 0.88);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 44px rgba(11, 31, 68, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 120;
}
.nav-submenu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-submenu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  transition: background 0.16s, color 0.16s;
}
.nav-submenu a::after {
  content: '›';
  position: static;
  width: auto;
  height: auto;
  margin-left: 18px;
  color: var(--text-light);
  background: transparent;
  font-size: 18px;
  line-height: 1;
  transform: none;
  transition: color 0.16s, transform 0.16s;
}
.nav-submenu a:hover,
.nav-submenu a:focus {
  background: var(--blue-soft);
  color: var(--blue);
  outline: none;
}
.nav-submenu a:hover::after,
.nav-submenu a:focus::after {
  color: var(--blue);
  transform: translateX(2px);
}

/* Header CTA */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-header-ghost {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-sub);
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.16s, color 0.16s, background 0.16s;
}
.btn-header-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
}
.app-download-dropdown {
  position: relative;
}
.app-download-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.app-download-arrow {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.16s ease;
}
.app-download-dropdown:hover .app-download-arrow,
.app-download-dropdown:focus-within .app-download-arrow {
  transform: rotate(225deg) translateY(-1px);
}
.app-download-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: -360px;
  height: 12px;
}
.app-download-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 704px;
  max-width: calc(100vw - 32px);
  padding: 18px 20px;
  border: 1px solid #e0e3e7;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(11, 31, 68, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 130;
}
.app-download-dropdown:hover .app-download-popover,
.app-download-dropdown:focus-within .app-download-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.app-download-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #202124;
  font-size: 14px;
  font-weight: 600;
}
.app-download-title-icon {
  position: relative;
  width: 12px;
  height: 18px;
  border: 1.8px solid #1877f2;
  border-radius: 3px;
}
.app-download-title-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #1877f2;
  transform: translateX(-50%);
}
.app-qr-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 12px;
}
.app-qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.app-qr-box {
  position: relative;
  display: grid;
  place-items: center;
  width: 200px;
  height: 200px;
  padding: 8px;
  border: 1px solid #e0e3e7;
  border-radius: 8px;
  background: #f8f9fa;
}
.app-qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.app-qr-placeholder {
  position: relative;
  width: 112px;
  height: 112px;
  border: 8px solid #bdbdbd;
  border-radius: 12px;
  opacity: 0.7;
}
.app-qr-placeholder::before,
.app-qr-placeholder::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: #bdbdbd;
  transform: translate(-50%, -50%);
}
.app-qr-placeholder::before {
  width: 64px;
  height: 8px;
}
.app-qr-placeholder::after {
  width: 8px;
  height: 64px;
}
.app-qr-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #ff7043;
  color: var(--white);
  font-size: 10px;
  font-weight: 500;
}
.app-qr-title {
  margin-top: 8px;
  color: #5f6368;
  font-size: 13px;
  font-weight: 500;
}
.app-qr-download {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 5px 12px;
  border: 1px solid rgba(24, 119, 242, 0.3);
  border-radius: 6px;
  background: #eaf1fb;
  color: #1877f2;
  font-size: 12px;
  font-weight: 500;
  transition: background 0.16s, border-color 0.16s;
}
.app-qr-download::before {
  content: '↓';
  font-size: 14px;
  line-height: 1;
}
.app-qr-download:hover,
.app-qr-download:focus {
  border-color: rgba(24, 119, 242, 0.56);
  background: #dceafb;
  outline: none;
}
.app-qr-download-disabled {
  visibility: hidden;
  pointer-events: none;
}
.app-download-tip {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 10px;
  border: 1px solid #ffe082;
  border-radius: 6px;
  background: #fff8e1;
  color: #5d4037;
  font-size: 12px;
  line-height: 1.5;
}
.app-download-tip-icon {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  border: 1px solid #ff8f00;
  border-radius: 50%;
  color: #ff8f00;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.app-download-tip strong {
  color: #d84315;
}
.btn-header-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.16s;
}
.btn-header-primary:hover {
  background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
  box-shadow: 0 8px 22px rgba(64, 112, 192, 0.3);
}
.merchant-dropdown {
  position: relative;
}
.merchant-arrow {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.16s ease;
}
.merchant-dropdown:hover .merchant-arrow,
.merchant-dropdown:focus-within .merchant-arrow {
  transform: rotate(225deg) translateY(-1px);
}
.merchant-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 180px;
  padding: 8px;
  border: 1px solid rgba(207, 224, 255, 0.88);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 44px rgba(11, 31, 68, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 120;
}
.merchant-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.merchant-dropdown:hover .merchant-menu,
.merchant-dropdown:focus-within .merchant-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.merchant-dropdown.is-closing .merchant-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
}
.merchant-dropdown.is-closing .merchant-arrow {
  transform: rotate(45deg) translateY(-2px);
}
.merchant-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  transition: background 0.16s, color 0.16s;
}
.merchant-menu a::after {
  content: '›';
  color: var(--text-light);
  font-size: 18px;
  line-height: 1;
  transition: color 0.16s, transform 0.16s;
}
.merchant-menu a:hover,
.merchant-menu a:focus {
  background: var(--blue-soft);
  color: var(--blue);
  outline: none;
}
.merchant-menu a:hover::after,
.merchant-menu a:focus::after {
  color: var(--blue);
  transform: translateX(2px);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  background:
    radial-gradient(circle at 12% 30%, rgba(68, 114, 197, 0.34), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(109, 150, 220, 0.2), transparent 28%),
    linear-gradient(160deg, #07162e 0%, #15366d 58%, #061226 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 96px 0 72px;
}

.hero-content .tag-badge {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}
.hero-content h1 {
  margin-top: 18px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--white);
}
.hero-content p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.85;
  max-width: 540px;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.hero-btns .btn-outline {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}
.hero-btns .btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
}
.hcard {
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(207, 224, 255, 0.18);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}
.hcard-main {
  padding: 24px;
}
.hcard-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.hcard-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.hcard-dot.r { background: #ff5f57; }
.hcard-dot.y { background: #ffbd2e; }
.hcard-dot.g { background: #28c840; }
.hcard-label {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 600;
}
.hcard-flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hcard-flow div {
  padding: 16px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(207, 224, 255, 0.14);
}
.hcard-flow b {
  display: block;
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
}
.hcard-flow span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}
.hcard-stat {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 22px;
  margin-top: 14px;
  margin-right: 14px;
  float: left;
}
.hcard-stat strong {
  color: var(--white);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}
.hcard-stat strong small {
  font-size: 22px;
  font-weight: 700;
  opacity: 0.7;
}
.hcard-stat span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}
.hcard-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  margin-top: 14px;
  float: left;
  clear: none;
}
.badge-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.3);
  color: #4ade80;
  font-weight: 900;
}
.hcard-badge span:last-child {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 600;
}

/* Hero Stats Bar */
.hero-stats-bar {
  background: rgba(5, 18, 42, 0.34);
  border-top: 1px solid rgba(207, 224, 255, 0.1);
}
.stats-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 28px 0;
}
.stat-item {
  flex: 1;
  min-width: 200px;
  padding: 0 28px;
  text-align: center;
}
.stat-item strong {
  display: block;
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
}
.stat-item span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* ============================================================
   ROLES
   ============================================================ */
.roles-section {
  background: var(--bg);
  padding: 96px 0;
}
.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.role-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.role-card.blue {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.role-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.role-card.blue:hover  { border-color: var(--blue); }
.role-card.purple:hover{ border-color: var(--purple); }
.role-card.green:hover { border-color: var(--green); }
.role-card.orange:hover{ border-color: var(--orange); }

.role-card-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.role-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  flex-shrink: 0;
}
.role-card.blue   .role-icon { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); box-shadow: 0 10px 24px rgba(64, 112, 192, 0.24); }
.role-card.purple .role-icon { background: var(--purple); }
.role-card.green  .role-icon { background: var(--green); }
.role-card.orange .role-icon { background: var(--orange); }

.role-card-top h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}
.role-card-top p {
  margin-top: 6px;
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.7;
}
.role-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.role-card li {
  position: relative;
  padding-left: 22px;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.6;
}
.role-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 900;
  font-size: 13px;
}
.role-card.blue   li::before { color: var(--blue); }
.role-card.purple li::before { color: var(--purple); }
.role-card.green  li::before { color: var(--green); }
.role-card.orange li::before { color: var(--orange); }

.role-link {
  display: inline-block;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 800;
}
.role-card.blue   .role-link { color: var(--blue); }
.role-card.purple .role-link { color: var(--purple); }
.role-card.green  .role-link { color: var(--green); }
.role-card.orange .role-link { color: var(--orange); }

/* ============================================================
   PLATFORM
   ============================================================ */
.platform-section { background: var(--white); }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.platform-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.platform-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  opacity: 0;
  transition: opacity 0.2s;
}
.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-mid);
}
.platform-card:hover::before { opacity: 1; }
.platform-no {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
}
.platform-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}
.platform-card p {
  margin-top: 12px;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.8;
}

/* ============================================================
   ECOSYSTEM — 深蓝背景
   ============================================================ */
.ecosystem-section {
  background:
    radial-gradient(circle at 8% 50%, rgba(68, 114, 197, 0.28), transparent 34%),
    linear-gradient(135deg, #07162e 0%, #102b5c 100%);
  padding: 96px 0;
  color: var(--white);
}
.ecosystem-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 52px;
}
.ecosystem-stats div {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
}
.ecosystem-stats strong {
  display: block;
  color: var(--white);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  line-height: 1;
}
.ecosystem-stats strong small {
  font-size: 0.55em;
  opacity: 0.7;
}
.ecosystem-stats span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.industry-grid article {
  position: relative;
  padding: 32px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.2s;
}
.industry-grid article:hover {
  background: rgba(255, 255, 255, 0.09);
}
.industry-grid article::after {
  content: "";
  position: absolute;
  right: -56px;
  bottom: -56px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(64, 112, 192, 0.2);
}
.industry-grid article:nth-child(2)::after {
  background: rgba(124, 58, 237, 0.2);
}
.industry-grid article:nth-child(3)::after {
  background: rgba(8, 145, 178, 0.2);
}
.ind-no {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 22px;
}
.industry-grid h3 {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
}
.industry-grid p {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.85;
}

/* ============================================================
   WORKFLOW
   ============================================================ */
.workflow-section { background: var(--bg); }
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}
.workflow-step {
  position: relative;
  padding: 0 16px;
  text-align: center;
}
.step-num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(64, 112, 192, 0.3);
  position: relative;
  z-index: 1;
}
.step-connector {
  position: absolute;
  top: 26px;
  left: calc(50% + 26px);
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-mid));
}
.step-connector.last { display: none; }
.workflow-step h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}
.workflow-step p {
  margin-top: 10px;
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.8;
}

/* ============================================================
   COMPLIANCE
   ============================================================ */
.compliance-section {
  background: var(--white);
  padding: 80px 0;
}
.compliance-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.compliance-content h2 {
  margin-top: 14px;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.03em;
  color: var(--text);
}
.compliance-content p {
  margin-top: 16px;
  color: var(--text-sub);
  font-size: 16px;
  line-height: 1.85;
}
.compliance-section .tag-badge.light {
  border-color: rgba(64, 112, 192, 0.22);
  background: var(--blue-soft);
  color: var(--blue);
}
.compliance-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.compliance-tags span {
  padding: 18px 22px;
  border: 1px solid rgba(207, 224, 255, 0.88);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.compliance-tags span:hover {
  border-color: var(--blue-mid);
  background: var(--blue-soft);
  color: var(--blue);
}

/* ============================================================
   ACCESS / CTA
   ============================================================ */
.access-section { background: var(--white); }
.access-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.access-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.access-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-mid);
}
.access-card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  flex-shrink: 0;
}
.access-card-icon.blue   { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); box-shadow: 0 10px 24px rgba(64, 112, 192, 0.24); }
.access-card-icon.purple { background: var(--purple); }
.access-card-icon.green  { background: var(--green); }

.access-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}
.access-card p {
  margin-top: 8px;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.75;
}
.access-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}
.access-card:hover .access-link { text-decoration: underline; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-page {
  background: linear-gradient(180deg, #f8fbff 0%, var(--white) 420px);
}
.about-hero-section {
  position: relative;
  overflow: hidden;
  padding: 108px 0 92px;
  background:
    radial-gradient(circle at 78% 22%, rgba(124, 58, 237, 0.16), transparent 34%),
    radial-gradient(circle at 15% 25%, rgba(64, 112, 192, 0.16), transparent 30%),
    linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.75;
  background-image:
    linear-gradient(rgba(64, 112, 192, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(64, 112, 192, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
}
.about-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: center;
}
.about-hero-content h1 {
  margin-top: 18px;
  max-width: 780px;
  color: var(--text);
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.about-hero-content p {
  margin-top: 24px;
  max-width: 720px;
  color: var(--text-sub);
  font-size: 18px;
  line-height: 1.9;
}
.about-hero-card {
  position: relative;
  padding: 36px;
  border: 1px solid rgba(64, 112, 192, 0.18);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}
.about-hero-card::before {
  content: '';
  position: absolute;
  top: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  opacity: 0.14;
}
.about-hero-card span {
  color: var(--text-light);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.about-hero-card strong {
  display: block;
  margin-top: 10px;
  color: var(--blue);
  font-size: 72px;
  line-height: 1;
  letter-spacing: -0.06em;
}
.about-hero-card p {
  margin-top: 18px;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.8;
}
.about-intro-section {
  background: var(--white);
}
.about-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.about-side-card {
  position: sticky;
  top: 108px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, rgba(238, 244, 255, 0.92), rgba(255, 255, 255, 0.98)),
    var(--white);
  box-shadow: var(--shadow-md);
}
.about-side-kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.about-side-card h2 {
  margin-top: 12px;
  color: var(--text);
  font-size: 28px;
  letter-spacing: -0.02em;
}
.about-side-card p {
  margin-top: 16px;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.8;
}
.about-side-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.about-side-tags span {
  padding: 7px 12px;
  border: 1px solid rgba(64, 112, 192, 0.18);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}
.about-story-card {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fbfdff;
  box-shadow: var(--shadow-sm);
}
.about-story-block {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  padding: 30px;
  border-radius: 22px;
  background: var(--white);
}
.about-story-block + .about-story-block {
  margin-top: 10px;
}
.about-block-no {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 16px;
  font-weight: 900;
}
.about-story-block p {
  color: var(--text-sub);
  font-size: 16px;
  line-height: 2;
}
.about-value-section {
  padding: 92px 0 108px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
}
.about-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.about-value-grid article {
  padding: 30px;
  border: 1px solid rgba(207, 224, 255, 0.88);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.about-value-grid article:hover {
  transform: translateY(-4px);
  border-color: var(--blue-mid);
  box-shadow: var(--shadow-lg);
}
.about-value-grid span {
  color: var(--blue-light);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.about-value-grid h3 {
  margin-top: 16px;
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
}
.about-value-grid p {
  margin-top: 12px;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.85;
}

/* ============================================================
   FOOTER — 全宽，深色
   ============================================================ */
.site-footer {
  width: 100%;
}
.footer-main {
  background: var(--dark);
  padding: 72px 0 52px;
}
.footer-container {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1.25fr;
  gap: 32px;
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}
.footer-brand-col .brand-text strong { color: var(--white); }
.footer-brand-col .brand-text small { color: rgba(255, 255, 255, 0.45); }
.footer-brand-logo {
  height: 45px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: var(--white);
}
.footer-brand-col p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  line-height: 1.85;
  max-width: 340px;
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.footer-badges span {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 600;
}
.footer-nav-col h4 {
  margin-bottom: 20px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-nav-col a {
  display: block;
  margin-bottom: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  transition: color 0.16s;
}
.footer-nav-col a:hover { color: var(--white); }
.footer-nav-col p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.85;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-template-columns: none;
  gap: 16px;
}
.footer-bottom span,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
}
.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.72);
}

/* ============================================================
   HELP CENTER PAGE
   ============================================================ */
.help-page {
  background: linear-gradient(180deg, #fbfdff 0%, var(--white) 360px, var(--bg) 100%);
}
.help-hero-section {
  position: relative;
  overflow: hidden;
  padding: 112px 0 84px;
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 138, 0, 0.14), transparent 30%),
    radial-gradient(circle at 14% 20%, rgba(64, 112, 192, 0.16), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}
.help-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(64, 112, 192, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(64, 112, 192, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 86%);
}
.help-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: center;
}
.help-hero-content h1 {
  margin-top: 18px;
  color: var(--text);
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}
.help-hero-content p {
  margin-top: 22px;
  max-width: 760px;
  color: var(--text-sub);
  font-size: 18px;
  line-height: 1.9;
}
.help-search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 680px);
  height: 58px;
  margin-top: 34px;
  padding: 0 18px;
  border: 1px solid rgba(64, 112, 192, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(11, 31, 68, 0.08);
  backdrop-filter: blur(16px);
}
.help-search span {
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
}
.help-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 15px;
}
.help-search input::placeholder {
  color: var(--text-light);
}
.help-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}
.help-hero-card {
  padding: 32px;
  border: 1px solid rgba(64, 112, 192, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}
.help-card-kicker,
.help-eyebrow,
.help-sidebar-title {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.help-hero-card h2 {
  margin-top: 12px;
  color: var(--text);
  font-size: 28px;
  letter-spacing: -0.03em;
}
.help-hero-card ol {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding-left: 20px;
  color: var(--text-sub);
  line-height: 1.7;
}
.help-docs-section {
  padding: 72px 0 108px;
}
.help-docs-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}
.help-sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}
.help-sidebar-title {
  display: block;
  margin-bottom: 8px;
}
.help-sidebar a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text-sub);
  font-size: 14px;
  font-weight: 700;
}
.help-sidebar a:hover,
.help-sidebar a:focus {
  color: var(--blue);
  background: var(--blue-soft);
}
.help-docs-main {
  display: grid;
  gap: 28px;
}
.help-doc-block {
  scroll-margin-top: 104px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.help-block-head h2 {
  margin-top: 10px;
  color: var(--text);
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.035em;
}
.help-block-head p {
  margin-top: 12px;
  max-width: 760px;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.8;
}
.help-step-grid,
.help-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}
.help-step-card,
.help-guide-grid a,
.help-product-table article,
.help-flow-list div,
.help-faq-list details {
  border: 1px solid var(--line);
  background: #fbfdff;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.help-step-card:hover,
.help-guide-grid a:hover,
.help-product-table article:hover,
.help-flow-list div:hover,
.help-faq-list details:hover {
  transform: translateY(-2px);
  border-color: var(--blue-mid);
  box-shadow: var(--shadow-md);
}
.help-step-card {
  padding: 24px;
  border-radius: 20px;
}
.help-step-card span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}
.help-step-card h3,
.help-guide-grid h3 {
  margin-top: 12px;
  color: var(--text);
  font-size: 18px;
}
.help-step-card p,
.help-guide-grid p,
.help-product-table p,
.help-faq-list p {
  margin-top: 10px;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.75;
}
.help-product-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}
.help-product-table article {
  padding: 20px 22px;
  border-radius: 18px;
}
.help-product-table strong {
  display: block;
  color: var(--text);
  font-size: 16px;
}
.help-guide-grid a {
  padding: 24px;
  border-radius: 20px;
}
.help-guide-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: var(--white);
  font-weight: 900;
}
.help-guide-icon.blue { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }
.help-guide-icon.purple { background: var(--purple); }
.help-guide-icon.green { background: var(--green); }
.help-flow-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}
.help-flow-list div {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
}
.help-flow-list b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  flex-shrink: 0;
}
.help-flow-list span {
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.6;
}
.help-faq-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
.help-faq-list details {
  padding: 18px 20px;
  border-radius: 18px;
}
.help-faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
}
.help-faq-list summary::marker {
  color: var(--blue);
}
.help-empty-state {
  display: none;
  padding: 18px;
  border: 1px dashed var(--blue-mid);
  border-radius: 16px;
  color: var(--text-sub);
  background: var(--blue-soft);
  font-size: 14px;
}
.help-docs-main.is-empty .help-empty-state {
  display: block;
}
.help-card-hidden {
  display: none !important;
}

/* ============================================================
   响应式 — 960px
   ============================================================ */
@media (max-width: 960px) {
  .container { width: min(100%, calc(100% - 32px)); }
  .header-inner { width: calc(100% - 32px); gap: 16px; }

  .nav-toggle { display: flex; }
  .header-actions { display: none; }
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - 76px);
    padding: 10px 16px 16px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(207, 224, 255, 0.9);
    box-shadow: 0 18px 40px rgba(11, 31, 68, 0.12);
    backdrop-filter: blur(16px);
    gap: 0;
  }
  .main-nav.is-open { display: flex; }
  .main-nav > a,
  .main-nav .nav-trigger {
    width: 100%;
    padding: 16px 4px;
    border: 0;
    border-bottom: 1px solid rgba(228, 234, 244, 0.9);
    border-radius: 0;
    background: transparent;
    color: var(--text);
    font-size: 17px;
    font-weight: 700;
  }
  .main-nav > a::after,
  .main-nav .nav-trigger::after {
    display: none;
  }
  .main-nav > a:hover,
  .main-nav > a.is-active,
  .main-nav .nav-trigger:hover,
  .main-nav .nav-trigger.is-active {
    color: var(--blue);
    background: transparent;
  }
  .nav-dropdown {
    width: 100%;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(228, 234, 244, 0.9);
    border-radius: 0;
    background: transparent;
  }
  .nav-trigger {
    justify-content: space-between;
    margin-bottom: 0;
    border-bottom: 0;
  }
  .nav-dropdown:hover .nav-arrow,
  .nav-dropdown:focus-within .nav-arrow {
    transform: rotate(45deg) translateY(-2px);
  }
  .nav-submenu {
    position: static;
    display: grid;
    min-width: 0;
    width: 100%;
    margin: 0 0 12px;
    padding: 6px 0 6px 18px;
    border: 0;
    border-left: 1px solid rgba(64, 112, 192, 0.22);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    gap: 4px;
  }
  .nav-submenu::before {
    display: none;
  }
  .nav-submenu a {
    justify-content: flex-start;
    width: 100%;
    padding: 9px 4px 9px 0;
    border-radius: 0;
    color: var(--text-sub);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
  }
  .nav-submenu a::after { display: none; }
  .nav-submenu a::before {
    content: '';
    width: 4px;
    height: 4px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--blue-light);
    flex-shrink: 0;
  }
  .nav-submenu a:hover,
  .nav-submenu a:focus,
  .nav-submenu a.is-active {
    color: var(--blue);
    background: transparent;
  }

  .hero-inner { grid-template-columns: 1fr; padding: 64px 0 52px; }
  .hero-visual { display: none; }
  .stats-inner { justify-content: center; }
  .stat-item { min-width: 160px; }

  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .access-grid { grid-template-columns: 1fr 1fr; }
  .ecosystem-stats { grid-template-columns: 1fr 1fr 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .workflow-steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .step-connector { display: none; }
  .compliance-inner { grid-template-columns: 1fr; }
  .about-hero-inner,
  .about-layout { grid-template-columns: 1fr; }
  .about-hero-card { max-width: 420px; }
  .about-side-card { position: static; }
  .about-value-grid { grid-template-columns: 1fr; }
  .help-hero-inner,
  .help-docs-layout { grid-template-columns: 1fr; }
  .help-hero-card { max-width: 460px; }
  .help-sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .help-sidebar-title { width: 100%; }
  .help-step-grid,
  .help-guide-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}

/* ============================================================
   响应式 — 640px
   ============================================================ */
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section-head.center { margin-bottom: 36px; }

  .hero-content h1 { font-size: clamp(34px, 9vw, 52px); }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
  .stats-inner { flex-direction: column; gap: 0; }
  .stat-item { width: 100%; border-top: 1px solid rgba(255,255,255,0.07); padding: 18px 0; }
  .stat-divider { display: none; }

  .roles-grid,
  .platform-grid,
  .access-grid,
  .ecosystem-stats,
  .industry-grid,
  .workflow-steps,
  .compliance-tags { grid-template-columns: 1fr; }

  .about-hero-section { padding: 72px 0 60px; }
  .about-hero-content h1 { font-size: clamp(34px, 10vw, 46px); }
  .about-hero-content p { font-size: 16px; }
  .about-hero-card { padding: 28px; }
  .about-hero-card strong { font-size: 58px; }
  .about-story-block {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .help-hero-section { padding: 76px 0 58px; }
  .help-hero-content h1 { font-size: clamp(38px, 11vw, 52px); }
  .help-hero-content p { font-size: 16px; }
  .help-search { height: auto; min-height: 54px; align-items: flex-start; padding: 14px 16px; }
  .help-search input { font-size: 14px; }
  .help-hero-actions { flex-direction: column; }
  .help-hero-actions .btn { width: 100%; }
  .help-hero-card,
  .help-doc-block { padding: 24px; border-radius: 22px; }
  .help-docs-section { padding: 48px 0 72px; }
  .help-product-table { grid-template-columns: 1fr; }
  .help-flow-list div { align-items: flex-start; }

  .compliance-section { padding: 56px 0; }
  .access-card { flex-direction: column; }

  .footer-container { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
