/* Category Pages Styles */
.categories-list,
.category-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  background-color: #f9fafb;
  min-height: calc(100vh - 150px);
}

.categories-header,
.category-header {
  text-align: center;
  margin-bottom: 3rem;
  background-color: white;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.03);
}

.categories-header h1,
.category-header h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #2d2d2d;
  font-weight: 700;
}

.categories-header .lead,
.category-header .lead {
  font-size: 1.3rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.back-to-categories {
  margin-top: 1.8rem;
}

.categories-content,
.category-content {
  max-width: 1100px;
  margin: 0 auto;
}

/* Category Cards Grid */
.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.category-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #0d6efd, #0dcaf0);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.category-icon {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.08);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  transition: all 0.3s;
}

.category-card:hover .category-icon {
  background: rgba(13, 110, 253, 0.15);
  transform: scale(1.05);
}

.category-icon i {
  font-size: 2.5rem;
  color: #0d6efd;
}

.category-card h3 {
  font-size: 1.5rem;
  color: #2d2d2d;
  margin-bottom: 1rem;
  font-weight: 600;
}

.category-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.view-tools {
  font-size: 1rem;
  color: #0d6efd;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(13, 110, 253, 0.2);
  border-radius: 20px;
  transition: all 0.2s;
}

.view-tools:after {
  content: "→";
  margin-left: 0.4rem;
  transition: transform 0.2s;
}

.category-card:hover .view-tools {
  background-color: rgba(13, 110, 253, 0.08);
}

.category-card:hover .view-tools:after {
  transform: translateX(3px);
}

/* Filter Options */
.filter-options {
  background: white;
  padding: 1.8rem;
  border-radius: 12px;
  margin: 2.5rem 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #2d2d2d;
}

.audience-filters,
.ai-filters,
.pricing-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.filter-btn {
  padding: 0.6rem 1.2rem;
  background: #f8f9fa;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 30px;
  color: #555;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  background: #f0f0f0;
  border-color: rgba(0,0,0,0.12);
}

.filter-btn.active {
  background: rgba(13, 110, 253, 0.1);
  border-color: rgba(13, 110, 253, 0.3);
  color: #0d6efd;
}

/* Category Tools Grid */
.category-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

/* No Results */
.no-results {
  padding: 2rem;
  text-align: center;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 2rem 0;
}

.hidden {
  display: none;
}

/* Category Footer */
.category-footer {
  margin-top: 3rem;
  text-align: center;
}

.category-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .categories-header h1,
  .category-header h1 {
    font-size: 2.2rem;
  }
  
  .categories-header .lead,
  .category-header .lead {
    font-size: 1.1rem;
  }
  
  .category-cards {
    grid-template-columns: 1fr;
  }
  
  .category-tools-grid {
    grid-template-columns: 1fr;
  }
  
  .category-nav {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }
}

/* Tool Cards */
.tool-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.tool-card-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tool-card-header h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.tool-card-header h3 a {
  color: #2d2d2d;
  text-decoration: none;
  transition: color 0.2s;
}

.tool-card-header h3 a:hover {
  color: #0d6efd;
}

.tool-card-header p {
  margin: 0;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.5;
}

.tool-card-body {
  padding: 1.25rem 1.5rem;
  flex-grow: 1;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  background: #f8f9fa;
  color: #555;
}

.tag.tool-type {
  background: rgba(13, 110, 253, 0.08);
  color: #0d6efd;
}

.tag.tool-type-detail {
  background: rgba(13, 110, 253, 0.05);
  color: #0d6efd;
  font-size: 0.7rem;
  border-left: 2px solid rgba(13, 110, 253, 0.2);
}

.tag.ai-driven {
  background: rgba(25, 135, 84, 0.08);
  color: #198754;
}

.tool-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.audience {
  display: flex;
  gap: 0.5rem;
}

.audience-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: #f0f0f0;
  color: #666;
}

.pricing-snippet {
  font-size: 0.75rem;
}

.free-plan, .free-trial {
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(25, 135, 84, 0.08);
  color: #198754;
}

.tool-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}

.btn-view-details {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: #f8f9fa;
  color: #0d6efd;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid rgba(13, 110, 253, 0.2);
}

.btn-view-details:hover {
  background: rgba(13, 110, 253, 0.08);
}

/* Category Content Styling */
.category-content {
  max-width: 1100px;
  margin: 0 auto;
}

/* Typography for category pages */
.category-content h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #2d2d2d;
  margin: 2rem 0 1.5rem;
  line-height: 1.2;
}

.category-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin: 2.5rem 0 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(13, 110, 253, 0.1);
}

.category-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #444;
  margin: 2rem 0 1rem;
}

.category-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.2rem;
}

.category-content ul, 
.category-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.category-content li {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
  color: #444;
}

.category-content li p {
  margin-bottom: 0.5rem;
}

.category-content a {
  color: #0d6efd;
  text-decoration: none;
  transition: color 0.2s;
}

.category-content a:hover {
  color: #0a58ca;
  text-decoration: underline;
}

/* Button styling */
.btn-group {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.btn-outline {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: transparent;
  border: 1px solid rgba(13, 110, 253, 0.5);
  border-radius: 6px;
  color: #0d6efd;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline:hover {
  background-color: rgba(13, 110, 253, 0.08);
  border-color: rgba(13, 110, 253, 0.8);
  transform: translateY(-2px);
}

.btn-outline i {
  margin-right: 0.4rem;
}

/* Category list page styling */
.categories-content h1,
.categories-content h2,
.categories-content h3,
.categories-content p,
.categories-content ul,
.categories-content ol,
.categories-content li {
  color: #444;
  line-height: 1.7;
}

.categories-content h2 {
  font-size: 2rem;
  font-weight: 600;
  margin: 1.5rem 0 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(13, 110, 253, 0.1);
}

.categories-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
}

.categories-content p {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.categories-content ul,
.categories-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.categories-content li {
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

.categories-content a {
  color: #0d6efd;
  text-decoration: none;
  transition: color 0.2s;
}

.categories-content a:hover {
  color: #0a58ca;
  text-decoration: underline;
}

/* Content Wrapper */
.content-wrapper {
  background-color: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.03);
  margin-bottom: 2.5rem;
} 