.category-wrapper {
  padding: 40px 16px 60px;
  max-width: 1100px;
  margin: auto;
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-header p {
  color: #6b7280;
}

/* Category Grid */

.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.category-card {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: 0.3s ease;
  border: 1px solid #f1f1f1;
}

.category-card h2 {
  margin-bottom: 8px;
}

.category-card p {
  color: #6b7280;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: #4f46e5;
}

/* Tools Section */

.tools-section {
  margin-top: 40px;
  animation: fadeIn 0.4s ease;
}

.hidden {
  display: none;
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 20px;
}

.tool-card {
  display: block;
  background: #ffffff;
  padding: 20px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  transition: 0.3s ease;
  border: 1px solid #f1f1f1;
}

.tool-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  border-color: #4f46e5;
}

.back-btn {
  background: none;
  border: none;
  color: #4f46e5;
  cursor: pointer;
  font-size: 14px;
  margin-bottom: 10px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* .hidden {
  display: none;
} */