/* Tools Page Specific Styles */

.tools-category {
  margin-bottom: 4rem;
}

.category-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #E2E8F0;
  position: relative;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(135deg, #2563EB 0%, #6366F1 100%);
}

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

.tool-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 1rem;
  padding: 2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #2563EB 0%, #6366F1 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tool-card:hover::before {
  transform: scaleX(1);
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: #2563EB;
}

.tool-card.featured {
  border-color: #2563EB;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
}

.tool-card.featured::before {
  transform: scaleX(1);
}

.tool-card.coming-soon {
  opacity: 0.8;
  background: #F8FAFC;
}

.tool-card.coming-soon:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.tool-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.tool-card:hover .tool-icon {
  background: linear-gradient(135deg, #2563EB 0%, #6366F1 100%);
}

.tool-card:hover .tool-icon svg {
  color: white;
}

.tool-icon svg {
  width: 24px;
  height: 24px;
  color: #2563EB;
  transition: color 0.3s ease;
}

.tool-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.tool-card p {
  color: #64748B;
  line-height: 1.6;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.tool-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.tool-badge:not(.coming-soon) {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.4);
}

.tool-badge.coming-soon {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.4);
}

/* Tool Card Hover Effects */
.tool-card:hover h4 {
  color: #2563EB;
}

.tool-card.coming-soon:hover h4 {
  color: #0F172A;
}

/* Responsive Design for Tools */
@media (max-width: 768px) {
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .tool-card {
    padding: 1.5rem;
  }
  
  .category-title {
    font-size: 1.5rem;
  }
  
  .tools-category {
    margin-bottom: 3rem;
  }
}

@media (max-width: 480px) {
  .tool-card {
    padding: 1.25rem;
  }
  
  .tool-icon {
    width: 48px;
    height: 48px;
  }
  
  .tool-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .tool-card h4 {
    font-size: 1.125rem;
  }
}