/* ── Pricing Page ────────────────────────────── */

.pricing-page {
  padding-top: 72px;
  padding-bottom: 80px;
}

/* Hero */
.pr-hero {
  text-align: center;
  padding: 48px 0 36px;
}

.pr-hero h1 {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -1px;
  color: #0f172a;
  margin-bottom: 12px;
}

.pr-hero p {
  font-size: 16px;
  color: #475569;
  max-width: 720px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.pr-hero p strong {
  color: #0d9488;
  font-weight: 700;
}

.pr-hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.pr-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.pr-stat strong {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, #0d9488, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pr-stat span {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

/* Filter Bar */
.pr-filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  position: sticky;
  top: 72px;
  z-index: 50;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 16px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.pr-search {
  position: relative;
  flex: 1;
  min-width: 240px;
}

.pr-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.pr-search input {
  width: 100%;
  height: 40px;
  padding: 0 14px 0 40px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: #fff;
  font-size: 14px;
  color: #1e293b;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pr-search input:focus {
  outline: none;
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.pr-cat-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pr-cat-tab {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pr-cat-tab:hover {
  border-color: #0d9488;
  color: #0d9488;
}

.pr-cat-tab.active {
  background: linear-gradient(135deg, #0d9488, #7c3aed);
  color: #fff;
  border-color: transparent;
}

/* Vendor Chips */
.pr-vendor-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 0 24px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  margin-bottom: 24px;
}

.pr-vendor-chip {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pr-vendor-chip:hover {
  background: rgba(13, 148, 136, 0.08);
  color: #0d9488;
  border-color: rgba(13, 148, 136, 0.2);
}

.pr-vendor-chip .pr-vendor-count {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.6);
  color: #94a3b8;
}

.pr-vendor-chip:hover .pr-vendor-count {
  background: rgba(13, 148, 136, 0.15);
  color: #0d9488;
}

/* Vendor Group */
.pr-vendor-group {
  margin-bottom: 36px;
}

.pr-vendor-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0 12px;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.pr-vendor-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 11px;
  color: #fff;
  flex-shrink: 0;
}

.pr-vendor-name {
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
}

.pr-vendor-models-count {
  font-size: 13px;
  color: #94a3b8;
  margin-left: auto;
}

/* Price Table */
.pr-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-top: none;
}

.pr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
}

.pr-table th {
  background: rgba(148, 163, 184, 0.05);
  font-weight: 600;
  color: #475569;
  text-align: left;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  white-space: nowrap;
  font-size: 13px;
}

.pr-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  color: #334155;
  vertical-align: middle;
}

.pr-table tr:last-child td {
  border-bottom: none;
}

.pr-table tr:hover td {
  background: rgba(13, 148, 136, 0.02);
}

.pr-model-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pr-model-name {
  font-weight: 700;
  color: #1e293b;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.pr-model-name:hover {
  color: #0d9488;
}

.pr-model-id {
  font-size: 12px;
  color: #94a3b8;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
}

.pr-tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  background: rgba(13, 148, 136, 0.08);
  color: #0d9488;
  margin-left: 6px;
  vertical-align: middle;
}

.pr-tag.pr-tag-multimodal {
  background: rgba(124, 58, 237, 0.08);
  color: #7c3aed;
}

.pr-tag.pr-tag-code {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.pr-tag.pr-tag-audio {
  background: rgba(236, 72, 153, 0.08);
  color: #db2777;
}

.pr-tag.pr-tag-embed {
  background: rgba(100, 116, 139, 0.1);
  color: #475569;
}

.pr-price {
  font-weight: 600;
  color: #1e293b;
}

.pr-price-unit {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

.pr-price-free {
  color: #10b981;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.pr-price-na {
  color: #cbd5e1;
}

/* Empty */
.pr-empty {
  text-align: center;
  padding: 60px 20px;
  color: #94a3b8;
}

.pr-empty p {
  margin-top: 12px;
  font-size: 14px;
}

/* Notes */
.pr-notes {
  margin-top: 56px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.04), rgba(124, 58, 237, 0.03));
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 16px;
}

.pr-notes h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 14px;
}

.pr-notes ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.pr-notes li {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.85;
  padding-left: 18px;
  position: relative;
}

.pr-notes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0d9488;
}

.pr-notes li strong {
  color: #0d9488;
  font-weight: 600;
}

.pr-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pr-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, #0d9488, #7c3aed);
  color: #fff !important;
  transition: transform 0.2s, box-shadow 0.3s;
}

.pr-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.25);
}

.pr-cta-outline {
  background: #fff !important;
  color: #0d9488 !important;
  border: 1px solid rgba(13, 148, 136, 0.25);
}

.pr-cta-outline:hover {
  background: rgba(13, 148, 136, 0.04) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .pr-hero h1 { font-size: 28px; }
  .pr-hero-stats { gap: 24px; }
  .pr-stat strong { font-size: 20px; }
  .pr-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .pr-cat-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .pr-cat-tab {
    flex-shrink: 0;
  }
}