body {
  text-align: center;
  font-family: system-ui, sans-serif;
  margin: 0;
  background: #fff;
  color: #111;
  line-height: 1.6;
}

header {
  padding: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.75rem;
  font-weight: bold;
}

.brand img {
  width: 40px;
  height: 40px;
}

nav {
  margin-top: 0.75rem;
}

nav a {
  margin: 0 0.75rem;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

nav a:hover {
  color: rgba(0, 0, 0, 0.518);
  text-decoration: underline;
}

main {
  max-width: 960px;
  padding: 2rem 1rem;
  margin: 0 auto 50px;
  text-align: center;
}

.explore-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: #333;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
}

.tools-list .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  text-align: left;
}

.tool-card {
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 8px;
  background: #fafafa;
}

.tool-card a {
  text-decoration: none;
  color: #673ab7;
}

.tool-card a:hover {
  text-decoration: underline;
}

.browse-all-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #333;
  color: #fff;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.browse-all-btn:hover {
  background-color: #555;
  transform: scale(1.03);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  justify-content: center;
}

.quick-links a {
  flex: 1 1 180px;
  background-color: #f9f9f9;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.quick-links a:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

#scrollTopBtn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1000;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

#scrollTopBtn:hover {
  background-color: #555;
  transform: scale(1.05);
}

p {
  text-align: left;
}

ul li {
  text-align: left;
}
