* {
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}

body {
  margin: 0;
  background: #f4f6fb;
  color: #222;
}

.topbar {
  background: #4a67e2;
  color: white;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-weight: 700;
}

.logo span {
  color: #ffd84d;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
  font-size: 15px;
}

nav a.active {
  text-decoration: underline;
}

.tool-container {
  max-width: 420px;
  margin: 40px auto;
  padding: 0 16px;
  text-align: center;
}

.subtitle {
  color: #555;
  font-size: 14px;
}

.card {
  background: white;
  padding: 22px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  margin-top: 20px;
}

input, select {
  width: 100%;
  margin: 12px 0;
}

button {
  width: 100%;
  background: #4a67e2;
  color: white;
  border: none;
  padding: 14px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
}

button:hover {
  background: #3c56c6;
}

footer {
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: #666;
}
/* ---------- HOME PAGE ---------- */

.home {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

.hero {
  text-align: center;
  margin-bottom: 40px;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.hero p {
  color: #555;
  font-size: 1rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.tool-card {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  text-align: center;
}

.tool-card h2 {
  margin-bottom: 10px;
}

.tool-card p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  background: #4f67e7;
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
}

.btn:hover {
  background: #3d54d6;
}

.why {
  margin-top: 50px;
}

.why ul {
  list-style: none;
  padding: 0;
}

.why li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}
