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

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

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

.card {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  box-shadow: var(--shadow-sm);
}

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

.table {
  color: var(--text-dark);
  border-color: rgba(0,0,0,0.1);
}

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

.table thead {
  background: var(--light-card);
  border-bottom: 2px solid var(--primary);
  color: var(--text-dark);
  font-weight: 600;
}

.table th, .table td {
  padding: 1rem;
  vertical-align: middle;
}


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

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

.highlight-box {
  background: var(--gradient-2);
  padding: 2rem;
  border-radius: 12px;
  color: var(--light);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.comparison-table {
  background: var(--light);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.device-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.device-icon {
  font-size: 48px;
  margin-bottom: 1rem;
  color: var(--primary);
}

@media (max-width: 768px) {
  .table-responsive {
    border-radius: 12px;
    margin-bottom: 1.5rem;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}