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

/* Адаптация к светлой теме */
.bg-dark {
  background: linear-gradient(135deg, var(--dark-primary) 0%, var(--dark-secondary) 100%) !important;
  color: var(--text-light) !important;
}

.bg-light {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: var(--text-light) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  overflow: hidden;
}

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

.table-responsive {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table {
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 0;
}

.table thead {
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 2px solid var(--primary-electric);
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.03);
}

.table td, .table th {
  border-color: rgba(255, 255, 255, 0.1);
  padding: 1rem;
}

.btn-primary {
  background: var(--gradient-hero);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.download-badge {
  display: inline-block;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  margin: 0.5rem;
  transition: var(--transition);
}

.download-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.comparison-highlight {
  background: linear-gradient(90deg, transparent, var(--primary-electric), transparent);
  height: 2px;
  margin: 1.5rem 0;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--accent-coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.feature-list {
  list-style: none;
  padding-left: 0;
}

.feature-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: "✓";
  color: var(--accent-yellow);
  font-weight: bold;
  margin-right: 0.75rem;
}