.comparison-section {
  margin: 2rem 0;
  padding: 0 10%;
  width: 100%;
}

.comparison-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.table-container {
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 0.9rem;
}

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

.comparison-table th {
  background: var(--bg-secondary);
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 1;
}

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

.comparison-table .highlight {
  background: rgba(59, 130, 246, 0.1);
  border-left: 4px solid #3b82f6;
}

.tool-name {
  font-weight: 600;
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .comparison-table {
    font-size: 0.8rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.5rem;
  }
}