/* Защита от горизонтального скролла */
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-primary) !important;
  border: 1px solid rgba(255,255,255,0.1);
}

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

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

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

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

.download-badge {
  display: inline-block;
  padding: 12px 24px;
  background: var(--gradient-secondary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  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 {
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  overflow: hidden;
}

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

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

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

.table tbody tr:hover {
  background: rgba(255,255,255,0.05);
}

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

.highlight-box {
  background: var(--gradient-secondary);
  padding: 2rem;
  border-radius: 12px;
  color: white;
  text-align: center;
}

@media (max-width: 768px) {
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .download-badge {
    display: block;
    margin: 0.5rem 0;
  }
}