.catalog {
  padding: 110px 20px;
  background: #02040a;
}

.catalog h2 {
  text-align: center;
  font-size: 42px;
  margin-bottom: 12px;
}

.catalog .subtitle {
  text-align: center;
  color: #94a3b8;
  margin-bottom: 70px;
}

.grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 32px;
}

.card {
  background: linear-gradient(180deg, #0f172a, #020617);
  border-radius: 26px;
  padding: 26px;
  transition: transform 0.5s ease, box-shadow 0.5s ease, background 0.5s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.card:hover::before { opacity: 1; }

.card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 30px 80px rgba(59, 130, 246, 0.5);
  background: linear-gradient(180deg, #0f172a, #1e293b);
}

.card img {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 22px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  animation: floatCardImg 6s ease-in-out infinite alternate;
}

.card:hover img {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.4);
}

@keyframes floatCardImg {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; transition: color 0.4s ease; }
.card:hover h3 { color: #60a5fa; }

.card p { font-size: 14px; color: #9ca3af; margin-bottom: 22px; transition: color 0.4s ease; }
.card:hover p { color: #e0e7ff; }

.card a {
  display: inline-block;
  padding: 12px 26px;
  background: #3b82f6;
  border-radius: 40px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.card:hover a {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.5);
  background: linear-gradient(135deg, #60a5fa, #1e40af);
}

/* Animate */
.animate { opacity: 0; transform: translateY(40px); transition: 0.4s cubic-bezier(.2,.8,.2,1); }
.animate.show { opacity: 1; transform: translateY(0); }

/* Mobile */
@media (max-width: 900px) {
  .catalog { padding: 80px 15px; }
  .catalog h2 { font-size: 32px; margin-bottom: 8px; }
  .catalog .subtitle { margin-bottom: 40px; font-size: 16px; }
  .card { padding: 20px; }
  .card h3 { font-size: 16px; }
  .card p { font-size: 13px; margin-bottom: 18px; }
  .card a { padding: 10px 22px; font-size: 13px; }
}
