/* ============================================
   style.css - 全局样式与组件库 (完整版)
   包含：基础重置 | 导航 | 下拉菜单 | 产品模块 | 注册区 | 页脚 | QQ侧边栏
   版本：1.0
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary-color: #0066ff;
  --secondary-color: #333;
  --accent-color: #FF7800;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --gray-color: #f5f5f6;
  --border-color: #eee;
  --bg-color: #fff;
  --hover-color: #4facfe;
  --text-color: #1d2129;
  --highlight-color: #00d2ff;
  --card-bg: #1a1a2e;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

/* ---------- Base / Reset ---------- */
html {
  font-family: tahoma, "HanHei SC", "Microsoft YaHei", Arial, helvetica, sans-serif;
}

body,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
legend,
input,
button,
textarea,
select,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

.clear {
  *zoom: 1;
}

.clear::after {
  clear: both;
  height: 0;
  overflow: hidden;
  display: block;
  visibility: hidden;
  content: ".";
}

a {
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  text-decoration: none;
}

body {
  font-family: pingfang SC, helvetica neue, arial, hiragino sans gb,
    microsoft yahei ui, microsoft yahei, simsun, sans-serif !important;
  background-color: var(--bg-color);
  color: var(--text-color);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 600;
}

/* ---------- Navigation ---------- */
.navbar-custom {
  background-color: var(--bg-color);
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  border-bottom: 1px solid var(--border-color);
}

.navbar-custom .container-fluid {
  max-width: 100%;
}

.navbar-brand img {
  height: 33px;
  width: 120px;
}

.nav-item-top {
  position: relative;
}

.nav-item-top::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-item-top:hover::after {
  width: 70%;
}

.nav-link-top {
  font-weight: 545;
  color: #000 !important;
  padding: 20px !important;
  font-size: 18px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-block;
}

.nav-link-top:hover,
.nav-link-top.active {
  color: var(--primary-color) !important;
  font-weight: 600;
}

/* ---------- Fullscreen Dropdown ---------- */
.fullscreen-dropdown {
  position: fixed;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 1020;
  display: none;
  animation: fadeInDown 0.3s ease-out;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 10px 8px rgba(0, 0, 0, 0.05);
}

.dropdown-container {
  display: flex;
  max-width: 1620px;
  margin: 0 auto;
  padding: 30px;
  height: 100%;
}

.category-nav {
  width: 250px;
  padding-right: 20px;
  border-right: 1px solid var(--border-color);
}

.content-area {
  flex: 1;
  padding-left: 40px;
  padding-right: 40px;
  overflow-y: auto;
  max-height: 380px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #eee;
}

.content-area::-webkit-scrollbar {
  width: 8px;
  height: 10px;
}

.content-area::-webkit-scrollbar-track {
  width: 9px;
  background: #eee;
  border-radius: 4px;
}

.content-area::-webkit-scrollbar-thumb {
  width: 8px;
  background-color: var(--primary-color);
  border-radius: 4px;
}

.content-area::-webkit-scrollbar-thumb:hover {
  background-color: var(--hover-color);
}

/* ---------- Dropdown Animation ---------- */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.dropdown-hover-area {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
}

/* ---------- Category ---------- */
.category-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--primary-color);
}

.category-item {
  padding: 10px 15px;
  margin-bottom: 5px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-color);
  position: relative;
  overflow: hidden;
}

.category-item::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--hover-color));
  transition: width 0.3s ease;
}

.category-item:hover,
.category-item.active {
  background: rgba(22, 100, 255, 0.1);
  color: var(--primary-color);
}

.category-item:hover::before,
.category-item.active::before {
  width: 100%;
}

/* ---------- Content Panes ---------- */
.content-pane {
  display: none;
}

.content-pane.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

.region-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  cursor: pointer;
  letter-spacing: 1px;
}

.region-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 50px;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.region-title:hover::after {
  width: 100px;
}

/* ---------- Item List ---------- */
.item-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.item-list1 {
  float: left;
}

.item {
  padding: 12px;
  border-radius: 6px;
  background: #fff;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.item:hover {
  transform: translateY(-2px);
  border-color: var(--primary-color);
}

.item a {
  color: var(--text-color);
  text-decoration: none;
  display: block;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.item a:hover {
  color: var(--primary-color);
}

.item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.item:hover::before {
  opacity: 1;
}

/* ---------- Buttons ---------- */
.btn-login {
  color: var(--secondary-color);
  border-radius: 4px;
  font-weight: 500;
  padding: 18px 16px;
  white-space: nowrap;
  background: transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  font-size: 1rem;
}

.btn-register {
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 0px;
  font-weight: 500;
  padding: 18px 40px;
  white-space: nowrap;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  font-size: 1rem;
}

.btn-login:hover {
  background-color: rgba(0, 102, 255, 0.1);
  border-radius: 0px;
}

.btn-register:hover {
  background-color: var(--hover-color);
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 216, 255, 0.5);
}

.btn-login::before,
.btn-register::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  transition: all 0.5s ease;
}

.btn-login:hover::before,
.btn-register:hover::before {
  left: 100%;
}

/* ---------- Close Dropdown ---------- */
.close-dropdown {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
  z-index: 10;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.close-dropdown:hover {
  background: var(--primary-color);
  color: #000;
  transform: rotate(90deg);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

/* ---------- Activities Gallery ---------- */
.activities-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
  width: 100%;
}

.activity-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
}

.activity-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.activity-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.activity-item:hover img {
  opacity: 0.9;
}

.activity-caption {
  padding: 15px;
  background: #fff;
  text-align: center;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 16px;
  border-top: 1px solid var(--border-color);
}

/* ---------- Domain Price ---------- */
.domain-price-section {
  margin-top: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.domain-price-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-color);
  letter-spacing: 1px;
}

.domain-price-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.domain-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 15px;
}

.domain-price-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  background: var(--bg-color);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.domain-price-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
}

.domain-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 5px;
}

.domain-price {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-color);
}

.domain-price small {
  font-size: 14px;
  font-weight: 400;
  color: #aaa;
}

.domain-services {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--bg-color);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
}

.services-title {
  font-weight: 600;
  color: var(--text-color);
}

.service-item {
  font-size: 14px;
  padding: 4px 10px;
  background: rgba(0, 216, 255, 0.1);
  color: var(--primary-color);
  border-radius: 4px;
  border: 1px solid var(--primary-color);
}

/* ---------- Email Advantages ---------- */
.email-advantages-section {
  margin-top: 40px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
}

.nav-section-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
  text-align: left;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  letter-spacing: 1px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 15px;
  margin: 13px auto 0;
}

.advantage-item {
  display: flex;
  align-items: center;
  padding: 15px;
  background: var(--bg-color);
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.advantage-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
}

.advantage-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-right: 15px;
  flex-shrink: 0;
}

.advantage-content {
  flex: 1;
}

.advantage-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 3px;
}

.advantage-desc {
  font-size: 14px;
  color: #aaa;
  margin: 0;
}

/* ---------- Customer Cases ---------- */
.customer-cases-section {
  margin-top: 20px;
  padding: 15px 0;
  border-top: 1px solid var(--border-color);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 15px;
  margin-bottom: 15px;
}

.case-item {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
}

.case-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.case-logo-container {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background: var(--bg-color);
  position: relative;
}

.case-image-default,
.case-image-hover {
  position: absolute;
  max-width: 80%;
  max-height: 60px;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.case-image-default {
  opacity: 1;
}

.case-image-hover {
  opacity: 0;
}

.case-item:hover .case-image-default {
  opacity: 0;
}

.case-item:hover .case-image-hover {
  opacity: 1;
}

.case-item:hover {
  border: 1px solid var(--border-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.case-name {
  padding: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  background: var(--bg-color);
  transition: color 0.3s ease;
  border-top: 1px solid var(--border-color);
}

.case-item:hover .case-name {
  color: var(--primary-color);
}

.khlo_1,
.khlo_2 {
  position: absolute;
  max-width: 80%;
  max-height: 70px;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.khlo_1 {
  opacity: 1;
}

.khlo_2 {
  opacity: 0;
}

.case-item:hover .khlo_1 {
  opacity: 0;
}

.case-item:hover .khlo_2 {
  opacity: 1;
}

/* ---------- View More ---------- */
.view-more {
  text-align: center;
  margin-top: 10px;
}

.view-more-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.view-more-link i {
  margin-left: 5px;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.view-more-link:hover {
  color: var(--hover-color);
}

.view-more-link:hover i {
  transform: translateX(3px);
}

/* ---------- Solution Section ---------- */
.solution-section {
  margin-top: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 15px;
}

.solution-item {
  background: var(--bg-color);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

.solution-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
  height: 100%;
  padding: 15px;
  box-sizing: border-box;
}

.solution-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.solution-title {
  font-size: 16px;
  color: var(--text-color);
  text-align: center;
  transition: color 0.3s;
}

.solution-title b {
  font-weight: 600;
  color: var(--primary-color);
}

.solution-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary-color);
}

.solution-item:hover .solution-title {
  color: var(--primary-color);
}

/* ---------- Social Section ---------- */
.social-section {
  margin-left: 40px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  height: 300px;
}

.social-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  letter-spacing: 1px;
}

.social-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.social-item {
  display: flex;
  align-items: center;
  transition: var(--transition);
  padding: 10px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--border-color);
}

.social-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary-color);
}

.social-icon {
  position: relative;
  margin-right: 15px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon i {
  position: absolute;
  font-size: 24px;
  color: var(--primary-color);
  opacity: 0;
  transition: var(--transition);
}

.social-item:hover .social-icon i {
  opacity: 1;
  transform: scale(1.2);
}

.qr-code,
.weibo-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  transition: var(--transition);
}

.social-item:hover .qr-code,
.social-item:hover .weibo-icon {
  opacity: 0.7;
}

.social-content {
  flex: 1;
}

.social-content p {
  margin: 3px 0;
  font-size: 14px;
  color: var(--text-color);
}

.social-content span {
  color: var(--primary-color);
  font-weight: 600;
  margin: 0 3px;
}

.highlight {
  color: var(--highlight-color) !important;
  font-weight: 500;
}

/* ---------- Hot Products Bar ---------- */
.hot-products-bar {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.hot-products-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hot-products-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.hot-products-title {
  color: #f15533;
  font-weight: 600;
  font-size: 16px;
  margin-right: 10px;
}

.hot-product-item {
  position: relative;
  padding: 6px 15px;
  border-radius: 20px;
  background: #1664ff1a;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.hot-product-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.hot-product-item a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

.hot-product-item:hover a {
  color: var(--primary-color);
}

/* ---------- Product Center Overrides ---------- */
#serverRental .item-list .item,
#cloudServer .item-list .item {
  background: none !important;
  padding: 0px 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  border: none !important;
}

#serverRental .item-list .item:hover,
#cloudServer .item-list .item:hover {
  background: none !important;
  transform: none !important;
  box-shadow: none !important;
}

#serverRental .item-list .item a,
#cloudServer .item-list .item a {
  color: var(--text-color);
  text-decoration: none;
  padding: 0px 0;
  display: inline-block;
}

#serverRental .item-list .item a:hover,
#cloudServer .item-list .item a:hover {
  color: var(--primary-color);
}

#cloudServer .item-list {
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}

#serverRental .item-list {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

/* ============================================
   Register Section - 立即注册区域
   ============================================ */

.register-section {
  background: linear-gradient(135deg, #0066ff, #3a5bdc);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.register-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.register-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.section-title {
  position: relative;
  margin-bottom: 40px;
  text-align: center;
}

.section-title h2 {
  font-weight: 600;
  font-size: 2.3rem;
  margin-bottom: 15px;
}

.btn-primary-custom {
  background-color: #fff;
  border-color: #0066ff;
  padding: 15px 90px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
  color: #333;
}

.btn-primary-custom:hover {
  background-color: #0066ff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  color: #fff;
}

/* ============================================
   Footer 页脚样式
   ============================================ */

.footer {
  background: #f5f7fa;
  color: #666;
  padding: 60px 0 20px;
}

.footer-txt {
  font-size: 14px;
}

.footer-links {
  width: 100%;
}

.footer-links h5 {
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
  font-size: 18px;
  position: relative;
  cursor: pointer;
  padding-right: 25px;
}

.footer-links h5 .toggle-icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition);
}

.footer-links h5 .toggle-icon.rotated {
  transform: translateY(-50%) rotate(180deg);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  transition: var(--transition);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #666;
  transition: all 0.2s ease;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.copyright {
  border-top: 1px solid #eee;
  padding-top: 20px;
  margin-top: 40px;
  color: #999;
  font-size: 14px;
}

.footer-Logo {
  width: 120px;
}

/* ---------- QR Code Tooltip ---------- */
.qr-tooltip {
  position: relative;
  display: inline-block;
  margin-right: 15px;
  background: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.qr-tooltip:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  color: var(--primary-color);
}

.qr-tooltip .qr-code {
  visibility: hidden;
  width: 120px;
  height: 150px;
  background-color: #fff;
  color: #333;
  text-align: center;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 40px;
  left: 70px;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.qr-tooltip .qr-code img {
  width: 100%;
  height: auto;
  margin-bottom: 5px;
}

.qr-tooltip:hover .qr-code {
  visibility: visible;
  opacity: 1;
}

/* ============================================
   QQ Sidebar - 客服侧边栏
   ============================================ */

.qq_con {
  position: fixed;
  top: 200px;
  right: 5px;
  z-index: 9999;
}

.qq_list {
  float: right;
}

.qq_list > li {
  width: 50px;
  height: 50px;
  box-sizing: border-box;
  background: #2a88e0 url("/images/qq_icon1.png") no-repeat 0px 0px;

  cursor: pointer;
  margin-top: 8px;
}

.qq_list > li:nth-child(3) {
  background: #fff url("/images/qq_icon1.png") no-repeat 0px -58px;
}

.qq_list > li:nth-child(2) {
  background: #fff url("/images/qq_icon1.png") no-repeat 0px -117px;
}

.qq_list > li:nth-child(4) {
  background: #fff url("/images/qq_icon1.png") no-repeat 0px -175px;
}

.qq_list > li:nth-child(5) {
  background: #fff url("/images/qq_icon1.png") no-repeat 0px -233px;
}

.qq_list > li:hover {
  background-position-x: -60px;
}

.qq_list > li:hover .qq_list_con {
  display: block;
}

.qq_list_con {
  float: right;
  display: none;
  position: absolute;
  right: 50px;
  box-sizing: border-box;
  padding-right: 23px;
}

.qq_list > li:nth-child(2) .qq_list_con {
  top: -30%;
}

.qq_list_cons {
  box-sizing: border-box;
  padding: 30px;
  border-top: 3px solid #0084ff;
  border-right: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
  background: #fff;
}

.qq_list_con1 {
  width: 251px;
}

.qq_list_con2 {
  width: 272px;
}

.qq_list_con3 {
  width: 350px;
}

.qq_list_con4 {
  width: 400px;
  height: 266px;
  border: none;
  padding: 0;
  margin-top: -60px;
}

.qq_top {
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.qq_top > img {
  float: left;
  margin-right: 15px;
  width: 25px;
  height: 25px;
}

.qq_top > .qq_tit {
  float: left;
}

.qq_top > .qq_tit > p:nth-child(1) {
  font-size: 20px;
  color: #0084ff;
  margin-top: -2px;
}

.qq_top > .qq_tit > p:nth-child(2) {
  font-size: 20px;
  color: #666;
  margin-top: 12px;
}

.qq_btm {
  box-sizing: border-box;
  padding-top: 14px;
}

.qq_btmTit {
  font-size: 14px;
  color: #333;
}

.qq_btm_kf > a {
  display: inline-block;
  width: 100%;
  height: 29px;
  line-height: 29px;
  font-size: 20px;
  color: #0084ff;
  margin-right: 30px;
  vertical-align: middle;
}

.qq_btm_kf > a > span {
  font-size: 14px;
  color: #999999;
  display: block;
}

.qq_btm_kf > a:last-child {
  margin-right: 0;
}

.qq_btm_kf > a:hover {
  color: #0084ff;
}

.qq_btm_kf > a > img {
  vertical-align: middle;
  margin-right: 7px;
  margin-top: -7px;
}

.qq_phone {
  font-size: 24px;
  color: #0084ff;
  text-align: center;
}

.qq_phone > img {
  margin-top: -3px;
  margin-right: 8px;
  display: inline-block;
}

.qq_phone2 {
  font-size: 14px;
  color: #999999;
  margin-top: 12px;
  text-align: center;
}

.qq_ewm {
  width: 120px;
  float: left;
  text-align: center;
}

.qq_ewm > span {
  font-size: 12px;
  color: #0084ff;
}

.qq-kf {
  box-sizing: border-box;
  width: 300px;
  display: flex;
  flex-wrap: wrap;
}

.qq-kfList {
  margin-top: 20px;
  width: 140px;
  cursor: pointer;
}

.qq-kf > .qq-kfList:nth-child(2n) {
  margin-left: 20px;
}

.qq-kfList > .qq-kfName > img {
  margin-right: 6px;
  vertical-align: middle;
  display: inline-block;
}

.qq-kfList > .qq-kfName > span {
  font-size: 14px;
  color: #666;
}

.qq-kfList > .qq-kfName > span.qq-kfNameAct {
  color: #1b7edc;
}

.qq-kfEwm {
  display: none;
  width: 300px;
  background: #fff;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.08);
  margin-top: 16px;
  box-sizing: border-box;
  padding: 20px 30px;
  position: relative;
}

.qq-kf > .qq-kfList:nth-child(2n) .qq-kfEwm {
  margin-left: -160px;
}

.qq-kfEwm > .cbqq-sj {
  position: absolute;
  top: -10px;
  left: 36px;
}

.qq-kf > .qq-kfList:nth-child(2n) .cbqq-sj {
  position: absolute;
  top: -10px;
  left: 197px;
}

.qq-kfEwm > .qq-kfzx {
  float: left;
  width: 102px;
  margin-right: 35px;
}

.qq-kfEwm > .qq-kfzx:last-child {
  margin-right: 0;
}

.qq-kfEwm > .qq-kfzx > p {
  width: 102px;
  height: 102px;
  border: 1px solid #ededed;
  text-align: center;
}

.qq-kfEwm > .qq-kfzx1 > p {
  border: 2px solid #2bc200;
}

.qq-kfEwm > .qq-kfzx > p > img {
  margin-top: 7px;
  display: inline-block;
}

.qq-kfEwm > .qq-kfzx > a {
  display: block;
  width: 102px;
  height: 32px;
  background: #1b7edc;
  font-size: 14px;
  color: #fff;
  text-align: center;
  line-height: 32px;
  border-radius: 8px;
  margin-top: 15px;
}

.qq-kfList > .qq-kfName {
  position: relative;
}

.qq-kfList > .qq-kfName > .cbwz-hd {
  position: absolute;
  top: -3px;
  left: 13px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 991.98px) {
  .footer .row > div[class*="col-md-6"] {
    padding: 0;
    margin: 0px;
    overflow: hidden;
  }

  .footer-links {
    padding: 0;
    width: 100%;
  }

  .footer-links h5 {
    height: 66px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    color: #666;
    background: transparent;
    font-weight: normal;
  }

  .footer-links h5 .toggle-icon {
    position: static;
    transform: none;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .footer-links h5 .toggle-icon.rotated {
    transform: rotate(180deg);
  }

  .footer-links .collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
  }

  .footer-links .collapse.show {
    max-height: 800px;
    background: #fff;
  }

  .footer-links ul {
    padding: 12px 16px;
    margin: 0;
  }

  .copyright {
    border-top: none;
    margin-top: 20px;
  }
}

@media (max-width: 992px) {
  body {
    padding-top: 60px;
  }

  .navbar-custom {
    padding: 0.5rem 1rem;
  }

  .nav-link-top {
    padding: 10px 15px !important;
    font-size: 15px;
  }

  .btn-login,
  .btn-register {
    padding: 6px 12px;
    font-size: 14px;
  }

  .fullscreen-dropdown {
    top: 60px;
    max-height: calc(100vh - 60px);
  }

  .dropdown-container {
    flex-direction: row;
    padding: 15px;
    overflow-x: auto;
  }

  .category-nav {
    width: 200px;
    min-width: 200px;
    padding-right: 15px;
    border-right: 1px solid var(--border-color);
    margin-bottom: 0;
  }

  .content-area {
    padding-left: 15px;
    min-width: calc(100% - 215px);
  }

  .item-list {
    grid-template-columns: 1fr;
  }

  .close-dropdown {
    display: block;
  }

  .dropdown-hover-area {
    display: none;
  }

  .social-section {
    width: 100%;
    margin-left: 10px;
    height: 420px;
  }

  .social-item {
    display: block;
  }

  .social-content p {
    font-size: 12px;
  }

  .cases-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  .case-logo-container {
    height: 90px;
  }
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 28px;
  }

  .advantages-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .cases-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
  }

  .case-logo-container {
    height: 80px;
  }

  .hot-products-container {
    padding: 0 15px;
    gap: 8px;
  }

  .hot-product-item {
    padding: 5px 12px;
    font-size: 13px;
  }

  .social-section {
    width: 100%;
    margin-left: 10px;
    height: 420px;
  }

  .social-item {
    display: block;
  }

  .social-content p {
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .dropdown-container {
    flex-direction: row;
    height: calc(100vh - 80px);
  }

  .category-nav {
    width: 160px;
    min-width: 160px;
  }

  .content-area {
    min-width: calc(100% - 175px);
  }

  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-item {
    height: 90px;
  }

  .solution-title {
    font-size: 13px;
  }

  .solution-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
  }

  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-logo-container {
    height: 70px;
  }

  .hot-products-title {
    width: 100%;
    margin-bottom: 5px;
  }
}

@media (min-width: 992px) {
  .footer .collapse {
    display: block !important;
    max-height: none !important;
  }

  .footer-links h5 .toggle-icon {
    display: none;
  }

  .footer-links h5 {
    cursor: auto;
    padding-right: 0;
  }

  .footer .row > div[class*="col-md-6"] {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-bottom: 0;
    border-radius: 0;
  }
}