#tools-section {
  padding: 12rem 0;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.tools-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
}

.tools-header {
  text-align: center;
  margin-bottom: 8rem;
  width: 100%;
}

.tools-header h2 {
  font-size: 4.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #667eea 50%, #764ba2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  text-align: center;
  width: 100%;
  text-shadow: 0 0 40px rgba(102, 126, 234, 0.3);
}

.tools-subtitle {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
  text-align: center;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  width: 100%;
}

.tool-card {
  background: rgba(20, 20, 20, 0.95);
  border-radius: 24px;
  padding: 3.5rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  transition: left 0.6s ease;
}

.tool-card:hover::before {
  left: 100%;
}

.tool-card::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
  border-radius: 25px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tool-card:hover::after {
  opacity: 1;
}

.tool-card:hover {
  transform: translateY(-6px);
  border-color: rgba(102, 126, 234, 0.3);
  background: rgba(25, 25, 25, 0.98);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.tool-icon {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.tool-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.tool-card:hover .tool-icon::before {
  left: 100%;
}

.tool-card:hover .tool-icon {
  transform: scale(1.08);
  background: linear-gradient(135deg, #764ba2 0%, #f093fb 100%);
}

.tool-icon i {
  font-size: 2.2rem;
  color: #ffffff;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 2;
}

.tool-card:hover .tool-icon i {
  transform: scale(1.05);
}

.tool-card h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-align: center;
  width: 100%;
}

.tool-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 3rem;
  text-align: center;
  font-size: 1.1rem;
  width: 100%;
  max-width: 300px;
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.5rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.tool-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}

.tool-btn:hover::before {
  left: 100%;
}

.tool-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #764ba2 0%, #f093fb 100%);
  box-shadow: 0 8px 25px rgba(118, 75, 162, 0.4);
}

.tool-btn:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .tool-card {
    padding: 3rem 2rem;
  }
  
  .tools-header h2 {
    font-size: 3.5rem;
  }
}

@media (max-width: 480px) {
  .tools-container {
    padding: 0 1.5rem;
  }
  
  .tool-card {
    padding: 2.5rem 1.5rem;
  }
  
  .tools-header h2 {
    font-size: 2.8rem;
  }
  
  .tools-subtitle {
    font-size: 1.2rem;
  }
}