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

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

.card {
  background-color: var(--dark-alt);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.download-section {
  background: var(--gradient-2);
  border-radius: 1rem;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.comparison-table {
  background: var(--dark-alt);
  border-radius: 1rem;
  overflow: hidden;
}

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

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

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

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

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

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

.device-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--dark);
  border-radius: 2rem;
  margin: 0.5rem;
  font-size: 0.9rem;
  border: 1px solid var(--accent);
}

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

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

.cta-mobile {
  background: var(--gradient-1);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  margin: 2rem 0;
  box-shadow: var(--shadow-glow);
}

@media (max-width: 768px) {
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
  
  .download-section,
  .cta-mobile {
    padding: 1.5rem;
  }
}