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

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

.bg-light {
  background-color: #f8f9fa !important;
  color: var(--dark) !important;
  border: 1px solid rgba(0,0,0,0.1) !important;
}

.card {
  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);
}

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

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

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

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

.table {
  color: var(--dark);
  margin-bottom: 0;
}

.table thead {
  background: var(--gradient-primary);
  color: white;
}

.table tbody tr {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.table tbody tr:last-child {
  border-bottom: none;
}

.checkmark {
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
}

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

.highlight-box {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--accent-rgb), 0.1) 100%);
  padding: 2rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary);
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .download-badge {
    display: block;
    margin: 0.5rem 0;
  }
}