html, body, #__next, .main-wrapper, .container {
  transform: none !important;
  filter: none !important;
  perspective: none !important;
}

/* ===== AI Tools Specific Styles ===== */

/* Import base styles */
@import url('../../shared/css/cyberpunk-base.css');

/* ===== AI Tools Page Styles ===== */
/* Removed conflicting ai-tools-hero styles - now using standardized hero-secondary from cyberpunk-base.css */

/* Removed old hero-content and hero-description styles - using standardized hero-secondary from cyberpunk-base.css */

/* ===== Quick Search ===== */
.quick-search {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.search-input-group {
  position: relative;
  display: flex;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 2px solid var(--glass-border);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.search-input-group:focus-within {
  border-color: var(--primary);
  box-shadow: var(--primary-glow);
}

.search-input-group input {
  flex: 1;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.1rem;
  outline: none;
}

.search-input-group input::placeholder {
  color: var(--text-muted);
}

.search-input-group button {
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-input-group button:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

/* ===== Quick Categories ===== */
.quick-categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.category-pill {
  padding: 0.75rem 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.category-pill:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--primary-glow);
}

/* ===== Main Layout ===== */
.ai-tools-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

/* ===== Sidebar Filters ===== */
.ai-tools-sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.filter-section {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
}

.filter-section h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.filter-group h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-list {
  list-style: none;
}

.filter-list li {
  margin-bottom: 0.5rem;
}

.filter-list a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.filter-list a:hover,
.filter-list a.active {
  background: var(--primary);
  color: white;
  transform: translateX(5px);
}

.complexity-filter {
  padding: 1rem 0;
}

.complexity-filter input[type="range"] {
  width: 100%;
  margin-bottom: 0.5rem;
}

.complexity-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== Submit Tool CTA ===== */
.submit-tool-cta {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  margin-top: 2rem;
  text-align: center;
}

.submit-tool-cta h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.submit-tool-cta p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ===== Tools Listing ===== */
.ai-tools-listing {
  min-height: 600px;
}

.sorting-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--glass-border);
}

.sort-by {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sort-by span {
  color: var(--text-secondary);
  font-weight: 600;
}

.sort-by a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.sort-by a:hover,
.sort-by a.active {
  background: rgba(0, 255, 247, 0.2);
  color: var(--primary);
  border: 1px solid rgba(0, 255, 247, 0.3);
}

.view-toggle {
  display: flex;
  gap: 0.5rem;
}

.view-option {
  padding: 0.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-option.active,
.view-option:hover {
  background: var(--primary);
  color: white;
}

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

.tool-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

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

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

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
  border-color: var(--primary);
}

.tool-card-header {
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
}

.tool-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tool-icon {
  font-size: 1.5rem;
  color: var(--primary);
}

.tool-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tool-category {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tool-pricing {
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}

.tool-pricing.fre {
  background: rgba(16, 185, 129, 0.2);
  color: var(--secondary);
}

.tool-pricing.frp {
  background: rgba(59, 130, 246, 0.2);
  color: var(--primary);
}

.tool-pricing.sub {
  background: rgba(139, 92, 246, 0.2);
  color: var(--accent);
}

.tool-pricing.pay {
  background: rgba(255, 140, 0, 0.2);
  color: var(--warning-orange);
}

.tool-pricing.com {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
}


.tool-card-body {
  padding: 0 1.5rem 1.5rem;
}

.tool-title {
  margin-bottom: 0.75rem;
}

.tool-title a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.tool-title a:hover {
  color: var(--primary);
}

.tool-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

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

.tool-feature {
  padding: 0.25rem 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.tool-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.tool-card-footer {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.compare-add {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-add:hover {
  background: var(--accent);
  color: white;
  transform: scale(1.1);
}

.tool-verified {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(16, 185, 129, 0.2);
  color: var(--secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ===== No Tools Found ===== */
.no-tools-found {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-secondary);
}

.no-tools-found i {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.no-tools-found h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

/* ===== Pagination ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  padding: 2rem 0;
}

.page-link {
  padding: 0.75rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-link:hover,
.page-link.active {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Featured Comparisons section removed */

/* ===== CTA Section ===== */
.ai-tools-cta {
  padding: 4rem 2rem;
  text-align: center;
}

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

.cta-content h2 {
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
  .ai-tools-main {
    grid-template-columns: 250px 1fr;
    gap: 2rem;
  }
}

@media (max-width: 968px) {
  .ai-tools-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .ai-tools-sidebar {
    position: static;
    order: 2;
  }
  
  .tools-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  /* Removed ai-tools-hero responsive styles - using standardized hero-secondary */
  
  .ai-tools-main {
    padding: 0 1rem;
  }
  
  .quick-categories {
    gap: 0.5rem;
  }
  
  .category-pill {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
  }
  
  .sorting-options {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .sort-by {
    justify-content: center;
  }
  
  /* Comparisons grid removed */
}

@media (max-width: 480px) {
  .tool-card-header {
    padding: 1rem;
  }
  
  .tool-card-body {
    padding: 0 1rem 1rem;
  }
  
  .tool-card-footer {
    padding: 0 1rem 1rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .tool-card-footer .btn-cyber,
  .tool-card-footer .btn-outline-cyber,
  .tool-card-footer .compare-btn-new {
    width: 100%;
    justify-content: center;
  }
}

.sample-prompts-section {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
.sample-prompts-section h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sample-prompts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sample-prompts-list li {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.1rem;
  font-size: 1.08em;
  letter-spacing: 0.01em;
}
.sample-prompts-list code {
  background: linear-gradient(90deg, #181c24 80%, #232b3a 100%);
  color: #aaf6ff;
  padding: 0.38em 1.1em;
  border-radius: 8px;
  font-size: 1.04em;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 12px 0 #00fff71a;
}
.copy-btn {
  background: linear-gradient(90deg, #00fff7 0%, #00b3ff 100%);
  border: none;
  color: #181c24;
  font-family: inherit;
  font-size: 1em;
  padding: 0.22em 1.2em;
  border-radius: 7px;
  cursor: pointer;
  margin-left: 1.1em;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px 0 #00fff733;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  outline: none;
  position: relative;
  z-index: 1;
  border: 1.5px solid #00fff7;
}
.copy-btn:hover, .copy-btn:focus {
  background: linear-gradient(90deg, #00b3ff 0%, #00fff7 100%);
  color: #181c24;
  border-color: #00fff7;
  box-shadow: 0 0 0 2px #00fff755;
}
.copy-feedback {
  margin-left: 0.9em;
  color: #00fff7;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.22s;
  font-size: 1.04em;
  pointer-events: none;
  background: none;
  border-radius: 5px;
  padding: 0 0.5em;
  position: relative;
  top: 1px;
}
.copy-btn.copied + .copy-feedback {
  opacity: 1;
  animation: fadeOut 1.2s 0.2s forwards;
}
@keyframes fadeOut {
  to { opacity: 0; }
}

.use-cases-section {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
.use-cases-section h2 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.use-cases-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.use-case-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: linear-gradient(90deg, #181c24 80%, #232b3a 100%);
  border-radius: 18px;
  padding: 1.2rem 2.2rem;
  box-shadow: 0 2px 12px 0 #00fff71a;
  font-size: 1.13em;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.01em;
  border: 1.5px solid #232b3a;
  transition: border 0.18s, box-shadow 0.18s;
}
.use-case-card:hover {
  border: 1.5px solid #00fff7;
  box-shadow: 0 4px 24px 0 #00fff733;
}
.use-case-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #00fff7;
  color: #181c24;
  border-radius: 12px;
  font-size: 2rem;
  box-shadow: 0 2px 8px 0 #00fff755;
}
.use-case-text {
  flex: 1;
  font-size: 1.08em;
  color: #fff;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.share-section {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
.share-section h2 {
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-bottom: 0.7rem;
}
.share-btn {
  display: flex;
  align-items: center;
  gap: 0.5em;
  background: linear-gradient(90deg, #4dd0e1 0%, #29b6f6 100%);
  color: #181c24;
  border: none;
  border-radius: 7px;
  font-size: 1em;
  font-weight: 600;
  padding: 0.5em 1.3em;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 8px 0 rgba(77, 208, 225, 0.2);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  outline: none;
  border: 1px solid #4dd0e1;
  position: relative;
  z-index: 1;
}
.share-btn:hover, .share-btn:focus {
  background: linear-gradient(90deg, #29b6f6 0%, #4dd0e1 100%);
  color: #181c24;
  border-color: #4dd0e1;
  box-shadow: 0 0 0 2px rgba(77, 208, 225, 0.3);
}
.share-btn.twitter {
  background: linear-gradient(90deg, #42a5f5 0%, #4dd0e1 100%);
  color: #fff;
}
.share-btn.twitter:hover, .share-btn.twitter:focus {
  background: linear-gradient(90deg, #4dd0e1 0%, #42a5f5 100%);
  color: #181c24;
}
.share-btn.linkedin {
  background: linear-gradient(90deg, #1976d2 0%, #4dd0e1 100%);
  color: #fff;
}
.share-btn.linkedin:hover, .share-btn.linkedin:focus {
  background: linear-gradient(90deg, #4dd0e1 0%, #1976d2 100%);
  color: #181c24;
}
.share-btn.facebook {
  background: linear-gradient(90deg, #1976d2 0%, #4dd0e1 100%);
  color: #fff;
}
.share-btn.facebook:hover, .share-btn.facebook:focus {
  background: linear-gradient(90deg, #4dd0e1 0%, #1976d2 100%);
  color: #181c24;
}
#share-copied-feedback.copy-feedback {
  margin-left: 1.2em;
  color: #4dd0e1;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.22s;
  font-size: 1.04em;
  pointer-events: none;
  background: none;
  border-radius: 5px;
  padding: 0 0.5em;
  position: relative;
  top: 1px;
}

/* Old compare button styles removed - now using .compare-btn-new */
/* ===== Simple Comparison Badge ===== */
.comparison-badge {
  position: fixed !important;
  top: 90px !important;
  right: 30px !important;
  width: 48px;
  height: 48px;
  background: rgba(0, 255, 255, 0.13);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  z-index: 9999;
  border: 2px solid #00fff7;
  box-shadow: 0 2px 8px #00fff733, 0 0 0 2px #00fff722;
  transition: all 0.18s cubic-bezier(.4,2,.6,1);
  text-decoration: none;
  outline: none;
}

.comparison-badge:hover, .comparison-badge:focus {
  box-shadow: 0 0 0 6px #00fff722, 0 2px 16px #00fff7aa;
  border-color: #00fff7;
  transform: scale(1.06) rotate(-2deg);
  background: rgba(0, 255, 255, 0.19);
}

.comparison-badge i {
  margin-right: 3px;
  font-size: 1.2em;
  filter: drop-shadow(0 0 2px #00fff7cc);
}

.comparison-badge span {
  font-size: 1em;
  font-weight: bold;
  text-shadow: 0 2px 8px #00fff7cc;
}

.comparison-badge.hidden {
  display: none;
}

.comparison-badge-label {
  position: fixed;
  top: 100px;
  right: 30px;
  background: rgba(0,255,255,0.10);
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.18em 0.9em;
  border-radius: 8px;
  box-shadow: 0 2px 8px #00fff722;
  z-index: 9999;
  text-align: center;
  letter-spacing: 0.01em;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(.4,2,.6,1);
  animation: fadeInBadgeLabel 0.5s;
}
.compare-badge-label.hidden {
  opacity: 0;
  pointer-events: none;
}
@keyframes fadeInBadgeLabel {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.flash-message {
  position: fixed;
  bottom: 1.5rem;
  right: 1rem;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2000;
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(0, 255, 247, 0.15);
  color: #00fff7;
  box-shadow: 0 2px 8px rgba(0, 255, 247, 0.2);
  border: 1px solid rgba(0, 255, 247, 0.3);
  animation: slideInSubtle 0.3s ease-out;
  opacity: 0.95;
  backdrop-filter: blur(10px);
  max-width: 280px;
}
.flash-message.success {
  background: rgba(0, 255, 247, 0.15);
  color: #00fff7;
  border-color: rgba(0, 255, 247, 0.3);
}
.flash-message.info {
  background: rgba(29, 161, 242, 0.15);
  color: #1da1f2;
  border-color: rgba(29, 161, 242, 0.3);
}
.flash-message.warning {
  background: rgba(255, 179, 0, 0.15);
  color: #ffb300;
  border-color: rgba(255, 179, 0, 0.3);
}
.flash-message.error {
  background: rgba(255, 59, 59, 0.15);
  color: #ff3b3b;
  border-color: rgba(255, 59, 59, 0.3);
}
@keyframes slideInSubtle {
  from { 
    bottom: -50px; 
    opacity: 0; 
    transform: translateX(20px);
  }
  to { 
    bottom: 1.5rem; 
    opacity: 0.95; 
    transform: translateX(0);
  }
}
/* Old compare button focus and tooltip styles removed - now using .compare-btn-new */

/* ===== Comparison Page Styles ===== */
.compare-tools-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  min-height: 100vh;
}

.compare-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.compare-header h1 {
  font-size: 2.5rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
}

.compare-header h1 i {
  color: var(--primary);
  font-size: 2rem;
}

.compare-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.compare-notice {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(20px);
}

.notice-content {
  max-width: 500px;
  margin: 0 auto;
}

.notice-content i {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.notice-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.notice-content p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.comparison-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.comparison-table {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: var(--hover-shadow);
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px; /* Ensure minimum width for readability */
}

.comparison-table th,
.comparison-table td {
  padding: 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
  vertical-align: top;
}

.comparison-table th {
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.1rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.comparison-table th:first-child {
  min-width: 150px;
  background: var(--primary);
  color: white;
}

.comparison-table td:first-child {
  background: var(--bg-secondary);
  font-weight: 600;
  color: var(--text-primary);
  min-width: 150px;
}

.tool-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  position: relative;
}

.tool-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--bg-secondary);
  padding: 0.5rem;
}

.tool-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.tool-header h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin: 0;
  font-weight: 600;
}

.remove-tool-btn {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #dc3545;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.remove-tool-btn:hover {
  background: #dc3545;
  transform: scale(1.1);
}

.complexity-meter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-secondary);
  border-radius: 20px;
  padding: 0.5rem;
  position: relative;
  overflow: hidden;
}

.meter-fill {
  height: 8px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 4px;
  transition: width 0.3s ease;
}

.complexity-meter span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  min-width: 40px;
}

.visual-comparison {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--hover-shadow);
}

.visual-comparison h3 {
  color: var(--text-primary);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
}

.visual-comparison h3 i {
  color: var(--primary);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .compare-tools-container {
    padding: 1.5rem;
  }
  
  .compare-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .compare-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .compare-tools-container {
    padding: 1rem;
  }
  
  .compare-header h1 {
    font-size: 1.8rem;
  }
  
  .compare-actions {
    width: 100%;
    justify-content: center;
  }
  
  .comparison-table {
    overflow-x: auto;
    border-radius: var(--border-radius-md);
  }
  
  .comparison-table table {
    min-width: 600px;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 1rem 0.75rem;
    font-size: 0.9rem;
  }
  
  .tool-header {
    gap: 0.5rem;
  }
  
  .tool-logo,
  .tool-icon {
    width: 50px;
    height: 50px;
  }
  
  .tool-header h3 {
    font-size: 1rem;
  }
  
  .remove-tool-btn {
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .compare-tools-container {
    padding: 0.5rem;
  }
  
  .compare-header h1 {
    font-size: 1.5rem;
  }
  
  .compare-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .compare-actions .btn-cyber,
  .compare-actions .btn-outline-cyber {
    width: 100%;
    justify-content: center;
  }
  
  .comparison-table table {
    min-width: 500px;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
  }
  
  .tool-logo,
  .tool-icon {
    width: 40px;
    height: 40px;
  }
  
  .tool-header h3 {
    font-size: 0.9rem;
  }
  
  .complexity-meter {
    padding: 0.25rem;
  }
  
  .complexity-meter span {
    font-size: 0.8rem;
  }
}

/* Horizontal scroll indicator */
.comparison-table::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 20px;
  background: linear-gradient(90deg, transparent, var(--glass-bg));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.comparison-table:hover::after {
  opacity: 1;
}

/* Animation for table rows */
.comparison-table tbody tr {
  transition: background-color 0.3s ease;
}

.comparison-table tbody tr:hover {
  background: var(--bg-secondary);
}

/* Loading and toast styles */
#compare-loading {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

#compare-loading i {
  margin-right: 0.5rem;
  color: var(--primary);
}

/* Feature comparison chart */
#comparisonChart {
  width: 100%;
  height: 300px;
  background: var(--bg-secondary);
  border-radius: var(--border-radius-md);
  padding: 1rem;
}

/* Enhanced tool header styling */
.tool-header {
  position: relative;
  padding: 1rem;
  border-radius: var(--border-radius-md);
  transition: all 0.3s ease;
}

.tool-header:hover {
  background: var(--bg-secondary);
  transform: translateY(-2px);
  box-shadow: var(--hover-shadow);
}

/* Responsive table wrapper */
.table-wrapper {
  position: relative;
  overflow-x: auto;
  border-radius: var(--border-radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
}

.table-wrapper::-webkit-scrollbar {
  height: 8px;
}

.table-wrapper::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* Pricing badges */
.pricing-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-badge.fre {
  background: rgba(0, 255, 0, 0.2);
  color: #00ff00;
  border: 1px solid rgba(0, 255, 0, 0.3);
}

.pricing-badge.frp {
  background: rgba(255, 255, 0, 0.2);
  color: #ffff00;
  border: 1px solid rgba(255, 255, 0, 0.3);
}

.pricing-badge.sub {
  background: rgba(0, 255, 247, 0.2);
  color: #00fff7;
  border: 1px solid rgba(0, 255, 247, 0.3);
}

.pricing-badge.pay {
  background: rgba(255, 0, 255, 0.2);
  color: #ff00ff;
  border: 1px solid rgba(255, 0, 255, 0.3);
}

.pricing-badge.com {
  background: rgba(255, 165, 0, 0.2);
  color: #ffa500;
  border: 1px solid rgba(255, 165, 0, 0.3);
}

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.available {
  background: rgba(0, 255, 0, 0.2);
  color: #00ff00;
  border: 1px solid rgba(0, 255, 0, 0.3);
}

.status-badge.unavailable {
  background: rgba(255, 0, 0, 0.2);
  color: #ff0000;
  border: 1px solid rgba(255, 0, 0, 0.3);
}

/* Rating display */
.rating-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.rating-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.rating-stars {
  display: flex;
  gap: 0.1rem;
}

.rating-stars i {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.rating-stars i.filled {
  color: #ffd700;
}

.rating-display small {
  color: var(--text-secondary);
  font-size: 0.7rem;
}

/* Chart container */
.chart-container {
  position: relative;
  height: 500px;
  width: 100%;
  background: var(--glass-bg);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  box-shadow: var(--hover-shadow);
}

/* Chart loading state */
.chart-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--glass-bg);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.chart-container.loading::before {
  opacity: 1;
}

.chart-container.loading::after {
  content: 'Loading chart...';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-secondary);
  font-size: 1.1rem;
  z-index: 2;
}

/* Chart canvas styling */
#comparisonChart {
  width: 100% !important;
  height: 100% !important;
  max-height: 500px;
}

/* Chart legend improvements */
.chart-legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  font-size: 0.9rem;
  color: var(--text-primary);
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Responsive chart adjustments */
@media (max-width: 768px) {
  .chart-container {
    height: 400px;
    padding: 1rem;
  }
  
  #comparisonChart {
    max-height: 400px;
  }
}

@media (max-width: 480px) {
  .chart-container {
    height: 350px;
    padding: 0.75rem;
  }
  
  #comparisonChart {
    max-height: 350px;
  }
  
  .chart-legend {
    gap: 1rem;
  }
  
  .legend-item {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
  }
}

/* Enhanced table styling */
.comparison-table td i {
  margin-right: 0.5rem;
  color: var(--primary);
  width: 16px;
  text-align: center;
}

.comparison-table td small {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: block;
}

/* Responsive adjustments for new elements */
@media (max-width: 768px) {
  .pricing-badge,
  .status-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }
  
  .rating-value {
    font-size: 1rem;
  }
  
  .rating-stars i {
    font-size: 0.7rem;
  }
  
  .chart-container {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .pricing-badge,
  .status-badge {
    font-size: 0.6rem;
    padding: 0.15rem 0.4rem;
  }
  
  .rating-value {
    font-size: 0.9rem;
  }
  
  .rating-stars i {
    font-size: 0.6rem;
  }
  
  .chart-container {
    height: 250px;
  }
}

/* Ensure back-to-top button appears above comparison badge */
.back-to-top {
  z-index: 1001 !important;
}

/* Comparison badge positioning classes for dynamic adjustment - removed empty ruleset */

/* Responsive adjustments for top-right positioning */
@media (max-width: 768px) {
  .comparison-badge {
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .comparison-badge {
    top: 0.75rem;
    right: 0.75rem;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

@media (max-width: 600px) {
  .tool-detail-container {
    padding: 0.5rem 0.2rem 1.5rem 0.2rem;
    max-width: 100vw;
    width: 100vw;
  }
  .tool-header {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    border-radius: 10px;
    margin-bottom: 1.2rem;
  }
  .tool-header-content {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }
  .tool-logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
  }
  .tool-header-info h1 {
    font-size: 1.4rem;
    margin-bottom: 0.7rem;
  }
  .tool-tagline {
    font-size: 1.05rem;
    margin-bottom: 1rem;
  }
  .tool-meta {
    gap: 0.5rem;
    font-size: 0.98rem;
  }
  .tool-actions {
    flex-direction: column !important;
    gap: 0.5rem;
    width: 100%;
    align-items: stretch;
  }
  .tool-detail-main {
    display: block !important;
    padding: 0;
    gap: 0;
  }
  .tool-section {
    padding: 1rem 0.5rem;
    border-radius: 10px;
    margin-bottom: 1.2rem;
  }
  .tool-section h2 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  .features-grid, .specs-grid, .use-cases {
    display: flex !important;
    flex-direction: column;
    gap: 0.7rem !important;
  }
  .feature-card, .spec-card, .use-case-card {
    padding: 1rem 0.5rem;
    border-radius: 9px;
    font-size: 0.98rem;
  }
  .feature-card h4, .spec-card h4 {
    font-size: 1.05rem;
  }
  .feature-rating, .rating-stars {
    font-size: 1rem;
    gap: 0.2rem;
  }
  .sidebar-card {
    border-radius: 10px;
    margin-bottom: 1rem;
    padding: 0.5rem 0.5rem 1rem 0.5rem;
  }
  .sidebar-card h3 {
    padding: 1rem 0.5rem;
    font-size: 1.05rem;
  }
  .pricing-info, .similar-tools-list {
    padding: 0.7rem 0.5rem;
  }
  .similar-tool {
    padding: 0.7rem 0.3rem;
    gap: 0.7rem;
    font-size: 0.98rem;
  }
  .similar-tool-logo {
    width: 32px;
    height: 32px;
    border-radius: 7px;
  }
  .compare-actions {
    flex-direction: column !important;
    gap: 0.5rem;
    margin-top: 1rem;
    width: 100%;
  }
  .compare-btn-new {
    width: 100%;
    font-size: 1.05rem;
    padding: 1rem 0;
    border-radius: 10px;
    margin-top: 0.5rem;
  }
  .meter-labels {
    font-size: 0.85rem;
  }
  .no-tools-found, .no-results {
    padding: 2rem 0.5rem !important;
    font-size: 1.05rem;
  }
}

@media (max-width: 400px) {
  .tool-detail-container, .tool-header, .tool-section, .feature-card, .spec-card, .use-case-card, .sidebar-card {
    padding: 0.2rem 0.1rem 1rem 0.1rem;
    border-radius: 7px;
  }
  .tool-header-info h1 {
    font-size: 1.1rem;
  }
  .tool-logo {
    width: 48px;
    height: 48px;
    border-radius: 7px;
  }
  .compare-btn-new {
    font-size: 0.98rem;
    padding: 0.7rem 0;
    border-radius: 7px;
  }
}

/* Comparison notification */
.comparison-notification {
  position: fixed;
  bottom: 1.5rem;
  right: 1rem;
  background: rgba(0, 255, 247, 0.15);
  color: #00fff7;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(0, 255, 247, 0.2);
  border: 1px solid rgba(0, 255, 247, 0.3);
  z-index: 10000;
  animation: slideInSubtle 0.3s ease-out;
  backdrop-filter: blur(10px);
  max-width: 280px;
}

.notification-close {
  background: none;
  border: none;
  color: #00fff7;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  margin-left: auto;
  opacity: 0.7;
}

.notification-close:hover {
  background: rgba(0, 255, 247, 0.1);
  transform: scale(1.1);
  opacity: 1;
}

@keyframes slideDown {
  from {
    top: -100px;
    opacity: 0;
  }
  to {
    top: 2rem;
    opacity: 1;
  }
}

@keyframes comparisonHighlight {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 16px #00fff755;
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 8px 30px #00fff7ff;
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 16px #00fff755;
  }
}

/* Responsive adjustments for notification */
@media (max-width: 768px) {
  .flash-message,
  .comparison-notification {
    bottom: 1rem;
    right: 0.75rem;
    left: 0.75rem;
    max-width: none;
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }
}

@media (max-width: 480px) {
  .flash-message,
  .comparison-notification {
    bottom: 0.75rem;
    right: 0.5rem;
    left: 0.5rem;
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
  }
}

/* Comparison Summary */
.comparison-summary {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(20px);
  box-shadow: var(--hover-shadow);
}

.comparison-summary h4 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
}

.comparison-summary h4 i {
  color: var(--primary);
}

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

.insight-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  transition: all 0.3s ease;
}

.insight-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--hover-shadow);
  border-color: var(--primary);
}

.insight-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  flex-shrink: 0;
}

.insight-content h5 {
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  font-weight: 600;
}

.insight-content p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.9rem;
}

/* Responsive adjustments for insights */
@media (max-width: 768px) {
  .comparison-summary {
    padding: 1.5rem;
  }
  
  .insights-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .insight-card {
    padding: 1rem;
  }
  
  .insight-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .comparison-summary {
    padding: 1rem;
  }
  
  .insight-card {
    padding: 0.75rem;
  }
  
  .insight-icon {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .insight-content h5 {
    font-size: 0.9rem;
  }
  
  .insight-content p {
    font-size: 0.8rem;
  }
}