/* ===== 页面专属样式 ===== */

/* SEO服务卡片 - 带数字角标 */
.seo-card {
  background: white;
  border-radius: 20px;
  padding: 28px 24px 24px;
  border: 1px solid #d7e1ed;
  transition: all 0.3s;
  position: relative;
}
.seo-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-6px);
  border-color: #4f7eb3;
}
.seo-card .number {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 36px;
  font-weight: 800;
  color: rgba(79, 126, 179, 0.06);
  line-height: 1;
}
.seo-card .icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #eaf0fa;
  border-radius: 14px;
  font-size: 24px;
  margin-bottom: 12px;
  transition: all 0.3s;
}
.seo-card:hover .icon-wrap {
  background: #4f7eb3;
  color: white;
}
.seo-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #1e2a44;
}
.seo-card p {
  font-size: 13px;
  color: #4a5f7a;
  line-height: 1.7;
  margin-top: 4px;
}
.seo-card .tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #4f7eb3;
  background: #eaf0fa;
  padding: 2px 14px;
  border-radius: 20px;
  margin-top: 8px;
  letter-spacing: 0.3px;
}

/* 优化维度 - 进度条风格 */
.dimension-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: white;
  border-radius: 14px;
  border: 1px solid #d7e1ed;
  transition: all 0.25s;
}
.dimension-item:hover {
  border-color: #4f7eb3;
  box-shadow: 0 4px 16px rgba(79, 126, 179, 0.06);
}
.dimension-item .d-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #eaf0fa;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #4f7eb3;
}
.dimension-item .d-content {
  flex: 1;
}
.dimension-item .d-content .d-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e2a44;
}
.dimension-item .d-content .d-desc {
  font-size: 13px;
  color: #4a5f7a;
  line-height: 1.5;
}
.dimension-item .d-bar {
  flex-shrink: 0;
  width: 80px;
  height: 6px;
  background: #eaf0fa;
  border-radius: 4px;
  overflow: hidden;
}
.dimension-item .d-bar .fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #4f7eb3, #8ab4f8);
}

/* ===== Banner 全新布局：居中 + 搜索框模拟 ===== */
.banner-wrapper {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #f0f4fb 0%, #e4ecf5 100%);
  overflow: hidden;
}
.banner-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(79, 126, 179, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(79, 126, 179, 0.04) 0%, transparent 40%);
  z-index: 1;
}
/* 装饰 - 搜索相关元素 */
.banner-wrapper .deco-search {
  position: absolute;
  z-index: 1;
  opacity: 0.04;
  font-size: 120px;
  color: #4f7eb3;
  line-height: 1;
}
.banner-wrapper .deco-search:nth-child(1) {
  top: -30px;
  right: 40px;
  font-size: 200px;
}
.banner-wrapper .deco-search:nth-child(2) {
  bottom: -20px;
  left: 30px;
  font-size: 160px;
}

.banner-wrapper .banner-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: 30px 0 20px;
}
.banner-wrapper .banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 126, 179, 0.08);
  color: #4f7eb3;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 20px 6px 16px;
  border-radius: 100px;
}
.banner-wrapper .banner-badge .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #4f7eb3;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}
.banner-wrapper h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  color: #1a2a3a;
  margin: 14px 0 12px;
}
.banner-wrapper h1 .highlight {
  color: #4f7eb3;
  background: none;
  -webkit-text-fill-color: #4f7eb3;
}
.banner-wrapper .banner-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4a5f7a;
  max-width: 580px;
  margin: 0 auto;
}

/* 搜索框模拟 */
.banner-wrapper .search-mock {
  display: inline-flex;
  align-items: center;
  background: white;
  border-radius: 60px;
  padding: 6px 6px 6px 24px;
  margin-top: 22px;
  box-shadow: 0 8px 40px rgba(79, 126, 179, 0.08);
  border: 1px solid rgba(79, 126, 179, 0.1);
  max-width: 520px;
  width: 100%;
}
.banner-wrapper .search-mock .icon {
  font-size: 18px;
  color: #4a5f7a;
  margin-right: 10px;
}
.banner-wrapper .search-mock .text {
  flex: 1;
  font-size: 15px;
  color: #1a2a3a;
  text-align: left;
  padding: 10px 0;
  font-weight: 500;
}
.banner-wrapper .search-mock .text .highlight-text {
  color: #4f7eb3;
}
.banner-wrapper .search-mock .btn-search {
  background: #4f7eb3;
  color: white;
  border: none;
  padding: 10px 28px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s;
}
.banner-wrapper .search-mock .btn-search:hover {
  background: #3a6291;
  transform: scale(1.02);
}

/* 底部统计 */
.banner-wrapper .stats-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px 50px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(79, 126, 179, 0.08);
}
.banner-wrapper .stats-row .stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4a5f7a;
  font-size: 14px;
}
.banner-wrapper .stats-row .stat-item .num {
  font-weight: 700;
  color: #1a2a3a;
  font-size: 18px;
}

@media (max-width: 1024px) {
  .banner-wrapper .search-mock {
    max-width: 460px;
  }
}
@media (max-width: 768px) {
  .banner-wrapper {
    min-height: auto;
    padding: 30px 0 20px;
  }
  .banner-wrapper .banner-desc {
    max-width: 100%;
  }
  .banner-wrapper .search-mock {
    flex-wrap: wrap;
    padding: 12px 16px;
    border-radius: 24px;
    justify-content: center;
  }
  .banner-wrapper .search-mock .text {
    width: 100%;
    text-align: center;
    padding: 6px 0;
    font-size: 14px;
  }
  .banner-wrapper .search-mock .btn-search {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
  }
  .banner-wrapper .stats-row {
    gap: 16px 30px;
  }
  .banner-wrapper .stats-row .stat-item {
    font-size: 12px;
  }
  .banner-wrapper .stats-row .stat-item .num {
    font-size: 15px;
  }
  .banner-wrapper .deco-search {
    display: none;
  }
  .dimension-item {
    flex-wrap: wrap;
    gap: 8px;
    text-align: center;
    justify-content: center;
  }
  .dimension-item .d-bar {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .banner-wrapper h1 {
    font-size: 1.8rem;
  }
  .banner-wrapper .search-mock .text {
    font-size: 13px;
  }
}
