/* ===== 页面专属样式 ===== */

/* 服务标签切换 - Tab风格 */
.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}
.tab-nav .tab-btn {
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #4a5f7a;
  background: #f0f4fb;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
}
.tab-nav .tab-btn:hover {
  background: #e4ecf5;
  color: #1e2a44;
}
.tab-nav .tab-btn.active {
  background: #4f7eb3;
  color: white;
  border-color: #4f7eb3;
  box-shadow: 0 4px 16px rgba(79, 126, 179, 0.25);
}
.tab-content {
  display: none;
  animation: fadeUp 0.4s ease;
}
.tab-content.active {
  display: block;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.tab-content .tab-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  background: white;
  border-radius: 24px;
  padding: 32px 36px;
  border: 1px solid #d7e1ed;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.tab-content .tab-inner .tab-icon {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  background: #eaf0fa;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.tab-content .tab-inner .tab-text h4 {
  font-size: 22px;
  font-weight: 700;
  color: #1e2a44;
  margin-bottom: 6px;
}
.tab-content .tab-inner .tab-text p {
  font-size: 15px;
  color: #4a5f7a;
  line-height: 1.8;
}
.tab-content .tab-inner .tab-text .features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 10px;
}
.tab-content .tab-inner .tab-text .features span {
  font-size: 14px;
  color: #2c4b74;
  display: flex;
  align-items: center;
  gap: 4px;
}
.tab-content .tab-inner .tab-text .features span::before {
  content: "✓";
  color: #4f7eb3;
  font-weight: 700;
}

/* 优势卡片 - 网格 + 特色标 */
.advantage-card {
  background: white;
  border-radius: 20px;
  padding: 28px 24px 24px;
  border: 1px solid #d7e1ed;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.advantage-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
  border-color: #4f7eb3;
}
.advantage-card .badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #4f7eb3;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 0 16px 0 16px;
  letter-spacing: 0.5px;
}
.advantage-card .icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #eaf0fa;
  border-radius: 16px;
  font-size: 28px;
  margin-bottom: 12px;
  transition: all 0.3s;
}
.advantage-card:hover .icon-box {
  background: #4f7eb3;
  color: white;
}
.advantage-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1e2a44;
}
.advantage-card .sub {
  font-size: 13px;
  color: #4f7eb3;
  font-weight: 500;
  margin: 2px 0 6px;
}
.advantage-card ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.advantage-card ul li {
  font-size: 13px;
  color: #4a5f7a;
  padding: 3px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.advantage-card ul li::before {
  content: "✓";
  color: #4f7eb3;
  font-weight: 700;
}

/* ===== Banner 全新布局：居中宽幅 + 标语墙 ===== */
.banner-wrapper {
  position: relative;
  padding: 40px 0 0;
  background: linear-gradient(160deg, #0a1628 0%, #162d50 40%, #1e3d6a 70%, #2a5a8a 100%);
  overflow: hidden;
}
.banner-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(79, 126, 179, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(79, 126, 179, 0.08) 0%, transparent 40%);
  z-index: 1;
}
.banner-wrapper .banner-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 30px 0 20px;
}
.banner-wrapper .banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #8ab4f8;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 20px 6px 16px;
  border-radius: 100px;
}
.banner-wrapper .banner-badge .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #5bffb5;
  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, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin: 18px 0 12px;
}
.banner-wrapper h1 .highlight {
  background: linear-gradient(135deg, #8ab4f8, #5bffb5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.banner-wrapper .banner-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  max-width: 620px;
  margin: 0 auto;
}
.banner-wrapper .banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 24px;
}
.banner-wrapper .btn-primary-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #4f7eb3, #3a6291);
  color: #fff;
  font-weight: 600;
  padding: 14px 38px;
  border-radius: 60px;
  font-size: 0.95rem;
  transition: all 0.25s;
  box-shadow: 0 8px 30px rgba(79, 126, 179, 0.3);
  text-decoration: none;
}
.banner-wrapper .btn-primary-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(79, 126, 179, 0.4);
}
.banner-wrapper .btn-outline-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 60px;
  font-size: 0.95rem;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s;
  text-decoration: none;
}
.banner-wrapper .btn-outline-banner:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* 标语墙 - 全新模块 */
.banner-wrapper .slogan-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.banner-wrapper .slogan-wall .slogan-item {
  text-align: center;
  padding: 12px 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.25s;
}
.banner-wrapper .slogan-wall .slogan-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}
.banner-wrapper .slogan-wall .slogan-item .num {
  font-size: 28px;
  font-weight: 800;
  color: #8ab4f8;
  display: block;
  line-height: 1.2;
}
.banner-wrapper .slogan-wall .slogan-item .label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

@media (max-width: 768px) {
  .banner-wrapper .slogan-wall {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .banner-wrapper .slogan-wall .slogan-item .num {
    font-size: 22px;
  }
  .tab-content .tab-inner {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  .tab-content .tab-inner .tab-icon {
    width: 80px;
    height: 80px;
    font-size: 32px;
  }
  .tab-content .tab-inner .tab-text .features {
    justify-content: center;
  }
  .tab-nav .tab-btn {
    padding: 8px 18px;
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .banner-wrapper h1 {
    font-size: 1.8rem;
  }
  .banner-wrapper .btn-primary-banner,
  .banner-wrapper .btn-outline-banner {
    padding: 12px 24px;
    font-size: 0.85rem;
    width: 100%;
    justify-content: center;
  }
  .banner-wrapper .banner-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .banner-wrapper .slogan-wall {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .banner-wrapper .slogan-wall .slogan-item {
    padding: 8px 4px;
  }
  .banner-wrapper .slogan-wall .slogan-item .num {
    font-size: 18px;
  }
  .banner-wrapper .slogan-wall .slogan-item .label {
    font-size: 11px;
  }
}
