:root {
  --green-main: #33a474;
  --green-dark: #27815b;
  --green-light: #e8f5ef;
  --purple-main: #88619a;
  --purple-dark: #664478;
  --purple-light: #f3ebf7;
  --blue-sentinel: #4298b4;
  --yellow-explorer: #e4ae3a;
  
  --text-dark: #202223;
  --text-muted: #5e6569;
  --border-color: #e5e7eb;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.1);
  --radius: 12px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
}

/* 顶部与总站返回条 */
.top-hub-nav {
  background: #111827;
  color: #fff;
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-hub-nav a {
  color: #c4b5fd;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-hub-nav a:hover {
  text-decoration: underline;
}

/* 16P 品牌导航条 */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green-dark);
}

.logo-badge {
  background: var(--green-main);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* 容器 */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 20px 80px;
}

/* Hero 介绍区 */
.intro-box {
  text-align: center;
  margin-bottom: 40px;
}

.intro-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.intro-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* 进度条 */
.progress-wrap {
  background: #e2e8f0;
  height: 8px;
  border-radius: 999px;
  margin-bottom: 32px;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, var(--green-main), var(--blue-sentinel));
  height: 100%;
  width: 0%;
  transition: width 0.3s ease;
}

/* 题目卡片 */
.question-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
  text-align: center;
}

.question-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 28px;
  line-height: 1.5;
}

/* 经典 16P 7 点圆圈量表 */
.scale-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 10px;
}

.scale-label {
  font-size: 0.88rem;
  font-weight: 700;
  min-width: 60px;
}
.scale-label.agree { color: var(--green-main); text-align: right; }
.scale-label.disagree { color: var(--purple-main); text-align: left; }

.circle-btn {
  border-radius: 50%;
  border: 2px solid;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 大中小圈 */
.btn-agree-lg { width: 48px; height: 48px; border-color: var(--green-main); }
.btn-agree-md { width: 40px; height: 40px; border-color: var(--green-main); }
.btn-agree-sm { width: 32px; height: 32px; border-color: var(--green-main); }
.btn-neutral   { width: 26px; height: 26px; border-color: #cbd5e1; }
.btn-dis-sm   { width: 32px; height: 32px; border-color: var(--purple-main); }
.btn-dis-md   { width: 40px; height: 40px; border-color: var(--purple-main); }
.btn-dis-lg   { width: 48px; height: 48px; border-color: var(--purple-main); }

.circle-btn:hover {
  transform: scale(1.15);
}
.circle-btn.selected-agree {
  background: var(--green-main);
  box-shadow: 0 0 14px rgba(51, 164, 116, 0.5);
}
.circle-btn.selected-dis {
  background: var(--purple-main);
  box-shadow: 0 0 14px rgba(136, 97, 154, 0.5);
}
.circle-btn.selected-neutral {
  background: #94a3b8;
}

/* 控制按钮 */
.action-row {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}

.btn {
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--green-main);
  color: #fff;
  box-shadow: 0 4px 12px rgba(51, 164, 116, 0.3);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #e2e8f0;
  color: var(--text-dark);
}
.btn-secondary:hover {
  background: #cbd5e1;
}

/* ==================== 结果页面 ==================== */
.result-card {
  display: none;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-hero {
  padding: 48px 32px;
  text-align: center;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-color);
}

.result-avatar-svg {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
}

.result-code {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  line-height: 1;
}

.result-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-top: 8px;
}

.result-quote {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 16px auto 0;
  font-style: italic;
}

/* 维度能量条 (Traits Meters) */
.traits-section {
  padding: 36px 32px;
  border-bottom: 1px solid var(--border-color);
}

.trait-meter {
  margin-bottom: 24px;
}

.trait-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.trait-bar-track {
  height: 12px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
}

.trait-fill-left {
  background: var(--blue-sentinel);
  height: 100%;
}
.trait-fill-right {
  background: var(--green-main);
  height: 100%;
}

/* 报告选项卡 */
.report-tabs {
  padding: 32px;
}

.report-nav {
  display: flex;
  gap: 12px;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 24px;
}

.report-tab-btn {
  background: none;
  border: none;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.report-tab-btn.active {
  color: var(--green-main);
  border-color: var(--green-main);
}

.report-pane {
  display: none;
  line-height: 1.8;
  color: #334155;
}
.report-pane.active {
  display: block;
}

.report-pane h4 {
  color: var(--text-dark);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.report-pane ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.result-footer-actions {
  padding: 24px 32px;
  background: #f8fafc;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 640px) {
  .scale-row {
    gap: 8px;
  }
  .btn-agree-lg, .btn-dis-lg { width: 38px; height: 38px; }
  .btn-agree-md, .btn-dis-md { width: 32px; height: 32px; }
  .btn-agree-sm, .btn-dis-sm { width: 26px; height: 26px; }
  .btn-neutral { width: 20px; height: 20px; }
}
