/* ===== 关于我们页面特定样式 ===== */
.content-section {
  background: var(--bg-white);
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  margin: 20px var(--element-spacing) clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  /* 启用硬件加速 */
  transform: translateZ(0);
  will-change: transform, opacity;
}

.content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  opacity: 0.7;
  /* 优化渐变渲染 */
  backface-visibility: hidden;
}

.content-section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--text-dark);
  text-align: center;
  position: relative;
  padding-bottom: 0.75rem;
  /* 优化文本渲染 */
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
}

.content-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
  /* 优化动画性能 */
  will-change: transform;
}

.content-section p {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.7;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  color: var(--text-light);
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  /* 优化文本渲染 */
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
}

.content-section .highlight {
  color: var(--primary-color);
  font-weight: 600;
}

.content-section .intro-text {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.8;
  margin-bottom: 2rem;
  /* 优化大文本渲染 */
  text-rendering: optimizeLegibility;
}

.mission-section {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
  /* 优化渐变性能 */
  backface-visibility: hidden;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .content-section {
    padding: 1.5rem;
    margin: 0 0.5rem 1.5rem;
    /* 移动端性能优化 */
    will-change: auto;
  }
  
  .content-section p {
    text-align: left;
  }
  
  /* 移动端文本渲染优化 */
  .content-section h2,
  .content-section p,
  .content-section .intro-text {
    text-rendering: optimizeSpeed;
  }
}

/* 高分辨率屏幕优化 */
@media (min-resolution: 192dpi) {
  .content-section h2::after {
    /* 高DPI屏幕下更清晰的线条 */
    height: 2.5px;
  }
}

/* 添加动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-section {
  animation: fadeInUp 0.6s ease-out;
  /* 优化动画性能 */
  animation-fill-mode: both;
}

/* 禁用动画的用户偏好 */
@media (prefers-reduced-motion: reduce) {
  .content-section {
    animation: none;
    transition: none;
  }
  
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
  .content-section::before {
    height: 6px;
    opacity: 1;
  }
  
  .content-section h2::after {
    height: 4px;
  }
  
  .content-section .highlight {
    font-weight: 700;
  }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  .content-section {
    background: var(--bg-white);
    /* 确保在深色模式下保持原有背景 */
  }
}