/* ========================================
   2025移动端设计 - 真实最佳实践
   基于: Apple, Linear, 拇指区域原则
   ======================================== */

@media (max-width: 768px) {
  
  /* ===== 启用底部导航栏 ===== */
  .mobile-bottom-nav { display: flex !important; }
  
  /* ===== 全局重置与基础 - 最高优先级 ===== */
  * {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
  }
  
  /* ===== 基础重置 - 温和版本 ===== */
  html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    height: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  body {
    font-size: 16px;
    padding: 0 0 80px 0; /* 只保留底部导航空间 */
    margin: 0;
    background: linear-gradient(120deg, #b8d5ff, #c6f6d1); /* 保持网页版背景渐变 */
    overflow-x: hidden;
    overflow-y: auto;
    color: #1a1a1a;
    min-height: 100vh;
    height: auto;
    -webkit-overflow-scrolling: touch;
    position: static;
  }
  
  /* 防止 nav-open 状态卡住（万一 JS 没移除） */
  body.nav-open {
    overflow-y: auto !important;
  }

  body.standalone-mode {
    padding-top: 0 !important;
  }
  
  /* ===== 修复顶部空白 - 针对特定元素，避免影响布局 ===== */
  /* 注意：不能对所有元素设置margin-top:0，会影响内部布局 */
  .hero-section,
  .hero-slides,
  .hero-slide,
  main,
  .main,
  section:first-of-type {
    margin-top: 0 !important;
  }
  
  /* 开场动画完全覆盖屏幕，不留空白 */
  .intro-overlay {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: fixed !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100svh !important;
  }
  
  .intro-background {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  /* 开场动画文字在移动端的优化 */
  .intro-text h1 {
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
  }
  
  .intro-text p {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
  }
  
  /* 主内容区域 - 保持原有功能 */
  main,
  .main {
    margin: 0;
    padding: 0;
    background: transparent;
    width: 100%;
    max-width: 100%;
  }
  
  /* ===== 隐藏桌面端元素和背景渐变 ===== */
  .hero-tabs,
  .hero-search-box,
  .hero-pill-bar,
  .background-gradient {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    z-index: -9999 !important;
  }
  
  /* 保留侧边栏，但隐藏在屏幕外 */
  .sidebar {
    transform: translateX(-100%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: all 0.3s ease !important;
  }
  
  /* 当nav-open时显示侧边栏 */
  body.nav-open .sidebar {
    transform: translateX(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 1000 !important;
  }
  
  /* 移动端侧边栏遮罩 - 不使用模糊效果 */
  body.nav-open::before {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.4) !important;
    z-index: 999 !important;
    /* 不使用backdrop-filter，避免模糊 */
  }
  
  /* 隐藏原来的sidebar-expand-btn，使用系统的sidebar-toggle */
  .sidebar-expand-btn {
    display: none !important;
  }
  
  /* 显示并美化系统的sidebar-toggle按钮 */
  .sidebar-toggle {
    display: flex !important;
    position: fixed !important;
    top: 1rem !important;
    right: 1rem !important;
    width: 48px !important;
    height: 48px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    z-index: 9999 !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 3px !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
  }
  
  .sidebar-toggle span {
    width: 20px !important;
    height: 2px !important;
    background: #1a1a1a !important;
    border-radius: 1px !important;
    transition: all 0.3s ease !important;
  }
  
  .sidebar-toggle:active {
    transform: scale(0.95) !important;
    background: rgba(255, 255, 255, 0.95) !important;
  }
  
  /* ===== Hero区域 - 完全贴顶，无任何空白 ===== */
  .hero-section,
  .about-hero {
    height: 70vh !important;
    min-height: 500px !important;
    max-height: 700px !important;
    border-radius: 0 !important;
    margin: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding-bottom: 3rem !important;
    overflow: hidden !important;
    z-index: 1 !important;
  }
  
  /* 强制轮播图容器贴顶 */
  .hero-slides {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  .hero-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  /* Hero强渐变遮罩 - 顶部完全透明，只在底部有渐变 */
  .hero-section::after {
    content: '';
    position: absolute;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 40%,
      rgba(0, 0, 0, 0.2) 70%,
      rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
    pointer-events: none;
  }
  
  .hero-content {
    position: relative !important;
    z-index: 2 !important;
    padding: 0 2rem !important;
    text-align: center !important;
    max-width: 100% !important;
  }
  
  .hero-title {
    font-size: 3rem !important;
    line-height: 1.1 !important;
    margin-bottom: 1.5rem !important;
    font-weight: 900 !important;
    color: #fff !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
    letter-spacing: -0.03em !important;
  }
  
  .hero-subtitle {
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4) !important;
    font-weight: 400 !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  /* Hero指示器 - 极简风格 */
  .hero-indicators {
    bottom: 4rem !important;
    z-index: 3 !important;
  }
  
  .hero-indicator {
    width: 6px !important;
    height: 6px !important;
    margin: 0 5px !important;
    background: rgba(255, 255, 255, 0.4) !important;
    border: none !important;
    transition: all 0.3s ease !important;
  }
  
  .hero-indicator.active {
    background: #fff !important;
    width: 32px !important;
    height: 6px !important;
    border-radius: 3px !important;
  }
  
  /* ===== 主内容区域 - 完全透明，不遮挡hero图片 ===== */
  .main {
    margin: 0 !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
    border-radius: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    background: transparent !important; /* 完全透明，让hero图片完全显示 */
    box-shadow: none !important;
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    z-index: 2 !important;
  }

  /* Section 统一卡片间距（移动端） */
  section {
    margin: 1.5rem 1rem !important;
    padding: 2rem 1.5rem !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  }
  
  section:first-of-type {
    margin-top: 0 !important;
    z-index: 10 !important;
    position: relative !important;
  }

  /* ===== 数据中心卡片（Apple风格） ===== */
  .dc-card {
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 20px !important;
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    padding: 1.5rem !important;
    margin: 1rem 0 !important;
    width: 100% !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
  }

  .dc-card h4 {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin: 0 0 0.5rem !important;
  }

  .dc-card p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    color: #4a5568 !important;
    margin: 0 0 1rem !important;
  }

  .dc-card .server-metrics {
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    padding-top: 1rem !important;
    gap: 1rem !important;
    display: flex !important;
    justify-content: space-between !important;
  }

  .dc-card .server-metrics .metric-num {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
  }

  .dc-card .server-metrics span:last-child {
    color: #666 !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.01em !important;
  }
  
  /* 数据中心网格在移动端单列显示 */
  .dc-cards {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }
  
  /* Section标题 */
  section h2 {
    font-size: 1.75rem !important;
    margin-bottom: 1rem !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
  }
  
  .eyebrow {
    font-size: 0.75rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #666 !important;
    font-weight: 600 !important;
    margin-bottom: 0.75rem !important;
  }
  
  /* ===== 卡片网格 ===== */
  .story-grid,
  .vision-row,
  .timeline-grid,
  .contact-grid,
  .service-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }
  
  /* ===== 卡片设计 - 清晰透明效果 ===== */
  .story-panel,
  .timeline-item,
  .contact-card,
  .service-card,
  .company-overview-card {
    padding: 1.75rem !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 
      0 4px 20px rgba(0, 0, 0, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
  
  /* 卡片按下效果 */
  .story-panel:active,
  .timeline-item:active,
  .contact-card:active,
  .service-card:active {
    transform: translateY(-2px) !important;
    box-shadow: 
      0 8px 30px rgba(0, 0, 0, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  }
  
  /* 愿景卡片 - 保留渐变但增强 */
  .vision-card {
    padding: 2rem !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 
      0 12px 40px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
  }
  
  /* 卡片标题 */
  .story-panel h3,
  .timeline-item h3,
  .contact-card h3,
  .service-card h3 {
    font-size: 1.25rem !important;
    margin-bottom: 0.75rem !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em !important;
  }
  
  /* 愿景卡片标题保持白色 */
  .vision-card h3 {
    font-size: 1.35rem !important;
    margin-bottom: 0.75rem !important;
    color: #fff !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em !important;
  }
  
  /* 卡片文本 */
  .story-panel p,
  .timeline-item p,
  .contact-card p,
  .service-card p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: #4a5568 !important;
    margin: 0 !important;
  }
  
  /* 愿景卡片文本保持白色 */
  .vision-card p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 !important;
  }
  
  .vision-card h3,
  .vision-card p {
    color: #fff !important;
  }
  
  /* ===== 详情页 - 简单修复 ===== */
  .detail-page {
    padding: 1rem !important;
    background: linear-gradient(120deg, #b8d5ff, #c6f6d1) !important;
    min-height: 100vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  /* 确保详情页内容可见 */
  .detail-page.with-breadcrumb {
    padding-top: 70px !important; /* 为面包屑留出空间 */
  }
  
  .detail-header {
    padding: 6rem 2rem 3rem !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 0 0 24px 24px !important;
    margin-bottom: 2rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  }
  
  .detail-header h1 {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    letter-spacing: -0.02em !important;
  }
  
  .detail-subtitle {
    font-size: 1.1rem !important;
    color: #4a5568 !important;
    line-height: 1.6 !important;
  }
  
  .detail-content {
    padding: 0 !important;
  }
  
  .detail-article {
    padding: 2rem !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 24px !important;
    margin: 0 1rem 2rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
  }
  
  .detail-article h2 {
    font-size: 1.75rem !important;
    margin: 2rem 0 1rem !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
  }
  
  .detail-article h2:first-child {
    margin-top: 0 !important;
  }
  
  .detail-article h3 {
    font-size: 1.4rem !important;
    margin: 1.5rem 0 0.75rem !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
  }
  
  .detail-article p {
    font-size: 1rem !important;
    line-height: 1.7 !important;
    color: #4a5568 !important;
    margin-bottom: 1.25rem !important;
  }
  
  .detail-article ul,
  .detail-article ol {
    padding-left: 1.5rem !important;
    margin-bottom: 1.25rem !important;
  }
  
  .detail-article li {
    font-size: 1rem !important;
    line-height: 1.7 !important;
    color: #4a5568 !important;
    margin-bottom: 0.5rem !important;
  }
  
  /* 产品功能卡片 - 强制单列显示 */
  .detail-article > div[style*="grid-template-columns"],
  .detail-article div[style*="grid-template-columns"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
    grid-template-columns: none !important;
  }
  
  .detail-article > div > div,
  .detail-article div > div {
    padding: 1.5rem !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    margin-bottom: 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* 确保所有详情页内容可见 */
  .detail-page * {
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .detail-page .detail-content,
  .detail-page .detail-article,
  .detail-page .detail-header {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* ===== 返回按钮 - 清晰可见设计 ===== */
  .back-btn {
    position: fixed !important;
    top: 2rem !important;
    left: 1.5rem !important;
    padding: 0.75rem 1.25rem !important;
    font-size: 0.9rem !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    color: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    z-index: 1001 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }
  
  .back-btn:active {
    transform: scale(0.95) !important;
    background: rgba(255, 255, 255, 0.95) !important;
  }
  
  .back-btn svg {
    width: 18px !important;
    height: 18px !important;
    stroke: #1a1a1a !important;
  }
  
  /* ===== 底部导航栏 - 与整体风格一致的玻璃拟态设计 ===== */
  .mobile-bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 75px !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding: 0.75rem 0.5rem !important;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom)) !important;
    z-index: 1000 !important;
    box-shadow: 
      0 -4px 20px rgba(0, 0, 0, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  }
  
  .mobile-bottom-nav .nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    color: #4a5568 !important;
    text-decoration: none !important;
    padding: 0.6rem 0.5rem !important;
    border-radius: 16px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex: 1 !important;
    text-align: center !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    cursor: pointer !important;
  }
  
  .mobile-bottom-nav .nav-item svg {
    width: 24px !important;
    height: 24px !important;
    stroke-width: 2 !important;
    transition: all 0.3s ease !important;
  }
  
  .mobile-bottom-nav .nav-item span {
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
  }
  
  .mobile-bottom-nav .nav-item.active {
    color: #1a1a1a !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 
      0 2px 8px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-2px) !important;
  }
  
  .mobile-bottom-nav .nav-item.active svg {
    transform: scale(1.1) !important;
  }
  
  .mobile-bottom-nav .nav-item:active {
    transform: scale(0.95) translateY(-1px) !important;
    background: rgba(255, 255, 255, 0.95) !important;
  }
  
  /* 桌面端隐藏底部导航 */
  @media (min-width: 769px) {
    .mobile-bottom-nav {
      display: none !important;
    }
  }
  
  /* ===== CTA按钮 - 渐变设计 ===== */
  .cta-box {
    padding: 3rem 2rem !important;
    border-radius: 32px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #fff !important;
    margin: 2rem 1rem !important;
    box-shadow: 0 16px 48px rgba(102, 126, 234, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
  }
  
  .cta-box h3 {
    font-size: 1.75rem !important;
    color: #fff !important;
    font-weight: 800 !important;
    margin-bottom: 1rem !important;
    letter-spacing: -0.01em !important;
  }
  
  .cta-box p {
    font-size: 1.05rem !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 2rem !important;
    line-height: 1.6 !important;
  }
  
  .cta-box button,
  .contact-btn {
    padding: 1.1rem 2.5rem !important;
    font-size: 1.05rem !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #667eea !important;
    border: none !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.2s ease !important;
  }
  
  .cta-box button:active,
  .contact-btn:active {
    transform: scale(0.96) !important;
  }
  
  /* ===== 联系卡片特殊样式 ===== */
  .contact-card {
    text-align: center !important;
  }
  
  .contact-icon {
    width: 56px !important;
    height: 56px !important;
    margin: 0 auto 1rem !important;
    background: rgba(10, 74, 182, 0.1) !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(10, 74, 182, 0.2) !important;
  }
  
  .contact-icon svg {
    width: 28px !important;
    height: 28px !important;
    stroke: #0a4ab6 !important;
  }
  
  .contact-detail {
    font-size: 1.1rem !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
    margin: 0.75rem 0 0.5rem !important;
  }
  
  .contact-desc {
    font-size: 0.9rem !important;
    color: #666 !important;
  }
  
  /* ===== 页脚 - 与整体风格一致 ===== */
  footer {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    padding: 3rem 2rem 8rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
    margin-top: 2rem !important;
  }
  
  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 2.5rem !important;
  }
  
  .footer-col h4 {
    font-size: 1.1rem !important;
    margin-bottom: 1.25rem !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
  }
  
  .footer-links li,
  .footer-contact li {
    font-size: 0.95rem !important;
    line-height: 2.2 !important;
    color: #4a5568 !important;
  }
  
  .footer-links a,
  .footer-contact a {
    color: #4a5568 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
  }
  
  .footer-links a:hover,
  .footer-contact a:hover {
    color: #1a1a1a !important;
  }
  
  .footer-bottom {
    margin-top: 2.5rem !important;
    padding-top: 2rem !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    text-align: center !important;
    color: #666 !important;
  }
  
  /* ===== 联系表单 - 与整体风格一致 ===== */
  .contact-modal {
    background: rgba(0, 0, 0, 0.5) !important;
  }
  
  .contact-modal-content {
    width: 95vw !important;
    max-width: 95vw !important;
    max-height: 85vh !important;
    padding: 2rem 1.5rem !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    transform: scale(1) translateY(0) !important;
  }
  
  .contact-modal-header h2,
  .modal-header h2 {
    font-size: 1.75rem !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
    margin-bottom: 0.75rem !important;
  }
  
  .contact-modal-subtitle {
    color: #4a5568 !important;
    font-size: 0.9rem !important;
  }
  
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  
  .form-group label {
    font-size: 0.95rem !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
  }
  
  .form-group label .required {
    color: #dc2626 !important;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 1rem !important;
    padding: 1rem !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    color: #1a1a1a !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
  }
  
  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: #666 !important;
  }
  
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    border-color: #0a4ab6 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 0 0 3px rgba(10, 74, 182, 0.1) !important;
    outline: none !important;
  }
  
  .submit-btn {
    padding: 1.1rem !important;
    font-size: 1rem !important;
    border-radius: 12px !important;
    background: #0a4ab6 !important;
    color: #fff !important;
    font-weight: 600 !important;
    border: none !important;
    width: 100% !important;
    box-shadow: 0 4px 16px rgba(10, 74, 182, 0.3) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
  }
  
  .submit-btn:hover {
    background: #0940a3 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(10, 74, 182, 0.4) !important;
  }
  
  .submit-btn:active {
    transform: translateY(0) scale(0.98) !important;
  }
  
  /* ===== 联系表单额外修复 ===== */
  .contact-modal-close {
    background: rgba(0, 0, 0, 0.1) !important;
    color: #1a1a1a !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: none !important;
    font-size: 1.2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 1rem !important;
    right: 1rem !important;
    z-index: 10 !important;
  }
  
  .contact-modal-close:active {
    background: rgba(0, 0, 0, 0.2) !important;
    transform: scale(0.95) !important;
  }
  
  /* 表单按钮区域 */
  .form-actions {
    display: flex !important;
    gap: 1rem !important;
    margin-top: 1.5rem !important;
  }
  
  .btn-secondary {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #1a1a1a !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    padding: 1rem !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    flex: 1 !important;
  }
  
  .btn-secondary:active {
    background: rgba(0, 0, 0, 0.1) !important;
    transform: scale(0.98) !important;
  }
  
  /* ===== 回到顶部按钮 ===== */
  .back-to-top {
    width: 56px !important;
    height: 56px !important;
    bottom: 5.5rem !important;
    right: 1.5rem !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
    border-radius: 28px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
  }
  
  .back-to-top svg {
    width: 24px !important;
    height: 24px !important;
    stroke: #fff !important;
  }
  
  .back-to-top:active {
    transform: scale(0.9) !important;
  }
  
  /* ===== 图片优化 ===== */
  .detail-hero-img,
  img {
    width: 100% !important;
    height: auto !important;
    max-height: 400px !important;
    object-fit: cover !important;
    border-radius: 24px !important;
    margin-bottom: 2rem !important;
  }
  
  /* ===== 公司介绍卡片 ===== */
  .company-intro-content {
    padding: 0 !important;
  }
  
  .company-overview-card {
    padding: 2rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .company-overview-card h3 {
    font-size: 1.4rem !important;
    color: #fff !important;
  }
  
  .company-overview-card p {
    font-size: 1rem !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.8) !important;
  }
}

/* ===== 小手机优化 (≤480px) ===== */
@media (max-width: 480px) {
  body {
    font-size: 15px !important;
  }
  
  .hero-title {
    font-size: 2.5rem !important;
  }
  
  .hero-subtitle {
    font-size: 1.05rem !important;
  }
  
  section {
    margin: 1.5rem 0.75rem !important;
    padding: 2rem 1.5rem !important;
    border-radius: 28px !important;
  }
  
  section h2 {
    font-size: 1.75rem !important;
  }
  
  .story-panel,
  .vision-card,
  .timeline-item,
  .contact-card,
  .service-card {
    padding: 1.75rem !important;
    border-radius: 20px !important;
  }
}


/* ===== merged from mobile-fix.css ===== */
/* ========================================
   移动端温和修复 - 保持功能完整性
   ======================================== */

@media (max-width: 768px) {
  /* 基础重置 */
  html, body {
    margin: 0;
    padding: 0;
  }
  
  /* 只修复body的顶部间距 */
  body {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  
  /* 轻微修复Hero区域 */
  .hero-section,
  .about-hero {
    margin-top: 0;
  }
}

/* ===== merged from mobile-hero-fix.css ===== */
/* ========================================
   移动端轮播图顶部空白终极修复
   ======================================== */

@media (max-width: 768px) {
  /* 最高优先级：强制轮播图贴顶 */
  .hero-section,
  .about-hero {
    position: relative !important;
    top: 0 !important;
    margin: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
    border-radius: 0 !important;
    transform: translateY(0) !important;
  }
  
  /* 轮播图容器完全填充 */
  .hero-slides {
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }
  
  /* 每个轮播图片完全填充 */
  .hero-slide {
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }
  
  /* 强制移除任何可能的变换 */
  .hero-section *,
  .about-hero * {
    transform: none !important;
  }
  
  /* 确保hero内容正确定位 */
  .hero-header,
  .hero-content {
    position: relative !important;
    z-index: 10 !important;
    margin-top: auto !important;
  }
}

/* ===== merged from mobile-ux-fixes.css ===== */
/* ========================================
   移动端UX修复 - 世界级标准
   基于: iOS HIG, Material Design, WCAG 2.1
   ======================================== */

@media (max-width: 768px) {
  
  /* ===== 1. 触摸交互优化 ===== */
  
  /* 恢复触摸反馈，但更精致 */
  * {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.05) !important;
  }
  
  /* 按钮触摸反馈 */
  button, .nav-item, .back-btn, .sidebar-toggle {
    -webkit-tap-highlight-color: rgba(59, 130, 246, 0.1) !important;
    transition: all 0.15s ease !important;
  }
  
  /* 触摸时的微妙缩放反馈 */
  button:active, .nav-item:active, .back-btn:active {
    transform: scale(0.98) !important;
    transition: transform 0.1s ease !important;
  }
  
  /* ===== 2. 可访问性增强 ===== */
  
  /* 恢复Focus状态，但美化 */
  *:focus {
    outline: 2px solid rgba(59, 130, 246, 0.6) !important;
    outline-offset: 2px !important;
    border-radius: 4px !important;
  }
  
  /* 键盘导航支持 */
  .mobile-bottom-nav .nav-item:focus {
    background: rgba(59, 130, 246, 0.1) !important;
    outline: 2px solid #3b82f6 !important;
  }
  
  /* Skip链接 */
  .skip-to-main {
    position: absolute !important;
    left: -9999px !important;
    top: 0 !important;
    z-index: 9999 !important;
    padding: 1rem !important;
    background: #3b82f6 !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 0 0 8px 0 !important;
  }
  
  .skip-to-main:focus {
    left: 0 !important;
  }
  
  /* ===== 3. 触摸目标优化 ===== */
  
  /* 确保所有触摸目标至少44x44px (Apple标准) */
  .mobile-bottom-nav .nav-item {
    min-height: 44px !important;
    min-width: 44px !important;
    padding: 0.75rem 0.5rem !important;
  }
  
  .sidebar-toggle {
    min-height: 44px !important;
    min-width: 44px !important;
  }
  
  .back-btn {
    min-height: 44px !important;
    padding: 0.75rem 1.5rem !important;
  }
  
  /* ===== 4. 滚动体验优化 ===== */
  
  /* iOS风格的弹性滚动 */
  body, .main, .detail-page {
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
  }
  
  /* 防止过度滚动 */
  .mobile-bottom-nav {
    overscroll-behavior: none !important;
  }
  
  /* ===== 5. 加载状态优化 ===== */
  
  /* 骨架屏动画 */
  @keyframes skeleton-loading {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
  }
  
  .skeleton-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%) !important;
    background-size: 200px 100% !important;
    animation: skeleton-loading 1.5s infinite !important;
  }
  
  /* 图片懒加载占位符 */
  img[loading="lazy"] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%) !important;
    background-size: 200px 100% !important;
    animation: skeleton-loading 1.5s infinite !important;
  }
  
  img[loading="lazy"].loaded {
    animation: none !important;
    background: none !important;
  }
  
  /* ===== 6. 错误状态处理 ===== */
  
  /* 网络错误提示 */
  .network-error {
    position: fixed !important;
    top: 1rem !important;
    left: 1rem !important;
    right: 1rem !important;
    background: #ef4444 !important;
    color: white !important;
    padding: 1rem !important;
    border-radius: 12px !important;
    z-index: 9999 !important;
    text-align: center !important;
    transform: translateY(-100px) !important;
    transition: transform 0.3s ease !important;
  }
  
  .network-error.show {
    transform: translateY(0) !important;
  }
  
  /* ===== 7. 手势支持 ===== */
  
  /* 侧滑返回手势区域 */
  .swipe-back-area {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    width: 20px !important;
    height: 100vh !important;
    z-index: 999 !important;
    pointer-events: auto !important;
  }
  
  /* 详情页侧滑指示器 */
  .detail-page::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    width: 4px !important;
    height: 40px !important;
    background: rgba(255, 255, 255, 0.3) !important;
    border-radius: 0 4px 4px 0 !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
  }
  
  /* ===== 8. 性能优化 ===== */
  
  /* GPU加速关键元素 */
  .mobile-bottom-nav,
  .sidebar-toggle,
  .hero-slides,
  .detail-page {
    transform: translateZ(0) !important;
    will-change: transform !important;
  }
  
  /* 减少重绘 */
  .mobile-bottom-nav .nav-item {
    contain: layout style paint !important;
  }
  
  /* ===== 9. 深色模式支持 ===== */
  
  @media (prefers-color-scheme: dark) {
    .skeleton-loading {
      background: linear-gradient(90deg, #2a2a2a 25%, #1a1a1a 50%, #2a2a2a 75%) !important;
    }
    
    .network-error {
      background: #dc2626 !important;
    }
  }
  
  /* ===== 10. 减少动画偏好支持 ===== */
  
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    
    .skeleton-loading {
      animation: none !important;
    }
  }
}

/* ===== 横屏优化 ===== */
@media (max-width: 768px) and (orientation: landscape) {
  .mobile-bottom-nav {
    height: 60px !important;
    padding: 0.5rem 0.5rem !important;
  }
  
  .mobile-bottom-nav .nav-item span {
    font-size: 0.6rem !important;
  }
  
  .hero-section {
    height: 50vh !important;
    min-height: 300px !important;
  }
}

/* ===== merged from mobile-datacenter-fix.css ===== */
/* 移动端数据中心字体修复 */
@media (max-width: 768px) {
  /* 数据中心状态栏字体放大 */
  .dc-status-text {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
  }
  
  .dc-timestamp {
    font-size: 1rem !important;
    color: #374151 !important;
    font-weight: 500 !important;
  }
  
  .dc-server-text,
  .dc-center-text {
    font-size: 1rem !important;
    color: #374151 !important;
    font-weight: 500 !important;
  }
  
  /* 数据中心整体布局优化 */
  .datacenter-section .dc-container > div:first-child {
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: flex-start !important;
    padding: 1rem !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 12px !important;
    margin-bottom: 1rem !important;
  }
  
  .datacenter-section .dc-container > div:first-child > div:last-child {
    width: 100% !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    align-items: flex-start !important;
  }
  
  /* 状态指示器放大 */
  .datacenter-section span[style*="width: 10px"] {
    width: 14px !important;
    height: 14px !important;
  }
  
  .datacenter-section span[style*="width: 6px"] {
    width: 10px !important;
    height: 10px !important;
  }
  
  /* 主卡片区移动端优化 */
  .datacenter-section .dc-container > div:last-child {
    padding: 1.5rem 1rem !important;
    margin: 0 0.5rem !important;
  }
  
  /* 节点卡片移动端布局 */
  .datacenter-section .dc-cards {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  /* 确保所有文字在移动端都清晰可见 */
  .datacenter-section * {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
  }
}

/* 移动端全局小字体修复 */
@media (max-width: 768px) {
  /* 强制所有小字体在移动端都足够大 */
  span[style*="font-size: 0.75rem"],
  span[style*="font-size: 0.85rem"] {
    font-size: 1rem !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
  }
  
  /* 特别针对数据中心部分的字体 */
  .datacenter-section span[style*="font-size"] {
    font-size: 1rem !important;
    color: #1f2937 !important;
    font-weight: 500 !important;
  }
}

/* ===== merged from mobile-ultimate.css ===== */
/* ========================================
   移动端终极优化 - 2025顶尖设计标准
   ======================================== */

@media (max-width: 768px) {
  
  /* ===== 1. 全局字体和缩放优化 ===== */
  html {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100% !important;
    -ms-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
  }
  
  body {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif !important;
  }
  
  /* ===== 2. 禁止用户缩放（可选，保持体验一致） ===== */
  * {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  
  /* ===== 3. 所有文字清晰可见 ===== */
  p, span, a, li, div, h1, h2, h3, h4, h5, h6, label, input, textarea, button {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
  }
  
  /* 最小字体大小保证 */
  p, span, a, li {
    font-size: max(0.875rem, 14px) !important;
    line-height: 1.5 !important;
  }
  
  /* 标题字体 */
  h1 { font-size: 1.75rem !important; font-weight: 700 !important; }
  h2 { font-size: 1.5rem !important; font-weight: 600 !important; }
  h3 { font-size: 1.25rem !important; font-weight: 600 !important; }
  
  /* ===== 4. 侧边栏优化 ===== */
  .sidebar {
    width: 85vw !important;
    max-width: 320px !important;
    padding: 1.5rem !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  /* 侧边栏导航链接 */
  .sidebar .nav-section ul li a {
    display: block !important;
    padding: 0.875rem 1rem !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #1f2937 !important;
    border-radius: 8px !important;
    transition: background 0.2s ease !important;
  }
  
  .sidebar .nav-section ul li a:hover,
  .sidebar .nav-section ul li a:active {
    background: rgba(59, 130, 246, 0.1) !important;
    color: #2563eb !important;
  }
  
  /* 侧边栏标签 - 与菜单项保持一致 */
  .sidebar .nav-label {
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: rgba(100, 120, 150, 0.7) !important;
    letter-spacing: 0.15em !important;
    margin-bottom: 0.4rem !important;
  }
  
  /* ===== 5. 底部导航优化 ===== */
  .mobile-bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 64px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding: 0 !important;
    padding-bottom: env(safe-area-inset-bottom, 0) !important;
    z-index: 9999 !important;
  }
  
  .mobile-bottom-nav .nav-item {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.5rem !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    color: #6b7280 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
  }
  
  .mobile-bottom-nav .nav-item.active,
  .mobile-bottom-nav .nav-item:active {
    color: #2563eb !important;
  }
  
  .mobile-bottom-nav .nav-item svg {
    width: 24px !important;
    height: 24px !important;
    margin-bottom: 4px !important;
  }
  
  /* ===== 6. 主内容区域 ===== */
  .main {
    padding-bottom: 80px !important; /* 为底部导航留空间 */
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  /* ===== 7. 卡片和内容块 ===== */
  .timeline-section,
  .datacenter-section,
  .cases-section,
  .news-section,
  .honors-section,
  .faq-section {
    padding: 1.5rem 1rem !important;
    margin: 0 !important;
  }
  
  .timeline-section header,
  section header {
    text-align: center !important;
    margin-bottom: 1.5rem !important;
  }
  
  .eyebrow {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #2563eb !important;
    margin-bottom: 0.5rem !important;
  }
  
  /* ===== 8. 数据中心状态栏字体优化 ===== */
  .datacenter-section .dc-container > div:first-child {
    flex-direction: column !important;
    gap: 0.75rem !important;
    padding: 1rem !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 12px !important;
    margin-bottom: 1rem !important;
  }
  
  .datacenter-section span[style*="font-size"] {
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    color: #374151 !important;
  }
  
  .dc-status-text {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
  }
  
  .dc-timestamp,
  .dc-server-text,
  .dc-center-text {
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    color: #4b5563 !important;
  }
  
  /* ===== 9. 触摸目标优化（至少44x44px） ===== */
  button,
  a,
  .nav-item,
  input[type="button"],
  input[type="submit"] {
    min-height: 44px !important;
    min-width: 44px !important;
  }
  
  /* ===== 10. 轮播图优化 ===== */
  .hero-section,
  .about-hero {
    border-radius: 0 !important;
    margin: 0 !important;
  }
  
  .hero-slides {
    border-radius: 0 !important;
  }
  
  /* ===== 11. 网格布局移动端适配 ===== */
  .timeline-grid,
  .dc-cards,
  .cases-grid,
  .news-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  /* ===== 12. 社交媒体图标 ===== */
  .social-links {
    display: flex !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
  }
  
  .social-links a {
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(59, 130, 246, 0.1) !important;
    border-radius: 12px !important;
    transition: all 0.2s ease !important;
  }
  
  .social-links a:active {
    transform: scale(0.95) !important;
    background: rgba(59, 130, 246, 0.2) !important;
  }
  
  .social-links a svg {
    width: 20px !important;
    height: 20px !important;
    color: #2563eb !important;
  }
  
  /* ===== 13. 滚动条美化 ===== */
  ::-webkit-scrollbar {
    width: 4px !important;
    height: 4px !important;
  }
  
  ::-webkit-scrollbar-track {
    background: transparent !important;
  }
  
  ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 4px !important;
  }
  
  /* ===== 14. 安全区域适配（iPhone X+） ===== */
  body {
    padding-top: env(safe-area-inset-top, 0) !important;
    padding-left: env(safe-area-inset-left, 0) !important;
    padding-right: env(safe-area-inset-right, 0) !important;
  }
  
  /* ===== 15. 动画性能优化 ===== */
  .sidebar,
  .mobile-bottom-nav,
  .hero-slide {
    will-change: transform, opacity !important;
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
  }
}

/* ===== 平板适配（769px - 1024px）===== */
@media (min-width: 769px) and (max-width: 1024px) {
  /* 平板使用桌面布局 */
  .sidebar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
    position: fixed !important;
    left: 1rem !important;
    top: 1rem !important;
    width: 200px !important;
  }
  
  .main {
    margin-left: 220px !important;
  }
  
  .mobile-bottom-nav,
  .sidebar-toggle {
    display: none !important;
  }
}

/* ===== merged from mobile-footer-fix.css ===== */
/* ========================================
   移动端Footer布局优化 - 消除右侧空白
   ======================================== */

@media (max-width: 768px) {
  
  /* ===== 底部导航栏完全填满屏幕 ===== */
  .mobile-bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    margin: 0 !important;
    padding: 0.75rem 0 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1) !important;
    z-index: 1000 !important;
    /* 确保完全贴合屏幕边缘 */
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
  }
  
  .mobile-bottom-nav .nav-item {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.5rem 0.25rem !important;
    margin: 0 !important;
    color: #666 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    min-height: 60px !important;
    border-radius: 0 !important;
  }
  
  .mobile-bottom-nav .nav-item.active {
    color: #2563eb !important;
    background: rgba(37, 99, 235, 0.1) !important;
  }
  
  .mobile-bottom-nav .nav-item svg {
    width: 24px !important;
    height: 24px !important;
    margin-bottom: 0.25rem !important;
  }
  
  .mobile-bottom-nav .nav-item span {
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    text-align: center !important;
  }
  
  /* ===== Footer整体优化 ===== */
  footer {
    padding: 2rem 0 8rem !important; /* 底部留出导航栏空间 */
    margin: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }
  
  .footer-content {
    padding: 0 1rem !important; /* 只在内容区域添加padding */
    max-width: 100% !important;
    margin: 0 !important;
  }
  
  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    width: 100% !important;
  }
  
  /* ===== 快速链接部分优化 ===== */
  .footer-col {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .footer-col h4 {
    font-size: 1.2rem !important;
    margin-bottom: 1rem !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
    padding: 0 !important;
  }
  
  /* ===== 链接列表优化 - 充分利用宽度 ===== */
  .footer-links {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important; /* 两列布局 */
    gap: 0.75rem 1rem !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .footer-links li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .footer-links a {
    display: block !important;
    padding: 0.75rem 0 !important;
    font-size: 0.95rem !important;
    color: #4a5568 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border-radius: 8px !important;
    width: 100% !important;
  }
  
  .footer-links a:hover {
    color: #2563eb !important;
    background: rgba(37, 99, 235, 0.05) !important;
    transform: translateX(3px) !important;
  }
  
  /* ===== 联系方式优化 ===== */
  .footer-contact {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    width: 100% !important;
  }
  
  .footer-contact li {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.5rem 0 !important;
    font-size: 0.95rem !important;
    color: #4a5568 !important;
    width: 100% !important;
  }
  
  .footer-contact svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    color: #3b82f6 !important;
  }
  
  /* ===== 服务项目优化 ===== */
  .footer-col:nth-child(3) .footer-links {
    grid-template-columns: 1fr !important; /* 服务项目单列 */
  }
  
  /* ===== 底部版权信息优化 ===== */
  .footer-bottom {
    margin-top: 2rem !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    text-align: center !important;
    width: 100% !important;
  }
  
  .footer-bottom p {
    font-size: 0.85rem !important;
    color: #666 !important;
    margin: 0 !important;
  }
  
  /* ===== 品牌区域优化 ===== */
  .footer-brand {
    width: 100% !important;
    margin-bottom: 1rem !important;
  }
  
  .footer-logo {
    justify-content: flex-start !important;
    margin-bottom: 1rem !important;
  }
  
  .footer-tagline,
  .footer-desc {
    text-align: left !important;
    width: 100% !important;
  }
  
  /* ===== 确保没有横向滚动和完全填满屏幕 ===== */
  html, body {
    overflow-x: hidden !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }
  
  footer,
  .footer-content,
  .footer-grid,
  .footer-col {
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  
  /* ===== 确保底部导航栏在所有设备上完全填满 ===== */
  .mobile-bottom-nav {
    /* 使用viewport单位确保完全填满 */
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 100vw !important;
    /* 确保贴合屏幕边缘 */
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    /* 防止任何圆角或边框 */
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
  }
  
  /* ===== 修复"联系我们获取帮助"文字颜色 ===== */
  a[href="#contact"] {
    color: #1e40af !important; /* 深蓝色，确保在白色背景上清晰可见 */
    font-weight: 600 !important;
    text-decoration: none !important;
  }
  
  a[href="#contact"]:hover {
    color: #1d4ed8 !important; /* 悬停时更深的蓝色 */
  }
  
  /* ===== 修复帮助中心区域的文字对比度 ===== */
  .help-section,
  .faq-section {
    background: rgba(255, 255, 255, 0.95) !important;
  }
  
  .help-section p,
  .faq-section p {
    color: #374151 !important; /* 确保文字有足够对比度 */
  }
  
  .help-section a,
  .faq-section a {
    color: #1e40af !important;
    font-weight: 600 !important;
  }
  
  /* ===== 响应式优化 - 小屏幕 ===== */
  @media (max-width: 480px) {
    footer {
      padding: 1.5rem 0.75rem 8rem !important;
    }
    
    .footer-links {
      grid-template-columns: 1fr !important; /* 小屏幕单列 */
      gap: 0.5rem !important;
    }
    
    .footer-col h4 {
      font-size: 1.1rem !important;
    }
    
    .footer-links a,
    .footer-contact li {
      font-size: 0.9rem !important;
    }
  }
}

/* ===== 确保在所有移动设备上生效 ===== */
@media (max-width: 768px) and (orientation: portrait),
       (max-width: 1024px) and (orientation: landscape) and (max-height: 768px) {
  
  footer {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* ===== merged from tablet-fix.css ===== */
/* 平板适配 - 最小化修改 */
@media (min-width: 769px) {
  /* 隐藏移动端元素 */
  .mobile-bottom-nav,
  .mobile-header,
  .mobile-menu-btn,
  .sidebar-toggle {
    display: none !important;
  }
}


/* ===== merged from mobile-horizontal-layout.css ===== */
/* ========================================
   移动端横向滑动布局 - 英伟达风格
   ======================================== */

@media (max-width: 768px) {
  
  /* 1. 合作伙伴 - 横向滑动 */
  .partners-section .partners-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 1rem !important;
    padding: 1rem 0 !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  .partners-section .partner-card {
    flex: 0 0 280px !important;
    scroll-snap-align: start !important;
    height: 120px !important;
  }
  
  /* 2. 统计数据 - 横向滑动 */
  .statistics-section .stats-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 1rem !important;
    padding: 1rem 0 !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  .statistics-section .stat-card {
    flex: 0 0 200px !important;
    scroll-snap-align: start !important;
    height: 140px !important;
    padding: 1.5rem 1rem !important;
  }
  
  /* 3. 成功案例 - 横向滑动 */
  .cases-section .cases-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 1rem !important;
    padding: 1rem 0 !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  .cases-section .case-card {
    flex: 0 0 300px !important;
    scroll-snap-align: start !important;
    height: 200px !important;
  }
  
  /* 4. 新闻动态 - 横向滑动 */
  .news-section .news-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 1rem !important;
    padding: 1rem 0 !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  .news-section .news-card {
    flex: 0 0 280px !important;
    scroll-snap-align: start !important;
    height: 180px !important;
  }
  
  /* 5. 荣誉资质 - 横向滑动 */
  .honors-section .honors-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 1rem !important;
    padding: 1rem 0 !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  .honors-section .honor-card {
    flex: 0 0 160px !important;
    scroll-snap-align: start !important;
    height: 200px !important;
  }
  
  /* 6. 数据中心 - 横向滑动 */
  .datacenters-section .datacenters-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 1rem !important;
    padding: 1rem 0 !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  .datacenters-section .datacenter-card {
    flex: 0 0 220px !important;
    scroll-snap-align: start !important;
    height: 160px !important;
  }
  
  /* 7. 团队成员 - 横向滑动 */
  .team-section .team-grid,
  .team-section .team-members-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 1rem !important;
    padding: 1rem 0 !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  .team-section .team-card,
  .team-section .team-member-card {
    flex: 0 0 200px !important;
    scroll-snap-align: start !important;
    height: 280px !important;
  }
  
  /* 通用横向滑动样式 */
  .horizontal-scroll {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 1rem !important;
    padding: 1rem 0 !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  
  .horizontal-scroll::-webkit-scrollbar {
    display: none !important;
  }
  
  .horizontal-scroll-item {
    flex-shrink: 0 !important;
    scroll-snap-align: start !important;
  }
  
  /* 滑动指示器 */
  .scroll-indicator {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
    opacity: 0.8;
  }
  
  .scroll-indicator::before {
    content: "← 滑动查看更多 →";
  }
  
  /* 添加滑动指示器到各个section */
  .partners-section .partners-grid::after,
  .statistics-section .stats-grid::after,
  .cases-section .cases-grid::after,
  .news-section .news-grid::after,
  .honors-section .honors-grid::after,
  .datacenters-section .datacenters-grid::after,
  .team-section .team-grid::after,
  .team-section .team-members-grid::after {
    content: "";
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    border-radius: 1px;
  }
  
  /* 优化section间距 */
  .timeline-section {
    padding: 2rem 0 !important;
    margin: 1rem 0 !important;
  }
  
  /* 压缩section标题 */
  .timeline-section h2 {
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
  }
  
  .timeline-section .eyebrow {
    font-size: 0.75rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  /* 卡片通用样式优化 */
  .horizontal-scroll .card,
  .horizontal-scroll .partner-card,
  .horizontal-scroll .stat-card,
  .horizontal-scroll .case-card,
  .horizontal-scroll .news-card,
  .horizontal-scroll .honor-card,
  .horizontal-scroll .datacenter-card,
  .horizontal-scroll .team-card,
  .horizontal-scroll .team-member-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 12px !important;
    padding: 1rem !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.2s ease !important;
  }
  
  .horizontal-scroll .card:active,
  .horizontal-scroll .partner-card:active,
  .horizontal-scroll .stat-card:active,
  .horizontal-scroll .case-card:active,
  .horizontal-scroll .news-card:active,
  .horizontal-scroll .honor-card:active,
  .horizontal-scroll .datacenter-card:active,
  .horizontal-scroll .team-card:active,
  .horizontal-scroll .team-member-card:active {
    transform: scale(0.98) !important;
  }
  
  /* 渐变边缘效果 */
  .horizontal-scroll-container {
    position: relative;
    overflow: hidden;
  }
  
  .horizontal-scroll-container::before,
  .horizontal-scroll-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    z-index: 2;
    pointer-events: none;
  }
  
  .horizontal-scroll-container::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), transparent);
  }
  
  .horizontal-scroll-container::after {
    right: 0;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.8), transparent);
  }
  
  /* 特殊处理：愿景时间线保持垂直 */
  #unified-vision-timeline {
    /* 保持原有样式，不改为横向 */
  }
  
  /* 特殊处理：FAQ保持垂直 */
  .faq-section {
    /* 保持原有样式，不改为横向 */
  }
  
  /* 企业概况 - 压缩高度 */
  .company-overview {
    padding: 1.5rem 1rem !important;
    margin: 1rem 0 !important;
  }
  
  .company-overview p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1rem !important;
  }
  
}

/* 添加平滑滚动 */
@media (max-width: 768px) {
  html {
    scroll-behavior: smooth;
  }
  
  /* 优化触摸滚动 */
  .horizontal-scroll {
    scroll-behavior: smooth;
  }

  /* 移动端禁用右上角旧菜单按钮，只保留底部导航 */
  .sidebar-toggle {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* nav-open 状态在手机端不显示侧边栏和遮罩，防止卡住 */
  body.nav-open .sidebar {
    transform: translateX(-100%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.nav-open::before {
    content: none !important;
    display: none !important;
  }
}