:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #171a26;
  --muted: #5e6475;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --border: #e7eaf2;
  --shadow: 0 8px 26px rgba(17, 24, 39, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f9fbff 0%, var(--bg) 100%);
  line-height: 1.6;
}

.container {
  width: min(100% - 2rem, 1100px);
  margin-inline: auto;
}

.hero {
  padding: 3.5rem 0 2rem;
}

.logo-text {
  margin: 0;
  font-weight: 700;
  color: var(--primary);
}

h1 {
  margin: 0.4rem 0;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.2;
}

.tagline {
  margin: 0;
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 500;
}

.hero-description {
  margin-top: 0.85rem;
  max-width: 64ch;
  color: #444c62;
}

.tools-section {
  padding: 1rem 0 3rem;
}

h2 {
  margin: 0 0 1rem;
  font-size: 1.45rem;
}

.tools-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.12);
}

.tool-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.tool-card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.label {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f5132;
  background: #d1fae5;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn:disabled {
  background: #c5c9d5;
  color: #f7f8fb;
  cursor: not-allowed;
}

footer {
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
}

footer p {
  margin: 0;
  padding: 1.25rem 0;
  font-size: 0.95rem;
  color: #4f5568;
}

@media (min-width: 700px) {
  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .tools-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
