/* 帮助页面样式 - 性能优化版本 */
.help-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
  position: relative;
  /* 启用硬件加速 */
  will-change: scroll-position;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* 背景装饰 - 优化版本，移除动画以提升性能 */
.help-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.help-background .floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.help-background .shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  /* 移除动画以提升移动端性能 */
  opacity: 0.6;
}

.help-background .shape-1 {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 10%;
}

.help-background .shape-2 {
  width: 60px;
  height: 60px;
  top: 20%;
  right: 15%;
}

.help-background .shape-3 {
  width: 100px;
  height: 100px;
  bottom: 15%;
  left: 15%;
}

.help-background .shape-4 {
  width: 70px;
  height: 70px;
  bottom: 25%;
  right: 10%;
}

.help-background .shape-5 {
  width: 90px;
  height: 90px;
  top: 50%;
  left: 50%;
}

/* 页面头部 - 紧凑风格，优化性能 */
.help-header.compact {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  z-index: 2;
  /* 移除进入动画以提升性能 */
}

.help-header.compact .page-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.help-header.compact .page-subtitle {
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0 0 16px 0;
}

.help-header.compact .back-btn.compact {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.help-header.compact .back-btn.compact:hover {
  opacity: 0.9;
  /* 简化悬停效果以提升性能 */
}

/* 旧样式保留作为备用 */
.help-header {
  text-align: center;
  padding: 40px 20px 20px;
  color: white;
}

.help-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0 0 10px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.help-title i {
  margin-right: 15px;
}

.help-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
}

/* 主内容区域 */
.help-main {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  position: relative;
  z-index: 2;
}

/* 左侧导航栏改为顶部横向导航 */
.help-sidebar {
  width: 100%;
}

.sidebar-menu {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  cursor: pointer;
  border-bottom: 4px solid transparent;
  color: #666;
  font-size: 1rem;
  font-weight: 500;
  flex: 1;
  justify-content: center;
  min-width: 150px;
  /* 移除过渡动画以提升性能 */
}

.menu-item i {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.menu-item:hover {
  background: #f5f5f5;
  color: #667eea;
}

.menu-item.active {
  background: linear-gradient(180deg, #f0f2ff 0%, #ffffff 100%);
  border-bottom-color: #667eea;
  color: #667eea;
  font-weight: 600;
}

.menu-item.active i {
  /* 移除缩放效果以提升性能 */
}

/* 右侧内容区域 */
.help-content {
  flex: 1;
  min-width: 0;
}

.help-section {
  /* 移除动画以提升性能 */
}

.help-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  /* 移除悬停动画以提升性能 */
}

.help-card-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.help-card-header i {
  font-size: 1.8rem;
}

.help-card-header h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.help-card-body {
  padding: 30px 20px;
  min-height: 150px;
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

.help-footer {
  text-align: center;
  padding: 40px 20px;
}

.help-footer .el-button {
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 8px;
}

/* 教程部分样式 */
.tutorial-section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e8e8;
}

.tutorial-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.tutorial-section h3 {
  color: #667eea;
  font-size: 1.3rem;
  margin: 0 0 15px 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tutorial-section h3 i {
  font-size: 1.2rem;
}

.tutorial-section p {
  margin: 10px 0;
  line-height: 1.8;
}

.tutorial-section strong {
  color: #667eea;
  font-weight: 600;
}

/* 步骤列表样式 */
.step-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.step-list li {
  padding: 10px 0 10px 30px;
  position: relative;
  line-height: 1.8;
}

.step-list li .step-icon {
  position: absolute;
  left: 0;
  top: 12px;
  color: #52c41a;
  font-size: 1rem;
}

/* 菜单图标样式 */
.menu-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 600;
  margin: 0 4px;
}

.menu-icon i {
  font-size: 1rem;
  color: white;
}

/* 提示框样式 */
.tip-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.tip-box i {
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.tip-box-info {
  background: #e6f7ff;
  border-left: 4px solid #1890ff;
  color: #0050b3;
}

.tip-box-success {
  background: #f6ffed;
  border-left: 4px solid #52c41a;
  color: #389e0d;
}

.tip-box-warning {
  background: #fff7e6;
  border-left: 4px solid #faad14;
  color: #d46b08;
}

.tip-info {
  background: #e6f7ff;
  border-left: 4px solid #1890ff;
  color: #0050b3;
}

.tip-success {
  background: #f6ffed;
  border-left: 4px solid #52c41a;
  color: #389e0d;
}

.tip-warning {
  background: #fff7e6;
  border-left: 4px solid #faad14;
  color: #d46b08;
}

.tip-danger {
  background: #fff1f0;
  border-left: 4px solid #ff4d4f;
  color: #cf1322;
}

/* 功能网格样式 - 优化版本，移除毛玻璃效果 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.feature-item {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: #f5f7fa;
  border-radius: 8px;
  border: 1px solid #e8ecf0;
  /* 移除过渡动画和悬停效果以提升性能 */
}

.feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: #e6eaff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667eea;
  font-size: 1.5rem;
  border: 2px solid #d0d7ff;
}

.feature-content h4 {
  margin: 0 0 8px 0;
  color: #333;
  font-size: 1.1rem;
  font-weight: 600;
}

.feature-content p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* 小贴士容器 */
.tips-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 常见问题样式 */
.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid #e8e8e8;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h4 {
  color: #333;
  font-size: 1.1rem;
  margin: 0 0 10px 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-item h4 i {
  color: #667eea;
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  color: #666;
  line-height: 1.8;
  padding-left: 24px;
}

/* 联系我们样式 */
.contact-text {
  margin-bottom: 20px;
  text-align: center;
  font-size: 1rem;
  color: #666;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.contact-buttons .el-button {
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 8px;
}

/* 移除淡入动画以提升性能 */

/* 响应式设计 - 移动端性能优化 */
@media (max-width: 1024px) {
  .sidebar-menu {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .menu-item {
    flex-shrink: 0;
    white-space: nowrap;
  }
  
  /* 移动端禁用背景装饰以提升性能 */
  .help-background .shape {
    display: none;
  }
}

@media (max-width: 768px) {
  .help-title {
    font-size: 2rem;
  }

  .help-main {
    padding: 10px;
  }
  
  .help-card-header h2 {
    font-size: 1.1rem;
  }

  .tutorial-section h3 {
    font-size: 1.1rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
  }

  .feature-icon {
    margin: 0 auto;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .contact-buttons .el-button {
    width: 100%;
  }

  /* 移动端保持横向排列 */
  .sidebar-menu {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .menu-item {
    padding: 15px 12px;
    font-size: 0.85rem;
    flex-shrink: 0;
    min-width: auto;
    flex-direction: column;
    gap: 6px;
  }

  .menu-item i {
    font-size: 1.2rem;
  }

  .menu-item span {
    font-size: 0.75rem;
    white-space: nowrap;
  }
  
  /* 移动端进一步优化 */
  .help-container {
    padding: 15px;
  }
  
  .help-card-body {
    padding: 20px 15px;
  }
  
  /* 减少阴影效果 */
  .help-card {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  }
  
  .sidebar-menu {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  }
}

/* 步骤标题样式 */
.step-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.step-number {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.step-header h3 {
  margin: 0;
  flex: 1;
}

/* 欢迎部分特殊样式 */
.welcome-section {
  background: linear-gradient(135deg, #f0f2ff 0%, #ffffff 100%);
  padding: 25px;
  border-radius: 12px;
  border: 2px solid #e6e9ff;
}

.welcome-section h3 {
  color: #667eea;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.welcome-section p {
  font-size: 1.05rem;
  color: #555;
}

