/* ─── home.css ─── */

body { background: #FAFAFA; }

/* Hero */
.hero {
  background: #fff;
  padding: 72px 48px 64px;
  display: flex; flex-direction: column;
  align-items: center; gap: 16px;
  text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #F0FDF4; border-radius: 100px; padding: 4px 12px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%; background: #22C55E; flex-shrink: 0;
}
.hero-badge span { font-size: 12px; color: #16A34A; }
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px; font-weight: 700; color: #18181B; line-height: 1.15;
}
.hero-sub { font-size: 16px; color: #71717A; max-width: 560px; }

.hero-search {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid #E4E4E7;
  border-radius: 10px; height: 52px;
  padding: 0 16px; width: 560px; margin-top: 4px;
}
.hero-search .icon { color: #A1A1AA; flex-shrink: 0; }
.hero-search input {
  border: none; background: transparent;
  font-size: 15px; color: #18181B;
  outline: none; flex: 1; font-family: 'Inter', sans-serif;
}
.hero-search input::placeholder { color: #A1A1AA; }
.hero-search-btn {
  background: #18181B; color: #fff;
  border: none; border-radius: 6px;
  padding: 8px 16px; font-size: 14px;
  font-family: 'Inter', sans-serif; cursor: pointer;
  white-space: nowrap; transition: background .15s;
}
.hero-search-btn:hover { background: #27272A; }

.hero-stats { display: flex; align-items: center; gap: 40px; margin-top: 8px; }
.hero-stat  { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hero-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px; font-weight: 700; color: #18181B;
}
.hero-stat-label { font-size: 13px; color: #71717A; }

/* Section */
.section       { padding: 48px; }
.section-bg    { background: #FAFAFA; }
.section-white { background: #fff; }
.section-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 24px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 600; color: #18181B;
}
.section-subtitle { font-size: 14px; color: #71717A; margin-top: 4px; }
.section-link {
  display: flex; align-items: center; gap: 4px;
  font-size: 14px; color: #71717A; text-decoration: none;
  transition: color .15s; flex-shrink: 0; margin-top: 4px;
}
.section-link:hover { color: #18181B; }

/* Category Grid */
.cat-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.cat-grid + .cat-grid { margin-top: 12px; }
.cat-card {
  background: #fff; border: 1px solid #E4E4E7; border-radius: 10px;
  padding: 20px; display: flex; flex-direction: column; gap: 10px;
  cursor: pointer; text-decoration: none;
  transition: box-shadow .15s, transform .15s;
}
.cat-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.07); transform: translateY(-1px); }
.cat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cat-name  { font-size: 15px; font-weight: 600; color: #18181B; }
.cat-count { font-size: 13px; color: #71717A; }

/* Featured Tool Cards */
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool-card {
  background: #fff; border: 1px solid #E4E4E7; border-radius: 12px;
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
  cursor: pointer; text-decoration: none; transition: box-shadow .15s;
}
.tool-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.tool-top { display: flex; justify-content: space-between; align-items: center; }
.tool-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.tool-badge { border-radius: 100px; padding: 3px 8px; font-size: 11px; }
.tool-name  { font-size: 16px; font-weight: 600; color: #18181B; }
.tool-desc  {
  font-size: 13px; color: #71717A; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.tool-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* New Tools List */
.new-list {
  background: #fff; border: 1px solid #E4E4E7;
  border-radius: 10px; overflow: hidden;
}
.new-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; border-bottom: 1px solid #F4F4F5;
  cursor: pointer; text-decoration: none; transition: background .12s;
}
.new-row:last-child { border-bottom: none; }
.new-row:hover { background: #FAFAFA; }
.new-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.new-info {
  flex: 1; display: flex; flex-direction: column;
  gap: 3px; min-width: 0;
}
.new-name { font-size: 14px; font-weight: 600; color: #18181B; }
.new-desc {
  font-size: 12px; color: #71717A;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.new-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.new-badge {
  background: #EFF6FF; border-radius: 100px;
  padding: 3px 8px; font-size: 11px; color: #3B82F6;
}
