/* ========================================
   GEO优化服务页面样式
   仿制 020yueshi.com/GEOFW/
   ======================================== */

/* --- 旧 srv-hero 已迁移至统一 .geo-page-banner，此处隐藏 --- */
.srv-hero,
.srv-hero-bg,
.srv-hero-content,
.srv-hero > .srv-hero-content > p,
.srv-hero h1 { display: none !important; }
@keyframes srvHeroPulse { /* 保留但不使用 */ }

/* --- 保留标签组在 geo-page-banner 内的样式（浅色背景适配） --- */
.srv-hero-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;          /* 原 28px → 压缩 */
  margin-top: 4px;             /* 原 8px → 压缩 */
}
.srv-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;            /* 原 6px 16px → 压缩 */
  border-radius: 16px;
  background: rgba(37,99,235,0.06);
  border: 1px solid rgba(37,99,235,0.12);
  font-size: 12px;                /* 原 13px → 缩小 */
  color: #2563eb;
}
.srv-hero-tag i {
  color: #3b82f6;
  font-size: 11px;              /* 原 12px → 缩小 */
}
.srv-hero-btns {
  display: flex;
  gap: 12px;                    /* 原 16px → 压缩 */
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 4px;             /* 减少上方空白 */
}

/* --- Banner 标题样式（ geo-page-banner 内） --- */
.geo-page-banner h1 {
  font-size: 42px;
  font-weight: 800;
  color: #1e3a5c;
  margin: 10px auto 16px;
  position: relative;
  display: block;             /* 改为block，独占一行 */
  text-align: center;         /* 居中 */
}
.geo-page-banner h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* --- 技术框架区 --- */
.srv-framework {
  background: #fff;
}
.srv-framework-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.srv-fw-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px 20px;
  transition: all 0.3s;
}
.srv-fw-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 4px 16px rgba(37,99,235,0.08);
  transform: translateY(-2px);
}
.srv-fw-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.srv-fw-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1e3a5c;
  margin-bottom: 4px;
}
.srv-fw-en {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.srv-fw-card p {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 14px;
}
.srv-fw-note {
  font-size: 12px;
  color: #059669;
  background: #ecfdf5;
  padding: 8px 12px;
  border-radius: 6px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.6;
}
.srv-fw-note i {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 12px;
}

/* --- 服务承诺区 --- */
.srv-commitments {
  background: #f8fafc;
}
.srv-commit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.srv-commit-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px 24px;
  transition: all 0.3s;
  border-left: 4px solid #2563eb;
}
.srv-commit-card:hover {
  box-shadow: 0 4px 20px rgba(37,99,235,0.08);
  transform: translateY(-2px);
}
.srv-commit-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1e3a5c, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  margin-bottom: 14px;
}
.srv-commit-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1e3a5c;
  margin-bottom: 10px;
}
.srv-commit-card p {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 14px;
}
.srv-commit-bottom {
  font-size: 12px;
  color: #6b7280;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
  line-height: 1.6;
}
.srv-commit-label {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 6px;
}

/* --- 六步流程区 --- */
.srv-process {
  background: #fff;
}
.srv-process-timeline {
  margin-top: 30px;
  position: relative;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.srv-process-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #2563eb, #93c5fd);
}
.srv-step {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  position: relative;
}
.srv-step:last-child {
  margin-bottom: 0;
}
.srv-step-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a5c, #2563eb);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.srv-step-body {
  flex: 1;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px 24px;
  transition: all 0.3s;
}
.srv-step:hover .srv-step-body {
  border-color: #bfdbfe;
  box-shadow: 0 2px 12px rgba(37,99,235,0.06);
}
.srv-step-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1e3a5c;
  margin-bottom: 8px;
}
.srv-step-body p {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 10px;
}
.srv-step-deliver {
  font-size: 12px;
  color: #2563eb;
  background: #eff6ff;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.srv-step-note {
  font-size: 12px;
  color: #6b7280;
  padding: 8px 12px;
  background: #fffbeb;
  border-radius: 6px;
  border: 1px solid #fef3c7;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.6;
}
.srv-step-note i {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 12px;
}
.srv-step-note .fa-ban {
  color: #dc2626;
}
.srv-step-note .fa-check-circle {
  color: #059669;
}
.srv-step-note .fa-exclamation-circle {
  color: #d97706;
}

/* --- 合规禁区区 --- */
.srv-boundary {
  background: #f8fafc;
}
.srv-boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.srv-boundary-card {
  border-radius: 12px;
  padding: 28px 24px;
  transition: all 0.3s;
}
/* 第一张卡片（坚决不做）─ 红色 */
.srv-boundary-card:nth-child(1) {
  background: #fef2f2;
  border: 1px solid #fecaca;
}
.srv-boundary-card:nth-child(1) .srv-boundary-title {
  color: #dc2626;
}
.srv-boundary-card:nth-child(1) .srv-boundary-list li i {
  color: #dc2626;
}
/* 第二张卡片（合规坚持）─ 绿色 */
.srv-boundary-card:nth-child(2) {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}
.srv-boundary-card:nth-child(2) .srv-boundary-title {
  color: #059669;
}
.srv-boundary-card:nth-child(2) .srv-boundary-list li i {
  color: #059669;
}
.srv-boundary-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-left: 34px;
  position: relative;
}
.srv-boundary-title::before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
}
.srv-boundary-card:nth-child(1) .srv-boundary-title::before {
  content: "🚫";
}
.srv-boundary-card:nth-child(2) .srv-boundary-title::before {
  content: "✅";
}
.srv-boundary-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.srv-boundary-list li {
  padding: 8px 0;
  font-size: 13px;
  color: #374151;
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.srv-boundary-list li:last-child {
  border-bottom: none;
}
.srv-boundary-card:nth-child(1) .srv-boundary-list li i {
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 13px;
}
.srv-boundary-card:nth-child(2) .srv-boundary-list li i {
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 13px;
}
.srv-legal {
  margin-top: 24px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.srv-legal i {
  color: #2563eb;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- CTA评估区 --- */
.srv-cta {
  background: linear-gradient(135deg, #1e3a5c 0%, #0f172a 100%);
  padding: 60px 0;
}
.srv-cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  color: #fff;
}
.srv-cta-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
/* 第一块：评估清单 */
.srv-cta-block:first-child .srv-cta-block-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 30px;
}
.srv-cta-block:first-child .srv-cta-block-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  text-align: left;
  margin-bottom: 36px;
}
.srv-cta-block:first-child .srv-cta-block-body .srv-cta-item,
.srv-cta-block:first-child .srv-cta-block-body > div[class*="cta-item"] {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}
.srv-cta-block:first-child .srv-cta-block-body i,
.srv-cta-block:first-child .srv-cta-block-body .fa {
  color: #60a5fa;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}
/* 第二块：承诺 */
.srv-cta-block:last-child .srv-cta-block-title {
  display: none;
}
.srv-cta-block:last-child .srv-cta-block-desc {
  display: none;
}
.srv-cta-block:last-child .srv-cta-block-body {
  text-align: left;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: rgba(5,150,105,0.1);
  border: 1px solid rgba(5,150,105,0.2);
  border-radius: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
}
.srv-cta-block:last-child .srv-cta-block-body strong {
  color: #6ee7b7;
}
.srv-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- 响应式适配 --- */
@media (max-width: 1024px) {
  .srv-framework-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .srv-framework-grid {
    grid-template-columns: 1fr;
  }
  .srv-commit-grid {
    grid-template-columns: 1fr;
  }
  .srv-boundary-grid {
    grid-template-columns: 1fr;
  }
  .srv-cta-block:first-child .srv-cta-block-body {
    grid-template-columns: 1fr;
  }
  .srv-process-timeline::before {
    left: 23px;
  }
  .srv-step-num {
    width: 46px;
    height: 46px;
    font-size: 15px;
  }
  .srv-step-body {
    padding: 16px;
  }
  .srv-cta-content h2 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .srv-hero-tag {
    font-size: 12px;
    padding: 4px 12px;
  }
  .srv-fw-icon {
    font-size: 28px;
  }
  .srv-cta-content h2 {
    font-size: 20px;
  }
}
