.home-hero {
  background: linear-gradient(135deg, #edf2fb 0%, #e7effd 40%, #eef6ff 100%);
}

.home-hero-content {
  max-width: 1120px;
}

.home-hero h1 {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.home-hero .subtitle {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero-quick-stats {
  margin: 18px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hero-quick-stats span {
  border: 1px solid #cfe0ff;
  background: #ffffff;
  color: #1f3c7a;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
}

.hero-cta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  background: #0b5fff;
  color: #ffffff;
  padding: 0 18px;
  font-weight: 700;
  border: 1px solid #0b5fff;
}

.hero-cta:hover {
  background: #0a4fd7;
}

.home-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 16px 10px;
}

.section-head {
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0;
  font-size: 30px;
}

.section-head p {
  margin: 8px 0 0;
  color: #5f6f87;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.tool-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid #d9e4f7;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-2px);
  border-color: #b9ceef;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

.tool-card h3 {
  margin: 10px 0 6px;
  font-size: 22px;
  line-height: 1.2;
}

.tool-card p {
  margin: 0;
  color: #4f617d;
  font-size: 14px;
  line-height: 1.5;
}

.tool-card.featured {
  border-color: #bfd2f5;
}

.tool-icon {
  display: inline-grid;
  place-items: center;
  min-width: 64px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid #d2def5;
  background: #f1f6ff;
  color: #1a3f86;
  font-size: 12px;
  font-weight: 700;
  padding: 0 10px;
}

.tool-meta {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 5px;
  color: #5b6b83;
  font-size: 13px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.category-card {
  background: #ffffff;
  border: 1px solid #d9e4f7;
  border-radius: 14px;
  padding: 14px;
}

.category-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.category-links {
  display: grid;
  gap: 8px;
}

.category-links a {
  display: inline-block;
  border: 1px solid #d8e3f7;
  border-radius: 9px;
  background: #f8fbff;
  padding: 8px 10px;
  color: #1c3f82;
  font-weight: 600;
  font-size: 14px;
}

.category-links a:hover {
  background: #eef5ff;
}

.trust-strip {
  padding-top: 22px;
}

.trust-grid {
  border: 1px solid #d8e2f5;
  border-radius: 18px;
  background: linear-gradient(135deg, #fbfdff 0%, #f4f8ff 100%);
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trust-grid h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.trust-grid p {
  margin: 0;
  color: #4e607c;
  line-height: 1.55;
}

.home-content {
  max-width: 1180px;
  margin-top: 28px;
}

@media (max-width: 1024px) {
  .category-grid,
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .section-head h2 {
    font-size: 24px;
  }

  .tool-grid,
  .category-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero-quick-stats {
    justify-content: flex-start;
  }

  .home-section {
    padding-top: 32px;
  }
}
