@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&display=swap');

body {
  margin: 0;
  font-family: 'Roboto Mono', monospace;
  background: radial-gradient(ellipse at center, #0d0d0d 0%, #050505 100%);
  color: white;
}

header {
  text-align: center;
  padding: 6rem 2rem 3rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #0a0a0a;
  border-bottom: 1px solid #222;
}

nav .left {
  font-weight: bold;
  font-size: 1rem;
}

nav .right a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: white;
  padding: 0.4rem 1rem;
  background: #111;
  border-radius: 6px;
  transition: background 0.3s ease;
}

nav .right a:hover {
  background: #1f1f1f;
}

#typingHeading {
  font-size: 3rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid white;
  margin: 0 auto;
  width: fit-content;
  animation: typing 3s steps(30) 1, blink 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  50% { border-color: transparent }
}

.description {
  max-width: 800px;
  margin: 2rem auto;
  color: #aaa;
  font-size: 1.1rem;
  line-height: 1.6;
}

.search-box {
  text-align: center;
  margin: 3rem 0;
}

#searchInput {
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  width: 280px;
  background: #111;
  color: white;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.tool-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

.tool-card {
  background-color: #111;
  border-radius: 10px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #222;
}

.tool-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
}

.footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #666;
}
