/* OpenAVID 扩展样式 */

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 18px;
  margin-top: 56px;
  max-width: 860px;
  width: 100%;
}
.hero-metric {
  background: rgba(26, 32, 51, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 12px;
  text-align: center;
  backdrop-filter: blur(6px);
}
.hm-value {
  font-size: 26px; font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hm-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* 算力规格 chip */
.spec-chip {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 600;
}

/* 算力占用条 */
.gpu-bar {
  height: 6px; border-radius: 100px;
  background: rgba(255,255,255,0.06);
  overflow: hidden; margin: 4px 0 14px;
}
.gpu-bar-fill {
  height: 100%; border-radius: 100px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.provider-stat { justify-content: space-between; }

/* 价格表 */
.price-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.price-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; transition: var(--transition);
}
.price-card:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: var(--shadow-lg); }
.price-name { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.price-spec { font-size: 12px; color: var(--text-muted); margin-bottom: 18px; }
.price-value { font-size: 30px; font-weight: 800; }
.price-unit { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.price-list { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--border); }
.price-list li {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--text-secondary); padding: 6px 0;
}

/* 徽章 */
.pill {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 600; margin-inline-start: 8px;
}
.pill-green { background: rgba(16,185,129,0.12); color: #34d399; border: 1px solid rgba(16,185,129,0.3); }
.pill-blue { background: rgba(59,130,246,0.12); color: #60a5fa; border: 1px solid rgba(59,130,246,0.3); }

.footer-brand { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text-secondary); }

@media (max-width: 768px) {
  .hero-metrics { grid-template-columns: repeat(2, 1fr); margin-top: 36px; }
  .hm-value { font-size: 22px; }
}
