.tools-hero {
  text-align: center;
  margin-bottom: 40px;
}

.tools-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.tools-stats div {
  background: var(--card);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
}

.tools-search input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.category-header {
  cursor: pointer;
  padding: 12px;
  background: var(--card);
  border-radius: 10px;
  margin-top: 20px;
}

.category-content {
  display: none;
}

.category-content.active {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 15px;
}







.tool-box {
  max-width: 700px;
  margin: auto;
  padding: 20px;
}

.tool-box textarea {
  width: 100%;
  height: 160px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 15px;
}

.tts-controls {
  display: grid;
  gap: 10px;
  margin-bottom: 15px;
}

.tts-controls select,
.tts-controls input {
  width: 100%;
}

.tts-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tts-buttons button {
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: #6366f1;
  color: #fff;
}

.tts-buttons button:hover {
  opacity: 0.9;
}
