/* 腾讯云风格 - 首页样式 */

/* ==================== Banner 区域 ==================== */
.banner-cont {
  width: 100%;
}

.banner-cont .swiper-slide {
  height: 520px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.banner-cont .swiper-slide .img {
  z-index: -1;
  max-height: 100%;
  max-width: 100%;
}

/* 默认 banner 背景 */
.banner-cont .swiper-slide.slide-default {
  background: linear-gradient(135deg, #F0F5FF 0%, #D9E4FF 50%, #E8EDF5 100%);
}

.banner-cont .swiper-slide.slide-blue {
  background: linear-gradient(135deg, #0052D9 0%, #3370E2 50%, #5B8DEF 100%);
}

.banner-cont .swiper-slide.slide-blue h1,
.banner-cont .swiper-slide.slide-blue .banner-desc {
  color: #fff;
}

.banner-cont .swiper-slide.slide-blue .btn-normal-light {
  color: #fff;
  border-color: #fff;
}

.banner-cont .swiper-slide.slide-dark {
  background: linear-gradient(135deg, #1B2643 0%, #2C3E6B 50%, #1B2643 100%);
}

.banner-cont .swiper-slide.slide-dark h1,
.banner-cont .swiper-slide.slide-dark .banner-desc {
  color: #fff;
}

.banner-cont .swiper-slide.slide-dark .btn-normal-light {
  color: #fff;
  border-color: #fff;
}

.banner-inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: 0 !important;
}

.banner-text {
  max-width: 600px;
}

.banner-text h1 {
  font-size: 44px;
  font-weight: 600;
  color: #1B2643;
  line-height: 1.3;
  margin-bottom: 20px;
}

.banner-desc {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 36px;
}

.banner-btn-group {
  display: flex;
  align-items: center;
}

.banner-cont .swiper-pagination-bullet {
  width: 36px;
  height: 4px;
  background: rgba(0, 0, 0, 0.15);
  opacity: 1;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.banner-cont .swiper-pagination-bullet-active {
  background: #0052D9;
  width: 48px;
}

/* 快捷入口卡片 */
.banner-quick {
  margin-top: -40px;
  position: relative;
  z-index: 10;
  padding-bottom: 40px;
}

.quick-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.quick-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.quick-card:hover {
  box-shadow: 0 6px 20px rgba(0, 82, 217, 0.12);
  transform: translateY(-4px);
}

.quick-card:hover h5 {
  color: #0052D9;
}

.quick-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #ECF2FE;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-info {
  flex: 1;
}

.quick-info h5 {
  font-size: 15px;
  font-weight: 600;
  color: #1B2643;
  margin-bottom: 4px;
  transition: color 0.2s;
}

.quick-info p {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
}

.quick-tag {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, #0052D9, #3370E2);
  color: #fff;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 0 0 0 8px;
}

/* ==================== 核心产品区域 ==================== */
.product-section {
  background: #F7F8FA;
}

.product-section .section-content {
  padding-top: 80px;
  padding-bottom: 60px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.product-card {
  background: #fff;
  border-radius: 8px;
  padding: 32px 28px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  border-color: #0052D9;
  box-shadow: 0 6px 24px rgba(0, 82, 217, 0.1);
  transform: translateY(-4px);
}

.product-card:hover .product-title {
  color: #0052D9;
}

.product-card-featured {
  border-color: #0052D9;
  background: linear-gradient(180deg, #FAFBFF 0%, #FFFFFF 100%);
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #0052D9, #3370E2);
  color: #fff;
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 20px;
}

.product-icon {
  width: 56px;
  height: 56px;
  background: #ECF2FE;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0052D9;
  margin-bottom: 20px;
}

.product-title {
  font-size: 20px;
  font-weight: 600;
  color: #1B2643;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.product-desc {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.5);
  line-height: 1.6;
  margin-bottom: 16px;
  min-height: 44px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.product-tags .tag {
  font-size: 12px;
  padding: 4px 10px;
  background: #F2F3F5;
  color: rgba(0, 0, 0, 0.6);
  border-radius: 4px;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #F2F3F5;
}

.product-price {
  font-size: 14px;
}

.product-price .price-num {
  font-size: 24px;
  font-weight: 700;
}

.product-btns {
  display: flex;
  gap: 8px;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

/* 次要产品网格 - 列表卡片 */
.product-grid-secondary {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
}

.product-card-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
}

.product-card-mini:hover .product-info h4 {
  color: #0052D9;
}

.product-card-mini:hover .product-arrow {
  color: #0052D9;
  transform: translateX(4px);
}

.product-icon-sm {
  width: 40px;
  height: 40px;
  background: #ECF2FE;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-info {
  flex: 1;
}

.product-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: #1B2643;
  margin-bottom: 4px;
  transition: color 0.2s;
}

.product-info p {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
}

.product-arrow {
  color: rgba(0, 0, 0, 0.25);
  font-size: 18px;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

/* ==================== 解决方案区域 ==================== */
.resolve {
  background: linear-gradient(135deg, #0C1229 0%, #1B2643 50%, #0C1229 100%);
  position: relative;
}

.resolve::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(0, 82, 217, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(91, 141, 239, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.resolve .section-content {
  position: relative;
  z-index: 1;
}

.resolve-content {
  margin-top: 48px;
}

.resolve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.resolve-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 28px 24px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  display: block;
}

.resolve-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 82, 217, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.resolve-card:hover h4 {
  color: #5B8DEF;
}

.resolve-card:hover .resolve-link {
  color: #5B8DEF;
}

.resolve-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 82, 217, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.resolve-card h4 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.resolve-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 20px;
  min-height: 48px;
}

.resolve-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.2s;
}

/* ==================== 服务实践/合作伙伴 ==================== */
.practice-content {
  margin-top: 40px;
  flex-wrap: wrap;
}

.practice-box {
  margin: 10px;
  padding: 30px;
  width: 453px;
  border: 1px solid #E7E8EC;
  text-align: center;
  border-radius: 8px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.practice-box img {
  width: 177px;
  height: 66px;
  cursor: pointer;
}

.practice-box:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: #0052D9;
}

.brand-group {
  margin: -10px;
  display: flex;
  flex-wrap: wrap;
}

.practice .brand-box {
  margin: 10px;
  width: 216px;
  height: 124px;
  align-items: center;
  display: flex;
  justify-content: center;
  border: 1px solid #E7E8EC;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.practice .brand-box img {
  width: 86px;
  height: 75px;
  cursor: pointer;
}

.practice .brand-box:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: #0052D9;
}

/* ==================== 安全合规基础设施 ==================== */
.section-base {
  background: #F7F8FA;
}

.base-content-wrapper {
  display: flex;
  align-items: center;
  margin-top: 48px;
  gap: 40px;
}

.base-stats {
  flex-shrink: 0;
}

.stat-item {
  display: flex;
  align-items: baseline;
  margin-bottom: 28px;
}

.stat-item:last-child {
  margin-bottom: 0;
}

.stat-num {
  font-size: 48px;
  font-weight: 700;
  color: #0052D9;
  line-height: 1;
}

.stat-plus {
  font-size: 28px;
  font-weight: 600;
  color: #0052D9;
}

.stat-label {
  font-size: 15px;
  color: rgba(0, 0, 0, 0.6);
  margin-left: 16px;
}

.base-map {
  flex: 1;
}

.base-map img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
}

.cert {
  margin-top: 48px;
  border: 2px solid #FFFFFF;
  border-radius: 8px;
  background: linear-gradient(180deg, #F4F6F8 0%, #FDFEFE 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cert-list {
  padding: 0 20px;
}

.cert-list .cert-item {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
}

.cert-list .cert-item img {
  height: 56px;
  width: 56px;
  cursor: pointer;
}

.cert-list .cert-item .title-desc {
  font-size: 12px;
  margin-top: 8px;
}

/* ==================== 新闻资讯 ==================== */
.news-content {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
}

.news-content .news-cont {
  flex: 1;
  min-width: 400px;
}

.news-content .news-head .news-title {
  position: relative;
  padding-left: 12px;
  font-size: 18px;
  font-weight: 600;
  line-height: 20px;
  height: 20px;
  color: #1B2643;
}

.news-content .news-head .news-title::before {
  content: '';
  width: 3px;
  height: 20px;
  position: absolute;
  left: 0;
  top: 0;
  background: #0052D9;
  border-radius: 2px;
}

.news-content .news-head .news-more {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.45);
}

.news-content .news-list {
  margin-top: 20px;
}

.news-content .news-list .news-item {
  line-height: 48px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #E7E8EC;
}

.news-content .news-cont .news-item:nth-child(1) .number,
.news-content .news-cont .news-item:nth-child(2) .number,
.news-content .news-cont .news-item:nth-child(3) .number {
  background: #0052D9;
}

.news-content .news-item .number {
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  width: 16px;
  height: 16px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}

.news-content .news-item .title {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.85);
  transition: color 0.2s;
}

.news-content .news-item .title:hover {
  color: #0052D9;
}

.news-content .news-item .time {
  color: rgba(0, 0, 0, 0.3);
  font-size: 13px;
  min-width: 100px;
  text-align: right;
}

.index .footer-link {
  display: block;
}

.over-hide {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 24px;
}

.over-hide+p {
  display: flex;
  flex-wrap: wrap;
  word-break: break-all;
}
