/* 移动端响应式样式 - 汉堡云帮助中心 */

/* 基础响应式设置 */
* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 平板端响应式优化 - 大尺寸平板 */
@media (min-width: 1181px) and (max-width: 1200px), (min-width: 821px) and (max-width: 1200px) and (min-height: 821px) {
  html, body {
    width: 100% !important;
    overflow-x: hidden !important;
  }
  
  .container, .main-content, .wrapper {
    width: 100% !important;
    
    margin: 0 auto !important;
  }
  
  .section {
    width: 100% !important;
    padding: 50px 0 !important;
  }
  
  .banner, .hero-section {
    width: 100% !important;
  }
  
  .banner-cont {
    width: 100% !important;
  }
  
  .swiper-slide {
    width: 100% !important;
    padding: 0 20px !important;
  }
}

/* 通用移动端优化 - 包含小尺寸平板 */
@media (max-width: 768px), (max-width: 1180px) and (max-height: 820px), (max-width: 820px) and (max-height: 1180px) {
  /* 小尺寸平板优化提示 */
  /* 820*1180 或类似尺寸的平板设备将使用手机端样式以获得更好体验 */
  /* 移动端隐藏复杂背景动画，保留服务器核心动画 */
  .animated-background,
  .network-lines,
  .particle-dots,
  .glow-nodes,
  .stars,
  .meteors {
    display: none !important;
  }
  
  /* 移动端统计数据强制横向排列 */
  section .hero-stats,
  .banner-3d .hero-stats,
  .hero-content .hero-stats,
  div .hero-stats {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
    max-width: none !important;
    gap: 1rem !important;
    margin: 0 auto 2rem auto !important;
    padding: 0.8rem 1.2rem !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  section .stat-item,
  .banner-3d .stat-item,
  .hero-content .stat-item,
  div .stat-item {
    flex: 0 0 auto !important;
    text-align: center !important;
    min-width: 70px !important;
    display: block !important;
    padding: 0.3rem !important;
  }
  
  /* 基础布局 */
  .container {
    padding: 0 15px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-content {
    padding: 0 15px;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }
  
  /* section-content 移动端优化 */
  .section-content {
    overflow-x: hidden;
    word-wrap: break-word;
  }
  
  /* section-p 段落优化 */
  .section-p,
  .section-content p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
    padding: 0 5px;
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  
  /* section内容元素通用优化 */
  .section-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 6px;
    margin: 10px auto;
    display: block;
  }
  
  .section-content table {
    width: 100% !important;
    font-size: 13px;
    overflow-x: auto;
    display: block;
    white-space: nowrap;
  }
  
  .section-content blockquote {
    margin: 15px 5px;
    padding: 10px 15px;
    border-left: 3px solid #1890ff;
    background: #f8f9fa;
    font-size: 13px;
    line-height: 1.5;
  }
  
  /* 标题优化 */
  h1 {
    font-size: 24px !important;
    line-height: 1.3;
    margin-bottom: 15px;
  }
  
  h2 {
    font-size: 20px !important;
    line-height: 1.4;
    margin-bottom: 12px;
  }
  
  h3 {
    font-size: 18px !important;
    line-height: 1.4;
    margin-bottom: 10px;
  }
  
  /* 段落文本 */
  p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  
  /* 按钮优化 */
  .btn {
    padding: 12px 20px;
    font-size: 14px;
    min-height: 44px; /* 触摸友好 */
    border-radius: 6px;
  }
  
  /* 表单元素 */
  input, textarea, select {
    font-size: 16px; /* 防止iOS缩放 */
    padding: 12px 15px;
    min-height: 44px;
    border-radius: 6px;
  }
  
  /* 链接优化 */
  a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
  }
}

/* 文档页面移动端优化 */
@media (max-width: 768px) {
  /* 文档容器 */
  .doc-container {
    flex-direction: column;
    padding: 0 10px 20px;
    gap: 15px;
  }
  
  /* 侧边栏 */
  .doc-sidebar {
    width: 100%;
    position: fixed;
    top: 70px; /* 为页头留出空间 */
    left: -100%;
    height: calc(100vh - 70px); /* 调整高度 */
    background: white;
    z-index: 998; /* 降低z-index，确保在页头下方 */
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .doc-sidebar.mobile-visible {
    left: 0;
  }
  
  /* 移动端菜单按钮 */
  .doc-menu-toggle {
    display: block;
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999; /* 降低z-index，避免与页头冲突 */
    background: #1890ff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(24, 144, 255, 0.3);
    transition: all 0.3s ease;
  }
  
  .doc-menu-toggle:hover {
    background-color: #0c6bc9;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(24, 144, 255, 0.4);
  }
  
  /* 文档内容 */
  .doc-content {
    padding: 20px 15px;
    width: 100%;
  }
  
  /* 面包屑导航 */
  .doc-breadcrumb {
    font-size: 12px;
    padding: 10px 0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  
  .doc-breadcrumb::-webkit-scrollbar {
    height: 2px;
  }
  
  .doc-breadcrumb::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
  }
  
  /* 文档标题 */
  .doc-title {
    font-size: 22px !important;
    line-height: 1.3;
    margin-bottom: 15px;
    word-wrap: break-word;
  }
  
    /* 文档元信息 */
  .doc-meta {
    color: #999;
    font-size: 13px;
    margin-bottom: 35px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background-color: #f9fbff;
    padding: 12px 15px;
    border-radius: 8px;
  }

  .doc-meta span {
    display: inline-flex;
    align-items: center;
    margin-right: 0;
    margin-bottom: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    font-size: 13px;
    white-space: nowrap;
    color: #999;
    box-shadow: none;
    transition: none;
  }

  .doc-meta span i {
    margin-right: 5px;
    color: #1890ff !important;
    font-size: 13px;
  }
  
  /* 发布时间居左 */
  .doc-meta span:first-child {
    order: 1;
  }
  
  /* 更新时间居右 */
  .doc-meta span:last-child {
    order: 2;
    margin-left: auto;
  }
  
  .doc-meta span:hover {
    background: none;
    transform: none;
    box-shadow: none;
  }
  
  /* 文档内容 */
  .doc-body {
    font-size: 14px;
    line-height: 1.7;
  }
  
  .doc-body h1 {
    font-size: 20px !important;
  }
  
  .doc-body h2 {
    font-size: 18px !important;
  }
  
  .doc-body h3 {
    font-size: 16px !important;
  }
  
  /* 移动端图片适应屏幕优化 */
  .doc-body img {
    max-width: 100% !important; /* 强制图片不超出容器 */
    width: auto !important;
    height: auto !important;
    border-radius: 6px;
    margin: 15px auto;
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
  }
  
  /* 确保图片容器不会超出屏幕 */
  .doc-body p,
  .doc-body div {
    max-width: 100% !important;
    overflow: hidden !important;
    word-wrap: break-word;
    box-sizing: border-box;
  }
  
  /* 移除任何可能导致图片超出的内联样式 */
  .doc-body img[width],
  .doc-body img[style*="width"],
  .doc-body img[style*="max-width"] {
    max-width: 100% !important;
    width: auto !important;
  }
  
  /* 强制所有可能包含图片的元素适应屏幕 */
  .doc-body * {
    max-width: 100% !important;
    box-sizing: border-box;
  }
  
  /* 图片点击放大效果 */
  .doc-body img:active {
    transform: scale(0.98);
  }

  .doc-body table {
    font-size: 12px;
    overflow-x: auto;
    display: block;
    white-space: nowrap;
  }
  
  .doc-body table th,
  .doc-body table td {
    padding: 8px 10px;
    min-width: 80px;
  }
  
  .doc-body pre {
    font-size: 12px;
    padding: 15px;
    overflow-x: auto;
    border-radius: 6px;
  }
  
  .doc-body code {
    font-size: 12px;
    padding: 2px 4px;
    word-break: break-all;
  }
  
  /* 文档导航 */
  .doc-nav {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }
  
  .doc-nav-item {
    max-width: 100%;
  }
  
  .doc-nav-link {
    padding: 15px;
    font-size: 14px;
  }
  
  .doc-nav-title {
    font-size: 14px;
    line-height: 1.4;
  }
  
  /* 搜索框 */
  .search-input {
    font-size: 16px; /* 防止iOS缩放 */
    padding: 12px 15px 12px 40px;
  }
  
  /* 分类列表 */
  .category-title {
    padding: 15px 18px;
    font-size: 14px;
    -webkit-tap-highlight-color: rgba(24, 144, 255, 0.1);
  }
  
  .category-articles {
    padding: 0;
  }
  
  .article-link {
    padding: 12px 18px;
    font-size: 14px;
    line-height: 1.4;
    -webkit-tap-highlight-color: rgba(24, 144, 255, 0.1);
  }
  
  /* 遮罩层 */
  .sidebar-overlay {
    position: fixed;
    top: 70px; /* 为页头留出空间 */
    left: 0;
    width: 100%;
    height: calc(100% - 70px); /* 调整高度 */
    background: rgba(0, 0, 0, 0.5);
    z-index: 997; /* 降低z-index */
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .sidebar-overlay.active {
    opacity: 1;
  }
}



/* 超小屏幕优化 */
@media (max-width: 480px) {
  /* section-content 小屏幕优化 */
  .section-content {
    padding: 0 10px !important;
    margin: 0 auto;
  }
  
  /* section-p 小屏幕段落优化 */
  .section-p,
  .section-content p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
    padding: 0 3px;
  }
  
  /* section标题优化 */
  .section-content h1,
  .section-content h2,
  .section-content h3 {
    padding: 0 5px;
    word-break: break-word;
  }
  
  /* 超小屏幕下显示更小的服务器动画 */
  .hero-visual {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 140px !important;
    margin: 0.8rem 0 1rem 0 !important;
    padding: 0 !important;
    order: 3 !important;
  }
  
  .server-animation {
    display: block !important;
    transform: scale(0.4) !important;
    transform-origin: center !important;
    filter: drop-shadow(0 2px 6px rgba(135, 206, 235, 0.2)) !important;
  }
  
  /* 超小屏幕按钮优化 */
  .hero-actions {
    order: 4 !important;
    gap: 0.5rem !important;
    margin-bottom: 1rem !important;
  }
  
  .hero-actions .btn {
    max-width: 110px !important;
    padding: 0.7rem 0.6rem !important;
    font-size: 0.75rem !important;
    min-width: 90px !important;
  }
  
  /* 超小屏幕下的Banner内容调整 */
  .hero-content {
    padding: 1.5rem 0.8rem;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  /* 超小屏幕强制覆盖 */
  .banner-3d .hero-stats,
  .hero-content .hero-stats {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.8rem !important;
    margin: 0 auto 2rem auto !important;
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
    max-width: none !important;
    flex-wrap: nowrap !important;
    padding: 0.7rem 1rem !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  
  .banner-3d .stat-item,
  .hero-content .stat-item {
    flex: 0 0 auto !important;
    text-align: center !important;
    min-width: 60px !important;
    padding: 0.2rem !important;
  }
  
  .banner-3d .stat-number,
  .hero-content .stat-number {
    font-size: 1.3rem !important;
    line-height: 1.1 !important;
    margin-bottom: 0.2rem !important;
    margin-top: 0 !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #4f8ff7 0%, #235af0 50%, #6366f1 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    letter-spacing: -0.02em !important;
  }
  
  .banner-3d .stat-label,
  .hero-content .stat-label {
    font-size: 0.6rem !important;
    line-height: 1.2 !important;
    word-wrap: break-word !important;
    hyphens: auto !important;
    margin-top: 0.1rem !important;
    opacity: 0.85 !important;
    color: #64748b !important;
    font-weight: 500 !important;
  }
  
  .btn {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
    min-width: 100px;
  }
  
  .doc-sidebar {
    width: 90%;
  }
  
  .doc-content {
    padding: 10px;
  }
  
  .doc-title {
    font-size: 20px !important;
  }
  
  .doc-body {
    font-size: 13px;
  }
  
  .doc-body h1 {
    font-size: 18px !important;
  }
  
  .doc-body h2 {
    font-size: 16px !important;
  }
  
  .doc-body h3 {
    font-size: 15px !important;
  }
  
  .doc-nav-link {
    padding: 12px;
    font-size: 13px;
  }
  
  .doc-breadcrumb {
    font-size: 11px;
  }
  
  .doc-meta {
    font-size: 12px;
    gap: 12px;
    margin-bottom: 20px;
  }
  
  .doc-meta span {
    padding: 0;
    font-size: 12px;
    border-radius: 0;
    background: none;
    border: none;
    box-shadow: none;
  }
  
  .doc-meta span i {
    font-size: 12px;
    margin-right: 5px;
    color: #1890ff !important;
  }
}

/* 首页移动端优化 */
@media (max-width: 768px) {
  /* Banner区域布局调整 */
  .banner-3d .row {
    flex-direction: column;
    min-height: auto;
  }
  
  .banner-3d .col-lg-8 {
    flex: none;
    max-width: 100%;
    order: 1;
  }
  
  .banner-3d .col-lg-4 {
    flex: none;
    max-width: 100%;
    order: 3; /* 服务器图标在统计数据后 */
    margin-top: 0;
  }
  
  /* 移动端简化服务器动画显示 */
  .hero-visual {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 180px !important;
    margin: 1rem 0 1.5rem 0 !important;
    padding: 0 !important;
    order: 3 !important; /* 放在统计数据后面 */
  }
  
  .server-animation {
    display: block !important;
    transform: scale(0.5) !important;
    transform-origin: center !important;
    filter: drop-shadow(0 4px 12px rgba(135, 206, 235, 0.2)) !important;
  }
  
  /* 移动端服务器动画优化 */
  @media (max-width: 768px) {
    .server-animation .data-flow {
      display: none !important; /* 隐藏数据流动效果 */
    }
    
    .server-animation:hover {
      transform: scale(0.52) !important; /* 减少悬停效果 */
      transition: transform 0.3s ease !important;
    }
    
    /* 移动端按钮样式增强 */
    .hero-actions .btn:active {
      transform: scale(0.95) !important;
      transition: transform 0.1s ease !important;
    }
  }
  
  /* 调整文字内容样式 */
  .hero-content {
    padding: 2rem 1rem;
    margin-left: 0;
    transform: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
  
  /* 强制覆盖原有hero-stats样式 */
  .banner-3d .hero-stats,
  .hero-content .hero-stats {
    display: flex !important;
    flex-direction: row !important;
    gap: 1.2rem !important;
    margin: 0 auto 2.5rem auto !important;
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
    max-width: none !important;
    flex-wrap: nowrap !important;
    padding: 1rem 1.5rem !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  
  .banner-3d .stat-item,
  .hero-content .stat-item {
    flex: 0 0 auto !important;
    text-align: center !important;
    min-width: 80px !important;
    padding: 0.5rem 0.3rem !important;
  }
  
  .banner-3d .stat-number,
  .hero-content .stat-number {
    font-size: 2.7rem !important;
    line-height: 1.1 !important;
    margin-bottom: 0.3rem !important;
    margin-top: 0 !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #4f8ff7 0%, #235af0 50%, #6366f1 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    letter-spacing: -0.02em !important;
  }
  
  .banner-3d .stat-label,
  .hero-content .stat-label {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
    word-wrap: break-word !important;
    hyphens: auto !important;
    margin-top: 0.2rem !important;
    opacity: 0.85 !important;
    color: #64748b !important;
    font-weight: 500 !important;
  }
  
  .hero-actions {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.8rem !important;
    margin-bottom: 1.5rem !important;
    order: 4 !important; /* 按钮显示在最后 */
  }
  
  .hero-actions .btn {
    flex: 1 !important;
    max-width: 140px !important;
    padding: 0.8rem 1rem !important;
    min-width: 100px !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
  
  /* 轮播图 */
  .swiper {
    height: 45vh; /* 与banner.css保持一致 */
    min-height: 300px;
    max-height: 400px;
  }
  
  .swiper h1 {
    font-size: 24px !important;
    line-height: 1.3 !important;
    margin: 15px 0 15px 5px !important; /* 与banner.css保持一致，增加左外边距 */
    font-family: 'AlimamaShuHeiTi-Bold', 'MiSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  }
  
  .banner-desc {
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin-bottom: 20px !important;
    max-width: 280px !important;
    margin-left: 5px !important; /* 增加左外边距 */
    margin-right: auto !important;
  }
  
  /* Banner卡片 */
  .banner-cards {
    margin-top: -40px;
    padding: 0 15px;
  }
  
  .banner-card-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: -20px;
  }
  
  .banner-card-item {
    padding: 12px;
  }
  
  .banner-card-item .card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
  }
  
  .banner-card-item .card-icon i {
    font-size: 18px;
  }
  
  .banner-card-item h3 {
    font-size: 13px;
    margin-bottom: 4px;
  }
  
  .banner-card-item p {
    font-size: 11px;
    line-height: 1.2;
    margin-bottom: 5px;
  }
  
  /* 产品列表 */
  .product-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .product-card {
    padding: 20px;
  }
  
  .product-card h3 {
    font-size: 16px;
  }
  
  .product-card p {
    font-size: 13px;
  }
  
  /* 解决方案 */
  .solution-list {
    margin: 0;
  }
  
  .solution-item {
    width: 50%;
    padding: 0 0 20px 0;
  }
  
  .solution-content {
    margin: 0 8px;
  }
  
  .solution-info {
    padding: 12px;
  }
  
  .solution-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }
  
  .solution-content p {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 12px;
  }
  
  .solution-tag {
    font-size: 10px;
    padding: 3px 8px;
  }
  
  /* 移动端商品分类 */
  .mobile-products {
    display: block !important;
    padding: 30px 0;
  }
  
  /* PC端产品分类在手机端隐藏 */
  .pc-products {
    display: none !important;
  }
  
  .category-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .category-tab {
    min-width: 100px;
    padding: 10px 15px;
    font-size: 13px;
    white-space: nowrap;
  }
  
  .category-content-area {
    padding: 0 15px;
  }
  
  .subcategory-link {
    padding: 12px 15px;
    font-size: 14px;
  }
  
  .subcategory-name {
    font-size: 14px;
  }
  
  /* 视频区域 */
  .video-section {
    padding: 30px 0;
  }
  
  .pc-video-box {
    display: none;
  }
  
  .mobile-video-box {
    display: block;
    padding: 0 15px;
  }
  
  .mobile-box-item {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
  }
  
  .mobile-box-item video {
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
  }
  
  .mobile-box-item .video-info {
    padding: 15px;
  }
  
  .mobile-box-item .video-title {
    font-size: 16px;
    margin-bottom: 8px;
  }
  
  .mobile-box-item .video-desc {
    font-size: 13px;
    line-height: 1.5;
  }
}

/* 横屏优化 */
@media (max-width: 768px) and (orientation: landscape) {
  /* 横屏模式下显示简化的服务器动画 */
  .hero-visual {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 120px !important;
    margin: 0.5rem 0 1rem 0 !important;
    padding: 0 !important;
    order: 3 !important;
  }
  
  .server-animation {
    display: block !important;
    transform: scale(0.35) !important;
    transform-origin: center !important;
    filter: drop-shadow(0 2px 8px rgba(135, 206, 235, 0.2)) !important;
  }
  
  /* 横屏模式按钮优化 */
  .hero-actions {
    order: 4 !important;
    gap: 0.6rem !important;
  }
  
  .hero-actions .btn {
    max-width: 120px !important;
    padding: 0.6rem 0.8rem !important;
    font-size: 0.8rem !important;
  }
  
  /* 横屏模式下的Banner调整 */
  .hero-content {
    padding: 1.5rem 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  /* 横屏模式强制覆盖 */
  .banner-3d .hero-stats,
  .hero-content .hero-stats {
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem !important;
    margin: 0 auto 2rem auto !important;
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
    max-width: none !important;
    flex-wrap: nowrap !important;
    padding: 0.8rem 1.2rem !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  
  .banner-3d .stat-item,
  .hero-content .stat-item {
    flex: 0 0 auto !important;
    text-align: center !important;
    min-width: 65px !important;
    padding: 0.3rem !important;
  }
  
  .banner-3d .stat-number,
  .hero-content .stat-number {
    font-size: 1.4rem !important;
    line-height: 1.1 !important;
    margin-bottom: 0.2rem !important;
    margin-top: 0 !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #4f8ff7 0%, #235af0 50%, #6366f1 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    letter-spacing: -0.02em !important;
  }
  
  .banner-3d .stat-label,
  .hero-content .stat-label {
    font-size: 0.65rem !important;
    line-height: 1.2 !important;
    word-wrap: break-word !important;
    margin-top: 0.1rem !important;
    opacity: 0.85 !important;
    color: #64748b !important;
    font-weight: 500 !important;
  }
  
  .swiper {
    height: 300px;
  }
  
  .swiper h1 {
    font-size: 20px !important;
  }
  
  .banner-desc {
    font-size: 13px;
  }
  
  .doc-sidebar {
    width: 60%;
  }
}

/* 触摸优化 */
@media (hover: none) and (pointer: coarse) {
  /* 移除hover效果，优化触摸体验 */
  .banner-card-item:hover,
  .product-card:hover,
  .solution-item:hover {
    transform: none;
    box-shadow: inherit;
  }
  
  /* 增加触摸反馈 */
  .banner-card-item:active,
  .product-card:active,
  .solution-item:active {
    transform: scale(0.98);
    transition: transform 0.1s;
  }
  
  .btn:active,
  .doc-nav-link:active,
  .article-link:active {
    opacity: 0.8;
    transition: opacity 0.1s;
  }
}

/* 高DPI屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .doc-body img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* 暗色模式支持 */
@media (prefers-color-scheme: dark) {
  /* 可以在这里添加暗色模式样式 */
}

/* 极小屏幕优化 (360px以下) */
@media (max-width: 360px) {
  /* section-content 极小屏幕优化 */
  .section-content {
    padding: 0 8px !important;
    margin: 0 auto;
    max-width: calc(100% - 16px);
  }
  
  /* section-p 极小屏幕段落优化 */
  .section-p,
  .section-content p {
    font-size: 12px !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
    padding: 0 2px;
  }
  
  /* section标题极小屏幕优化 */
  .section-content h1,
  .section-content h2,
  .section-content h3 {
    padding: 0 3px;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  
  /* section内容区域优化 */
  .section {
    padding: 25px 0 !important;
  }
  
  /* 列表和其他内容优化 */
  .section-content ul,
  .section-content ol {
    padding-left: 15px;
    margin: 0 5px 10px 5px;
  }
  
  .section-content li {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 5px;
  }
}

/* 减少动画效果（用户偏好） */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 平板设备适配 (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  /* 平板设备上简化服务器动画 */
  .animated-background,
  .network-lines,
  .particle-dots,
  .meteors {
    display: none; /* 隐藏复杂的背景动画 */
  }
  
  .hero-visual {
    height: 400px; /* 减小动画区域高度 */
  }
  
  .server-animation {
    transform: scale(0.8); /* 缩小动画尺寸 */
  }
  
  .hero-content {
    transform: scale(1.1); /* 稍微放大文字内容 */
  }
}

/* 大平板和小笔记本 (1025px - 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
  .hero-content {
    transform: scale(1.2);
  }
  
  .hero-visual {
    height: 500px;
  }
}

/* 打印样式 */
@media print {
  .doc-sidebar,
  .doc-menu-toggle,
  .sidebar-overlay {
    display: none !important;
  }
  
  .doc-container {
    flex-direction: column;
  }
  
  .doc-content {
    width: 100%;
    padding: 0;
  }
  
  .doc-body {
    font-size: 12pt;
    line-height: 1.5;
  }
  
  .doc-body a {
    color: #000;
    text-decoration: underline;
  }
  
  .doc-body a:after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #666;
  }
}

/* section-content 移动端适配样式 */
@media (max-width: 768px) {
  .section-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem;
    box-sizing: border-box;
    overflow-x: hidden;
    word-wrap: break-word;
  }
  
  .section-p,
  .section-content p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0.8rem 0;
    padding: 0 0.5rem;
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  
  .section-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
  }
  
  .section-content table {
    width: 100%;
    font-size: 12px;
    overflow-x: auto;
    display: block;
    white-space: nowrap;
  }
  
  .section-content blockquote {
    margin: 1rem 0;
    padding: 0.8rem;
    border-left: 3px solid #007bff;
    background-color: #f8f9fa;
    font-size: 13px;
  }
}

/* 小屏幕优化 (480px以下) */
@media (max-width: 480px) {
  .section-content {
    padding: 0.8rem;
    margin: 0;
  }
  
  .section-p,
  .section-content p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0.6rem 0;
    padding: 0 0.3rem;
  }
  
  .section-content h1,
  .section-content h2,
  .section-content h3 {
    padding: 0 0.3rem;
    word-break: break-word;
  }
}

/* 极小屏幕优化 (360px以下) */
@media (max-width: 360px) {
  .section {
    padding: 0.5rem;
  }
  
  .section-content {
    padding: 0.5rem;
    margin: 0;
    max-width: 100%;
  }
  
  .section-p,
  .section-content p {
    font-size: 12px;
    line-height: 1.4;
    margin: 0.5rem 0;
    padding: 0 0.2rem;
  }
  
  .section-content h1,
  .section-content h2,
  .section-content h3 {
    padding: 0 0.2rem;
    word-break: break-word;
  }
  
  .section-content ul,
  .section-content ol {
    padding-left: 1.2rem;
  }
  
  .section-content li {
    font-size: 12px;
    line-height: 1.4;
    margin: 0.3rem 0;
  }
}