/* Homepage: catalog preview (after «Как работает») */
.catalog-preview {
  padding: 64px 24px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.catalog-preview-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.catalog-preview .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.catalog-preview .section-header h2 {
  font-size: 28px;
  font-weight: 700;
}
.catalog-preview .view-all-link {
  color: #a5b4fc;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.catalog-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.catalog-card-home {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  text-decoration: none;
  color: #f3f4f6;
  transition: border-color 0.2s, transform 0.15s;
}
.catalog-card-home:hover {
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
}
.catalog-card-home .card-icon {
  font-size: 28px;
  width: 52px;
  height: 52px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.catalog-card-home .card-name {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 3px;
}
.catalog-card-home .card-type {
  font-size: 13px;
  color: #9ca3af;
}
.catalog-card-home .card-rating {
  font-size: 12px;
  color: #f59e0b;
  margin-top: 3px;
}
.btn-catalog-all {
  display: inline-block;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #a5b4fc;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-catalog-all:hover {
  background: rgba(99, 102, 241, 0.25);
}
