/* 通用样式 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  color: #222;
  background: #fafbfc;
  line-height: 1.7;
}
a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #1d4ed8;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2563eb;
}
nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}
nav li {
  font-size: 1rem;
}
nav a {
  color: #222;
  font-weight: 500;
}
nav a:hover {
  color: #2563eb;
}

/* Hero */
.hero {
  /*background: linear-gradient(90deg, #e0e7ff 0%, #f0f4ff 100%);*/
  /*padding: 2px 0 2px 0;*/
  text-align: center;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 32px;
}
.btn-primary {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(37,99,235,0.08);
  transition: background 0.2s;
}

.btn-primary:hover {color:#fff;
  background: #1d4ed8;
}
.btn-secondary {
  display: inline-block;
  background: #fff;
  color: #2563eb;
  border: 2px solid #2563eb;
  padding: 10px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 16px;
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover {
  background: #2563eb;
  color: #fff;
}

/* 测试流程 */
.process {
  background: #fff;
  padding: 56px 0 40px 0;
}
.process h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 8px;
}
.section-desc {
  text-align: center;
  color: #888;
  margin-bottom: 32px;
}
.process-steps {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.step {
  background: #f5f7fa;
  border-radius: 16px;
  flex: 1 1 220px;
  min-width: 220px;
  padding: 32px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  margin-bottom: 16px;
}
.step .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.center {
  text-align: center;
}

/* 人格类型 */
.types {
  background: #f8fafc;
  padding: 56px 0 40px 0;
}
.types h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 32px;
}
.types-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 24px;
}
.type-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  padding: 24px 20px;
  width: 220px;
  text-align: center;
  margin-bottom: 12px;
}
.type-card h3 {
  font-size: 1.3rem;
  color: #2563eb;
  margin-bottom: 8px;
}

/* 关于 */
.about {
  background: #fff;
  padding: 56px 0 40px 0;
}
.about h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
.about-list {
  margin-top: 16px;
  padding-left: 20px;
}
.about-list li {
  margin-bottom: 8px;
}

/* about部分整体布局 */
.about-flex {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
}
.about-main {
  flex: 2;
  min-width: 320px;
}
.about-img {
  flex: 1.2;
  min-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 24px;
}
.about-img img {
  /*max-width: 320px;*/ margin-top: 4rem;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(37,99,235,0.10);
}

/* 优化优势点卡片 */
.about-adv-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.about-adv-card {
  display: flex;
  align-items: center;
  background: #f5f7fa;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(37,99,235,0.06);
  gap: 16px;
}
.about-adv-icon {
  font-size: 2rem;
  margin-right: 8px;
  color: #2563eb;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-adv-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-adv-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 2px;
}
.about-adv-desc {
  font-size: 0.98rem;
  color: #666;
}

/* FAQ */
.faq {
  background: #f8fafc;
  padding: 56px 0 40px 0;
}
.faq h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  padding: 20px 18px;
  flex: 1 1 320px;
  min-width: 220px;
  margin-bottom: 12px;
}
.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* Footer */
footer {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 24px 0;
  font-size: 0.95rem;
  color: #888;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.footer-link {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
  transition: none;
}
.footer-link:hover {
  color: inherit;
  text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 900px) {
  .process-steps, .types-list, .faq-list, .footer-container {
    flex-direction: column;
    align-items: center;
  }
  .nav-container {
    flex-direction: column;
    height: auto;
    gap: 12px;
  }
  nav ul {
    gap: 16px;
  }
  .about-flex {
    flex-direction: column;
    gap: 24px;
  }
  .about-img {
    justify-content: flex-start;
    padding-top: 0;
  }
}
@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  .container {
    padding: 0 8px;
  }
  .step, .type-card, .faq-item {
    padding: 18px 8px;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    box-sizing: border-box;
  }
}

/* 精选用户评价区块 */
.reviews {
  background: #f3f6fb;
  padding: 48px 0 40px 0;
  margin-top: 0;
}
.reviews-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #6d5cae;
  margin-bottom: 36px;
  letter-spacing: 2px;
  background: #fff;
  display: inline-block;
  padding: 8px 36px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(109,92,174,0.08);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.reviews-scores {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.score-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(109,92,174,0.08);
  padding: 24px 18px 18px 18px;
  width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
}
.score-circle {
  position: relative;
  width: 90px;
  height: 90px;
  margin-bottom: 8px;
}
.score-bg {
  stroke: #e0d9f5;
}
.score-fg {
  stroke: #a18aff;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dasharray 0.6s;
}
.score-value {
  position: absolute;
  left: 0; top: 0;
  width: 90px; height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #a18aff;
  font-weight: 600;
  pointer-events: none;
}
.score-value span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #6d5cae;
}
.score-label {
  font-size: 1.08rem;
  color: #444;
  font-weight: 600;
  margin-top: 6px;
}

.reviews-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.review-item {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(109,92,174,0.06);
  padding: 16px 18px;
  gap: 16px;
}
.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #e0d9f5;
}
.review-content {
  flex: 1;
}
.review-date {
  font-size: 0.98rem;
  color: #a18aff;
  margin-bottom: 4px;
}
.review-text {
  font-size: 1.08rem;
  color: #333;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .reviews-scores {
    gap: 18px;
  }
  .score-item {
    width: 140px;
    padding: 18px 8px 12px 8px;
  }
}
@media (max-width: 600px) {
  .reviews {
    padding: 32px 0 24px 0;
  }
  .reviews-title {
    font-size: 1.2rem;
    padding: 6px 12px;
  }
  .reviews-scores {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .score-item {
    width: 100%;
    min-width: 0;
    margin-bottom: 10px;
  }
  .reviews-list {
    gap: 10px;
  }
  .review-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 8px;
    gap: 8px;
  }
  .review-avatar {
    width: 40px;
    height: 40px;
  }
}

/* 环形进度条动画 */

/* 关于我们弹窗样式 */
.modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(60, 60, 80, 0.25);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal-dialog {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(109,92,174,0.18);
  max-width: 480px;
  width: 92vw;
  padding: 0 0 18px 0;
  animation: modalIn 0.25s cubic-bezier(.4,2,.6,1) both;
}
@keyframes modalIn {
  0% { transform: scale(0.85) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 10px 24px;
  border-bottom: 1px solid #f0f0f0;
}
.modal-header span {
  font-size: 1.2rem;
  font-weight: 700;
  color: #6d5cae;
}
.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}
.modal-close:hover {
  color: #6d5cae;
}
.modal-content {
  padding: 18px 24px 0 24px;
  font-size: 1.08rem;
  color: #333;
  line-height: 1.8;
}
@media (max-width: 600px) {
  .modal-dialog {
    max-width: 98vw;
    padding: 0 0 10px 0;
  }
  .modal-header, .modal-content {
    padding-left: 12px;
    padding-right: 12px;
  }
  .modal-header {
    padding-top: 12px;
    padding-bottom: 6px;
  }
}
.app {
  min-width: 93.3vw;
  min-height: 100vh;
  background: linear-gradient(0deg, #fff, #dde5fd);
  padding-top: 5.8vw;
  color: #333;
}

.three_mode {
  display: flex;
  justify-content: center;
  min-height: 56vw;
}
.mode {
  width: 24.266667vw;
  height: 53.333333vw;
  background: #fff;
  box-shadow: 0 0 1.333333vw #ddd;
  border-radius: 2.666667vw;
  border: 1.066667vw solid #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: all 0.3s;
}
.two {
  margin: 0 2.666667vw;
}
.three {
  width: 33.333333vw;
}
.mode_img {
  width: 11.2vw;
  height: 11.2vw;
}
.num {
  font-weight: 600;
  color: #343446;
  font-size: 4.8vw;
}
.type {
  color: #41464b;
  font-size: 4vw;
}
.hot {
  color: #9996c7;
  text-align: center;
  font-size: 3.2vw;
  margin-top: 10.666667vw;
  height: 10.666667vw;
  padding: 0 1.333333vw;
}
.qn_img_pos {
  position: absolute;
  bottom: -1vw;
  right: -.25vw;
  width: 6.666667vw;
  height: 5.333333vw;
  opacity: 0;
  transition: all 0.3s;
}
.selected {
  border-color: #886199;
}
.desc {
  margin-top: 2.666667vw;
  font-size: 3.466667vw;
  color: #7d808e;
  text-align: center;
}
.desc_span {
  color: #009dd0;
  font-weight: 700;
  padding: 0 .533333vw;
}
.bg_btn {
  height: 26.666667vw;
  background-repeat: no-repeat;
  background-size: 100%;
  display: flex;
  align-items: flex-end;
}
.begin-button-box {
  padding: 0 6.666667vw;
  width: 100%;
}
.begin-button {
  width: 100%;
  height: 16vw;
  border-radius: 2.666667vw;
  background: #886199;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 4vw;
  font-weight: 700;
  padding: 0 8vw 0 10.666667vw;
  box-sizing: border-box;
}
.begin-button_arrow {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  margin-left: 1px;
}
.text {
  color: #fff;
  font-size: 4vw;
  font-weight: 700;
}
.wrap {
  padding: 6.666667vw 4vw;
  box-sizing: border-box;
}
.notice_wrap {
  background: linear-gradient(-45deg,#e8edf6,#e1e8f8);
  padding: 3.2vw;
  border-radius: 2.4vw;
  font-size: 3.466667vw;
}
.notice_title {
  display: flex;
  font-size: 4vw;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  margin-bottom: 5.333333vw;
}
.notice_title_img {
  width: 6.4vw;
  height: 5.866667vw;
}
.notice {
  font-size: 3.466667vw;
  line-height: 2;
}

@media (min-width: 480px) {
  .app {
    padding-top: 40px;
  }
  .title {
    font-size: 36px;
  }
  .sub_title {
    font-size: 22px;
    margin-top: 18px;
  }
  .sub_child_title {
    color: #7d808e;
    font-size: 16px;
    margin: 20px 0 30px 0;
  }
  .three_mode {
    min-height: 300px;
  }
  .mode {
    width: 140px;
    height: 300px;
    border-radius: 20px;
    border: 6px solid #fff;
    box-sizing: border-box;
  }
  .selected {
    border-color: #886199;
  }
  .two {
    margin: 0 20px;
  }
  .three {
    width: 200px;
    padding: 0 20px;
  }
  .mode_img {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
  }
  .num {
    font-size: 24px;
  }
  .type {
    font-size: 20px;
  }
  .hot {
    font-size: 13px;
    height: 0;
    margin-top: 50px;
  }
  .qn_img_pos {
    bottom: -6px;
    right: -6px;
    width: 40px;
    height: 30px;
  }
  .desc {
    margin-top: 40px;
    font-size: 20px;
    text-align: center;
    span {
      padding: 0 4px;
    }
  }
  .bg_btn {
    height: 160px;
    align-items: center;
  }
  .begin-button-box {
    padding: 0 50px;
  }
  .begin-button {
    width: 400px;
    height: 60px;
    border-radius: 12px;
    font-size: 16px;
    padding: 0 40px 0 60px;
    margin: 0 auto;
  }
  .begin-button_arrow {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    margin-left: 1px;
  }
  .text {
    font-size: 16px;
  }
