/* ========================================
   移动端和平板端响应式优化样式
   Mobile & Tablet Responsive Optimization
======================================== */

/* 基础响应式断点 */
/* 手机端: 320px - 767px */
/* 平板端: 768px - 1024px */
/* 桌面端: 1025px+ */

/* ========================================
   移动端导航优化
======================================== */
@media (max-width: 767px) {
  /* 导航栏容器对齐 */
  .navbar {
    align-items: center;
    padding: 0.5rem 1rem;
  }
  
  /* Logo尺寸调整 */
  .navbar-brand img {
    height: 35px !important;
    width: auto !important;
    max-width: 120px;
  }
  
  /* 导航切换按钮样式 */
  .navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.25rem;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* 确保Logo和切换按钮在同一水平线上 */
  .navbar-brand,
  .navbar-toggler {
    margin: 0;
    line-height: 1;
  }
  
  /* 导航栏品牌和切换按钮的容器对齐 */
  .navbar > .container,
  .navbar > .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

/* ========================================
   移动端主要内容区域优化
======================================== */
@media (max-width: 767px) {
  /* 首屏内容居中对齐 */
  .effect-section .row.justify-content-between {
    justify-content: center !important;
    text-align: center;
  }
  
  .effect-section .col-lg-6 {
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .effect-section .col-lg-6 .p-30px-tb {
    padding-right: 0 !important;
    text-align: center;
  }
  
  /* 首屏标题和内容居中 */
  .effect-section .display-4 {
    text-align: center;
  }
  
  .effect-section .lead {
    text-align: center;
  }
  
  /* 首屏按钮组居中 */
  .effect-section .p-10px-t {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .effect-section .m-btn {
    margin: 5px 0;
    width: auto;
    min-width: 200px;
  }
  
  /* 首屏图片居中 */
  .effect-section .col-lg-6.text-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
  }
  
  .effect-section .col-lg-6.text-center img {
    max-width: 80%;
    height: auto;
  }

  /* 二维码移动端优化 */
  .follow-us-qr img {
    width: 150px !important;
    height: 80px !important;
  }
  
  /* 主标题区域 */
  .display-4 {
    font-size: 2rem !important;
    line-height: 1.2;
    margin-bottom: 20px;
  }
  
  .lead {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
  }
  
  /* 按钮组优化 */
  .m-btn {
    display: block;
    width: 100%;
    margin: 8px 0;
    padding: 15px 20px;
    font-size: 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
  }
  
  .m-btn:active {
    transform: scale(0.98);
  }
  
  /* 服务卡片优化 - 手机端一行显示两个 */
  .separated .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
  }
  
  .separated .col-sm-6:nth-child(2n) {
    border-right: none;
  }
  
  .separated .col-sm-6:nth-last-child(-n+2) {
    border-bottom: none;
  }
  
  .card-hover {
    padding: 20px 15px !important;
    transition: all 0.3s ease;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center; /* 水平居中 */
    justify-content: center; /* 垂直居中 */
  }
  
  .card-hover:active {
    transform: scale(0.98);
    background: rgba(0, 80, 216, 0.05);
  }
  
  /* 图标优化 - 适应两列布局 */
.only-icon-80 {
  width: 60px;
  height: 60px;
  font-size: 30px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
  
  /* 标题字体调整 */
  .card-hover h5 {
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
    width: 100%;
  }
  
  /* 间距优化 */
  .p-100px-tb {
    padding: 60px 0 !important;
  }
  
  .p-40px-tb {
    padding: 25px 0 !important;
  }
  
  .m-45px-b {
    margin-bottom: 30px !important;
  }
  
  .m-25px-b {
    margin-bottom: 20px !important;
  }
  
  /* 兼容：无 card-hover 的服务卡片容器也强制居中（后四项） */
  .separated .col-sm-6 > a > .text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  /* 确保标题在该容器中居中 */
  .separated .col-sm-6 > a > .text-center h5 {
    text-align: center;
    width: 100%;
  }
}

/* ========================================
   平板端优化 (768px - 1024px)
======================================== */
@media (min-width: 768px) and (max-width: 1024px) {
  /* 导航优化已还原 */
  
  /* 主标题区域 */
  .display-4 {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .lead {
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  /* 按钮优化 */
  .m-btn {
    padding: 12px 25px;
    margin: 5px 8px;
  }
  
  /* 服务卡片 */
  .card-hover {
    padding: 35px 25px !important;
  }
  
  .only-icon-80 {
    width: 70px;
    height: 70px;
    font-size: 28px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* 间距调整 */
  .p-100px-tb {
    padding: 80px 0 !important;
  }
  
  /* 平板端同样统一无 card-hover 容器的居中（后四项） */
  .separated .col-sm-6 > a > .text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .separated .col-sm-6 > a > .text-center h5 {
    text-align: center;
    width: 100%;
  }
}

/* ========================================
   触摸优化
======================================== */
@media (hover: none) and (pointer: coarse) {
  /* 移除悬停效果，优化触摸体验 */
  .hover-scale:hover,
  .hover-lift:hover {
    transform: none;
  }
  
  /* 增加触摸目标大小 */
  .nav-link,
  .m-btn,
  .card-hover {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* 触摸反馈 */
  .nav-link:active,
  .m-btn:active,
  .card-hover:active {
    background: rgba(0, 80, 216, 0.1);
    transform: scale(0.98);
  }
}

/* ========================================
   动画优化
======================================== */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInMobile {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* 移动端动画类 */
@media (max-width: 767px) {
  .animate-mobile {
    animation: fadeInMobile 0.6s ease-out;
  }
  
  .animate-bounce-mobile {
    animation: bounceIn 0.8s ease-out;
  }
  
  /* 减少动画复杂度以提高性能 */
  .scroll-animate {
    animation-duration: 0.4s;
  }
  
  .animate-delay-1 { animation-delay: 0.1s; }
  .animate-delay-2 { animation-delay: 0.15s; }
  .animate-delay-3 { animation-delay: 0.2s; }
  .animate-delay-4 { animation-delay: 0.25s; }
}

/* ========================================
   性能优化
======================================== */
@media (max-width: 767px) {
  /* 减少阴影和模糊效果以提高性能 */
  .hover-glow:hover {
    box-shadow: 0 0 10px rgba(0, 80, 216, 0.2);
  }
  
  /* 简化过渡效果 */
  .transition-all {
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  
  /* 优化图片显示 */
  img {
    height: auto;
    image-rendering: -webkit-optimize-contrast;
  }
}

/* ========================================
   可访问性优化
======================================== */
@media (max-width: 767px) {
  /* 增加文字对比度 */
  .nav-link {
    color: #152c5b;
  }
  
  .nav-link:hover,
  .nav-link:focus {
    color: #0050d8;
    outline: 2px solid rgba(0, 80, 216, 0.3);
    outline-offset: 2px;
  }
  
  /* 按钮焦点状态 */
  .m-btn:focus {
    outline: 2px solid rgba(0, 80, 216, 0.5);
    outline-offset: 2px;
  }
}

/* ========================================
   横屏模式优化
======================================== */
@media (max-width: 767px) and (orientation: landscape) {
  .p-100px-tb {
    padding: 40px 0 !important;
  }
  
  .display-4 {
    font-size: 1.8rem !important;
  }
  
  .navbar-collapse {
    max-height: 60vh;
    overflow-y: auto;
  }
}

/* ========================================
   高分辨率屏幕优化
======================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .navbar-brand img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* ========================================
   价格模块 - 手机端布局优化
======================================== */
@media (max-width: 767px) {
  /* 价格方案标题区域优化 */
  .pricing-section .section-title {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .pricing-section .section-title h2 {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #1a1a1a;
    font-weight: 700;
  }
  
  .pricing-section .section-title p {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.5;
  }
  
  .section .display-4 {
    font-size: 1.75rem !important;
    line-height: 1.3;
    margin-bottom: 20px;
  }
  
  .section .lead {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 30px;
  }
  
  /* 价格卡片容器优化 */
  .row.align-items-stretch {
    margin: 0 -8px;
  }
  
  .row.align-items-stretch > [class*="col-"] {
    padding: 0 8px;
    margin-bottom: 20px;
  }
  
  /* 避免全局 .card-hover 的 flex 布局影响价格卡片 */
  .price-table-02.card-hover {
    display: block !important;              /* 恢复为普通文档流 */
    padding: 20px 16px !important;
    border-radius: 12px;
    min-height: auto !important;            /* 取消全局最小高度限制 */
    margin: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
  }
  
  /* 价格卡片整体样式 */
  .price-table-02 {
    height: auto !important;
  }

  /* 头部：上下堆叠，居中对齐 */
  .price-table-02 .pt-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
  }
  
  .price-table-02 .pt-head .pth-left {
    order: 1;
    margin-bottom: 8px;
  }
  
  .price-table-02 .pt-head .pth-right {
    order: 2;
  }
  
  .price-table-02 .pt-head .pth-left h4 {
    font-size: 20px;
    margin: 0 0 4px 0;
    font-weight: 600;
    color: #333;
  }
  
  .price-table-02 .pt-head .pth-left span {
    font-size: 13px;
    color: #666;
    margin: 0;
  }
  
  .price-table-02 .pt-head .pth-right h5 {
    font-size: 32px;
    margin: 0;
    font-weight: 700;
    line-height: 1;
  }
  
  .price-table-02 .pt-head .pth-right label {
    font-size: 12px;
    color: #666;
    margin: 2px 0 0 0;
    display: block;
  }

  /* 功能列表：更紧凑、可读性更好 */
  .price-table-02 .pt-body {
    padding: 0;
    margin-bottom: 20px;
  }
  
  .price-table-02 .pt-body ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .price-table-02 .pt-body ul li {
    padding: 10px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    line-height: 1.4;
  }
  
  .price-table-02 .pt-body ul li:last-child {
    border-bottom: none;
  }
  
  .price-table-02 .pt-body ul li i {
    color: #28a745;
    min-width: 16px;
    font-size: 14px;
    flex-shrink: 0;
  }

  /* 底部按钮：全宽显示，更好的触摸体验 */
  .price-table-02 .pt-footer {
    text-align: center;
    padding-top: 5px;
  }
  
  .price-table-02 .pt-footer .m-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .price-table-02 .pt-footer .m-btn:active {
    transform: scale(0.98);
  }

  /* 移动端弱化悬浮效果，提升性能与稳定性 */
  .price-table-02.hover-top:hover {
    transform: none !important;
  }
  
  .price-table-02.box-shadow-hover:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  }
  
  /* 移动端触摸反馈 */
  .price-table-02:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
}

/* ========================================
   价格模块 - Featured 主推款样式（全端基础）
======================================== */
.price-table-02 { position: relative; }
.price-table-02.featured {
  border: 2px solid #0050d8; /* 主题色描边，突出卡片 */
  box-shadow: 0 12px 36px rgba(0, 80, 216, 0.18); /* 稍强的阴影，增加层次 */
  transform: scale(1.10); /* 全端再放大一些 */
  transform-origin: center center;
  z-index: 2;
  transition: transform .25s ease, box-shadow .25s ease;
}

/* 桌面端：再放大，并在 hover 时上浮+放大 */
@media (min-width: 992px) {
  .price-table-02.featured {
    transform: scale(1.15);
    z-index: 3;
    margin: 0px 10px;
  }
  .price-table-02.featured.hover-top:hover {
    transform: translateY(-8px) scale(1.15);
  }
}

/* 右上角徽标使用 SVG 图片 */
.price-table-02 .featured-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 88px; /* 桌面尺寸 */
  height: 30px;
  background: url('../images/featured-badge.svg') no-repeat center / contain;
  color: transparent; /* 隐藏文字，保留语义 */
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  border-radius: 0;
  box-shadow: none;
  z-index: 4;
  pointer-events: none; /* 防止遮挡点击 */
}
.price-table-02 .featured-badge:after { content: none; }
@media (max-width: 767px) {
  /* 主推款移动端优化 */
  .price-table-02.featured {
    padding: 24px 18px !important;
    transform: none !important; /* 移动端取消缩放 */
    margin: 0 0 20px 0 !important;
    border: 2px solid #0050d8;
    box-shadow: 0 6px 20px rgba(0, 80, 216, 0.15);
    position: relative;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  }
  
  /* 主推款徽标 */
  .price-table-02 .featured-badge {
    top: 8px;
    right: 8px;
    width: 70px;
    height: 24px;
    background: linear-gradient(135deg, #0050d8, #0066ff);
    color: white;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-indent: 0;
    box-shadow: 0 2px 8px rgba(0, 80, 216, 0.3);
  }
  
  .price-table-02 .featured-badge:after {
    content: none;
  }
  
  /* 主推款头部样式 */
  .price-table-02.featured .pt-head {
    gap: 10px;
    border-bottom: 1px dashed rgba(0, 80, 216, 0.2);
  }
  
  .price-table-02.featured .pt-head .pth-left h4 {
    font-size: 22px;
    color: #0050d8;
    font-weight: 700;
  }
  
  .price-table-02.featured .pt-head .pth-left span {
    font-size: 13px;
    color: #666;
  }
  
  .price-table-02.featured .pt-head .pth-right h5 {
    font-size: 36px;
    color: #0050d8;
    font-weight: 800;
  }
  
  .price-table-02.featured .pt-head .pth-right label {
    font-size: 12px;
    color: #666;
  }
  
  /* 主推款按钮特殊样式 */
  .price-table-02.featured .pt-footer .m-btn {
    background: linear-gradient(135deg, #0050d8, #0066ff);
    border: none;
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 80, 216, 0.3);
  }
  
  .price-table-02.featured .pt-footer .m-btn:active {
    transform: scale(0.96);
    box-shadow: 0 2px 8px rgba(0, 80, 216, 0.4);
  }
}

/* ========================================
   移动端页尾优化
======================================== */
@media (max-width: 767px) {
  /* 页尾整体布局优化 */
  .footer .footer-top {
    padding: 30px 0;
  }
  
  /* 关注我们区域优化 */
  .footer .col-12.col-lg-4 {
    margin-bottom: 30px;
    text-align: center;
  }
  
  .footer .theme-bg.p-25px {
    padding: 20px !important;
    margin: 0 auto;
    max-width: 300px;
  }
  
  /* 二维码居中对齐优化 - 恢复正常尺寸 */
  .footer .follow-us-qr {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
  }
  
  .footer .follow-us-qr .white-bg {
    padding: 10px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px !important;
    display: inline-block;
  }
  
  .footer .follow-us-qr img {
    width: 100px !important;
    height: 100px !important;
    display: block;
  }
  
  /* 页尾链接区域优化 - 一行显示3个 */
  .footer .row.justify-content-between {
    justify-content: center !important;
  }
  
  .footer .col-6.col-lg-2 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    margin-bottom: 25px;
    text-align: center;
    padding: 0 10px;
  }
  
  .footer .footer-title {
    font-size: 14px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
    text-align: center;
  }
  
  .footer .footer-link-2 {
    padding: 0;
  }
  
  .footer .footer-link-2 li {
    margin-bottom: 6px;
  }
  
  .footer .footer-link-2 li a {
    font-size: 12px;
    color: #666;
    text-decoration: none;
    display: block;
    padding: 3px 0;
    transition: all 0.3s ease;
  }
  
  .footer .footer-link-2 li a:hover {
    color: #007bff;
  }
  
  /* 友情链接区域优化 */
  .footer .friendly-links-section {
    margin-top: 20px !important;
    text-align: center;
  }
  
  .footer .friendly-links-container {
    justify-content: center !important;
    gap: 15px;
  }
  
  /* 页脚底部优化 */
  .footer .footer-bottom {
    padding: 20px 0;
    background-color: #f8f9fa;
  }
  
  /* 页脚链接区域 */
  .footer .footer-links-section {
    margin-top: 0 !important;
    margin-bottom: 15px;
  }
  
  .footer .footer-links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  
  /* ICP备案信息优化 */
  .footer .footer-icp {
    text-align: center;
  }
  
  .footer .footer-icp .left-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
  }
  
  .footer .footer-icp .left-info a,
  .footer .footer-icp .left-info span {
    font-size: 12px;
    color: #666;
    text-decoration: none;
    line-height: 1.4;
  }
  
  .footer .footer-icp .separator {
    display: none;
  }
  
  .footer .footer-icp .copyright {
    margin-top: 10px !important;
  }
  
  .footer .footer-icp .copyright span {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
  }
  
  /* 移除不必要的间距 */
  .footer .mt-4 {
    margin-top: 20px !important;
  }
  
  .footer .mt-2 {
    margin-top: 10px !important;
  }
  
  /* 确保页尾在小屏幕上的可读性 */
  .footer {
    font-size: 14px;
  }
}

/* 超小屏幕优化 (320px - 480px) */
@media (max-width: 480px) {
  .footer .theme-bg.p-25px {
    margin: 0 15px;
    padding: 15px !important;
    max-width: none;
  }
  
  .footer .follow-us-qr img {
    width: 80px !important;
    height: 80px !important;
  }
  
  .footer .col-6.col-lg-2 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 20px;
  }
  
  .footer .footer-icp .left-info a,
  .footer .footer-icp .left-info span,
  .footer .footer-icp .copyright span {
    font-size: 11px;
  }
}

/* ========================================
   联系信息页面移动端优化
======================================== */
@media (max-width: 767px) {
  /* 联系信息卡片布局优化 */
  .section .row .col-lg-3.col-sm-6 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }
  
  .section .card.h-100 {
    height: auto !important;
    margin-bottom: 15px;
  }
  
  .section .card-body {
    padding: 25px 20px;
  }
  
  /* 联系信息图标优化 */
  .section .icon-50 {
    width: 60px !important;
    height: 60px !important;
    line-height: 60px !important;
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  /* 联系信息标题优化 */
  .section .card-body h5 {
    font-size: 18px;
    margin: 15px 0 10px 0 !important;
    font-weight: 700;
  }
  
  /* 联系信息内容优化 */
  .section .card-body p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
  }
  
  /* 联系信息卡片悬停效果 */
  .section .card.hover-top {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
  }
  
  .section .card.hover-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
  }
  
  /* 联系信息页面标题优化 */
  .section .container .row .col-lg-8 h1 {
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  /* 面包屑导航优化 */
  .breadcrumb {
    padding: 10px 0;
    margin-bottom: 0;
    background: transparent;
  }
  
  .breadcrumb li {
    font-size: 14px;
  }
  
  .breadcrumb li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
  }
  
  .breadcrumb li.active {
    color: #fff;
  }
}

/* 超小屏幕联系信息优化 (320px - 480px) */
@media (max-width: 480px) {
  .section .card-body {
    padding: 20px 15px;
  }
  
  .section .icon-50 {
    width: 50px !important;
    height: 50px !important;
    line-height: 50px !important;
    font-size: 20px;
  }
  
  .section .card-body h5 {
    font-size: 16px;
  }
  
  .section .card-body p {
    font-size: 13px;
  }
  
  .section .container .row .col-lg-8 h1 {
    font-size: 24px;
  }
}

/* ========================================
   页尾折叠框样式
======================================== */
@media (max-width: 767px) {
  /* 页尾折叠框容器布局 - 一行一个 */
  .footer .row .footer-collapse-item {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 20px;
  }
  
  /* 折叠框容器 */
  .footer .footer-collapse-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
  
  .footer .footer-collapse-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
  
  /* 折叠框标题 */
  .footer .footer-collapse-toggle {
    cursor: pointer;
    user-select: none;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 0;
    margin-bottom: 10px !important;
  }
  
  .footer .footer-collapse-toggle:hover {
    color: #007bff;
  }
  
  /* 折叠框图标 */
  .footer .footer-collapse-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
    color: #666;
  }
  
  .footer .footer-collapse-toggle.active .footer-collapse-icon {
    transform: rotate(180deg);
    color: #007bff;
  }
  
  /* 折叠框内容 */
  .footer .footer-collapse-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    padding: 0;
  }
  
  .footer .footer-collapse-content.show {
    max-height: 400px;
    opacity: 1;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    padding: 10px 0 20px 0;
  }
  
  /* 折叠框链接样式 */
  .footer .footer-collapse-content li {
    margin-bottom: 12px;
  }
  
  .footer .footer-collapse-content li a {
    padding: 8px 0;
    display: block;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #666;
  }
  
  .footer .footer-collapse-content li a:hover {
    padding-left: 15px;
    color: #007bff;
    text-decoration: none;
  }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
  .footer .footer-collapse-toggle {
    padding: 12px 0;
    font-size: 15px;
  }
  
  .footer .footer-collapse-content.show {
    padding: 8px 0 15px 0;
  }
  
  .footer .footer-collapse-content li a {
    font-size: 13px;
    padding: 6px 0;
  }
  
  .footer .footer-collapse-content li a:hover {
    padding-left: 10px;
  }
}

/* 桌面端保持原样 */
@media (min-width: 768px) {
  .footer .footer-collapse-icon {
    display: none;
  }
  
  .footer .footer-collapse-content {
    max-height: none !important;
    opacity: 1 !important;
    padding: 0 !important;
  }
  
  .footer .footer-collapse-toggle {
    cursor: default;
    background: none !important;
    padding: 0 !important;
    margin-bottom: 15px !important;
    font-size: inherit;
    font-weight: inherit;
    border-radius: 0;
  }
  
  .footer .footer-collapse-toggle:hover {
    background: none !important;
    color: inherit;
  }
}