/* ============================================
   服务聚合页样式 - services.html
   ============================================ */

/* ===== 页面标题（带背景图） ===== */
.page-header {
  background: linear-gradient(135deg, rgba(10,31,92,0.88) 0%, rgba(21,53,160,0.82) 50%, rgba(30,94,255,0.78) 100%),
              url('../images/page-bg.jpg') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  color: #fff;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 20% 50%, rgba(91,140,255,0.18) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(30,94,255,0.12) 0%, transparent 40%);
  z-index: 0;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: 38px;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-header p {
  font-size: 18px;
  max-width: 650px;
  margin: 0 auto;
  opacity: 0.95;
}

/* 标题徽章 */
.header-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.badge {
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.badge:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-3px);
}

.badge i {
  margin-right: 6px;
}

/* ===== 一站式行业解决方案 ===== */
.solution-overview {
  padding: 70px 0;
  text-align: center;
}

.solution-overview .section-title {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #333;
}

.solution-overview .section-desc {
  font-size: 1.1rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto 50px;
}

.solution-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
}

.solution-card {
  flex: 0 0 calc(20% - 25px);
  min-width: 200px;
  background: #fff;
  border-radius: 10px;
  padding: 30px 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.solution-card-icon {
  width: 80px;
  height: 80px;
  background-color: #f0f8ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.solution-card-icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.solution-card-icon i {
  font-size: 32px;
  color: #1976D2;
}

.solution-card h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 15px;
}

.solution-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

/* ===== 领域 Section ===== */
.domain-section {
  padding: 80px 0;
  position: relative;
}

.domain-section:nth-child(even) {
  background-color: #f8f9fc;
}

.domain-section:not(:last-child):after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 1000px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0,0,0,0.05), transparent);
}

/* ===== 领域标题 ===== */
.domain-header {
  text-align: center;
  margin-bottom: 40px;
}

.domain-header .section-title {
  font-size: 28px;
  color: #333;
  margin-bottom: 10px;
}

.domain-header .section-desc {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== 三栏卡片布局 ===== */
.domain-cards {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.domain-card {
  background: #fff;
  border-radius: 14px;
  padding: 30px 25px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.domain-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(30,94,255,0.12);
}

.domain-card-icon {
  font-size: 32px;
  margin-bottom: 15px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.domain-card-icon--solutions {
  background: linear-gradient(135deg, #eef3ff, #d6e4ff);
  color: #1e5eff;
}

.domain-card-icon--products {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  color: #2e7d32;
}

.domain-card h3 {
  font-size: 20px;
  margin-bottom: 18px;
  color: #333;
}

/* 卡片1：解决方案列表 */
.domain-card .solution-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex: 1;
}

.domain-card .solution-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.domain-card .solution-list li:last-child {
  border-bottom: none;
}

.domain-card .solution-list li a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.domain-card .solution-list li a:hover {
  color: #1e5eff;
}

.domain-card .solution-list li a i {
  color: #1e5eff;
  margin-right: 10px;
  font-size: 14px;
  width: 18px;
  text-align: center;
}

/* 卡片2：精选产品 */
.domain-card .product-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
  flex: 1;
}

.domain-card .product-mini-item {
  background: #f8f9fc;
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid transparent;
}

.domain-card .product-mini-item:hover {
  background: #eef3ff;
  border-color: #d0dfff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30,94,255,0.1);
}

.domain-card .product-mini-item img {
  width: 100%;
  height: 110px;
  object-fit: contain;
  margin-bottom: 10px;
}

.domain-card .product-mini-item .mini-name {
  font-size: 14px;
  color: #333;
  line-height: 1.3;
  font-weight: 500;
}

.domain-card .card-link {
  display: inline-flex;
  align-items: center;
  color: #1e5eff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s;
}

.domain-card .card-link:hover {
  gap: 6px;
}

.domain-card .card-link i {
  margin-left: 6px;
  font-size: 13px;
}

/* 产品卡双链接：查看全部产品 + 查看方案 */
.domain-card .card-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: auto;
}

.domain-card .card-links .card-link {
  margin-top: 0;
}

.domain-card .card-link--ghost {
  color: #6b7280;
}

.domain-card .card-link--ghost:hover {
  color: #1e5eff;
}

/* 发布模式：未发布板块解决方案链接灰态（由构建注入 coming-soon 类） */
.domain-card .solution-list li a.coming-soon,
.domain-card .card-link.coming-soon {
  color: #9aa0a6 !important;
  cursor: not-allowed;
}
.domain-card .solution-list li a.coming-soon:hover,
.domain-card .card-link.coming-soon:hover {
  color: #9aa0a6 !important;
  gap: 6px;
}
.domain-card .solution-list li a.coming-soon i {
  color: #9aa0a6 !important;
}

.domain-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e5eff, #5b8cff);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: auto;
  transition: all 0.3s;
}

.domain-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30,94,255,0.3);
}

/* 响应式 */
@media (max-width: 768px) {
  .domain-cards {
    grid-template-columns: 1fr;
  }
  .domain-card .product-mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .domain-card .product-mini-item img {
    height: 90px;
  }
}

/* ===== 水平服务流程 ===== */
.service-process-horizontal {
  padding: 80px 0;
  background: linear-gradient(to bottom, #f9f9f9, #ffffff);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-process-horizontal:before,
.service-process-horizontal:after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(30, 94, 255, 0.03);
  z-index: 0;
}

.service-process-horizontal:before {
  top: -50px;
  left: -50px;
}

.service-process-horizontal:after {
  bottom: -50px;
  right: -50px;
}

.service-process-horizontal .section-title {
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
  padding: 0 20px;
  z-index: 1;
}

.service-process-horizontal .section-title:before,
.service-process-horizontal .section-title:after {
  content: "";
  position: absolute;
  height: 3px;
  bottom: -15px;
  background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.service-process-horizontal .section-title:before {
  left: 25%;
  right: 25%;
  opacity: 0.5;
}

.service-process-horizontal .section-title:after {
  left: 40%;
  right: 40%;
  bottom: -25px;
}

.process-steps-horizontal {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.process-steps-horizontal:before {
  content: "";
  position: absolute;
  top: 55px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, transparent, #e0e0e0 20%, #e0e0e0 80%, transparent);
  z-index: 1;
  border-radius: 1px;
}

.process-step-horizontal {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 0 10px;
  transition: all 0.3s ease;
}

.process-step-horizontal:hover {
  transform: translateY(-5px);
}

.step-number-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 25px;
  box-shadow: 0 8px 20px rgba(30, 94, 255, 0.2);
  position: relative;
  transition: all 0.3s ease;
}

.process-step-horizontal:hover .step-number-circle {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(30, 94, 255, 0.3);
}

.process-step-horizontal h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 10px;
  font-weight: 600;
}

.process-step-horizontal h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

.process-step-horizontal:hover h3:after {
  width: 50px;
}

.process-step-horizontal p {
  color: #666;
  margin: 0;
  font-size: 16px;
  max-width: 300px;
  line-height: 1.6;
}

/* ===== 服务流程 - 垂直布局 ===== */
.service-process {
  padding: 60px 0;
  background-color: #fff;
}

.service-process .section-title {
  text-align: left;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #333;
  font-weight: bold;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step-icon {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.process-step h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 5px 0;
}

.process-step p {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

/* ===== 服务流程 - 垂直布局变体 ===== */
.service-process-vertical {
  padding: 60px 0;
  background-color: #fff;
}

.service-process-vertical .section-title {
  font-size: 2rem;
  color: #333;
  font-weight: bold;
  margin-bottom: 30px;
}

.service-process-vertical .process-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-process-vertical .process-step {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.service-process-vertical .step-icon {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.service-process-vertical .process-step h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 5px 0;
}

.service-process-vertical .process-step p {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

/* ===== 咨询区域 ===== */
.service-contact-simple {
  padding: 60px 0;
  background-color: #fff;
  text-align: center;
}

.service-contact-simple h2 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 15px;
}

.service-contact-simple p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 20px;
}

.service-contact-simple .btn {
  display: inline-block;
  padding: 10px 30px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
}

/* ===== 解决方案实施流程 ===== */
.implementation-process {
  padding: 70px 0;
  background-color: #fff;
}

.implementation-process .section-title {
  font-size: 1.8rem;
  color: #333;
  text-align: center;
  margin-bottom: 50px;
}

.implementation-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.implementation-steps:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 1px;
  background-color: #e0e0e0;
  z-index: 1;
}

.implementation-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.implementation-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.implementation-step h3 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 5px;
  text-align: center;
}

.implementation-step p {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  max-width: 150px;
}

/* ===== 响应式设计 ===== */
@media (max-width: 992px) {
  .domain-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .domain-header-image {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    height: 200px;
    margin-top: 20px;
  }

  .domain-image {
    max-height: 400px;
  }

  .domain-image img {
    max-height: 400px;
  }

  .solution-feature-item .feature-icon img {
    width: 30px;
    height: 30px;
  }

  .solution-card {
    flex: 0 0 calc(33.33% - 25px);
  }

  .process-steps-horizontal {
    flex-wrap: wrap;
  }

  .process-steps-horizontal:before {
    display: none;
  }

  .process-step-horizontal {
    flex: 0 0 50%;
    margin-bottom: 30px;
  }

  .implementation-steps {
    flex-wrap: wrap;
  }

  .implementation-steps:before {
    display: none;
  }

  .implementation-step {
    flex: 0 0 50%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .solution-card {
    flex: 0 0 calc(50% - 25px);
  }

  .process-step-horizontal {
    flex: 0 0 100%;
  }

  .implementation-step {
    flex: 0 0 100%;
  }
}

@media (max-width: 576px) {
  .domain-image {
    max-height: 350px;
  }

  .domain-image img {
    max-height: 350px;
  }

  .solution-feature-item {
    flex: 0 0 220px;
    min-width: 220px;
    padding: 15px;
  }

  .solution-feature-item .feature-icon {
    width: 60px;
    height: 60px;
  }

  .solution-feature-item h4 {
    font-size: 16px;
  }

  .solution-feature-item p {
    font-size: 13px;
  }
}
