.tech-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.tech-summary-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.tech-summary-card:nth-child(1) {
  border-color: #bbf7d0;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.tech-summary-card:nth-child(2) {
  border-color: #bfdbfe;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

.tech-summary-card:nth-child(3) {
  border-color: #ddd6fe;
  background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 100%);
}

.tech-summary-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 8px;
}

.tech-summary-label {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 技术栈分类区域 */
.tech-category {
  margin-bottom: 28px;
}

.tech-category-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tech-category-title .cat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.cat-icon.frontend { background: #dbeafe; color: #2563eb; }
.cat-icon.backend { background: #d1fae5; color: #059669; }
.cat-icon.database { background: #ede9fe; color: #7c3aed; }
.cat-icon.mobile { background: #fce7f3; color: #db2777; }
.cat-icon.other { background: #fef3c7; color: #d97706; }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.tech-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.tech-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.tech-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.tech-card-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
  color: #fff;
}

.tech-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.tech-card-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: auto;
  white-space: nowrap;
}

.badge-cloud {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.badge-local {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.badge-both {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.tech-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 10px;
}

.tech-card-scenes {
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.tech-card-scenes strong {
  display: block;
  font-size: 12px;
  color: var(--text);
  margin-bottom: 6px;
}

.tech-card-scenes ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
}

.tech-card-scenes ul li {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0 0 6px 0;
  padding: 0;
  position: static;
}

.tech-card-scenes ul li::before {
  content: none;
}

.tech-card-scenes ul li::marker {
  color: var(--text-secondary);
}

.tech-card-scenes ul li:last-child {
  margin-bottom: 0;
}

/* 平台对比区域 */
.platform-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.platform-col {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.platform-col.cloud {
  border-color: #bfdbfe;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

.platform-col.local {
  border-color: #fde68a;
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
}

.platform-col-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.platform-col-title svg {
  width: 20px;
  height: 20px;
}

.platform-col-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.7;
}

.platform-stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-stack-tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
}

.cloud .platform-stack-tag {
  background: #f8fbff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.local .platform-stack-tag {
  background: #fffdf5;
  border-color: #fde68a;
  color: #92400e;
}

@media (max-width: 900px) {
  .platform-compare {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }
}
