/* Enterprise Categories Page Styles */
.categories-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.categories-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.categories-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.categories-hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.categories-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  color: #fbbf24;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.categories-main {
  padding: 80px 0;
  background: #f8fafc;
}

.categories-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.category-card-enterprise {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.8);
  height: 328px;
}

.category-card-enterprise:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: #667eea;
}

.category-image-container {
  position: relative;
  height: 165px;
  overflow: hidden;
}

.category-image-enterprise {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card-enterprise:hover .category-image-enterprise {
  transform: scale(1.05);
}

.category-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.category-image-placeholder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.5;
}

.placeholder-icon-enterprise {
  font-size: 4rem;
  color: white;
  position: relative;
  z-index: 2;
  opacity: 0.8;
}

.category-content {
  padding: 10px 15px;
}

.category-title {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0px;
  line-height: 1.3;
}

.category-description {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 3px;
  font-size: 10px;
  height: 28px;
  overflow: hidden;
  line-height: normal;
}

.category-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.category-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #64748b;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

.status-dot.inactive {
  background: #ef4444;
}

.category-actions {
  display: flex;
}

.btn-explore {
  flex: 1;
  background: linear-gradient(135deg, #667eeac0, #764ba2c4);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  line-height: normal;
}

.btn-explore::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.5s ease;
}

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

.btn-explore:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  color: white;
}

.no-categories {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 500px;
  margin: 0 auto;
}

.no-categories-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.6;
}

.no-categories h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.no-categories p {
  color: #64748b;
  line-height: 1.6;
}

.categories-cta {
  background: linear-gradient(135deg, #1e293b, #334155);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-cta {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1e293b;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {

  .categories-hero p {
    font-size: 1.1rem;
  }

  .categories-stats {
    gap: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .category-content {
    padding: 1.5rem;
  }

  .category-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .categories-hero-content h1{
    font-size: 1.5rem;
  }

  .categories-hero {
    padding: 20px 0;
  }

  .categories-hero p {
    margin-bottom: 0;
  }

  .categories-main {
    padding: 20px 0;
  }

  .categories-stats {
    margin-top: 0;
  }

  .stat-number {
    font-size: 1.25rem;
  }

  /* .stat-label  */

  .category-card-enterprise {
    height: auto;
  }


  .category-content {
    padding: 5px;
  }

  .category-description {
    margin-bottom: 0;
  }

  .category-meta {
    margin-bottom: 0;
    padding-top: 0;
  }
}
