.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  background: url("../media/tridentu-abstract.webp") no-repeat center
    center/cover;
  margin-top: -10vh;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 191, 255, 0.12) 0%,
    rgba(0, 191, 255, 0.08) 40%,
    rgba(255, 255, 255, 0.6) 75%,
    rgba(255, 255, 255, 0.9) 100%
  );
  z-index: 1;
}
.hero > div {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.3rem;
  color: var(--text-color);
  max-width: 800px;
  margin: 0 auto;
}
.hero-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
/* Modern Tools Section */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-color);
}
.section-subtitle {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
/* Category Navigation */
.tool-nav-shortcuts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 3rem;
}
.tool-nav-shortcuts a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f5f5f5;
  border-radius: 30px;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
}
.tool-nav-shortcuts a:hover,
.tool-nav-shortcuts a.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}
/* Modern Tool Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 4rem;
}
.tool-card {
  background: var(--back-light);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
}
.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.tool-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 10px;
}
.tool-card h3 i {
  color: var(--primary);
  font-size: 1.3rem;
}
.tool-card ul {
  list-style: none;
  padding-left: 0;
}
.tool-card li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: flex-start;
}
.tool-card li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.tool-card li strong {
  color: var(--text-color);
}
.tool-card li a {
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.2s;
  display: block;
  width: 100%;
}
.tool-card li a:hover {
  color: var(--primary);
}
.tool-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.tool-link span {
  flex: 1;
}
.tool-link i {
  color: var(--primary);
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.tool-card li:hover .tool-link i {
  opacity: 1;
}
.tool-tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  background-color: #f0f0f0;
  margin-left: 8px;
  color: #666;
}
@media (max-width: 768px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
  .tool-nav-shortcuts {
    gap: 10px;
  }
  .tool-nav-shortcuts a {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .section-title {
    font-size: 2rem;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .tool-card {
    padding: 20px;
  }
}
