
:root{
  --bg:#eef4fb;
  --card:#ffffff;
  --text:#17324d;
  --muted:#667891;
  --line:#dbe6f3;
  --blue:#4f8cff;
  --blue-dark:#2f6fed;
  --green:#34c28f;
  --orange:#ff9d57;
  --purple:#7b6dff;
  --shadow:0 18px 50px rgba(37,78,130,.10);
  --radius:28px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"PingFang SC","Microsoft YaHei",sans-serif;
  background:linear-gradient(180deg,#eff5ff 0%, #f7fbff 100%);
  color:var(--text);
}
img{max-width:100%;display:block}
button,input,textarea,select{font:inherit}
.site-shell{
  max-width:1240px;
  margin:0 auto;
  padding:28px 18px 48px;
}
.card{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(219,230,243,.9);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  margin-bottom:24px;
}



 









.hidden{display:none!important}
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  background:#eaf2ff;
  color:var(--blue-dark);
  font-size:14px;
  font-weight:700;
}
.chip-soft{
  background:#f0f6ff;
  color:#4b6797;
}
.hero-section{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:24px;
  padding:28px;
  align-items:center;
}

.hero-copy{position:relative;z-index:2}
.hero-actions .btn{position:relative;z-index:3}
.hero-art{position:relative;z-index:1;pointer-events:none}

.hero-copy h1{
  font-size:clamp(34px,5vw,58px);
  line-height:1.1;
  margin:18px 0 16px;
  letter-spacing:-0.03em;
}
.hero-copy p{
  margin:0 0 22px;
  font-size:18px;
  line-height:1.8;
  color:var(--muted);
  max-width:640px;
}
.hero-actions,.result-actions,.test-actions,.poster-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.hero-meta{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:22px;
  max-width:560px;
}
.hero-meta div{
  background:#f8fbff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:18px 16px;
}
.hero-meta strong{
  display:block;
  font-size:24px;
  margin-bottom:6px;
}
.hero-meta span{
  color:var(--muted);
  font-size:14px;
}
.hero-art{
  align-self:stretch;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-art img{
  width:100%;
  border-radius:24px;
}
.btn{
  appearance:none;
  border:none;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 20px;
  border-radius:16px;
  cursor:pointer;
  transition:.2s ease;
  font-weight:700;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
  background:linear-gradient(135deg,var(--blue),var(--blue-dark));
  color:#fff;
}
.btn-secondary{
  background:#fff;
  color:var(--text);
  border:1px solid var(--line);
}
.how-section,.type-section,.test-section,.result-section{
  padding:28px;
}
.how-section h2,.type-section h2{
  font-size:32px;
  margin:0 0 22px;
}
.steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.step{
  background:#f9fbff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:22px;
}
.step-icon{
  width:52px;height:52px;border-radius:16px;
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:22px;font-weight:800;margin-bottom:14px;
}
.step-blue{background:var(--blue)}
.step-green{background:var(--green)}
.step-orange{background:var(--orange)}
.step-purple{background:var(--purple)}
.step h3{margin:0 0 8px;font-size:20px}
.step p{margin:0;color:var(--muted);line-height:1.7}
.section-head{
  display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:18px;
}
.type-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.type-card{
  background:#fbfdff;
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
  transition:.2s ease;
}
.type-card:hover{transform:translateY(-2px);box-shadow:0 10px 30px rgba(44,92,160,.10)}
.type-card img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  background:#f2f7ff;
}
.type-card-body{
  padding:16px 16px 18px;
}
.type-card h3{
  margin:0;
  font-size:22px;
}
.type-card p{
  margin:8px 0 0;
  color:var(--muted);
  line-height:1.6;
  min-height:52px;
}
.test-head{
  display:flex;justify-content:space-between;gap:12px;align-items:start;margin-bottom:14px;
}
.test-head h2{
  font-size:30px;
  margin:12px 0 0;
  line-height:1.45;
}
.question-note{color:var(--muted);white-space:nowrap;padding-top:10px}
.progress{
  height:12px;background:#e8f0fb;border-radius:999px;overflow:hidden;margin:14px 0 24px;
}
.progress-bar{
  height:100%;width:0;
  background:linear-gradient(90deg,var(--blue),#75c7ff);
  transition:width .25s ease;
}
.likert-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px;
}
.answer-card{
  border:1px solid var(--line);
  background:#fff;
  border-radius:20px;
  padding:18px 14px;
  cursor:pointer;
  transition:.2s ease;
  min-height:124px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
}
.answer-card:hover{border-color:#a7c8ff;background:#f7fbff}
.answer-card.selected{
  border-color:var(--blue);
  background:#edf5ff;
  box-shadow:inset 0 0 0 1px rgba(79,140,255,.15);
}
.answer-emoji{
  width:40px;height:40px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:10px;font-size:20px;font-weight:700;color:#fff;
}
.answer-label{font-weight:700;margin-bottom:6px}
.answer-desc{font-size:13px;color:var(--muted);line-height:1.5}
.test-actions{justify-content:space-between;margin-top:24px}
.result-top{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:26px;
  align-items:center;
}
.result-avatar-wrap{
  background:#f7fbff;
  border:1px solid var(--line);
  border-radius:28px;
  overflow:hidden;
}
.result-avatar-wrap img{width:100%;aspect-ratio:1/1;object-fit:cover}
.result-main h2{font-size:44px;line-height:1.1;margin:14px 0 8px}
.result-tagline{
  margin:0 0 10px;
  color:#4b6797;
  font-weight:700;
  font-size:18px;
}
.result-summary{
  margin:0 0 18px;
  color:var(--muted);
  line-height:1.9;
  font-size:17px;
}
.dimension-box{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin-top:24px;
}
.dimension-item{
  padding:16px;
  background:#f9fbff;
  border:1px solid var(--line);
  border-radius:18px;
}
.dimension-label{
  display:flex;justify-content:space-between;gap:12px;
  font-size:14px;color:#5c6f8c;margin-bottom:10px;
}
.bar-track{
  height:10px;background:#e7eff9;border-radius:999px;overflow:hidden;
}
.bar-fill{
  height:100%;
  width:0;
  background:linear-gradient(90deg,var(--green),var(--blue));
}
.report-grid{
  margin-top:22px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.report-card{
  background:#fbfdff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px;
}
.report-card h3{
  margin:0 0 12px;
  font-size:18px;
}
.report-card p,.report-card li{
  color:var(--muted);
  line-height:1.8;
}
.report-card ul{padding-left:18px;margin:0}
.restart-wrap{margin-top:22px}
.modal{
  position:fixed;inset:0;
  background:rgba(17,31,48,.45);
  display:flex;align-items:flex-start;justify-content:center;
  padding:18px;z-index:50;
  overflow-y:auto;
}
.modal-panel{
  width:min(760px,100%);
  max-height:calc(100vh - 36px);
  overflow-y:auto;
  background:#fff;
  border-radius:24px;
  padding:20px;
  box-shadow:0 24px 60px rgba(16,34,64,.24);
  margin:auto 0;
}
.modal-mini{width:min(480px,100%)}
.modal-head{
  display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;
  position:sticky;top:0;z-index:2;background:#fff;padding-bottom:8px;
}
.modal-head h3{margin:0;font-size:24px}
.icon-btn{
  border:none;background:#f3f7fc;border-radius:12px;
  width:42px;height:42px;font-size:24px;cursor:pointer;color:#50627d;flex:0 0 auto;
}
#posterCanvas{
  width:100%;
  border-radius:20px;
  border:1px solid var(--line);
  background:#f4f8ff;
}
.poster-actions{
  position:sticky;bottom:0;z-index:2;background:#fff;padding-top:14px;margin-top:12px;
}
.modal-tip{
  color:var(--muted);
  line-height:1.7;
  margin-bottom:0;
}
@media (max-width: 980px){
  .hero-section,.result-top{grid-template-columns:1fr}
  .steps,.type-grid,.report-grid,.dimension-box{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 680px){
  .site-shell{padding:14px 14px 40px}
  .hero-section,.how-section,.type-section,.test-section,.result-section{padding:18px}
  .hero-meta,.steps,.type-grid,.report-grid,.dimension-box,.likert-grid{grid-template-columns:1fr}
  .test-head{flex-direction:column}
  .test-head h2{font-size:24px}
  .hero-copy h1{font-size:34px}
  .question-note{white-space:normal;padding-top:0}
  .result-main h2{font-size:34px}
  .result-actions,.hero-actions,.test-actions{flex-direction:column}
}

@media (max-width: 680px){
  .modal{padding:10px}
  .modal-panel{max-height:calc(100vh - 20px);padding:16px}
}






.cta-section {
  padding: 40px 24px;
  background: transparent;
}

/* 主容器 */
.cta-box {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;

  padding: 36px 40px;
  border-radius: 28px;

  /* 核心：渐变背景 */
  background: linear-gradient(135deg, #0f172a, #1e293b 60%, #0ea5e9);

  color: #fff;

  /* 高级感阴影 */
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);

  overflow: hidden;
}

/* 背景光效（高级感关键） */
.cta-box::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: -100px;
  right: -80px;
  filter: blur(20px);
}

/* 左侧文字区 */
.cta-box h2 {
  font-size: 32px;
  margin: 10px 0 0;
  letter-spacing: -0.5px;
}

/* 标签优化 */
.chip-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 按钮区域 */
.cta-actions {
  display: flex;
  gap: 14px;
}

/* 主按钮强化 */
.cta-actions .btn-primary {
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  color: #fff;
  border: none;
  box-shadow: 0 12px 25px rgba(99, 102, 241, 0.4);
}

/* 次按钮（返回顶部） */
.cta-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* hover 动效 */
.cta-actions .btn:hover {
  transform: translateY(-2px);
}

/* 手机端适配 */
@media (max-width: 768px) {
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }

  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
  }
}