* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: #f8fafc;
  color: #0f172a;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.hero {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #e0f2fe, #f8fafc);
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: #475569;
  margin-bottom: 30px;
}

.hero input {
  width: 100%;
  max-width: 400px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  font-size: 16px;
  outline: none;
  transition: 0.3s;
}

.hero input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.category {
  margin: 80px 0;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.category-header h2 {
  font-size: 28px;
  font-weight: 600;
}

.category-header a {
  text-decoration: none;
  color: #3b82f6;
  font-weight: 600;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.tool-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 25px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

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

.tool-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.tool-card p {
  color: #64748b;
  font-size: 15px;
}

/* Responsive */

@media (max-width: 992px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 30px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}

.hidden {
  display: none;
}

.view-toggle {
  background: none;
  border: none;
  color: #3b82f6;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
}

.view-toggle:hover {
  text-decoration: underline;
}

.extra-tool {
  display: none;
}