/* 
  溯心 (SoulTrace) - 独立量表落地页公共与专属全功能样式系统 (Scale Theme Full CSS)
*/

.theme-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-back-hub {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-back-hub:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: var(--glass-highlight);
}

.theme-quick-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.switch-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.switch-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.switch-chip:hover, .switch-chip.active {
  background: rgba(99, 102, 241, 0.18);
  color: #c7d2fe;
  border-color: rgba(99, 102, 241, 0.4);
}

/* Theme Hero */
.theme-hero-section {
  background: linear-gradient(180deg, rgba(30, 32, 58, 0.75) 0%, rgba(18, 19, 36, 0.9) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 26px;
  padding: 44px 40px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(20px);
  margin-bottom: 36px;
}

.theme-tag-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.theme-tag {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
}

.tag-purple { background: rgba(168, 85, 247, 0.2); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.35); }
.tag-blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.35); }
.tag-emerald { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.35); }
.tag-amber { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.35); }
.tag-rose { background: rgba(244, 63, 94, 0.2); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.35); }

.theme-main-title {
  font-size: 2.3rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.theme-eng-title {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 20px;
}

.hero-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
}

.hero-stats-panel {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.stat-txt {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.btn-hero-launch {
  background: var(--accent-color);
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--accent-glow);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-hero-launch:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.theme-lead-text {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.7;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 4px solid var(--accent-color);
  border-radius: 0 14px 14px 0;
}

/* Sections */
.theme-section {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 36px;
  margin-bottom: 32px;
  backdrop-filter: blur(16px);
}

.section-title-wrap {
  margin-bottom: 24px;
}

.section-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  color: #818cf8;
  letter-spacing: 1px;
}

.section-heading {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-top: 4px;
  margin-bottom: 6px;
}

.section-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 4px 0 0 0;
}

/* Ocean Grid */
.ocean-illustrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ocean-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.ocean-card:hover {
  border-color: var(--glass-highlight);
  transform: translateY(-3px);
}

.card-img-wrap {
  height: 160px;
  overflow: hidden;
}

.card-ill-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.card-dim-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.card-dim-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.card-footer-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #a5b4fc;
  margin-top: 12px;
}

.dot-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-o { background: #3b82f6; }
.dot-c { background: #a855f7; }
.dot-e { background: #f59e0b; }
.dot-a { background: #10b981; }
.dot-n { background: #f43f5e; }

/* IPIP 30 侧面交互标签栏与卡片网格 */
.facets-tab-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.facet-nav-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.facet-nav-btn:hover, .facet-nav-btn.active {
  background: rgba(99, 102, 241, 0.2);
  color: #fff;
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25);
}

.facet-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.facet-detail-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.25s ease;
}

.facet-detail-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--glass-highlight);
}

.facet-code-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
}

.facet-dname {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-top: 4px;
}

.facet-eng {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.facet-dtext {
  font-size: 0.84rem;
  line-height: 1.5;
  color: #94a3b8;
  margin-top: 6px;
}

/* 样题互动模拟器通用样式 */
.sample-simulator-card {
  background: rgba(22, 25, 42, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sim-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: #a5b4fc;
}

.sim-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.sim-question-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px 20px;
}

.sim-q-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
}

.sim-q-sub {
  font-size: 0.78rem;
  color: #a5b4fc;
  margin-top: 6px;
}

.sim-options-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.sim-opt {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 12px 8px;
  color: #cbd5e1;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.sim-opt:hover, .sim-opt.selected {
  background: rgba(99, 102, 241, 0.25);
  border-color: #6366f1;
  color: #fff;
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.35);
}

.opt-num {
  font-size: 1.1rem;
  font-weight: 800;
}

.opt-txt {
  font-size: 0.76rem;
}

.sim-feedback {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.55;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 12px 16px;
  border-radius: 10px;
}

/* MBTI 二分对立偏好网格与模拟器 */
.dichotomies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.dichotomy-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dichotomy-badge {
  font-size: 0.82rem;
  font-weight: 800;
  color: #34d399;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dichotomy-poles {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.pole-side {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pole-letter { font-size: 1.5rem; font-weight: 800; color: #fff; }
.pole-name { font-size: 0.92rem; color: #a5b4fc; }
.pole-desc { font-size: 0.82rem; line-height: 1.45; color: #94a3b8; margin: 4px 0 0 0; }

.vs-divider {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-secondary);
}

.bipolar-demo-box {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
}

.pole-choice {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s;
}

.pole-choice:hover, .pole-choice.active {
  background: rgba(16, 185, 129, 0.25);
  border-color: #10b981;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.3);
}

.choice-tag { font-size: 0.72rem; font-weight: 800; color: #a5b4fc; }
.choice-text { font-size: 0.95rem; font-weight: 700; color: #fff; line-height: 1.4; }
.choice-dim { font-size: 0.75rem; color: var(--text-secondary); }
.pole-vs { font-size: 0.85rem; font-weight: 800; color: var(--text-secondary); }

/* 四大气质家族 16 型网格 */
.temperament-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.temp-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.temp-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.temp-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.bg-blue { background: #3b82f6; }
.bg-amber { background: #f59e0b; }
.bg-emerald { background: #10b981; }
.bg-purple { background: #8b5cf6; }

.temp-title { font-size: 0.95rem; font-weight: 700; color: #fff; margin: 0; }
.temp-sub { font-size: 0.72rem; color: var(--text-secondary); }
.temp-types-list { display: flex; flex-direction: column; gap: 8px; }
.type-box { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 8px; padding: 8px 10px; font-size: 0.8rem; color: #cbd5e1; }
.type-box strong { color: #fff; }

/* 16PF 专属条状因子光谱与次级因子 */
/* 16PF 心智仪表盘精炼双极网格 (4列紧凑卡片) */
.cockpit-dials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.dial-gauge-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: all 0.28s ease;
}

.dial-gauge-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0.8;
}

/* 4大系统色彩体系与光晕 */
.dial-gauge-card[data-cluster="emotion"] {
  border-color: rgba(6, 182, 212, 0.25);
}
.dial-gauge-card[data-cluster="emotion"]::before {
  background: linear-gradient(90deg, #06b6d4, #3b82f6);
}
.dial-gauge-card[data-cluster="emotion"] .dial-code {
  background: rgba(6, 182, 212, 0.2);
  border-color: rgba(6, 182, 212, 0.45);
  color: #38bdf8;
}
.dial-gauge-card[data-cluster="emotion"] .dial-track-fill {
  background: linear-gradient(90deg, #64748b 0%, #06b6d4 100%);
}
.dial-gauge-card[data-cluster="emotion"]:hover {
  background: rgba(6, 182, 212, 0.08);
  border-color: #06b6d4;
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.25);
}

.dial-gauge-card[data-cluster="social"] {
  border-color: rgba(245, 158, 11, 0.25);
}
.dial-gauge-card[data-cluster="social"]::before {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.dial-gauge-card[data-cluster="social"] .dial-code {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.45);
  color: #fbbf24;
}
.dial-gauge-card[data-cluster="social"] .dial-track-fill {
  background: linear-gradient(90deg, #64748b 0%, #f59e0b 100%);
}
.dial-gauge-card[data-cluster="social"]:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: #f59e0b;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}

.dial-gauge-card[data-cluster="mind"] {
  border-color: rgba(168, 85, 247, 0.25);
}
.dial-gauge-card[data-cluster="mind"]::before {
  background: linear-gradient(90deg, #a855f7, #c084fc);
}
.dial-gauge-card[data-cluster="mind"] .dial-code {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.45);
  color: #c084fc;
}
.dial-gauge-card[data-cluster="mind"] .dial-track-fill {
  background: linear-gradient(90deg, #64748b 0%, #a855f7 100%);
}
.dial-gauge-card[data-cluster="mind"]:hover {
  background: rgba(168, 85, 247, 0.08);
  border-color: #a855f7;
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.25);
}

.dial-gauge-card[data-cluster="action"] {
  border-color: rgba(16, 185, 129, 0.25);
}
.dial-gauge-card[data-cluster="action"]::before {
  background: linear-gradient(90deg, #10b981, #34d399);
}
.dial-gauge-card[data-cluster="action"] .dial-code {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.45);
  color: #34d399;
}
.dial-gauge-card[data-cluster="action"] .dial-track-fill {
  background: linear-gradient(90deg, #64748b 0%, #10b981 100%);
}
.dial-gauge-card[data-cluster="action"]:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: #10b981;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}

.dial-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dial-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dial-sprite-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.dial-code {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid;
}

.dial-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.dial-eng {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.dial-spectrum-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dial-poles-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.pole-tag-low {
  color: #94a3b8;
}

.pole-arrow {
  color: #64748b;
  font-size: 0.72rem;
}

.pole-tag-high {
  color: #fde68a;
  font-weight: 600;
}

.dial-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.dial-track-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  opacity: 0.85;
}

.secondary-4col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 860px) {
  .secondary-4col-grid {
    grid-template-columns: 1fr;
  }
}

.second-card-illustrated {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.28s ease;
}

.second-card-illustrated:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.second-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.second-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.second-card-illustrated:hover .second-card-img {
  transform: scale(1.03);
}

.second-card-body {
  padding: 22px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.second-card-tag-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.second-card-tag {
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

.second-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.second-card-formula {
  font-size: 0.78rem;
  color: #fbbf24;
  font-family: monospace;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}

.second-card-contrast {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.65;
  background: rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.second-card-contrast strong {
  color: #f8fafc;
}

.competency-formulas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 18px;
}

@media (max-width: 860px) {
  .competency-formulas-grid {
    grid-template-columns: 1fr;
  }
}

.competency-model-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s ease;
}

.competency-model-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(99, 102, 241, 0.45);
  transform: translateY(-2px);
}

.comp-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comp-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.comp-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.comp-role-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.4);
}

.comp-drivers-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}

.comp-driver-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.driver-pill-pos {
  color: #34d399;
  font-weight: 700;
  white-space: nowrap;
}

.driver-pill-neg {
  color: #f87171;
  font-weight: 700;
  white-space: nowrap;
}

.driver-content {
  color: #cbd5e1;
}

.comp-scenario-desc {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
  padding-top: 4px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.factor-list-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.factor-row-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.factor-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.factor-code-badge {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
}

.factor-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.factor-eng {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.factor-poles-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.82rem;
}

.pole-low { color: #94a3b8; }
.pole-high { color: #fcd34d; font-weight: 600; }
.pole-spectrum-line { flex: 1; height: 2px; background: linear-gradient(90deg, #64748b 0%, #f59e0b 100%); margin: 0 16px; opacity: 0.4; }

.secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.second-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sec-icon { font-size: 1.5rem; margin-bottom: 2px; }
.sec-title { font-size: 1.05rem; font-weight: 700; color: #fff; }
.sec-desc { font-size: 0.85rem; line-height: 1.55; color: #94a3b8; }

/* 霍兰德 RIASEC 6 大岛屿 */
.riasec-islands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.island-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.island-header { display: flex; align-items: center; gap: 12px; }
.island-code { font-size: 1.6rem; font-weight: 800; color: #fb7185; width: 42px; height: 42px; background: rgba(244, 63, 94, 0.15); border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.card-i .island-code { color: #38bdf8; background: rgba(56, 189, 248, 0.15); }
.card-a .island-code { color: #f472b6; background: rgba(244, 114, 182, 0.15); }
.card-s .island-code { color: #34d399; background: rgba(52, 211, 153, 0.15); }
.card-e .island-code { color: #fbbf24; background: rgba(251, 191, 36, 0.15); }
.card-c .island-code { color: #818cf8; background: rgba(129, 140, 248, 0.15); }

.island-name { font-size: 1.05rem; font-weight: 700; color: #fff; margin: 0; }
.island-alias { font-size: 0.75rem; color: var(--text-secondary); }
.island-desc { font-size: 0.84rem; line-height: 1.55; color: #94a3b8; margin: 0; }
.island-careers { font-size: 0.8rem; line-height: 1.45; color: #cbd5e1; background: rgba(255, 255, 255, 0.03); padding: 10px 12px; border-radius: 8px; }
.island-careers strong { color: #fff; }

/* O*NET Job Zones 梯队卡片 */
.job-zones-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.zone-step-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.zone-badge-num {
  align-self: flex-start;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #60a5fa;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 6px;
}

.zone-header { display: flex; align-items: baseline; gap: 10px; }
.zone-title { font-size: 1.1rem; font-weight: 700; color: #fff; }
.zone-eng { font-size: 0.8rem; color: var(--text-muted); }
.zone-desc { font-size: 0.88rem; color: #cbd5e1; line-height: 1.5; }
.zone-examples { font-size: 0.82rem; color: #a5b4fc; background: rgba(255, 255, 255, 0.02); padding: 8px 12px; border-radius: 8px; }
.zone-examples strong { color: #fff; }

/* 历史故事卡片 */
.history-story-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  padding: 28px;
}

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

.history-image-col { display: flex; flex-direction: column; gap: 10px; }
.history-archival-photo { width: 100%; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.history-caption { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.4; }
.history-caption strong { color: #cbd5e1; }

.history-text-col { display: flex; flex-direction: column; gap: 14px; }
.history-badge { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; color: #34d399; }
.history-title { font-size: 1.35rem; font-weight: 800; color: #fff; margin: 0; line-height: 1.3; }
.history-p { font-size: 0.9rem; line-height: 1.65; color: #cbd5e1; margin: 0; }
.history-features { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.h-feat-item { display: flex; align-items: flex-start; gap: 8px; font-size: 0.84rem; color: #cbd5e1; line-height: 1.45; }
.h-feat-icon { font-size: 1.1rem; }

/* 底部 CTA 统一 Banner */
.theme-cta-banner {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(168, 85, 247, 0.2) 100%);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 24px;
  padding: 48px 36px;
  text-align: center;
  margin-bottom: 40px;
}

.cta-main-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.cta-subtitle {
  font-size: 0.98rem;
  color: #c7d2fe;
  margin-bottom: 24px;
}

.btn-cta-big {
  background: var(--accent-color);
  color: #fff;
  border: none;
  padding: 16px 36px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 6px 24px var(--accent-glow);
  transition: all 0.25s ease;
}

.btn-cta-big:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
}

/* 视觉特色 Banner 大插画 */
.theme-feature-banner {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
}

.feature-ill-banner {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.feature-ill-banner:hover {
  transform: scale(1.015);
}

.feature-banner-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 24px;
  background: linear-gradient(0deg, rgba(10, 12, 24, 0.92) 0%, rgba(10, 12, 24, 0.4) 70%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.caption-main {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.caption-sub {
  font-size: 0.8rem;
  color: #a5b4fc;
}

/* 隐喻故事特色框 (Metaphor Story Box) */
.metaphor-story-card {
  background: linear-gradient(135deg, rgba(30, 34, 60, 0.7) 0%, rgba(18, 20, 38, 0.85) 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.metaphor-story-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #6366f1, #ec4899);
}

.metaphor-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #fb7185;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.metaphor-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.metaphor-p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.metaphor-p strong {
  color: #fff;
}

/* 霍兰德 RIASEC 拓扑与一致性 */
.riasec-hex-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.hex-rule-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hex-rule-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
}

.badge-emerald { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.badge-blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.badge-purple { background: rgba(168, 85, 247, 0.2); color: #c084fc; }

.hex-rule-title { font-size: 0.96rem; font-weight: 700; color: #fff; margin: 0; }
.hex-rule-desc { font-size: 0.82rem; line-height: 1.45; color: #94a3b8; margin: 0; }

/* 16PF 元素周期分类切换器 */
.periodic-filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.periodic-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.periodic-btn:hover, .periodic-btn.active {
  background: rgba(245, 158, 11, 0.22);
  color: #fde68a;
  border-color: rgba(245, 158, 11, 0.45);
}

.factor-tags-row {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.factor-cluster-tag {
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: #a5b4fc;
}

/* O*NET Content Model 6 维网格 */
.content-model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.cm-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cm-icon { font-size: 1.4rem; }
.cm-title { font-size: 1rem; font-weight: 700; color: #fff; margin: 0; }
.cm-eng { font-size: 0.74rem; color: var(--text-muted); }
.cm-desc { font-size: 0.82rem; color: #94a3b8; line-height: 1.45; margin: 0; }

/* 3 点逼选题型 */
.sim-options-tri {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sim-tri-opt {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 14px 12px;
  color: #cbd5e1;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  transition: all 0.2s;
}

.sim-tri-opt:hover, .sim-tri-opt.selected {
  background: rgba(245, 158, 11, 0.22);
  border-color: #f59e0b;
  color: #fff;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.3);
}

.tri-tag { font-size: 0.74rem; font-weight: 800; color: #fbbf24; }
.tri-txt { font-size: 0.9rem; font-weight: 600; line-height: 1.35; }

/* 交互岗位速配器 */
.onet-match-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.onet-task-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 14px 16px;
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}

.onet-task-btn:hover, .onet-task-btn.active {
  background: rgba(59, 130, 246, 0.22);
  border-color: #3b82f6;
  color: #fff;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.3);
}

.task-icon { font-size: 1.3rem; flex-shrink: 0; }

@media (max-width: 900px) {
  .hero-header-row { flex-direction: column; }
  .ocean-illustrations-grid { grid-template-columns: 1fr; }
  .facets-tab-bar { flex-wrap: wrap; }
  .facet-cards-grid { grid-template-columns: 1fr; }
  .dichotomies-grid { grid-template-columns: 1fr; }
  .temperament-grid { grid-template-columns: repeat(2, 1fr); }
  .secondary-grid { grid-template-columns: 1fr; }
  .riasec-islands-grid { grid-template-columns: 1fr; }
  .history-grid { grid-template-columns: 1fr; }
  .sim-options-row { grid-template-columns: repeat(3, 1fr); }
  .riasec-hex-box { grid-template-columns: 1fr; }
  .content-model-grid { grid-template-columns: 1fr; }
  .sim-options-tri { grid-template-columns: 1fr; }
  .onet-match-picker { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .temperament-grid { grid-template-columns: 1fr; }
  .sim-options-row { grid-template-columns: 1fr; }
}

