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

/* Адаптация под светлую тему */
.bg-dark {
  background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%) !important;
  color: var(--light) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}

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

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

.platform-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: var(--gradient-2);
  border-radius: 50px;
  color: var(--light);
  font-weight: 600;
  margin: 0.5rem;
  transition: all 0.3s ease;
}

.platform-badge:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.comparison-table {
  background: var(--light);
  border-radius: 12px;
  overflow: hidden;
}

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

.table thead {
  background: var(--gradient-1);
  color: var(--light);
}

.table thead th {
  border: none;
  padding: 1rem;
  font-weight: 600;
}

.table tbody td {
  padding: 1rem;
  border-color: rgba(0, 0, 0, 0.05);
}

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

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

.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;
  color: var(--light);
  margin-bottom: 1rem;
}

.cta-section {
  background: var(--gradient-1);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  color: var(--light);
  margin-top: 3rem;
}

.btn-primary {
  padding: 0.875rem 2rem;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

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

@media (max-width: 768px) {
  .platform-badge {
    display: flex;
    width: 100%;
    justify-content: center;
    margin: 0.5rem 0;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}