/* 客户向业务能力架构图（风格对齐 qyzhglpt，不含技术栈） */

.architecture-biz-section {
  padding: 72px 0;
  background: #f7f9fc;
}

.architecture-biz-section .section-content {
  max-width: 1200px;
}

.architecture-diagram {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(31, 47, 82, 0.08);
  padding: 28px 28px 20px;
  border: 1px solid #e8eef8;
}

.arch-row {
  display: flex;
  align-items: stretch;
  margin-bottom: 22px;
  position: relative;
  gap: 20px;
}

.arch-row:last-child {
  margin-bottom: 0;
}

.arch-row::after {
  content: "";
  position: absolute;
  left: 60px;
  right: 0;
  bottom: -12px;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(36, 83, 232, 0.08),
    rgba(36, 83, 232, 0.35),
    rgba(36, 83, 232, 0.08)
  );
}

.arch-row:last-child::after {
  display: none;
}

.arch-label {
  flex: 0 0 88px;
  background: linear-gradient(160deg, #2453e8 0%, #1a3fbf 100%);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 16px 8px;
  box-shadow: 0 10px 22px rgba(36, 83, 232, 0.22);
  min-height: 96px;
}

.arch-number {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.arch-text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.arch-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.app-modules {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.app-module {
  background: #f8fafc;
  color: #1e293b;
  padding: 14px 12px;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #e8eef8;
  border-left: 3px solid #2453e8;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.app-module:hover {
  transform: translateY(-3px);
  background: #2453e8;
  color: #fff;
  border-color: #2453e8;
  box-shadow: 0 10px 20px rgba(36, 83, 232, 0.18);
}

.arch-core-panel {
  background: linear-gradient(135deg, #eef3ff 0%, #f7fbff 100%);
  border: 1px solid #dce6ff;
  border-radius: 12px;
  padding: 20px;
}

.arch-core-title {
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: #1f2f52;
  margin: 0 0 14px;
}

.arch-core-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.arch-core-item {
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  border: 1px solid #e8eef8;
  box-shadow: 0 4px 12px rgba(31, 47, 82, 0.04);
}

.arch-core-item i {
  display: block;
  font-size: 20px;
  color: #2453e8;
  margin-bottom: 8px;
}

.arch-core-item strong {
  display: block;
  font-size: 14px;
  color: #1e293b;
  margin-bottom: 4px;
}

.arch-core-item span {
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}

.arch-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.arch-flow-item {
  flex: 1 1 140px;
  background: #fff;
  border: 1px solid #e8eef8;
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  position: relative;
}

.arch-flow-item .flow-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: rgba(36, 83, 232, 0.1);
  color: #2453e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.arch-flow-item .flow-title {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}

.arch-flow-item .flow-desc {
  font-size: 12px;
  color: #64748b;
}

.arch-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.arch-pill {
  background: linear-gradient(135deg, #2453e8, #1a3fbf);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(36, 83, 232, 0.2);
}

.arch-cta {
  margin-top: 28px;
  text-align: center;
  padding: 22px 16px 4px;
}

.arch-cta p {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 15px;
}

.arch-cta .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.arch-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  background: #2453e8;
  color: #fff;
  box-shadow: 0 8px 20px rgba(36, 83, 232, 0.25);
}

.arch-cta .btn-outline {
  background: #fff;
  color: #2453e8;
  border: 1.5px solid #2453e8;
  box-shadow: none;
}

.arch-cta .btn:hover {
  opacity: 0.92;
  text-decoration: none;
}

@media (max-width: 768px) {
  .arch-row {
    flex-direction: column;
  }

  .arch-label {
    flex-direction: row;
    gap: 10px;
    min-height: auto;
    padding: 12px 16px;
    justify-content: flex-start;
  }

  .arch-number {
    font-size: 22px;
    margin: 0;
  }

  .arch-row::after {
    left: 0;
  }
}
