body {
  min-height: 100vh;
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-size: 100% 100%;
  background-position: 0 0;
  background-image: radial-gradient(
    75% 75% at 50% 50%,
    #0065FF 4%,
    #001A47 83%
  );
}

header {
  padding: 1.5rem 0;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.logo {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  transition: opacity 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: #ffffff;
  transition: width 0.4s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  opacity: 0.85;
}

.hero {
  text-align: center;
  padding: 4rem 2rem 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  color: #ffffff;
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.hero-subtitle {
  color: #ffffff;
  font-size: 1.25rem;
  margin: 0;
  opacity: 0.9;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 2rem 0;
  text-align: left;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.tool-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 769px) {
  .tool-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  }
}

.tool-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #60a5fa;
  text-align: center;
}

.tool-title {
  margin: 0 0 0.75rem 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
}

.tool-description {
  margin: 0 0 1.5rem 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  flex: 1;
  text-align: center;
}

.tool-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  background-color: #ffffff;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  align-self: center;
  margin-top: auto;
}

.tool-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-1px);
}

footer {
  text-align: center;
  padding: 3rem 2rem 2rem;
  color: #ffffff;
}

.footer-content {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-content a {
  color: #ffffff;
  text-decoration: none;
  margin: 0;
  position: relative;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.footer-content a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: #ffffff;
  transition: width 0.4s ease;
}

.footer-content a:hover::after {
  width: 100%;
}

.footer-content a:hover {
  opacity: 0.85;
}

.copyright {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
  }
  
  .header-content {
    padding: 0 1rem;
  }
  
  .container {
    padding: 0 1rem;
  }

  footer {
    padding: 2rem 1rem 1.5rem;
  }

  .footer-content {
    gap: 0.75rem;
    flex-direction: row;
  }

  .footer-content a {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 2rem 1rem 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-content a {
    font-size: 0.875rem;
    white-space: normal;
    text-align: center;
  }

  .copyright {
    font-size: 0.8rem;
  }
}

