/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
  background: #fafafa;
  color: #111;
}

/* =========================
   NAVBAR
   ========================= */

.logo {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.5px;
}

/* =========================
   TOOLS HERO
   ========================= */

.tools-hero {
  max-width: 1000px;
  margin: 100px auto 40px;
  padding: 0 20px;
}

.tools-hero h1 {
  font-size: 48px;
  margin-bottom: 12px;
}

.tools-hero p {
  font-size: 18px;
  opacity: 0.7;
  margin-bottom: 30px;
}

#searchInput {
  width: 100%;
  padding: 16px 18px;
  font-size: 16px;
  border-radius: 12px;
  border: 1px solid #ddd;
}

/* =========================
   CATEGORIES
   ========================= */

.categories {
  max-width: 1000px;
  margin: 20px auto 40px;
  padding: 0 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.categories button {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
}

.categories button.active {
  background: #000;
  color: #fff;
}

/* =========================
   GRID & CARDS
   ========================= */

.tools-grid {
  max-width: 1000px;
  margin: auto;
  padding: 0 20px 120px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.tool-card {
  background: white;
  padding: 22px;
  border-radius: 18px;
  transition: 0.25s;
  cursor: pointer;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.tool-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.tool-card p {
  font-size: 14px;
  opacity: 0.7;
}

.badge {
  margin-top: 12px;
  font-size: 12px;
  color: #0071e3;
  font-weight: 500;
}

/* =========================
   TOOL DETAIL
   ========================= */

.tool-detail {
  max-width: 800px;
  margin: 60px auto 120px;
  padding: 0 20px;
}
/* CTA BUTTON (REUSE) */
.cta-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #0071e3;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
}

.cta-btn:hover {
  background: #005bb8;
}
/* =========================
   TOOL CONTENT SPACING FIX
   ========================= */

.tool-detail h2 {
  margin-top: 48px;
  margin-bottom: 16px;
}

.tool-detail h3 {
  margin-top: 36px;
  margin-bottom: 12px;
}

.tool-detail p {
  margin-bottom: 18px;
  line-height: 1.7;
}

.tool-detail ul,
.tool-detail ol {
  margin: 16px 0 24px 24px;
}

.tool-detail li {
  margin-bottom: 10px;
}

.tool-detail ul li strong {
  display: inline-block;
  margin-bottom: 4px;
}

.tool-detail ul li {
  line-height: 1.6;
}

/* FAQ özel nefes */
.tool-detail ul li + li {
  margin-top: 14px;
}

/* Related tools biraz ayrışsın */
.tool-detail a {
  display: inline-block;
  margin-top: 6px;
}
html {
  scroll-behavior: smooth;
}


