/* Tools Hub Specific Styles */
.tools-hero {
  padding: 80px 20px 60px;
  background: linear-gradient(135deg, #0a192f 0%, #0f3460 70%, #0369a1 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tools-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.tools-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.tools-badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.tools-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.tools-hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Tools Grid Section */
.tools-grid-section {
  padding: 80px 20px;
  background-color: #f8fafc;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.tool-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(10, 25, 47, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.tool-card:hover {
  transform: translateY(-5px);
  border-color: #0284c7;
  box-shadow: 0 16px 32px rgba(2, 132, 199, 0.12);
}

.tool-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.tool-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.tool-card:hover .tool-icon-wrapper {
  transform: scale(1.08);
  background: rgba(2, 132, 199, 0.15);
}

.tool-status-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.tool-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0b2c4a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.tool-card-desc {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 28px;
  flex-grow: 1;
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0284c7;
  transition: gap 0.2s ease, color 0.2s ease;
  margin-top: auto;
}

.tool-card:hover .tool-btn {
  color: #0369a1;
  gap: 12px;
}

@media (max-width: 768px) {
  .tools-hero {
    padding: 60px 20px 40px;
  }
  .tools-grid-section {
    padding: 50px 16px;
  }
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .tool-card {
    padding: 28px 20px;
  }
}

