/* ── Homepage-specific styles ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Arial, "Helvetica Neue", Helvetica, Ubuntu, sans-serif;
  background: #f8f9fa;
  color: #1a1c1f;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  background: #ffffff;
  border-bottom: 1px solid #e0e3e8;
  padding: 52px 24px 44px;
  text-align: center;
}

.hero-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.hero-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #1a1c1f;
  margin-bottom: 10px;
}

.hero-sub {
  font-size: 15px;
  color: #6b7280;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ── Main content ──────────────────────────────────────────────────────────── */
.home-main {
  max-width: 860px;
  width: 100%;
  margin: 36px auto;
  padding: 0 24px;
  flex: 1;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #9ca3af;
  margin-bottom: 14px;
}

/* ── Tool cards grid ──────────────────────────────────────────────────────── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

.tool-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #e0e3e8;
  border-radius: 10px;
  padding: 20px;
  text-decoration: none;
  color: #1a1c1f;
  transition: box-shadow 0.15s, border-color 0.15s, transform 0.1s;
  position: relative;
}
.tool-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  border-color: #93c5fd;
  transform: translateY(-1px);
}

.tool-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #2563eb;
}
.tool-card-icon svg { width: 22px; height: 22px; }

.tool-card-body {
  flex: 1;
  min-width: 0;
}

.tool-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1a1c1f;
}

.tool-card-body p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.55;
  margin-bottom: 10px;
}

.tool-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
}
.tool-card-tags li {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 20px;
  background: #f0f4ff;
  color: #4f6ef7;
  border: 1px solid #e0e7ff;
  font-weight: 500;
}

.tool-card-arrow {
  color: #d1d5db;
  flex-shrink: 0;
  align-self: center;
  transition: color 0.15s, transform 0.15s;
}
.tool-card:hover .tool-card-arrow {
  color: #2563eb;
  transform: translateX(3px);
}
.tool-card-arrow svg { width: 18px; height: 18px; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.home-footer {
  background: #ffffff;
  border-top: 1px solid #e0e3e8;
  padding: 14px 24px;
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.6;
}

.home-footer strong { color: #6b7280; }

.footer-disclaimer-link {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 12px;
  color: #2563eb;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-disclaimer-link:hover { color: #1d4ed8; }
