/* ============================================================
   萌职社 · 官网样式表
   设计规范：紫色 #6C5CE7 / 绿色 #00B894 / 粉色 #FD79A8
   背景 #F8F9FE / 深色 #2D3436 / 圆角 12px
   ============================================================ */

:root {
  --bg: #F8F9FE;
  --primary: #6C5CE7;
  --primary-dark: #5547D4;
  --primary-soft: rgba(108, 92, 231, 0.1);
  --secondary: #00B894;
  --secondary-soft: rgba(0, 184, 148, 0.12);
  --accent: #FD79A8;
  --accent-soft: rgba(253, 121, 168, 0.12);
  --dark: #2D3436;
  --text: #2D3436;
  --text-2: #636E72;
  --card: #FFFFFF;
  --border: #E8E8F0;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 2px 8px rgba(108, 92, 231, 0.08);
  --shadow-hover: 0 12px 24px rgba(108, 92, 231, 0.15);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

section[id], header[id] { scroll-margin-top: calc(var(--nav-h) - 8px); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  font-weight: 700;
  font-family: var(--font);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .3s ease-out, box-shadow .3s ease-out, background .3s ease-out, color .3s ease-out;
  white-space: nowrap;
}
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(108, 92, 231, 0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(108, 92, 231, 0.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ---------- 区块标题 ---------- */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.section-head-left { text-align: left; margin: 0 0 32px; max-width: 520px; }

.kicker {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.section-title {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .5px;
  color: var(--text);
}
.section-title em {
  font-style: normal;
  background: linear-gradient(92deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-sub {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-2);
}

/* ---------- 滚动入场 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   吸顶导航栏
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  color: #fff;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease);
}
.nav.scrolled {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92));
  color: var(--text);
  box-shadow: 0 6px 24px rgba(45, 52, 54, 0.08);
  backdrop-filter: blur(10px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo { display: inline-flex; align-items: center; gap: 10px; }
.nav-logo-mark {
  display: inline-flex;
  filter: drop-shadow(0 4px 10px rgba(108, 92, 231, 0.35));
  transition: transform .3s var(--ease);
}
.nav-logo:hover .nav-logo-mark { transform: rotate(-6deg) scale(1.05); }
.nav-logo-text { font-size: 20px; font-weight: 900; letter-spacing: 1px; line-height: 1; }
.nav-logo-text em {
  display: block;
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3.5px;
  color: var(--text-2);
  opacity: .85;
  margin-top: 3px;
}
.nav.scrolled .nav-logo-text em { opacity: .7; }

.nav-links { display: flex; gap: 30px; margin-left: auto; list-style: none; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: inherit;
  opacity: .9;
  position: relative;
  padding: 6px 0;
  transition: color .3s var(--ease), opacity .3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: right .35s var(--ease);
}
.nav-links a:hover { opacity: 1; color: var(--primary); }
.nav-links a:hover::after { right: 0; }

.nav-cta { margin-left: 8px; }
.nav-burger { display: none; }

/* 移动端全屏菜单 */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: linear-gradient(160deg, #2D3436 0%, rgba(108, 92, 231, 0.95) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .4s var(--ease), visibility .4s var(--ease), transform .4s var(--ease);
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu ul { text-align: center; display: flex; flex-direction: column; gap: 26px; }
.mobile-menu a { color: #fff; font-size: 22px; font-weight: 700; }

/* ============================================================
   Hero 区
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-sky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  animation: heroPulse 9s ease-in-out infinite;
}
.hero-glow-1 { width: 480px; height: 480px; background: rgba(108, 92, 231, 0.65); top: -120px; right: 8%; }
.hero-glow-2 { width: 420px; height: 420px; background: rgba(253, 121, 168, 0.4); bottom: -140px; left: 4%; animation-delay: 2.5s; }
@keyframes heroPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(112deg,
    rgba(45, 52, 54, 0.92) 0%,
    rgba(45, 52, 54, 0.78) 34%,
    rgba(45, 52, 54, 0.5) 62%,
    rgba(108, 92, 231, 0.32) 100%);
}
.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(45,52,54,0.35) 0%, transparent 22%, transparent 78%, rgba(45,52,54,0.55) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 54fr 46fr;
  align-items: center;
  gap: 40px;
  padding-top: calc(var(--nav-h) + 24px);
  padding-bottom: 60px;
}

.hero-copy { max-width: 620px; animation: heroIn 1s var(--ease) both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .5px;
  backdrop-filter: blur(6px);
}
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot-green { background: #55EFC4; box-shadow: 0 0 8px rgba(85, 239, 196, .9); }
.dot-pink { background: var(--accent); box-shadow: 0 0 8px rgba(253, 121, 168, .9); }
.dot-white { background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, .9); }

.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(92deg, #A29BFE, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; }

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}
.hero-note svg { color: #FFEAA7; }
.hero-note strong { color: #fff; font-family: var(--mono); font-weight: 700; }

/* Hero 视觉：手机 Mockup */
.hero-visual { position: relative; display: flex; justify-content: center; animation: heroIn 1s var(--ease) .2s both; }

.phone {
  position: relative;
  width: 280px;
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(160deg, #3D3A50, #1E2028 60%, #2A2836);
  box-shadow: 0 40px 80px rgba(20, 22, 34, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.phone-notch {
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 26px;
  background: #1E2028;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}
.phone-screen {
  position: relative;
  height: 556px;
  border-radius: 32px;
  background: var(--bg);
  padding: 40px 16px 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.phone-lg { width: 318px; }
.phone-lg .phone-screen { height: 610px; }

.match-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  padding: 0 4px 12px;
}
.match-count { font-family: var(--mono); color: var(--primary); font-size: 12px; }

.match-card {
  position: relative;
  z-index: 1;
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
}
.match-card-back {
  position: absolute;
  left: 14px; right: -10px;
  top: 46px; bottom: 86px;
  z-index: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: rotate(2.6deg);
  opacity: .85;
}
.match-card-back::after {
  content: "更多机会正在路上…";
  position: absolute;
  left: 18px; bottom: 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 700;
}
.match-card-top { display: flex; align-items: center; gap: 10px; }
.match-avatar {
  width: 42px; height: 42px;
  border-radius: 14px;
  background: var(--a, var(--primary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  flex-shrink: 0;
}
.match-meta { min-width: 0; }
.match-meta h4 { font-size: 14px; font-weight: 700; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match-meta p { font-size: 11.5px; color: var(--text-2); line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match-tag {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--secondary);
  background: var(--secondary-soft);
  padding: 3px 8px;
  border-radius: 999px;
}
.match-points { display: flex; flex-direction: column; gap: 7px; }
.match-points li {
  position: relative;
  padding-left: 16px;
  font-size: 12px;
  color: var(--text);
  line-height: 1.6;
}
.match-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.match-actions { display: flex; gap: 10px; margin-top: auto; }
.match-btn {
  flex: 1;
  padding: 9px 0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  transition: transform .3s ease-out, box-shadow .3s ease-out, background .3s ease-out;
}
.match-btn:hover { transform: translateY(-2px); }
.match-btn.dislike {
  background: #F1F2F6;
  color: var(--text-2);
}
.match-btn.like {
  background: linear-gradient(135deg, var(--primary), #8E7BFF);
  color: #fff;
  box-shadow: 0 6px 14px rgba(108, 92, 231, 0.35);
}
.match-tip { text-align: center; font-size: 11.5px; color: var(--text-2); padding-top: 12px; }

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-hover);
  z-index: 5;
  animation: floatY 4s ease-in-out infinite;
}
.chip-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
  background: var(--secondary);
}
.chip-1 { top: 14%; left: -6%; animation-delay: .6s; }
.chip-2 { bottom: 16%; right: -8%; animation-delay: 1.6s; }
.chip-2 .chip-icon { background: var(--accent); }
.chip-3 { bottom: 8%; left: -10%; animation-delay: .3s; }
.chip-3 .chip-icon { background: var(--primary); }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero-scroll span {
  width: 4px; height: 8px;
  border-radius: 2px;
  background: #fff;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ============================================================
   核心数据展示条
   ============================================================ */
.stats { position: relative; z-index: 5; margin-top: -64px; padding-bottom: 40px; }
.stats-grid {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(108, 92, 231, 0.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stat-item {
  padding: 44px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  border-right: 1px solid var(--border);
  transition: background .3s ease-out;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: #FBFAFF; }
.stat-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--ic, var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.stat-num {
  font-family: var(--mono);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: .5px;
}
.stat-num .num { color: var(--ic, var(--primary)); }
.stat-label { font-size: 14px; color: var(--text-2); }

/* ============================================================
   核心业务板块
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
}
.service-card {
  grid-column: span 2;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .3s ease-out, box-shadow .3s ease-out, border-color .3s ease-out;
}
.service-card:nth-child(4) { grid-column: 2 / span 2; }
.service-card:nth-child(5) { grid-column: 4 / span 2; }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(108, 92, 231, 0.35);
}
.service-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(160deg, #EEF0FF, #F8F9FE);
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.service-card:hover .service-img img { transform: scale(1.05); }
.service-body { padding: 26px 28px 30px; }
.service-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--ic, var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-title { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.service-desc { font-size: 14px; color: var(--primary); font-weight: 500; margin-bottom: 14px; }
.service-list { display: flex; flex-direction: column; gap: 8px; }
.service-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--text-2);
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ic, var(--primary));
  opacity: .55;
}

/* ============================================================
   产品亮点：萌职卡片
   ============================================================ */
.engine {
  background:
    radial-gradient(600px 360px at 12% 8%, rgba(108, 92, 231, 0.08), transparent 60%),
    radial-gradient(560px 340px at 88% 92%, rgba(253, 121, 168, 0.09), transparent 60%),
    #fff;
}
.engine-split {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 64px;
  align-items: center;
}
.engine-visual { position: relative; display: flex; justify-content: center; padding: 30px 0; }
.engine-orbit {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px dashed rgba(108, 92, 231, 0.35);
  animation: spin 40s linear infinite;
}
.orbit-1 { width: 380px; height: 380px; }
.orbit-2 { width: 470px; height: 470px; border-color: rgba(253, 121, 168, 0.3); animation-direction: reverse; animation-duration: 55s; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.highlight-list { display: flex; flex-direction: column; gap: 30px; margin-bottom: 44px; }
.highlight { display: flex; gap: 20px; align-items: flex-start; }
.highlight-num {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.highlight h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.highlight p { font-size: 15px; color: var(--text-2); line-height: 1.8; }

.steps {
  display: flex;
  align-items: stretch;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
}
.step { display: flex; gap: 14px; flex: 1; align-items: flex-start; }
.step-num {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(108, 92, 231, 0.3);
}
.step h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.step p { font-size: 12.5px; color: var(--text-2); line-height: 1.7; }
.step-arrow {
  align-self: center;
  width: 18px; height: 18px;
  border-top: 2px solid #C8C4EC;
  border-right: 2px solid #C8C4EC;
  transform: rotate(45deg);
  flex-shrink: 0;
  margin: 0 2px;
}

/* ============================================================
   四层安全防护
   ============================================================ */
.safety {
  background:
    radial-gradient(560px 420px at 90% 0%, rgba(0, 184, 148, 0.07), transparent 60%),
    var(--bg);
}
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding: 10px 0; }
.tl-line {
  position: absolute;
  left: 31px;
  top: 24px;
  bottom: 24px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--primary), var(--secondary), var(--accent));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.4s var(--ease);
}
.timeline.grown .tl-line { transform: scaleY(1); }

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  padding: 20px 0;
}
.tl-node {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ic, var(--primary));
  color: var(--ic, var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(108, 92, 231, 0.07);
  position: relative;
  z-index: 1;
  transition: transform .3s ease-out, box-shadow .3s ease-out;
}
.tl-item:hover .tl-node {
  transform: scale(1.08);
  box-shadow: 0 0 0 10px rgba(108, 92, 231, 0.1);
}
.tl-content {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  box-shadow: var(--shadow-card);
  transition: transform .3s ease-out, box-shadow .3s ease-out;
}
.tl-item:hover .tl-content {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.tl-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 10px;
}
.tl-badge-green { color: var(--secondary); background: var(--secondary-soft); }
.tl-badge-pink { color: var(--accent); background: var(--accent-soft); }
.tl-badge-dark { color: #fff; background: var(--dark); }
.tl-content h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.tl-content p { font-size: 15px; color: var(--text-2); line-height: 1.8; }

/* ============================================================
   培训认证体系
   ============================================================ */
.training { background: #fff; }
.train-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 70px; }
.train-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform .3s ease-out, box-shadow .3s ease-out, background .3s ease-out;
}
.train-card:hover {
  transform: translateY(-8px);
  background: #fff;
  box-shadow: var(--shadow-hover);
}
.train-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: #fff;
  color: var(--ic, var(--primary));
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.train-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.train-card > p { font-size: 14.5px; color: var(--text-2); margin-bottom: 18px; }
.train-card ul { display: flex; flex-direction: column; gap: 9px; }
.train-card ul li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text);
}
.train-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--secondary);
  font-weight: 700;
}

/* 三级认证递进 */
.cert-path {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.cert-line {
  position: absolute;
  top: 32px;
  left: 14%;
  right: 14%;
  height: 4px;
  border-radius: 4px;
  background: var(--border);
  overflow: hidden;
}
.cert-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary), #F0A500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease);
}
.cert-path.grown .cert-line::after { transform: scaleX(1); }

.cert-level {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cert-dot {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border);
  color: #B2BEC3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all .5s var(--ease);
}
.cert-level h4 { font-size: 18px; font-weight: 700; margin-bottom: 4px; transition: color .5s var(--ease); }
.cert-level p { font-size: 13.5px; color: var(--text-2); }

.cert-level[data-level="1"].lit .cert-dot { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 0 0 8px rgba(108, 92, 231, 0.15); }
.cert-level[data-level="2"].lit .cert-dot { background: var(--secondary); border-color: var(--secondary); color: #fff; box-shadow: 0 0 0 8px rgba(0, 184, 148, 0.15); }
.cert-level[data-level="3"].lit .cert-dot { background: linear-gradient(135deg, #FFC048, #F0A500); border-color: #F0A500; color: #fff; box-shadow: 0 0 0 8px rgba(240, 165, 0, 0.15); }
.cert-level.lit h4 { color: var(--text); }

/* ============================================================
   客户案例与信任背书
   ============================================================ */
.carousel { position: relative; overflow: hidden; padding: 6px 2px 10px; }
.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform .6s var(--ease);
}
.review-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease-out, box-shadow .3s ease-out;
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.review-stars { color: #F6B93B; font-size: 17px; letter-spacing: 3px; margin-bottom: 14px; }
.review-text { font-size: 15px; line-height: 1.9; color: var(--text); flex: 1; margin-bottom: 22px; }
.review-user { display: flex; align-items: center; gap: 12px; }
.review-user img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-soft); }
.review-user strong { display: block; font-size: 14px; font-weight: 700; }
.review-user span { font-size: 12px; color: var(--text-2); }

.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; }
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease-out;
}
.carousel-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(108, 92, 231, 0.3); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots button {
  width: 8px; height: 8px;
  border-radius: 999px;
  border: none;
  background: #D5D3EA;
  transition: all .3s var(--ease);
  padding: 0;
}
.carousel-dots button.active { width: 26px; background: var(--primary); }

/* 合作伙伴 Logo 墙 */
.partners { margin-top: 72px; }
.partners-title {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 3px;
  margin-bottom: 28px;
}
.partner-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.partner-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-2);
  font-size: 15px;
  font-weight: 700;
  filter: grayscale(1);
  opacity: .62;
  transition: all .35s ease-out;
  cursor: default;
}
.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  color: var(--primary);
  border-color: rgba(108, 92, 231, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

/* ============================================================
   联系表单
   ============================================================ */
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(108, 92, 231, 0.1);
  overflow: hidden;
}
.contact-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
}
.contact-form-wrap { padding: 56px 56px 48px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 14px; font-weight: 700; color: var(--text); }
.form-field label em { color: var(--accent); font-style: normal; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: #FCFCFE;
  transition: border-color .3s ease-out, box-shadow .3s ease-out, background .3s ease-out;
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field select { appearance: none; cursor: pointer; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--text-2);
  border-bottom: 2px solid var(--text-2);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.14);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #A9B0B5; }
.form-note { font-size: 12.5px; color: var(--text-2); text-align: center; }

.contact-info {
  background: linear-gradient(155deg, #6C5CE7 0%, #8E7BFF 55%, #9B8CFF 100%);
  color: #fff;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -90px; right: -90px;
}
.contact-info::after {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 30px solid rgba(255, 255, 255, 0.06);
  bottom: -70px; left: -70px;
}
.contact-info > * { position: relative; z-index: 1; }
.contact-info h3 { font-size: 24px; font-weight: 700; margin-bottom: 26px; }
.contact-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 34px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.ci-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--ic, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-list strong { display: block; font-size: 15px; font-weight: 700; }
.contact-list span { font-size: 13.5px; color: rgba(255, 255, 255, 0.8); }
.qr-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
}
.qr-box img { width: 74px; height: 74px; border-radius: 10px; background: #fff; padding: 6px; }
.qr-box strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.qr-box span { font-size: 12.5px; color: rgba(255, 255, 255, 0.78); }

/* ============================================================
   页脚
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
}
.footer-brand .nav-logo-text { color: #fff; }
.footer-brand .nav-logo-text em { color: rgba(255, 255, 255, 0.55); }
.footer-brand p { margin-top: 20px; font-size: 14.5px; line-height: 1.9; max-width: 340px; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease-out;
}
.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(108, 92, 231, 0.35);
}
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; color: rgba(255, 255, 255, 0.7); transition: color .3s ease-out, padding-left .3s ease-out; }
.footer-col a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%, 20px);
  background: var(--dark);
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 16px 40px rgba(45, 52, 54, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: all .4s var(--ease);
  z-index: 200;
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ============================================================
   响应式：平板 768–1023px
   ============================================================ */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    background: none;
    border: none;
    padding: 8px;
  }
  .nav-burger span {
    width: 24px; height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .35s var(--ease), opacity .35s var(--ease);
  }
  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .engine-split { grid-template-columns: 1fr; gap: 48px; }
  .engine-visual { order: -1; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 44px 36px 40px; }
  .contact-info { padding: 44px 36px; }

  .review-card { flex-basis: calc((100% - 24px) / 2); }

  /* 平板：服务卡片 2 列，第 5 张居中 */
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card,
  .service-card:nth-child(4) { grid-column: auto; }
  .service-card:nth-child(5) { grid-column: 1 / -1; width: calc(50% - 14px); justify-self: center; }
}

/* ============================================================
   响应式：移动端 < 768px
   ============================================================ */
@media (max-width: 767px) {
  .section { padding: 80px 0; }

  /* 性能原则：移动端仅 opacity 渐变，禁用 translateY */
  .reveal { transform: none; }

  .section-title { font-size: 28px; }
  .section-sub { font-size: 15px; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 100px; }
  .hero-copy { text-align: center; }
  .hero-tags { justify-content: center; }
  .hero-title { font-size: 36px; }
  .hero-sub { margin-left: auto; margin-right: auto; font-size: 15px; }
  .hero-cta { justify-content: center; }
  .hero-cta .btn { flex: 1; min-width: 140px; }
  .hero-note { justify-content: center; }
  .hero-visual { display: none; }
  .hero-scroll { display: none; }

  /* 数据条 2x2 */
  .stats { margin-top: -48px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 30px 16px; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-child(n+3) { border-bottom: none; }
  .stat-num { font-size: 34px; }

  /* 服务卡片单列 */
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) { grid-column: auto; }

  /* 产品亮点 */
  .engine { overflow: hidden; }
  .engine-split { gap: 36px; }
  .steps { flex-direction: column; gap: 20px; }
  .step-arrow { transform: rotate(135deg); align-self: flex-start; margin-left: 14px; }
  .orbit-1 { width: 240px; height: 240px; }
  .orbit-2 { width: 310px; height: 310px; }
  .float-chip { display: none; }
  .service-card:nth-child(5) { grid-column: auto; width: auto; max-width: none; justify-self: auto; margin: 0; }

  /* 安全时间轴 */
  .timeline { padding-left: 6px; }
  .tl-item { grid-template-columns: 52px 1fr; gap: 18px; }
  .tl-line { left: 25px; }
  .tl-node { width: 52px; height: 52px; }
  .tl-content { padding: 20px 20px; }
  .tl-content h3 { font-size: 19px; }

  /* 培训认证 */
  .train-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 56px; }
  .cert-path { flex-direction: column; align-items: center; gap: 34px; }
  .cert-line {
    top: 32px;
    left: auto;
    right: auto;
    width: 4px;
    height: auto;
    bottom: 32px;
  }
  .cert-line::after { transform: scaleY(0); transform-origin: top; }
  .cert-path.grown .cert-line::after { transform: scaleY(1); }

  /* 评价轮播单张 */
  .review-card { flex-basis: 100%; }
  .partners { margin-top: 56px; }

  /* 联系表单 */
  .contact-form-wrap { padding: 36px 24px 32px; }
  .contact-info { padding: 36px 24px; }
  .form-row { grid-template-columns: 1fr; }

  /* 页脚 */
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

/* 平板数据条保持四等分（768–1023 与桌面一致） */

/* ---------- 无障碍：减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   子页面通用（帮助中心 / 服务协议 / 隐私政策 / 联系我们）
   ============================================================ */
body.subpage .nav {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.94));
  color: var(--text);
  box-shadow: 0 6px 24px rgba(45, 52, 54, 0.08);
}
body.subpage .nav-logo-text em { opacity: .7; }
.nav-links a.active { opacity: 1; color: var(--primary); }
.nav-links a.active::after { right: 0; }

/* 子页面头部 */
.page-hero {
  position: relative;
  padding: 148px 0 72px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(560px 320px at 86% 0%, rgba(253, 121, 168, 0.28), transparent 62%),
    radial-gradient(540px 340px at 8% 100%, rgba(108, 92, 231, 0.42), transparent 62%),
    linear-gradient(135deg, #2D3436 0%, #4A3F8F 52%, #6C5CE7 100%);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.85); transition: color .3s ease-out; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .55; }
.page-hero h1 { font-size: 42px; font-weight: 900; letter-spacing: 1px; line-height: 1.3; margin-bottom: 14px; }
.page-hero .ph-sub { font-size: 16px; line-height: 1.9; color: rgba(255, 255, 255, 0.84); max-width: 660px; }

.subpage-main { padding: 74px 0 110px; }

/* 帮助中心：搜索 */
.help-search { max-width: 660px; margin: 0 auto 46px; position: relative; }
.help-search .hs-icon {
  position: absolute; left: 22px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-2);
  display: flex;
}
.help-search input {
  width: 100%;
  padding: 17px 24px 17px 54px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  outline: none;
  box-shadow: var(--shadow-card);
  transition: border-color .3s ease-out, box-shadow .3s ease-out;
}
.help-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.14); }
.help-search input::placeholder { color: #A9B0B5; }

/* 帮助中心：分类卡片 */
.help-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-bottom: 30px; }
.help-cat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform .3s ease-out, box-shadow .3s ease-out, border-color .3s ease-out;
}
.help-cat:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(108, 92, 231, 0.35); }
.hc-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  margin: 0 auto 12px;
  background: var(--ic-soft, var(--primary-soft));
  color: var(--ic, var(--primary));
  display: flex; align-items: center; justify-content: center;
}
.help-cat strong { display: block; font-size: 15px; margin-bottom: 2px; }
.help-cat span { font-size: 12.5px; color: var(--text-2); }

/* FAQ 手风琴 */
.faq { max-width: 880px; margin: 0 auto; }
.faq-group {
  font-size: 20px; font-weight: 700;
  margin: 42px 0 16px;
  display: flex; align-items: center; gap: 10px;
}
.faq-group:first-child { margin-top: 8px; }
.faq-group::before {
  content: "";
  width: 6px; height: 22px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .3s ease-out;
}
.faq-item[open] { border-color: rgba(108, 92, 231, 0.42); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 10px; height: 10px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .3s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-body { padding: 0 22px 20px; font-size: 14.5px; color: var(--text-2); line-height: 1.9; }
.faq-body p + p { margin-top: 8px; }
.faq-empty {
  display: none;
  text-align: center;
  color: var(--text-2);
  padding: 48px 0;
}
.faq-empty.show { display: block; }

.help-cta { text-align: center; margin-top: 58px; }
.help-cta p { color: var(--text-2); margin-bottom: 18px; }

/* 法律正文 */
.legal { max-width: 880px; margin: 0 auto; }
.legal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 54px 58px;
  box-shadow: var(--shadow-card);
}
.legal-meta {
  font-size: 13px;
  color: var(--text-2);
  padding-bottom: 22px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.legal h2 { font-size: 22px; font-weight: 700; margin: 36px 0 14px; color: var(--text); }
.legal h2:first-child { margin-top: 10px; }
.legal h3 { font-size: 17px; font-weight: 700; margin: 24px 0 10px; color: var(--primary); }
.legal p { font-size: 15px; line-height: 2; color: var(--text); margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 10px 0 16px; }
.legal ul li { font-size: 15px; line-height: 2; color: var(--text); margin-bottom: 6px; }
.legal-note {
  margin-top: 34px;
  background: var(--primary-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 14px;
  color: var(--primary);
  line-height: 1.9;
}

/* 子页面响应式 */
@media (max-width: 1023px) {
  .help-cats { grid-template-columns: repeat(3, 1fr); }
  .page-hero { padding: 132px 0 60px; }
}
@media (max-width: 767px) {
  .page-hero { padding: 118px 0 48px; }
  .page-hero h1 { font-size: 30px; }
  .subpage-main { padding: 54px 0 80px; }
  .help-cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .help-cat { padding: 18px 12px; }
  .legal-card { padding: 34px 22px; }
  .faq-item summary { padding: 16px 16px; font-size: 14.5px; }
  .faq-body { padding: 0 16px 18px; }
}

/* ============================================================
   404 页面
   ============================================================ */
.nf {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(560px 340px at 12% 10%, rgba(108, 92, 231, 0.1), transparent 60%),
    radial-gradient(520px 340px at 88% 88%, rgba(253, 121, 168, 0.1), transparent 60%),
    var(--bg);
}
.nf-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; padding: 0 24px; }

.nf-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 28px;
  position: relative;
}
.nf-digit {
  font-size: 176px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -4px;
  font-family: var(--font);
  background: linear-gradient(135deg, var(--primary) 0%, #8E7BFF 55%, var(--accent) 115%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
}
.nf-zero {
  width: 168px;
  height: 168px;
  margin: 0 8px;
  cursor: pointer;
  transition: transform .35s var(--ease);
  flex-shrink: 0;
}
.nf-zero:hover { transform: scale(1.06) rotate(-3deg); }
.nf-zero svg { width: 100%; height: 100%; display: block; }

.nf-eyes {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .22s ease-out;
  animation: nfBlink 4.6s ease-in-out infinite;
}
.nf-zero:hover .nf-eyes,
.nf-zero.wink .nf-eyes { transform: scaleY(0.08); animation: none; }
@keyframes nfBlink {
  0%, 91%, 100% { transform: scaleY(1); }
  94.5% { transform: scaleY(0.08); }
}

.nf h1 { font-size: 34px; font-weight: 900; line-height: 1.4; margin-bottom: 14px; color: var(--text); }
.nf h1 em {
  font-style: normal;
  background: linear-gradient(92deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nf-sub { font-size: 16px; line-height: 1.9; color: var(--text-2); max-width: 500px; margin: 0 auto 34px; }

.nf-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 42px; }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(108, 92, 231, 0.35);
}

.nf-links { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.nf-links a {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
  position: relative;
  transition: color .3s ease-out;
}
.nf-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: right .35s var(--ease);
}
.nf-links a:hover { color: var(--primary); }
.nf-links a:hover::after { right: 0; }

/* 环绕的迷你机会卡片 */
.nf-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-hover);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  z-index: 1;
  animation: floatY 5.5s ease-in-out infinite;
}
.nf-card strong { font-size: 12.5px; color: var(--text); line-height: 1.3; }
.nf-card span {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--secondary);
  background: var(--secondary-soft);
  border-radius: 999px;
  padding: 1px 8px;
}
.nf-card .nc-pay { color: var(--primary); background: var(--primary-soft); }
.nf-card .nc-hot { color: var(--accent); background: var(--accent-soft); }
.nc-1 { top: 15%; left: 7%; transform: rotate(-8deg); }
.nc-2 { top: 28%; right: 8%; transform: rotate(6deg); animation-delay: 1.1s; }
.nc-3 { bottom: 14%; left: 13%; transform: rotate(5deg); animation-delay: 2.1s; }
.nc-4 { bottom: 20%; right: 12%; transform: rotate(-5deg); animation-delay: 3s; }

/* 404 响应式 */
@media (max-width: 767px) {
  .nf { padding: calc(var(--nav-h) + 24px) 0 56px; }
  .nf-digit { font-size: 104px; letter-spacing: -2px; }
  .nf-zero { width: 100px; height: 100px; margin: 0 4px; }
  .nf h1 { font-size: 25px; }
  .nf-sub { font-size: 15px; margin-bottom: 28px; }
  .nf-card { display: none; }
}
