.ai-insights-container {
  max-width: 1100px;
  margin: auto;
  padding: 2rem;
  font-family: Arial, sans-serif;
}
.ai-insights-title {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2rem;
}
.ai-insights-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
#modelSearch, #providerFilter, #sortSelect {
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}
.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.ai-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}
.ai-card:hover { transform: translateY(-4px); }
.ai-card h3 { margin-top: 0.5rem; color: #1b1b1b; font-size: 1.25rem; }
.ai-card .provider, .ai-card .category { font-weight: 500; color: #666; margin: 0.25rem 0; }
.ai-card .desc { margin-top: 0.5rem; color: #444; font-size: 0.95rem; line-height: 1.4; }
.ai-card .metrics { margin-top: 0.75rem; }
.ai-card .metrics span {
  background: #eef;
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  font-size: 0.9rem;
}
.ai-card img.preview-img {
  display: block;
  width: 100%;
  border-radius: 10px;
  margin-bottom: 0.75rem;
}
.sources a {
  color: #0050ff;
  font-size: 0.9rem;
  display: block;
  word-wrap: break-word;
}
.page-btn {
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
}
.page-btn.active {
  background: #0050ff;
  color: white;
  border-color: #0040cc;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}