/* 页脚样式重置与基础设置 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 页脚主体容器 */
body .footer {
  display: block !important;
  height: auto !important;
  width: 100% !important;
  z-index: 9999 !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
  color: #fff !important;
  padding: 60px 20px 30px !important;
  position: relative !important;
  overflow: visible !important;
  animation: fadeIn 1s ease-out !important;
}

/* 页脚装饰图案 */
body .footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: -1;
}

/* 页脚顶部区域 */
body .footer .footer-top {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 页脚顶部容器 */
body .footer .footer-top .footer-top-box {
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  gap: 20px !important;
  width: 100% !important;
  height: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 公司信息区域 */
body .footer .footer-top .footer-top-box .footer-company {
  flex: 1 !important;
  min-width: 250px !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 联系信息区域 */
body .footer .footer-top .footer-top-box .footer-contact {
  flex: 1 !important;
  min-width: 250px !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 二维码区域 */
body .footer .footer-top .footer-top-box .footer-qrcode {
  flex: 1 !important;
  min-width: 250px !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 公司信息内容 */
body .footer .footer-top .footer-top-box .footer-company .company-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 联系信息内容 */
body .footer .footer-top .footer-top-box .footer-contact .contact-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 二维码容器 */
body .footer .footer-top .footer-top-box .footer-qrcode .qrcode-container {
  text-align: center !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 页脚底部区域 */
body .footer .footer-bottom {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 30px !important;
  padding-top: 30px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* 页脚底部容器 */
body .footer .footer-bottom .footer-bottom-box {
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 20px !important;
  width: 100% !important;
  height: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 版权信息 */
body .footer .footer-bottom .footer-bottom-box .footer-copyright {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 社交媒体链接 */
body .footer .footer-bottom .footer-bottom-box .footer-social-links {
  display: flex !important;
  gap: 15px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 页脚标题 */
body .footer h3 {
  font-size: 20px !important;
  font-weight: 600 !important;
  margin-bottom: 20px !important;
  color: #fff !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid #667eea !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 页脚段落 */
body .footer p {
  color: rgba(255, 255, 255, 0.8) !important;
  margin-bottom: 10px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  word-break: break-word !important;
  white-space: normal !important;
}

/* 页脚图标 */
body .footer i {
  color: #667eea !important;
  margin-right: 12px !important;
  width: 18px !important;
  text-align: center !important;
  font-size: 16px !important;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 页脚链接 */
body .footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body .footer a:hover {
  color: #667eea !important;
  transform: translateX(3px) !important;
}

/* 二维码图片 */
body .footer .qrcode-container img {
  width: 140px !important;
  height: 140px !important;
  border: 3px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 10px !important;
  margin-bottom: 15px !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 社交媒体图标 */
body .footer .footer-social-links a {
  display: inline-block !important;
  width: 40px !important;
  height: 40px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 50% !important;
  text-align: center !important;
  line-height: 40px !important;
  transition: all 0.3s ease !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body .footer .footer-social-links a:hover {
  background: #667eea !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
}

body .footer .footer-social-links a i {
  margin-right: 0 !important;
  color: #fff !important;
  font-size: 18px !important;
}

body .footer .footer-social-links a:hover i {
  color: #fff !important;
}

/* 版权文本 */
body .footer .footer-copyright {
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.6) !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 桌面端样式 (769px以上) */
@media (min-width: 769px) {
  body .footer {
    padding: 60px 20px 30px !important;
  }
  
  body .footer .footer-top .footer-top-box {
    gap: 30px !important;
  }
  
  body .footer .footer-top .footer-top-box .footer-company,
  body .footer .footer-top .footer-top-box .footer-contact,
  body .footer .footer-top .footer-top-box .footer-qrcode {
    min-width: 300px !important;
  }
  
  body .footer h3 {
    font-size: 22px !important;
  }
  
  body .footer p {
    font-size: 15px !important;
  }
}

/* 移动设备样式 (768px以下) */
@media (max-width: 768px) {
  body .footer {
    padding: 40px 20px 20px !important;
  }
  
  body .footer .footer-top .footer-top-box {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  
  body .footer .footer-top .footer-top-box .footer-company,
  body .footer .footer-top .footer-top-box .footer-contact,
  body .footer .footer-top .footer-top-box .footer-qrcode {
    width: 100% !important;
    max-width: 300px !important;
  }
  
  body .footer .footer-top .footer-top-box .footer-company .company-info,
  body .footer .footer-top .footer-top-box .footer-contact .contact-info {
    align-items: center !important;
  }
  
  body .footer .footer-bottom .footer-bottom-box {
    flex-direction: column !important;
    gap: 15px !important;
    text-align: center !important;
  }
  
  body .footer h3 {
    font-size: 18px !important;
    margin-bottom: 15px !important;
  }
  
  body .footer p {
    font-size: 14px !important;
  }
  
  body .footer .qrcode-container img {
    width: 120px !important;
    height: 120px !important;
  }
  
  body .footer .footer-social-links {
    justify-content: center !important;
  }
}

/* 小屏幕移动设备样式 (480px以下) */
@media (max-width: 480px) {
  body .footer {
    padding: 30px 15px 15px !important;
  }
  
  body .footer h3 {
    font-size: 16px !important;
  }
  
  body .footer p {
    font-size: 13px !important;
  }
  
  body .footer .qrcode-container img {
    width: 100px !important;
    height: 100px !important;
  }
  
  body .footer .footer-social-links a {
    width: 35px !important;
    height: 35px !important;
    line-height: 35px !important;
  }
  
  body .footer .footer-social-links a i {
    font-size: 16px !important;
  }
}