/* 情景模拟模块样式 */
.simulation-section {
  background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('../img/bg_3.jpg') no-repeat center/cover;
  padding: 4rem 2rem;
  position: relative;
  min-height: 100vh;
}

.simulation-container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  overflow: hidden;
}

/* 角色选择部分 */
.role-selection {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.role-card {
  width: 120px;
  height: 150px;
  background-color: #f8f9fa;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #D42B2B, #ff7b7b);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.role-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.role-card.active {
  border-color: #D42B2B;
  background-color: #fff8f8;
}

.role-card.active::before {
  transform: translateY(0);
}

.role-icon {
  font-size: 2.5rem;
  color: #D42B2B;
  margin-bottom: 1rem;
}

.role-name {
  font-weight: 600;
  text-align: center;
}

/* 步骤导航 */
.step-navigation {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
}

.step-navigation::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: #e0e0e0;
  transform: translateY(-50%);
  z-index: 1;
}

.step-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f8f9fa;
  border: 2px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  cursor: pointer;
  margin: 0 1rem;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.step-button:hover {
  background-color: #f0f0f0;
}

.step-button.active {
  background-color: #D42B2B;
  border-color: #D42B2B;
  color: white;
}

.step-button.completed {
  background-color: #28a745;
  border-color: #28a745;
  color: white;
}

/* 步骤内容 */
.step-content {
  margin-bottom: 2rem;
}

.step-panel {
  display: none;
  animation: fadeIn 0.5s ease;
}

.step-panel.active {
  display: block;
}

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

.step-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #333;
  display: flex;
  align-items: center;
}

.step-title i {
  margin-right: 0.75rem;
  color: #D42B2B;
}

.step-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-item {
  display: flex;
  align-items: flex-start;
  background-color: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.step-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.step-item-icon {
  font-size: 1.5rem;
  color: #D42B2B;
  margin-right: 1rem;
  min-width: 30px;
  text-align: center;
}

.step-item-content {
  flex-grow: 1;
}

/* FAQ样式 */
.step-item.faq {
  flex-direction: column;
}

.step-item.faq .step-item-content {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-item-answer {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed #e0e0e0;
  color: #666;
  display: none;
}

.step-item.expanded .step-item-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* 步骤控制按钮 */
.step-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.step-control-button {
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.prev-button {
  background-color: #f8f9fa;
  color: #666;
}

.prev-button:hover {
  background-color: #e9ecef;
}

.prev-button i {
  margin-right: 0.5rem;
}

.next-button {
  background-color: #D42B2B;
  color: white;
}

.next-button:hover {
  background-color: #b82424;
}

.next-button i {
  margin-left: 0.5rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .role-selection {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .role-card {
    width: 100%;
    max-width: 300px;
    height: 80px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 0 1rem;
  }
  
  .role-icon {
    margin-bottom: 0;
    margin-right: 1rem;
  }
  
  .step-navigation::before {
    left: 5%;
    right: 5%;
  }
  
  .step-button {
    margin: 0 0.5rem;
  }
  
  .step-controls {
    flex-direction: column;
    gap: 1rem;
  }
  
  .step-control-button {
    width: 100%;
    justify-content: center;
  }
}

/* 视频宣传模块 */
.video-section {
    padding: 50px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-container video {
    width: 100%;
    height: auto;
}