/* ===== Tech 独有样式 ===== */
.hero-bg-image {
  background-image: url("../assets/hero-tech.jpg");
  background-position: center bottom;
  opacity: 0.55;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.tech-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--cyan) 100%);
}

.tech-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.tech-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.tech-card-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tech-num {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  flex-shrink: 0;
  letter-spacing: 1px;
}

.tech-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.tech-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 102, 255, 0.08);
  color: var(--primary);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.tech-position {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: rgba(0, 102, 255, 0.06);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
}

.tech-card>p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.75;
  margin-bottom: 24px;
}

.tech-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.tech-feature {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 16px 20px;
  border-left: 3px solid var(--primary);
}

.tech-feature h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.tech-feature p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tag {
  padding: 6px 16px;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
}

.uma-showcase {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
}

.uma-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 198, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 56px 60px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.uma-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--cyan) 100%);
}

.flow-diagram {
  background: rgba(0, 198, 255, 0.06);
  border: 1px solid rgba(0, 198, 255, 0.15);
  border-radius: var(--radius);
  padding: 36px 40px;
  margin-bottom: 32px;
}

.flow-title {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 28px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: center;
}

.flow-step {
  background: linear-gradient(135deg,
      rgba(0, 102, 255, 0.2),
      rgba(0, 198, 255, 0.2));
  border: 1px solid rgba(0, 198, 255, 0.3);
  border-radius: 12px;
  padding: 18px 12px;
  text-align: center;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  transition: all 0.3s;
}

.flow-step:hover {
  background: linear-gradient(135deg,
      rgba(0, 102, 255, 0.35),
      rgba(0, 198, 255, 0.35));
  transform: translateY(-4px);
}

.flow-step-num {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 6px;
  font-family: "Courier New", monospace;
  letter-spacing: 1px;
}

.flow-steps .flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid rgba(0, 198, 255, 0.5);
}

.uma-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.uma-tag {
  padding: 8px 20px;
  background: rgba(0, 198, 255, 0.1);
  border: 1px solid rgba(0, 198, 255, 0.2);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--cyan);
}

@media (max-width: 1024px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .uma-card {
    padding: 40px 36px;
  }

  .flow-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .flow-steps .flow-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .tech-card {
    padding: 32px 28px;
  }

  .tech-name {
    font-size: 20px;
  }

  .tech-num {
    width: 48px;
    height: 48px;
    font-size: 18px;
    border-radius: 12px;
  }

  .uma-card {
    padding: 32px 28px;
  }

  .flow-diagram {
    padding: 24px 20px;
  }

  .flow-steps {
    grid-template-columns: 1fr 1fr;
  }
}