/* Защита от горизонтального скролла */
html, body { 
  overflow-x: hidden; 
  max-width: 100vw; 
}

/* Адаптация к теме сайта */
.bg-light {
  background-color: var(--dark-lighter) !important;
  color: var(--text-primary) !important;
}

.bg-dark {
  background: linear-gradient(135deg, var(--dark-card) 0%, var(--dark-lighter) 100%) !important;
  border: 1px solid var(--border-color);
}

.card {
  transition: var(--transition);
  border-radius: 12px;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.table {
  color: var(--text-primary);
  border-color: var(--border-color);
}

.table-dark {
  --bs-table-bg: var(--dark-card);
  --bs-table-striped-bg: var(--dark-lighter);
  --bs-table-border-color: var(--border-color);
}

.table thead {
  background: var(--dark-card);
  border-bottom: 2px solid var(--primary);
}

.table tbody tr {
  border-bottom: 1px solid var(--border-color);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.download-badge {
  display: inline-block;
  padding: 12px 24px;
  background: var(--gradient-2);
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  margin: 0.5rem;
}

.download-badge:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
  color: white;
}

.comparison-table {
  margin: 2rem 0;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: white;
}

.highlight-box {
  background: var(--accent);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  margin: 1.5rem 0;
}