/* 全局基础 */
html, body {
  height: 100%;
}
body {
  height: 100%;
  padding-top: 80px !important;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* LOGO 宽度限制 */
.navbar-brand img {
  max-height: 55px !important;
  max-width: 220px !important;
  width: auto !important;
}

/* 全程高透明导航栏 */
#mainNavbar {
  z-index: 1030;
  background-color: rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: none !important;
  transition: all 0.3s ease;
  top: 0;
  left: 0;
  right: 0;
}

/* 导航文字 */
.nav-link {
  transition: all 0.3s ease;
  margin: 0 8px;
  white-space: nowrap;
  color: #222 !important;
}
.nav-link:hover,
.nav-link.active {
  color: #0575bd !important;
}

/* 电脑端下拉菜单 */
.dropdown-menu {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border: none;
  padding: 0.5rem 0;
  min-width: 180px;
  background-color: rgba(255,255,255,0.8) !important;
}
.dropdown-item {
  padding: 0.6rem 1.2rem;
  transition: all 0.25s ease;
}
.dropdown-item:hover {
  background-color: #0575bd;
  color: #fff;
  padding-left: 1.5rem;
}

/* 下拉展开样式 */
.navbar-nav .dropdown-toggle.show {
  color: inherit !important;
}

/* 电脑端悬浮展开 */
@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  .dropdown-menu {
    margin-top: 0;
  }
}

/* 手机端菜单 */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255,255,255,0.4) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 1rem;
    margin-top: 0.5rem;
  }
  .navbar-nav {
    align-items: center;
  }
  .nav-link {
    padding: 0.6rem 0;
    font-size: 1.1rem !important;
  }

  .dropdown-menu {
    text-align: center;
    background: rgba(255,255,255,0.5) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: 100%;
  }
}

/* 汉堡按钮透明 */
.navbar-toggler {
  background: rgba(255,255,255,0.4);
  border-radius: 8px;
  border: none;
}

/* 按钮样式 */
.btn-primary {
  background-color: #0575bd;
  border: none;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background-color: #c0101c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5, 117, 189, 0.2);
}

/* 平台图标 */
.platform-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.platform-icon-item img {
  border-radius: 8px;
  width:100px !important;
  height:100px !important;
  object-fit:contain !important;
}
.platform-icon-item .fw-bold {
  font-size: 0.95rem;
}

/* 页脚 */
footer {
  background-color: #f8f9fa;
  padding: 3rem 0;
}
footer img {
  max-height:80px !important;
  max-width:200px !important;
  width:auto !important;
}
footer .row {
  align-items: flex-start !important;
}
@media (max-width: 991.98px) {
  footer .col-lg-6 {
    text-align: center !important;
  }
}

/* 合作伙伴轮播 */
.partner-section {
  background-color: #f8f9fa;
}
.partner-section h3 {
  color: #333;
  font-size: 1.75rem;
}
.partner-logo img {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
}
.partner-swiper {
  padding: 0 40px;
}