/* UI Enhancement Styles */

/* 增加hero区域与tabs区域之间的间距 */
.hero {
  margin-bottom: 24px !important;
}

/* 顶部导航栏样式 - 悬浮固定 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #2f6af8 0%, #9a62ff 100%);
  backdrop-filter: none;
  border-bottom: none;
  box-shadow: 0 4px 20px rgba(47, 106, 248, 0.25);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 48px;
  padding: 20px 32px;
  max-width: 1248px;
  margin: 0 auto;
  width: 100%;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 48px;
}

.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 16px;
  padding: 12px 0;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.3px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 1);
  transform: translateY(-1px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

/* 为悬浮导航留出顶部空间 */
body {
  padding-top: 80px;
}

/* 品牌样式优化 */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.4px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.brand .logo svg {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.18));
  animation: none;
}

.brand-title{
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(90deg,#ffffff 0%,#a7f3d0 25%,#60a5fa 60%,#facc15 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0,0,0,.12), 0 0 18px rgba(250,204,21,.35);
}

@keyframes logoPulse{0%{transform:scale(1)}50%{transform:scale(1.03)}100%{transform:scale(1)}}

/* 响应式导航 */
@media (max-width: 768px) {
  .site-header .container {
    flex-direction: row;
    gap: 32px;
    padding: 14px 24px;
  }
  
  body {
    padding-top: 80px;
  }
  
  .nav-list {
    gap: 24px;
  }
  
  .nav-link {
    font-size: 14px;
    padding: 8px 0;
  }
  
  .brand {
    font-size: 16px;
    gap: 8px;
  }
  
  .brand .logo svg {
    width: 28px;
    height: 28px;
  }
}

/* 手机端隐藏顶部导航 */
@media (max-width: 640px) {
  .site-header .container {
    flex-direction: row;
    padding: 12px 16px;
    gap: 20px;
  }
  
  body {
    padding-top: 70px;
  }
  
  .nav-list {
    gap: 12px;
    flex-wrap: nowrap;
  }
  
  .nav-link {
    font-size: 13px;
    padding: 6px 0;
  }
  
  .brand {
    font-size: 15px;
    gap: 6px;
  }
  
  .brand .logo svg {
    width: 26px;
    height: 26px;
  }
}

/* 手机端隐藏导航菜单 */
@media (max-width: 640px) {
  .main-nav {
    display: none !important;
  }
  
  .site-header .container {
    justify-content: center !important;
  }
  
  .brand {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .site-header .container {
    flex-direction: row;
    padding: 12px 16px;
    gap: 20px;
  }
  
  body {
    padding-top: 70px;
  }
  
  .nav-list {
    gap: 12px;
    flex-wrap: nowrap;
  }
  
  .nav-link {
    font-size: 13px;
    padding: 6px 0;
  }
  
  .brand {
    font-size: 15px;
    gap: 6px;
  }
  
  .brand .logo svg {
    width: 26px;
    height: 26px;
  }
}

/* Enhanced button interactions */
.btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  padding: 12px 18px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  box-shadow: 0 8px 20px rgba(47, 106, 248, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(47, 106, 248, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(47, 106, 248, 0.3);
}

.btn-outline {
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-contrast);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(47, 106, 248, 0.2);
}

/* Enhanced card shadows and hover effects */
.card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Remove hover effect from card-plain containers */
.card.card-plain {
  transition: none !important;
}

.card.card-plain:hover {
  box-shadow: none !important;
  transform: none !important;
}

/* Override any base card hover effects for card-plain */
.card.card-plain,
.card.card-plain * {
  transform: none !important;
  box-shadow: none !important;
}

/* Ensure only individual tabs have hover effects, not the container */
.card.card-plain .tabs {
  transition: none !important;
}

.card.card-plain .tabs:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Enhanced persona cards */
.persona-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
}

.persona-card:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  transform: translateY(-6px);
  border-color: rgba(47, 106, 248, 0.3);
}

/* Enhanced typography hierarchy */
.hero-title {
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.heading-gradient {
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 800;
}

/* Enhanced section titles */
.section-title {
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.01em;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
  border-radius: 2px;
}

/* Enhanced corner badge - STABLE POSITIONING FIXED */
.corner-badge {
  width: 36px !important;
  height: 36px !important;
  font-size: 16px !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25) !important;
  position: absolute !important;
  top: -2px !important;
  right: -2px !important;
  transform: none !important;
  z-index: 10;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab:hover .corner-badge {
  transform: scale(1.1) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.35) !important;
}

/* Enhanced corner badge animation */
@keyframes optionSelect{0%{transform:scale(1)}50%{transform:scale(1.02)}100%{transform:scale(1)}}
@keyframes badgePulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.tab.active .corner-badge {
  animation: badgePulse 2s ease-in-out infinite;
}

/* Enhanced corner badge glow effect */
.corner-badge::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tab:hover .corner-badge::before {
  opacity: 0.3;
}

/* Enhanced feature icons - FIXED TEXT OVERFLOW AND READABILITY */
.feature-icon {
  transition: all 0.3s ease;
  font-weight: 700;
  position: relative;
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  /** z-index: 2; **/
  width: 48px !important;
  height: 48px !important;
  font-size: 18px !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin-bottom: 12px !important;
}

.feature-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  z-index: -1; 
  transition: all 0.4s ease;
  border-radius: 14px;
}

.feature-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  transform: rotate(45deg) translateX(-100%);
  transition: all 0.6s ease;
  z-index: -1;
  pointer-events: none;
}

.feature:hover .feature-icon {
  transform: scale(1.08) rotate(1deg);
  box-shadow: 0 6px 20px rgba(47, 106, 248, 0.2);
}

.feature:hover .feature-icon::after {
  transform: rotate(45deg) translateX(100%);
  transition: all 0.8s ease;
}

.feature:active .feature-icon {
  transform: scale(1.02);
  transition: all 0.1s ease;
}

/* FIXED - Very subtle glow animation */
@keyframes iconGlow {
  0% {
    box-shadow: 0 1px 4px rgba(47, 106, 248, 0.1);
  }
  50% {
    box-shadow: 0 2px 8px rgba(47, 106, 248, 0.2);
  }
  100% {
    box-shadow: 0 1px 4px rgba(47, 106, 248, 0.1);
  }
}

.feature-icon {
  animation: iconGlow 5s ease-in-out infinite;
}

/* FIXED - Subtle color variations with high contrast */
.feature:nth-child(1) .feature-icon {
  background: linear-gradient(135deg, #373bee, #d862ff);
  animation-delay: 0s;
}

.feature:nth-child(2) .feature-icon {
  background: linear-gradient(135deg, #373bee, #d862ff);
  animation-delay: 1s;
}

.feature:nth-child(3) .feature-icon {
  background: linear-gradient(135deg, #373bee, #d862ff);
  animation-delay: 2s;
}

.feature:nth-child(4) .feature-icon {
  background: linear-gradient(135deg, #373bee, #d862ff);
  animation-delay: 3s;
}

/* FIXED - Subtle hover effects */
.feature:nth-child(1):hover .feature-icon {
  box-shadow: 0 6px 20px rgba(47, 106, 248, 0.3);
}

.feature:nth-child(2):hover .feature-icon {
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.feature:nth-child(3):hover .feature-icon {
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.feature:nth-child(4):hover .feature-icon {
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

/* FIXED - Very gentle pulsing effect */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.01);
  }
  100% {
    transform: scale(1);
  }
}

.feature:hover .feature-icon {
  animation: pulse 3s ease-in-out infinite;
}

/* FIXED - Enhanced text readability */
.feature-icon {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7) !important;
  letter-spacing: 0.5px;
  font-weight: 800 !important;
  font-size: 18px !important;
}

.feature:hover .feature-icon {
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.8) !important;
}

/* Bottom CTA Section - Matching Image Style */
.bottom-cta-section {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
}

.bottom-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.bottom-cta-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.bottom-cta-title {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.bottom-cta-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 48px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.bottom-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: #4f46e5;
  font-size: 18px;
  font-weight: 600;
  padding: 18px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.bottom-cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.bottom-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.bottom-cta-button:hover::before {
  left: 100%;
}

.bottom-cta-button:active {
  transform: translateY(0);
}

.bottom-cta-button .arrow {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.bottom-cta-button:hover .arrow {
  transform: translateX(4px);
}

/* Enhanced modal animations */
.modal-backdrop {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
}

.modal {
  animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  transition: all 0.3s ease;
  font-size: 18px;
  font-weight: 300;
}

.modal-close:hover {
  transform: rotate(90deg) scale(1.1);
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

/* Enhanced form inputs */
.input {
  transition: all 0.3s ease;
  border: 2px solid var(--border);
}

.input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(47, 106, 248, 0.1);
  transform: translateY(-1px);
}

.input::placeholder {
  color: #94a3b8;
  transition: color 0.3s ease;
}

.input:focus::placeholder {
  color: #64748b;
}

/* Enhanced navigation and tabs */
.tab {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.tab.active {
  transform: translateY(-2px) scale(1.01);
}

/* Enhanced badges */
.badge {
  transition: all 0.3s ease;
  font-weight: 600;
}

.badge:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(47, 106, 248, 0.3);
}

/* Enhanced tags */
.tag {
  transition: all 0.3s ease;
  font-weight: 500;
}

.tag:hover {
  background: rgba(30, 110, 247, 0.15);
  border-color: rgba(30, 110, 247, 0.4);
  transform: translateY(-1px);
}

/* Enhanced footer */
footer {
  margin-top: 64px;
  padding: 32px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid var(--border);
}

/* Responsive enhancements */
@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-title::after {
    width: 40px;
  }
  
  .card {
    margin: 16px 0;
  }
  
  .btn {
    width: 100%;
    margin: 8px 0;
  }
  
  .cta {
    flex-direction: column;
  }
}

/* Loading animations */
@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

.loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
*:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --text: #000000;
    --muted: #333333;
    --border: #666666;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 单题模式与进度指示 */
.question-counter{display:flex;align-items:center;justify-content:space-between;padding:0 4px}
.counter-badge{width:32px;height:32px;background:linear-gradient(135deg,#2f6af8 0%,#9a62ff 100%);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:14px;box-shadow:0 2px 8px rgba(47,106,248,.3)}
.counter-text{font-size:14px;color:#64748b;font-weight:500}
.single-question-container{min-height:200px;}
.question-single{display:none}
.question-single.active{display:block}
.question-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:24px;box-shadow:0 4px 16px rgba(0,0,0,.08);margin-bottom:16px}
.question-icon{width:56px;height:56px;background:linear-gradient(135deg,#2f6af8 0%,#9a62ff 100%);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;color:#fff;font-size:22px;box-shadow:0 10px 24px rgba(47,106,248,.25)}
.question-icon::after{content:'';position:absolute;width:56px;height:56px;border-radius:50%;background:radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), transparent 60%);}
.question-helper{text-align:center;color:#64748b;font-size:14px;margin-bottom:10px;line-height:1.5}
.q-title-single{font-size:28px;font-weight:800;color:#0f172a;text-align:center;margin-bottom:20px;line-height:1.35;letter-spacing:-0.01em}
.q-body-single{margin-top:24px}
.option-container{margin:16px 0;position:relative}
.option-label{display:flex;align-items:center;padding:20px 24px;border:2px solid #e2e8f0;border-radius:12px;background:#fff;cursor:pointer;transition:all .3s ease;position:relative;font-size:16px;line-height:1.5}
.option-label:hover{border-color:#667eea;background:linear-gradient(135deg,#f8fafc 0%,#f1f5f9 100%);box-shadow:0 4px 12px rgba(102,126,234,.15);transform:translateY(-1px)}
.option-radio{width:20px;height:20px;border:2px solid #cbd5e1;border-radius:50%;margin-right:16px;position:relative;transition:all .3s ease;flex-shrink:0}
.option-radio::after{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(0);width:8px;height:8px;background:#fff;border-radius:50%;transition:transform .2s ease}
.q-body-single input[type=radio]{display:none}
.q-body-single input[type=radio]:checked+.option-label .option-radio{border-color:#667eea;background:#667eea}
.q-body-single input[type=radio]:checked+.option-label .option-radio::after{transform:translate(-50%,-50%) scale(1)}
.q-body-single input[type=radio]:checked+.option-label{border-color:#5b74f5;background:linear-gradient(135deg,#2f6af8 0%,#9a62ff 100%);box-shadow:0 6px 18px rgba(47,106,248,.28);color:#fff}
.option-divider{text-align:center;color:#94a3b8;font-size:14px;margin:20px 0;position:relative}
.option-divider::before,.option-divider::after{content:'';position:absolute;top:50%;width:40%;height:1px;background:#e2e8f0}
.option-divider::before{left:0}
.option-divider::after{right:0}
.answer-confirmation{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:12px 16px;margin-top:16px;display:none;align-items:center;justify-content:center;color:#166534;font-size:14px;font-weight:500}
.answer-confirmation.show{display:flex}
.navigation-controls{display:flex;justify-content:space-between;align-items:center;margin:16px 0;gap:16px}
.navigation-controls .btn{flex:1;max-width:120px}
.navigation-controls .btn:disabled{opacity:.5;cursor:not-allowed}
.submit-controls{text-align:center;margin-bottom:24px}
.submit-controls .btn-large{padding:16px 32px;font-size:16px;font-weight:600}
.progress-indicator{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.progress-header{display:flex;align-items:center;margin-bottom:16px;color:#111827;font-size:18px;font-weight:700}
.progress-grid{display:grid;grid-template-columns:repeat(10,1fr);gap:8px;margin-bottom:16px}
.progress-circle{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:600;color:#fff;cursor:default;transition:none}
.progress-circle:hover{transform:none}
.progress-circle.current{background:linear-gradient(135deg,#2f6af8 0%,#9a62ff 100%);box-shadow:0 2px 8px rgba(47,106,248,.3)}
.progress-circle.answered{background:#10b981;box-shadow:0 2px 8px rgba(16,185,129,.3)}
.progress-circle.unanswered{background:#d1d5db;color:#6b7280}
.progress-legend{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}
.legend-item{display:flex;align-items:center;gap:6px;font-size:12px;color:#6b7280}
.legend-circle{width:12px;height:12px;border-radius:50%}
.legend-circle.current{background:linear-gradient(135deg,#2f6af8 0%,#9a62ff 100%)}
.legend-circle.answered{background:#10b981}
.legend-circle.unanswered{background:#d1d5db}
.type-hero{background:linear-gradient(135deg,#2f6af8 0%,#9a62ff 60%);border-radius:24px;padding:48px 32px;text-align:center;color:#fff;box-shadow:0 20px 40px rgba(154,98,255,.25);margin:24px 0}
.type-icon{width:72px;height:72px;border-radius:50%;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;margin:0 auto 16px;color:#fff;font-size:32px;backdrop-filter:saturate(150%)}
.type-title{font-size:40px;font-weight:800;letter-spacing:-.02em;margin:8px 0}
.type-subtitle{font-size:18px;font-weight:600;opacity:.95;margin-bottom:12px}
.type-group{font-size:18px;font-weight:700;opacity:.95;margin-top:4px;margin-bottom:12px}
.type-desc{font-size:15px;line-height:1.7;opacity:.92;max-width:820px;margin:0 auto}
.dual-card-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin:24px 0}
.profile-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin:24px 0}
@media(max-width:768px){.profile-grid{grid-template-columns:1fr}}

/* Gradient dot themes per card */
.dots-teal .bullet-list li::before{background:linear-gradient(135deg,#10b981 0%,#06b6d4 100%)}
.dots-violet .bullet-list li::before{background:linear-gradient(135deg,#2f6af8 0%,#9a62ff 100%)}
.dots-green .bullet-list li::before{background:linear-gradient(135deg,#22c55e 0%,#16a34a 100%)}
.dots-rose .bullet-list li::before{background:linear-gradient(135deg,#fb7185 0%,#f59e0b 100%)}
.dots-orange .bullet-list li::before{background:linear-gradient(135deg,#f59e0b 0%,#fb923c 100%)}
.dots-indigo .bullet-list li::before{background:linear-gradient(135deg,#6366f1 0%,#8b5cf6 100%)}
.dots-cyan .bullet-list li::before{background:linear-gradient(135deg,#22d3ee 0%,#2dd4bf 100%)}
.bullet-list{list-style:none;padding-left:0;margin:0}
.bullet-list li{position:relative;padding-left:18px;margin:8px 0;font-size:15px;color:#1f2937}
.bullet-list li::before{content:'';position:absolute;left:0;top:.6em;width:8px;height:8px;border-radius:50%;background:#10b981}
.bullet-list.orange li::before{background:#f97316}
.two-col{columns:2;column-gap:24px}
@media(max-width:768px){.two-col{columns:1}}
.ordered-list{padding-left:20px;margin:0}
.ordered-list li{margin:8px 0;font-size:15px;color:#1f2937}
.pill-tags{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}
.tag-pill{padding:10px 16px;border-radius:12px;background:linear-gradient(135deg,#eef7ff 0%,#e9f0ff 50%,#f5ecff 100%);color:#0b3b8c;font-weight:600;border:1px solid #cfe3ff;box-shadow:0 6px 14px rgba(47,106,248,.08);transition:transform .15s ease,box-shadow .15s ease}
.tag-pill:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(154,98,255,.14)}
.careers-section{margin:24px 0}
@media(max-width:768px){.type-title{font-size:32px}.dual-card-grid{grid-template-columns:1fr}.type-hero{padding:32px 20px}}

/* Level badges and stats bars */
.level-row{display:flex;align-items:center;gap:8px;margin-top:8px}
.level-badge{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;font-size:12px;font-weight:700}
.level-strong{background:linear-gradient(135deg,#fb7185 0%,#9a62ff 100%);color:#fff;box-shadow:0 6px 12px rgba(154,98,255,.25)}
.level-moderate{background:#fde68a;color:#7c2d12;border:1px solid #f59e0b}
.level-balanced{background:#dbeafe;color:#1e40af;border:1px solid #60a5fa}
.level-tilt{background:#e5e7eb;color:#374151;border:1px solid #9ca3af}
.level-badge .icon-dot{width:10px;height:10px;border-radius:50%;display:inline-block;background:linear-gradient(135deg,#2f6af8 0%,#9a62ff 100%);box-shadow:0 2px 6px rgba(47,106,248,.25)}
.stats-bar{display:grid;grid-template-columns:repeat(10,12px);gap:6px;margin-top:8px}
.stats-dot{width:12px;height:12px;border-radius:50%}
.stats-dot.a{background:linear-gradient(135deg,var(--grad-start),var(--grad-end));box-shadow:0 2px 6px rgba(47,106,248,.25)}
.stats-dot.b{background:#d1d5db}
.tips-box{display:grid;grid-template-columns:28px 1fr;gap:12px;align-items:center;background:linear-gradient(135deg,rgba(236,248,255,.95) 0%,rgba(248,240,255,.95) 100%);border:1px solid #cfe3ff;border-radius:16px;padding:14px 18px;margin-top:16px;box-shadow:0 6px 16px rgba(47,106,248,.08)}
.tips-icon{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#2f6af8 0%,#9a62ff 100%);display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 6px 12px rgba(47,106,248,.18)}
.tips-content{display:flex;flex-direction:column;align-items:center}
.tips-header{margin-bottom:6px;color:#356ae6;font-size:14px;font-weight:600}
.tips-text{color:#475569;font-size:14px;line-height:1.6}
@media(max-width:768px){.question-card{padding:24px 16px}.q-title-single{font-size:24px}.option-label{padding:16px 20px;font-size:15px}.navigation-controls{flex-direction:column}.navigation-controls .btn{max-width:none}.progress-grid{grid-template-columns:repeat(8,1fr)}.progress-circle{width:24px;height:24px;font-size:10px}.legend-item{font-size:11px}}
@media(max-width:480px){.progress-grid{grid-template-columns:repeat(5,1fr)}.question-counter{flex-direction:column;gap:8px;align-items:flex-start}.q-title-single{font-size:20px}.option-label{padding:14px 16px;font-size:14px}.question-icon{width:48px;height:48px;font-size:18px}.question-card{padding:20px 16px}.counter-badge{width:28px;height:28px;font-size:12px}.counter-text{font-size:13px}}

.report .card{background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);border:1px solid #e6eaf3;border-radius:16px;padding:22px;box-shadow:0 8px 24px rgba(17,24,39,.08)}
.report .profile-grid .card{position:relative;overflow:hidden}
.report .profile-grid .card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#2f6af8 0%,#9a62ff 100%)}
.report .profile-grid .dots-teal::before{background:linear-gradient(90deg,#10b981 0%,#06b6d4 100%)}
.report .profile-grid .dots-violet::before{background:linear-gradient(90deg,#2f6af8 0%,#9a62ff 100%)}
.report .profile-grid .dots-green::before{background:linear-gradient(90deg,#22c55e 0%,#16a34a 100%)}
.report .profile-grid .dots-rose::before{background:linear-gradient(90deg,#fb7185 0%,#f59e0b 100%)}
.report .profile-grid .dots-orange::before{background:linear-gradient(90deg,#f59e0b 0%,#fb923c 100%)}
.report .profile-grid .dots-indigo::before{background:linear-gradient(90deg,#6366f1 0%,#8b5cf6 100%)}
.report .profile-grid .dots-cyan::before{background:linear-gradient(90deg,#22d3ee 0%,#2dd4bf 100%)}

/* Card aesthetic enhancements */
.report .profile-grid .card{background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);border:1px solid #e6eaf3;border-radius:16px;box-shadow:0 8px 24px rgba(17,24,39,.08);transition:transform .2s ease,box-shadow .2s ease}
.report .profile-grid .card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(17,24,39,.12)}
.report .profile-grid .card::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(47,106,248,.06),rgba(154,98,255,.04));pointer-events:none}
.report .profile-grid .dots-teal::after{background:linear-gradient(180deg,rgba(16,185,129,.06),rgba(6,182,212,.04))}
.report .profile-grid .dots-violet::after{background:linear-gradient(180deg,rgba(47,106,248,.06),rgba(154,98,255,.04))}
.report .profile-grid .dots-green::after{background:linear-gradient(180deg,rgba(34,197,94,.06),rgba(22,163,74,.04))}
.report .profile-grid .dots-rose::after{background:linear-gradient(180deg,rgba(251,113,133,.06),rgba(245,158,11,.04))}
.report .profile-grid .dots-orange::after{background:linear-gradient(180deg,rgba(245,158,11,.06),rgba(251,146,60,.04))}
.report .profile-grid .dots-indigo::after{background:linear-gradient(180deg,rgba(99,102,241,.06),rgba(139,92,246,.04))}
.report .profile-grid .dots-cyan::after{background:linear-gradient(180deg,rgba(34,211,238,.06),rgba(45,212,191,.04))}

/* Bullet aesthetics */
.report .profile-grid .card .bullet-list li::before{box-shadow:0 2px 8px rgba(17,24,39,.15)}
.report .profile-grid .card .bullet-list{margin-top:8px}
.report .profile-grid .card .bullet-list li{line-height:1.75}

/* Title subtle flair */
.report .profile-grid .card h3.section-title{position:relative}
.report .profile-grid .card h3.section-title::after{content:'';position:absolute;left:50%;transform:translateX(-50%);bottom:-8px;width:40px;height:3px;border-radius:999px;background:linear-gradient(90deg,#e2e8f0,#cbd5e1)}
.section{margin:32px 0}
.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.feature{background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);border:1px solid #e6eaf3;border-radius:16px;padding:24px;box-shadow:0 8px 24px rgba(17,24,39,.08);transition:all .3s ease;position:relative;overflow:hidden}
.feature:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(17,24,39,.12)}
.feature::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--grad-start),var(--grad-end));opacity:0;transition:opacity .3s ease}
.feature:hover::before{opacity:1}
.feature h5{font-size:18px;font-weight:800;color:#0f172a;margin:8px 0 12px}
.feature .feature-icon{background:linear-gradient(135deg,#2f6af8,#9a62ff);-webkit-background-clip:text;background-clip:text;color:transparent;font-size:24px;font-weight:800;margin-bottom:8px}
/* Chart title aesthetic badge */
.chart-card h3.section-title{display:flex;align-items:center;gap:10px;justify-content:center}
.chart-card h3.section-title::before{content:'';width:22px;height:22px;border-radius:6px;background:linear-gradient(135deg,#2f6af8 0%,#9a62ff 100%);box-shadow:0 6px 12px rgba(47,106,248,.16)}
/* 整体卡片 - 更精致的渐变 */
.usage-card{background:linear-gradient(135deg,#ffffff 0%,#f8fafc 50%,#f1f5f9 100%);border:1px solid #e2e8f0;border-radius:28px;padding:32px 48px;box-shadow:0 12px 36px rgba(15,23,42,.1);position:relative;overflow:hidden;max-width:1248px;margin:0 auto}
/* 主标题 - 深蓝色 */
.usage-title{font-size:30px;font-weight:800;text-align:center;color:#1e293b;margin-bottom:24px;position:relative;letter-spacing:-0.5px}
/* 网格布局 - 增加间距 */
.usage-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px}
/* 测试流程标题 - 蓝色 */
.usage-col:first-child .usage-subtitle{font-size:22px;font-weight:700;color:#1d4ed8;display:flex;align-items:center;gap:14px;margin-bottom:16px;padding:8px 0}

/* 注意事项标题 - 绿色 */
.usage-col:last-child .usage-subtitle{font-size:22px;font-weight:700;color:#059669;display:flex;align-items:center;gap:14px;margin-bottom:16px;padding:8px 0}
/* 测试流程标题图标 - 蓝色 */
.usage-col:first-child .usage-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#3b82f6 0%,#1d4ed8 100%);color:#fff;font-size:20px;font-weight:700;box-shadow:0 10px 22px rgba(59,130,246,.4);position:relative;animation:pulseGlow 3s ease-in-out infinite}
.usage-col:first-child .usage-icon::before{content:'';position:absolute;inset:-5px;border-radius:50%;background:conic-gradient(from 0deg,rgba(59,130,246,.35),rgba(154,98,255,.35),rgba(59,130,246,.35));filter:blur(2px);animation:rotateRing 8s linear infinite}
.usage-col:first-child .usage-icon::after{content:'';position:absolute;inset:-6px;border-radius:50%;background:radial-gradient(circle,rgba(59,130,246,.35) 0%,rgba(29,78,216,.0) 70%);filter:blur(10px);z-index:-1}

/* 注意事项标题图标 - 绿色 */
.usage-col:last-child .usage-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#10b981 0%,#059669 100%);color:#fff;font-size:20px;font-weight:700;box-shadow:0 10px 22px rgba(16,185,129,.4);position:relative;animation:pulseGlow 3s ease-in-out infinite}
.usage-col:last-child .usage-icon::before{content:'';position:absolute;inset:-5px;border-radius:50%;background:conic-gradient(from 0deg,rgba(16,185,129,.35),rgba(5,150,105,.35),rgba(16,185,129,.35));filter:blur(2px);animation:rotateRing 8s linear infinite}
.usage-col:last-child .usage-icon::after{content:'';position:absolute;inset:-6px;border-radius:50%;background:radial-gradient(circle,rgba(16,185,129,.35) 0%,rgba(5,150,105,.0) 70%);filter:blur(10px);z-index:-1}
.usage-steps{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
/* 列表项 - 优化文字颜色和间距 */
.usage-steps li{display:flex;align-items:center;color:#1e293b;font-size:16px;line-height:1.4;padding:10px 0;font-weight:500}
/* 测试流程 - 蓝色系渐变 */
.step-num{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;margin-right:16px;background:linear-gradient(135deg,#3b82f6 0%,#1d4ed8 100%);color:#fff;font-weight:700;font-size:16px;flex-shrink:0;box-shadow:0 8px 18px rgba(59,130,246,.36), inset 0 0 0 2px rgba(255,255,255,.28);position:relative;animation:pulseGlowSmall 3s ease-in-out infinite}
.step-num::before{content:'';position:absolute;inset:-4px;border-radius:50%;background:conic-gradient(from 0deg,rgba(59,130,246,.3),rgba(154,98,255,.3),rgba(59,130,246,.3));filter:blur(1.5px)}

/* 注意事项 - 绿色系渐变 */
.step-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;margin-right:16px;background:linear-gradient(135deg,#10b981 0%,#059669 100%);color:#fff;font-weight:700;font-size:16px;flex-shrink:0;box-shadow:0 8px 18px rgba(16,185,129,.36), inset 0 0 0 2px rgba(255,255,255,.28);position:relative;animation:pulseGlowSmall 3s ease-in-out infinite}
.step-icon::before{content:'';position:absolute;inset:-4px;border-radius:50%;background:conic-gradient(from 0deg,rgba(16,185,129,.3),rgba(5,150,105,.3),rgba(16,185,129,.3));filter:blur(1.5px)}

@keyframes pulseGlow{0%{transform:translateY(0);box-shadow:0 10px 22px rgba(0,0,0,.16)}50%{transform:translateY(-2px);box-shadow:0 14px 28px rgba(0,0,0,.18)}100%{transform:translateY(0);box-shadow:0 10px 22px rgba(0,0,0,.16)}}
@keyframes pulseGlowSmall{0%{transform:translateY(0)}50%{transform:translateY(-1px)}100%{transform:translateY(0)}}
@keyframes rotateRing{to{transform:rotate(360deg)}}
.usage-notes{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
/* 列表项 - 优化文字颜色和间距 */
.usage-notes li{display:flex;align-items:center;color:#1e293b;font-size:16px;line-height:1.4;padding:10px 0;font-weight:500}

/* 统一宽度控制 - 确保首页关键元素宽度一致 */
.width-unified {
  max-width: 1248px;
  margin: 0 auto;
  width: 100%;
}

/* 人格类型卡片栅格样式已在主样式表中定义 */

/* 防止全宽底纹产生横向滚动 */
html, body { overflow-x: hidden; }

/* 统一标题文字大小 */
.types-title,
.usage-title,
.about-title,
.section-title,
.section-heading {
  font-size: 30px !important;
}

/* 覆盖基础样式中的标题大小 */
.section-heading {
  font-size: 30px !important;
}

.types-title {
  font-size: 30px !important;
}

/* 关于MBTI区域 - 新增样式 */
.about-card{background:linear-gradient(135deg,#ffffff 0%,#f8fafc 50%,#f1f5f9 100%);border:1px solid #e2e8f0;border-radius:20px;padding:24px 36px;box-shadow:0 8px 24px rgba(15,23,42,.1);position:relative;overflow:hidden;max-width:1248px;margin:0 auto}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:flex-start}
.about-content{flex:1;padding-right:12px}
.about-title{font-size:24px;font-weight:800;color:#1e293b;margin-bottom:12px;line-height:1.3}
.about-desc{font-size:15px;color:#475569;line-height:1.7;margin-bottom:12px;text-align:justify}
.about-features{display:flex;flex-direction:column;gap:14px;margin-top:16px}
.about-feature{display:flex;align-items:flex-start;gap:14px;padding:4px 0}
.about-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#3b82f6 0%,#1d4ed8 100%);color:#fff;font-size:14px;font-weight:700;flex-shrink:0;box-shadow:0 2px 6px rgba(59,130,246,.3);margin-top:2px}
.about-feature-content{flex:1;padding-left:4px}
.about-feature-title{font-size:17px;font-weight:700;color:#1e293b;margin-bottom:3px;line-height:1.3}
.about-feature-desc{font-size:13px;color:#64748b;line-height:1.5}
.about-illustration{flex:1;display:flex;justify-content:center;align-items:center}
.illustration-card{background:#fff;border:1px solid #e6eaf3;border-radius:16px;padding:6px;box-shadow:0 3px 12px rgba(15,23,42,.06);overflow:hidden}
.illustration-img{width:100%;height:auto;border-radius:10px;object-fit:cover}

@media(max-width:1024px){.about-grid{grid-template-columns:1fr;gap:20px}.about-card{padding:20px 28px}.about-content{padding-right:0}}
@media(max-width:640px){.about-grid{gap:16px}.about-card{padding:16px 20px}.about-title{font-size:20px;margin-bottom:8px;line-height:1.2}.about-desc{font-size:14px;margin-bottom:8px;line-height:1.6}.about-illustration{margin-top:12px}.about-features{gap:12px;margin-top:12px}.about-feature{gap:12px;padding:3px 0}.about-icon{width:24px;height:24px;font-size:12px;margin-top:1px}.about-feature-content{padding-left:2px}.about-feature-title{font-size:15px;margin-bottom:2px;line-height:1.2}.about-feature-desc{font-size:12px;line-height:1.4}}
@media(max-width:768px){.usage-grid{grid-template-columns:1fr;gap:24px}.usage-title{font-size:26px;margin-bottom:20px}}
.type-icon{animation:heroPulse 3s ease-in-out infinite}
@keyframes heroPulse{0%{transform:translateY(0)}50%{transform:translateY(-4px)}100%{transform:translateY(0)}}
.tag-pill{background:#eef7ff;color:#0b3b8c;border-color:#cfe3ff}
.card .section-title{margin-bottom:8px}
.section-title{font-size:22px}
@media(max-width:1024px){.feature-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.feature-grid{grid-template-columns:1fr}}

/* Section titles and descriptions */
.section-title{font-size:30px;font-weight:800;color:#0f172a;text-align:center;margin-bottom:12px;margin-top: 30px;}
.section-desc{font-size:16px;color:#64748b;text-align:center;margin-bottom:32px;max-width:600px;margin-left:auto;margin-right:auto;line-height:1.6}

/* Report page: remove gradient underline under summary titles */
.report .section-title::after{display:none;content:none}
.report #type-profile-section>h2.section-title{display:none}

/* Charts */
.chart-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.chart-card canvas{width:100%}
.grid.pies{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.chart-card .small{font-size:12px;color:#64748b;margin-top:6px}
.bar-pair{margin:10px 0}
.bar-pair .label{font-size:13px;color:#334155;margin-bottom:6px}
.bar{height:10px;border-radius:6px;overflow:hidden;display:flex;background:#eef2ff}
.bar span.a{background:linear-gradient(135deg,#2f6af8 0%,#9a62ff 100%)}
.bar span.b{background:#d1d5db}
.bar-pair .val{font-size:12px;color:#64748b;margin-top:6px}
@media(max-width:1024px){.chart-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.chart-grid{grid-template-columns:1fr}.grid.pies{grid-template-columns:1fr}}
