/* 文档内容区域的额外样式 */

.doc-content {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* 文档侧边栏样式 */
.docs-sidebar.styled-sidebar {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* 页面头部样式 */
.page-header.styled-header {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 25px;
}

.page-header.styled-header .page-title {
  color: #2c3e50;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-header.styled-header .page-subtitle {
  color: #6c757d;
  margin-bottom: 0;
  font-size: 1rem;
}

/* 通用页面头部样式（适用于所有页面） */
.page-header {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 25px;
}

.page-header .page-title {
  color: #2c3e50;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-header .page-subtitle {
  color: #6c757d;
  margin-bottom: 0;
  font-size: 1rem;
}

/* VIP页面价格卡片白底样式 */
.pricing-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.pricing-card.featured {
  border: 2px solid #4a6bff;
  transform: scale(1.05);
}

.pricing-card .pricing-tier {
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 600;
}

.pricing-card .pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #4a6bff;
  margin-bottom: 20px;
}

.pricing-card .pricing-price span {
  font-size: 1rem;
  color: #6c757d;
  font-weight: normal;
}

.pricing-card .pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.pricing-card .pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.pricing-card .pricing-features li:last-child {
  border-bottom: none;
}

.pricing-card .pricing-btn {
  width: 100%;
  padding: 12px;
  font-weight: 500;
  border-radius: 6px;
}

/* 为aos动画添加额外的过渡效果 */
.doc-content.aos-animate {
  transform: translateY(0);
  opacity: 1;
}

/* 添加标题下划线装饰 */
.doc-content h1 {
  color: #2c3e50;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f1f2f6;
  position: relative;
  font-size: 24px;
  font-weight: 600;
}

.doc-content h1::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: #4a6bff;
}

/* 二级标题样式 */
.doc-content h2 {
  color: #2c3e50;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.doc-content h3 {
  color: #3a5269;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 600;
}

/* 代码预览区域 */
.doc-content .code-preview {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
  border-left: 4px solid #4a6bff;
  position: relative;
}

.doc-content .code-preview pre {
  margin: 0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* 卡片组样式 */
.doc-content .card {
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.doc-content .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.doc-content .card-body {
  padding: 20px;
}

/* 列表样式 */
.doc-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.doc-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.doc-content li::marker {
  color: #4a6bff;
}

/* 段落样式 */
.doc-content p {
  line-height: 1.7;
  margin-bottom: 20px;
  color: #4a5568;
}

.doc-content .lead {
  font-size: 1.2rem;
  font-weight: 300;
  color: #5a6578;
  margin-bottom: 25px;
  border-left: 3px solid #e2e8f0;
  padding-left: 15px;
}

/* 按钮样式增强 */
.doc-content .btn {
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.doc-content .btn:hover {
  transform: translateY(-2px);
}

/* 文档侧边栏导航样式 */
.docs-sidebar .docs-nav {
  padding: 10px 0;
}

.docs-sidebar .nav-section {
  margin-bottom: 20px;
}

.docs-sidebar .nav-section h6 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6c757d;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee;
}

.docs-sidebar .nav-link {
  display: block;
  padding: 8px 15px;
  color: #495057;
  text-decoration: none;
  border-radius: 5px;
  margin-bottom: 5px;
  transition: all 0.2s ease;
}

.docs-sidebar .nav-link:hover {
  background-color: #f8f9fa;
  color: #4a6bff;
  padding-left: 20px;
}

.docs-sidebar .nav-link.active {
  background-color: #eef2ff;
  color: #4a6bff;
  font-weight: 500;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .doc-content {
    padding: 20px 15px;
    margin-top: 15px;
  }
  
  .docs-sidebar.styled-sidebar {
    padding: 15px;
    margin-bottom: 20px;
  }
  
  .page-header.styled-header,
  .page-header {
    padding: 15px 20px;
    margin-bottom: 15px;
  }
  
  .page-header.styled-header .page-title,
  .page-header .page-title {
    font-size: 1.5rem;
  }
  
  .doc-content h1 {
    font-size: 1.8rem;
  }
  
  .doc-content h2 {
    font-size: 1.5rem;
  }
  
  .doc-content h3 {
    font-size: 1.3rem;
  }
}