/*
 * 首页样式 - 扁平化设计版本
 * 采用简洁的扁平化设计风格，去除阴影、渐变等装饰效果
 * 合并了 index-hero.css 和 index-inline.css 的内容以减少HTTP请求
 */

/* ===== CSS变量定义 - 微信绿配色方案 ===== */
:root {
  --primary-color: #07c160;        /* 微信绿色主色 */
  --primary-dark: #06ad56;         /* 深绿色 */
  --primary-light: #4dd0a1;        /* 浅绿色 */
  --secondary-color: #424242;      /* 深灰色调 */
  --accent-color: #ff5722;         /* 橙色点缀 */
  --success-color: #07c160;        /* 微信绿 */
  --danger-color: #f44336;         /* 红色 */
  --warning-color: #ff9800;        /* 黄色 */
  --info-color: #03a9f4;           /* 信息蓝 */
  --light-color: #f5f5f5;          /* 浅灰背景 */
  --dark-color: #212121;           /* 深色文字 */
  --purple-color: #9c27b0;         /* 紫色 */
  --pink-color: #e91e63;           /* 粉色 */

  /* 扁平化设计不使用渐变，使用纯色 */
  --gradient-primary: #07c160;
  --gradient-secondary: #06ad56;
  --gradient-accent: #ff5722;
  --gradient-success: #07c160;
  --gradient-info: #03a9f4;

  /* 扁平化设计不使用阴影，使用边框 */
  --shadow-sm: none;
  --shadow: none;
  --shadow-lg: none;
  --box-shadow: none;

  --transition: all 0.2s ease;
  --border-radius: 4px; /* 扁平化设计使用更小的圆角 */
}

body {
  overflow-x: hidden;
}

/* ===== 全局卡片扁平化效果 ===== */
.product-card, .category-item, .vendor-item, .region-item, .article-card {
  transition: var(--transition);
  box-shadow: none;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: #ffffff;
}

/* 扁平化悬停效果 - 简单边框变化 */
.category-item:hover, .vendor-item:hover, .region-item:hover {
  border-color: var(--primary-color);
  background-color: #fafafa;
}

.product-card:hover, .article-card:hover {
  border-color: var(--primary-color);
  background-color: #fafafa;
}

/* ===== 按钮扁平化样式 ===== */
.btn {
  transition: var(--transition);
  border-radius: var(--border-radius);
  font-weight: 500;
}

.btn-primary, .btn-success, .btn-info, .btn-danger, .btn-warning {
  border: none;
  box-shadow: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-success {
  background-color: var(--success-color);
  color: white;
}

.btn-info {
  background-color: var(--info-color);
  color: white;
}

.btn-danger {
  background-color: var(--danger-color);
  color: white;
}

.btn-warning {
  background-color: var(--warning-color);
  color: white;
}

/* 扁平化按钮悬停效果 - 简单颜色变化 */
.btn-success:hover, .btn-info:hover, .btn-danger:hover, .btn-warning:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background-color: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* ===== 扁平化装饰性元素 ===== */
.bubble {
  display: none; /* 扁平化设计不使用装饰性气泡 */
}

/* 地图点标签 */
.map-point {
  z-index: 1;
}

.point-label {
  transform: translateX(-50%);
  margin-top: 10px;
  z-index: 2;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.map-point:hover .point-label {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 英雄区域扁平化样式 ===== */
.hero-area {
  position: relative;
  background-color: var(--primary-color);
  color: white;
  overflow: hidden;
  padding: 120px 0;
  margin-bottom: -50px; /* 首页特殊负边距 */
  min-height: 550px;
  box-shadow: none;
  border-bottom: 4px solid var(--primary-dark);
}

/* 首页普通页面重置边距 */
body:not(.home-page) .hero-area {
  margin-bottom: 0;
}

/* 扁平化设计不使用背景图案 */
.hero-area::before {
  display: none;
}

.hero-area .display-4 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  text-shadow: none;
}

.hero-area .display-4::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
}

/* 英雄区布局修复 */
.hero-area .row {
  align-items: center;
}

.hero-area .product-card-wrapper {
  background: white;
  border-radius: 8px;
  padding: 20px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-area .product-card-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #666;
}

/* 英雄区域特殊样式 */
.hero-title-link {
  color: white;
  text-decoration: none;
}

.search-box {
  background-color: white;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius);
  box-shadow: none;
  transition: var(--transition);
}

.search-box:hover {
  border-color: var(--primary-color);
}

/* ===== 分类导航扁平化样式 ===== */
.category-nav {
  position: relative;
  z-index: 10;
  margin-top: -30px;
}

.category-wrapper {
  margin-top: -50px;
  border-radius: var(--border-radius);
  border: 1px solid #e0e0e0;
  background-color: white;
}

.category-item {
  transition: var(--transition);
  border-radius: var(--border-radius);
  border: 1px solid transparent;
}

.category-item:hover {
  border-color: var(--primary-color);
  background-color: #f5f5f5;
}

.icon-circle {
  width: 60px;
  height: 60px;
  transition: var(--transition);
  border: 2px solid #e0e0e0;
  background-color: #fafafa;
}

/* 分类图标特殊颜色 */
.category-icon-purple {
  background-color: rgba(138, 43, 226, 0.2) !important;
}

.category-icon-pink {
  background-color: rgba(255, 105, 180, 0.2) !important;
}

.category-icon-circle-sm {
  width: 40px;
  height: 40px;
}

/* ===== 产品卡片扁平化样式 ===== */
.product-card {
  perspective: none;
  transform-style: flat;
  border: 1px solid #e0e0e0;
  background-color: white;
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 15px;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.4s ease forwards;
}

.product-card.active {
  opacity: 1;
  transform: translateY(0);
}

.product-card .card-header {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
}

.product-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #212121;
  margin: 0;
  text-shadow: none;
}

.product-card .product-type-badge {
  background-color: var(--primary-color);
  color: white;
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: normal;
  border: none;
}

.product-card .product-specs {
  margin-bottom: 12px;
}

.product-card .spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  padding: 4px 8px;
  background: #f5f5f5;
  border-radius: var(--border-radius);
  border-left: 3px solid var(--primary-color);
}

.product-card .spec-label {
  font-size: 0.8rem;
  color: #757575;
  font-weight: 400;
}

.product-card .spec-value {
  font-size: 0.85rem;
  color: #212121;
  font-weight: 500;
}

.product-card .product-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 12px;
  text-align: center;
  text-shadow: none;
  background-color: #f5f5f5;
  padding: 6px 12px;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
}

.product-card .btn-view {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: var(--transition);
  box-shadow: none;
}

.product-card .btn-view:hover {
  background-color: var(--primary-dark);
  color: white;
}

/* 扁平化设计不使用装饰元素 */
.ribbon {
  display: none;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.spec-item {
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
}

.spec-item:hover {
  background-color: #eeeeee;
  border-color: var(--primary-color);
}

.spec-icon {
  margin-bottom: 5px;
  font-size: 1rem;
}

.spec-label {
  font-size: 0.75rem;
  color: #757575;
}

.spec-value {
  font-weight: 500;
}

.price-tag {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  background-color: #f5f5f5;
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
  display: inline-block;
}

/* 产品分类卡片中的价格标签字体调小 */
.product-category-card .price-tag {
  font-size: 1.1rem;
  padding: 6px 10px;
}

.price-currency {
  font-size: 1rem;
  vertical-align: baseline;
}

.price-period {
  font-size: 0.8rem;
  color: #757575;
}

/* 主题区块扁平化样式 */
.section-title {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 25px;
  font-weight: 500;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* 信息卡片扁平化样式 */
.region-item, .vendor-item {
  transition: var(--transition);
  border: 1px solid #e0e0e0;
}

.vendor-logo-container {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

/* ===== 厂商展示样式 ===== */
.vendor-swiper {
  padding-bottom: 50px;
}

.vendor-swiper .swiper-pagination {
  bottom: 0;
}

.vendor-swiper .swiper-button-next,
.vendor-swiper .swiper-button-prev {
  color: var(--primary-color);
}

/* 厂商logo样式 */
.vendor-logo-img {
  max-height: 60px;
  max-width: 100%;
}

.vendor-icon-circle {
  width: 80px;
  height: 80px;
}

.vendor-logo-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 4px;
}

.vendor-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

/* ===== 文章卡片样式 ===== */
.article-img-container {
  overflow: hidden;
  height: 180px;
}

.article-image {
  transition: all 0.3s ease;
}

.article-title {
  transition: var(--transition);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== 服务特点扁平化区域 ===== */
.feature-item {
  transition: var(--transition);
  border-radius: var(--border-radius);
  backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
}

.feature-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%; /* 保持圆形 */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  transition: var(--transition);
}

.feature-icon-circle {
  width: 80px;
  height: 80px;
}

.feature-item:hover .feature-icon {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

/* 确保服务特点区域的文字可见性 */
.feature-section {
  background-color: var(--primary-color);
  border-bottom: 4px solid var(--primary-dark);
}

.feature-section .h3 {
  color: white !important;
}

.feature-section p {
  color: rgba(255, 255, 255, 0.8) !important;
}

.feature-item .h5 {
  color: white !important;
}

.feature-item p {
  color: rgba(255, 255, 255, 0.8) !important;
}

.feature-star-icon {
  font-size: 0.9em;
  vertical-align: baseline;
}

/* ===== 地区展示 ===== */
.world-map-container {
  min-height: 300px;
}

.region-flag-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border: 3px solid #eee;
}

.region-flag-placeholder {
  width: 50px;
  height: 50px;
  font-size: 24px;
  border: 3px solid #eee;
}

/* ===== 产品卡片轮播样式 ===== */
.product-card-wrapper {
  min-height: 250px;
  position: relative;
  overflow: hidden;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #e0e0e0;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.indicator-dot.active {
  background: var(--primary-color);
  transform: scale(1.1);
}

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

/* ===== 推荐云资源产品卡片 ===== */
.home-featured-card-horizontal {
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
  box-shadow: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.home-featured-card-horizontal:hover {
  border-color: var(--primary-color);
  background-color: #fafafa;
}

.product-icon-area-h {
  background-color: #f5f5f5;
  border-right: 1px solid #e0e0e0;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  min-height: 140px;
}

/* 扁平化厂商logo样式 */
.vendor-logo-sm-h {
  max-height: 24px;
  max-width: 80px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: var(--transition);
}

.product-type-badge-h {
  margin-top: 8px;
  font-size: 0.9em !important;
  font-weight: 500;
  padding: 0.4em 0.8em;
  border-radius: var(--border-radius);
  background-color: var(--primary-color) !important;
  color: #fff !important;
  box-shadow: none;
  letter-spacing: normal;
  border: none;
}

.product-specs-list-h {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.product-specs-list-h .spec-item-h {
  display: inline-flex;
  align-items: center;
  background: #f5f5f5;
  color: #424242;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
  padding: 0.3em 0.6em;
  font-size: 0.8em;
  font-weight: 400;
  box-shadow: none;
  transition: var(--transition);
}

.product-specs-list-h .spec-item-h:hover {
  background-color: #eeeeee;
  border-color: var(--primary-color);
}

.product-specs-list-h .spec-item-h i {
  color: var(--primary-color);
  margin-right: 0.3em;
  font-size: 0.9em;
}

.price-tag-home {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
  padding: 0.3em 0.8em;
  box-shadow: none;
  letter-spacing: normal;
}

.price-tag-home .price-period {
  font-size: 0.7em;
  color: #6c757d;
}

.home-featured-card-horizontal .btn-sm {
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  box-shadow: none;
  background-color: var(--primary-color);
  border: none;
  color: #fff;
  transition: var(--transition);
}

.home-featured-card-horizontal .btn-sm:hover {
  background-color: var(--primary-dark);
  color: #fff;
}

/* 产品标题样式优化 */
.product-title {
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

.product-title a {
  color: #2d3748;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-title a:hover {
  color: #4361ee;
}

/* 产品分类卡片样式 */
.product-category-card {
  transition: var(--transition);
  border: 1px solid #e0e0e0;
}

/* ===== 扁平化效果 ===== */
.btn-shine {
  background-color: var(--primary-color);
}

.hover-shadow {
  transition: var(--transition);
}

.hover-shadow:hover {
  border-color: var(--primary-color);
  background-color: #fafafa;
}

.backdrop-blur-sm {
  backdrop-filter: none; /* 扁平化设计不使用模糊效果 */
}

.text-shadow {
  text-shadow: none; /* 扁平化设计不使用文字阴影 */
}

.bg-gradient-primary {
  background-color: var(--primary-color);
}

.bg-gradient-success {
  background-color: var(--success-color);
}

.bg-gradient-info {
  background-color: var(--info-color);
}

.rounded-4 {
  border-radius: var(--border-radius) !important;
}

.rounded-top-4 {
  border-top-left-radius: var(--border-radius) !important;
  border-top-right-radius: var(--border-radius) !important;
}

.article-card:hover .article-title {
  color: var(--primary-color) !important;
}

/* 添加新颜色的文本和背景类 */
.text-purple {
  color: var(--purple-color) !important;
}

.text-pink {
  color: var(--pink-color) !important;
}

.bg-purple {
  background-color: var(--purple-color) !important;
}

.bg-pink {
  background-color: var(--pink-color) !important;
}

/* ===== 热门厂商和热门节点美化样式 ===== */
.popular-vendors-section, .popular-regions-section {
    position: relative;
    overflow: hidden;
}

/* 厂商LOGO和标题链接样式 */
.vendor-logo-link {
    display: inline-block;
    transition: all 0.3s ease;
}

.vendor-logo-link:hover {
    transform: scale(1.05);
}

.vendor-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.vendor-title-link:hover {
    color: #07c160;
    text-decoration: none;
}

/* 节点旗帜和标题链接样式 */
.region-flag-link {
    display: inline-block;
    transition: all 0.3s ease;
}

.region-flag-link:hover {
    transform: scale(1.05);
}

.region-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.region-title-link:hover {
    color: #07c160;
    text-decoration: none;
}

.popular-vendors-section::before, .popular-regions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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=\"%2307c160\" fill-opacity=\"0.03\"%3E%3Cpath d=\"M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z\"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

/* 厂商卡片样式 */
.vendor-card-modern {
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.vendor-card-inner {
    background: #fff;
    border-radius: 12px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.vendor-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #07c160, #05a84a);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.vendor-card-modern:hover .vendor-card-inner {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(7, 193, 96, 0.2);
}

.vendor-card-modern:hover .vendor-card-inner::before {
    transform: scaleX(1);
}

.vendor-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.vendor-logo-modern {
    max-height: 60px;
    max-width: 120px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.vendor-logo-placeholder-modern {
    width: 80px;
    height: 60px;
    background: rgba(7, 193, 96, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #07c160;
    font-size: 1.8rem;
}

.vendor-info {
    text-align: center;
}

.vendor-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #333;
    transition: color 0.3s ease;
}

.vendor-card-modern:hover .vendor-title {
    color: #07c160;
}

.vendor-stats {
    margin-bottom: 1rem;
}

.product-count {
    display: inline-block;
    background: rgba(7, 193, 96, 0.1);
    color: #07c160;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* 地区卡片样式 */
.region-card-modern {
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.region-card-inner {
    background: #fff;
    border-radius: 12px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.region-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #07c160, #05a84a);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.region-card-modern:hover .region-card-inner {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(7, 193, 96, 0.2);
}

.region-card-modern:hover .region-card-inner::before {
    transform: scaleX(1);
}

.region-flag-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.region-flag-modern {
    max-height: 50px;
    max-width: 70px;
    object-fit: contain;
    transition: all 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.region-flag-placeholder-modern {
    width: 70px;
    height: 50px;
    background: rgba(7, 193, 96, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #07c160;
    font-size: 1.8rem;
}

.region-info {
    text-align: center;
}

.region-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #333;
    transition: color 0.3s ease;
}

.region-card-modern:hover .region-title {
    color: #07c160;
}

.region-stats {
    margin-bottom: 1rem;
}

/* 自定义列样式 - 一行5个 */
.col-xl-2-4 {
    flex: 0 0 auto;
    width: 20%;
    max-width: 20%;
}

/* 确保在大屏幕上一行5个 */
@media (min-width: 1200px) {
    .col-xl-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* 响应式调整 */
@media (max-width: 1199.98px) {
    .col-xl-2-4 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 991.98px) {
    .col-xl-2-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .vendor-card-inner, .region-card-inner {
        padding: 1.2rem;
    }
    
    .vendor-logo-wrapper, .region-flag-wrapper {
        height: 70px;
        margin-bottom: 1rem;
    }
    
    .vendor-logo-modern {
        max-height: 50px;
        max-width: 100px;
    }
    
    .region-flag-modern {
        max-height: 40px;
        max-width: 60px;
    }
}

@media (max-width: 767.98px) {
    .col-xl-2-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .vendor-card-inner, .region-card-inner {
        padding: 1rem;
    }
    
    .vendor-logo-wrapper, .region-flag-wrapper {
        height: 60px;
    }
    
    .vendor-logo-modern {
        max-height: 40px;
        max-width: 80px;
    }
    
    .region-flag-modern {
        max-height: 35px;
        max-width: 50px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }
}

/* ===== 响应式设计 ===== */
@media (max-width: 992px) {
  .hero-area {
    padding: 100px 0;
    min-height: 550px;
  }

  .category-wrapper {
    margin-top: -30px;
  }

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

@media (max-width: 768px) {
  .hero-area {
    padding: 80px 0;
    min-height: 500px;
  }

  .hero-area .display-4 {
    font-size: 2.2rem;
  }

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

  .world-map-container {
    display: none;
  }

  .category-nav {
    margin-top: -20px;
  }

  .product-card {
    padding: 15px;
  }

  .product-card h3 {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-area {
    padding: 60px 0;
    min-height: 450px;
  }

  .hero-area .display-4 {
    font-size: 1.8rem;
  }

  .category-wrapper {
    margin-top: 0;
  }
}

/* 移动端适配 */
@media (max-width: 767.98px) {
  /* 1. 隐藏英雄区的二维码 */
  .hero-area .col-lg-6:last-child {
    display: none;
  }

  /* 调整英雄区内容宽度 */
  .hero-area .col-lg-6:first-child {
    width: 100%;
  }

  /* 调整英雄区下边距 */
  .hero-area {
    padding: 70px 0;
    margin-bottom: 0;
    min-height: 400px;
  }
  
  /* 2. 产品类型卡片，每行显示4个，显示两行 */
  .category-nav .row-cols-2 {
    --bs-gutter-x: 0.5rem;
  }
  
  .category-nav .col {
    flex: 0 0 25%;
    max-width: 25%;
    padding-left: calc(var(--bs-gutter-x) * .5);
    padding-right: calc(var(--bs-gutter-x) * .5);
  }
  
  .category-nav .category-item {
    padding: 0.5rem !important;
  }
  
  .category-nav .icon-circle {
    width: 40px;
    height: 40px;
    padding: 0.5rem !important;
  }
  
  .category-nav .fa-3x {
    font-size: 1.5em;
  }
  
  /* 只显示前8个类别（两行） */
  .category-nav .col:nth-child(n+9) {
    display: none;
  }
  
  /* 3. 不显示页脚 */
  footer.footer {
    display: none;
  }
  
  /* 新增：1. 推荐云资源卡片不显示详情按钮 */
  .home-top-featured-products .btn-sm {
    display: none;
  }
  
  /* 新增：2. 增大热门VPS产品的厂商LOGO */
  .product-card .vendor-logo {
    max-height: 60px !important;
    max-width: 140px !important;
  }
  
  /* 新增：3. 服务特点卡片一行显示两个 */
  .feature-item {
    margin-bottom: 20px;
  }
  
  /* 服务特点部分的列布局调整为一行两个 */
  .row-cols-1.row-cols-md-2.row-cols-lg-4 .col {
    flex: 0 0 50%;
    max-width: 50%;
  }
}