/* AI 基础设施页面样式 */

/* ---------- Banner ---------- */
.banner.ai-infra {
  background-image: url("../img/case-banner.jpg");
}

/* ---------- 概述区 ---------- */
.ai-overview {
  padding: 80px 16%;
  background: #fff;
}
.ai-overview .overview-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.ai-overview .overview-title {
  font-size: 28px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 16px;
}
.ai-overview .overview-title span {
  color: #1a6fc9;
}
.ai-overview .overview-desc {
  font-size: 15px;
  color: #8e9bae;
  line-height: 28px;
  margin-bottom: 40px;
}
.ai-overview .overview-highlight {
  display: flex;
  gap: 24px;
  margin-bottom: 36px;
}
.ai-overview .highlight-item {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #f8f9fc;
  border-radius: 12px;
  border: 1px solid #e8ecf1;
  text-align: left;
  transition: all 0.3s ease-in-out;
}
.ai-overview .highlight-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(13,71,161,.1);
}
.ai-overview .highlight-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.ai-overview .highlight-text h4 {
  font-size: 15px;
  color: #2c3e50;
  font-weight: bold;
  margin-bottom: 6px;
}
.ai-overview .highlight-text p {
  font-size: 13px;
  color: #8e9bae;
  line-height: 22px;
}
.ai-overview .overview-arch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
}
.ai-overview .arch-node {
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  position: relative;
  min-width: 120px;
  text-align: center;
}
.ai-overview .arch-node.node-ai {
  background: linear-gradient(135deg, #1a6fc9, #42a5f5);
}
.ai-overview .arch-node.node-agent {
  background: linear-gradient(135deg, #0d47a1, #1976d2);
}
.ai-overview .arch-node.node-action {
  background: linear-gradient(135deg, #42a5f5, #90caf9);
}
.ai-overview .arch-arrow {
  width: 40px;
  height: 2px;
  background: #c5cae9;
  position: relative;
}
.ai-overview .arch-arrow::after {
  content: '';
  position: absolute;
  right: -2px;
  top: -4px;
  width: 0;
  height: 0;
  border-left: 8px solid #c5cae9;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* ---------- 双栏产品卡片 ---------- */
.ai-products {
  padding: 60px 16% 80px;
  background: #f8f9fc;
}
.ai-products .products-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
}
.ai-products .product-card {
  flex: 1;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8ecf1;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}
.ai-products .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(13,71,161,.12);
}
.ai-products .product-header {
  padding: 32px 28px 20px;
  position: relative;
}
.ai-products .product-header.mcp-header {
  background: linear-gradient(135deg, #0d47a1, #1565c0);
}
.ai-products .product-header.skills-header {
  background: linear-gradient(135deg, #1a6fc9, #42a5f5);
}
.ai-products .product-header h3 {
  font-size: 24px;
  color: #fff;
  font-weight: bold;
  margin-bottom: 4px;
}
.ai-products .product-header .product-subtitle {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}
.ai-products .product-header .product-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 14px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
}
.ai-products .product-body {
  padding: 24px 28px;
}
.ai-products .product-body p {
  font-size: 14px;
  color: #5a6a7e;
  line-height: 26px;
  margin-bottom: 16px;
}
.ai-products .feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.ai-products .feature-list li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  font-size: 14px;
  color: #5a6a7e;
  line-height: 1.6;
}
.ai-products .feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1a6fc9;
}
.ai-products .feature-list li:nth-child(n+4)::before {
  background: #42a5f5;
}
.ai-products .product-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #1a6fc9, #42a5f5);
  transition: all 0.3s ease;
  text-decoration: none;
}
.ai-products .product-link:hover {
  box-shadow: 0 4px 16px rgba(26,111,201,.3);
  transform: translateY(-2px);
}
.ai-products .product-link .arrow {
  margin-left: 8px;
  transition: transform 0.3s;
}
.ai-products .product-link:hover .arrow {
  transform: translateX(4px);
}

/* ---------- 场景展示区 ---------- */
.ai-scenarios {
  padding: 80px 16%;
  background: #fff;
}
.ai-scenarios .scenarios-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ai-scenarios .section-title {
  text-align: center;
  margin-bottom: 48px;
}
.ai-scenarios .section-title h2 {
  font-size: 28px;
  color: #2c3e50;
  font-weight: bold;
  margin-bottom: 8px;
}
.ai-scenarios .section-title h2 span {
  color: #1a6fc9;
}
.ai-scenarios .section-title p {
  font-size: 14px;
  color: #8e9bae;
}
.ai-scenarios .scenarios-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.ai-scenarios .scenario-item {
  width: calc(33.33% - 14px);
  padding: 24px;
}
.ai-scenarios .scenarios-grid-five .scenario-item {
  width: calc(33.33% - 14px);
  padding: 24px;
  background: #f8f9fc;
  border-radius: 12px;
  border: 1px solid #e8ecf1;
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
}
.ai-scenarios .scenario-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(13,71,161,.1);
}
.ai-scenarios .scenario-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}
.ai-scenarios .scenario-item h4 {
  font-size: 16px;
  color: #2c3e50;
  font-weight: bold;
  margin-bottom: 8px;
}
.ai-scenarios .scenario-item p {
  font-size: 13px;
  color: #8e9bae;
  line-height: 22px;
}
.ai-scenarios .scenario-tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ai-scenarios .scenario-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 11px;
  color: #1a6fc9;
  background: #ebf4ff;
  border: 1px solid #bee3f8;
}

/* ---------- CTA 区 ---------- */
.ai-cta {
  padding: 60px 16%;
  background: linear-gradient(135deg, #f0f4fa, #e8f0fe);
  text-align: center;
}
.ai-cta .cta-inner {
  max-width: 700px;
  margin: 0 auto;
}
.ai-cta h3 {
  font-size: 24px;
  color: #2c3e50;
  font-weight: bold;
  margin-bottom: 12px;
}
.ai-cta p {
  font-size: 14px;
  color: #8e9bae;
  margin-bottom: 28px;
  line-height: 1.6;
}
.ai-cta .cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.ai-cta .cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.ai-cta .cta-btn-primary {
  background: linear-gradient(135deg, #1a6fc9, #42a5f5);
  color: #fff;
}
.ai-cta .cta-btn-primary:hover {
  box-shadow: 0 4px 16px rgba(26,111,201,.3);
  transform: translateY(-2px);
}
.ai-cta .cta-btn-secondary {
  background: #fff;
  color: #1a6fc9;
  border: 1px solid #1a6fc9;
}
.ai-cta .cta-btn-secondary:hover {
  background: #f0f4fa;
  transform: translateY(-2px);
}

/* ---------- 响应式 ---------- */
@media only screen and (max-width: 768px) {
  .ai-overview {
    padding: 48px 5%;
  }
  .ai-overview .overview-title {
    font-size: 22px;
  }
  .ai-overview .overview-arch {
    flex-direction: column;
    gap: 12px;
  }
  .ai-overview .overview-highlight {
    flex-direction: column;
    gap: 12px;
  }
  .ai-overview .arch-arrow {
    width: 2px;
    height: 24px;
    background: #c5cae9;
  }
  .ai-overview .arch-arrow::after {
    right: auto;
    left: -4px;
    bottom: -2px;
    top: auto;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid #c5cae9;
    border-bottom: none;
  }
  .ai-products {
    padding: 40px 5% 48px;
  }
  .ai-products .products-grid {
    flex-direction: column;
    gap: 20px;
  }
  .ai-scenarios {
    padding: 48px 5%;
  }
  .ai-scenarios .scenarios-grid {
    flex-direction: column;
  }
  .ai-scenarios .scenario-item {
    width: 100%;
  }
  .ai-cta {
    padding: 40px 5%;
  }
  .ai-cta .cta-btns {
    flex-direction: column;
    align-items: center;
  }
}

/* ---------- 首页 AI 基础设施展示区 ---------- */
.ai-infra-section {
  padding: 60px 16%;
  background: linear-gradient(135deg, #f0f4fa, #e8f0fe);
}
.ai-infra-section .section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ai-infra-section .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}
.ai-infra-section .section-head h2 {
  font-size: 24px;
  color: #2c3e50;
  font-weight: bold;
}
.ai-infra-section .section-head h2 span {
  color: #1a6fc9;
}
.ai-infra-section .section-head .section-desc {
  font-size: 14px;
  color: #8e9bae;
  margin-top: 6px;
}
.ai-infra-section .section-head .more-link {
  font-size: 14px;
  color: #1a6fc9;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s;
}
.ai-infra-section .section-head .more-link:hover {
  color: #0d47a1;
}
.ai-infra-section .infra-cards {
  display: flex;
  gap: 24px;
}
.ai-infra-section .infra-card {
  flex: 1;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8ecf1;
  padding: 28px 24px;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}
.ai-infra-section .infra-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(13,71,161,.1);
}
.ai-infra-section .infra-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.ai-infra-section .infra-card.card-mcp::after {
  background: linear-gradient(90deg, #0d47a1, #1565c0);
}
.ai-infra-section .infra-card.card-skills::after {
  background: linear-gradient(90deg, #1a6fc9, #42a5f5);
}
.ai-infra-section .infra-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: bold;
}
.ai-infra-section .card-mcp .infra-card-icon {
  background: linear-gradient(135deg, #0d47a1, #1565c0);
  color: #fff;
}
.ai-infra-section .card-skills .infra-card-icon {
  background: linear-gradient(135deg, #1a6fc9, #42a5f5);
  color: #fff;
}
.ai-infra-section .infra-card h4 {
  font-size: 18px;
  color: #2c3e50;
  font-weight: bold;
  margin-bottom: 8px;
}
.ai-infra-section .infra-card p {
  font-size: 13px;
  color: #8e9bae;
  line-height: 22px;
  margin-bottom: 16px;
}
.ai-infra-section .infra-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.ai-infra-section .infra-card-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}
.ai-infra-section .card-mcp .infra-card-tag {
  color: #1a6fc9;
  background: #ebf4ff;
  border: 1px solid #bee3f8;
}
.ai-infra-section .card-skills .infra-card-tag {
  color: #2b6cb0;
  background: #edf0f5;
  border: 1px solid #dde2ea;
}
.ai-infra-section .infra-card-link {
  font-size: 13px;
  color: #1a6fc9;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s;
}
.ai-infra-section .infra-card:hover .infra-card-link {
  gap: 8px;
}

/* 首页展示区响应式 */
@media only screen and (max-width: 768px) {
  .ai-infra-section {
    padding: 40px 5%;
  }
  .ai-infra-section .section-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
  }
  .ai-infra-section .infra-cards {
    flex-direction: column;
    gap: 16px;
  }
}
