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

/* Адаптация под светлую тему */
.bg-dark {
  background-color: var(--light-card) !important;
  color: var(--text-dark) !important;
}

.card {
  border: 1px solid rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

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

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

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

.payment-icon {
  width: 60px;
  height: 40px;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  margin-bottom: 1rem;
}

.feature-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--success);
  color: white;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.timeline-step {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 2rem;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.timeline-step:nth-child(1)::before { content: '1'; }
.timeline-step:nth-child(2)::before { content: '2'; }
.timeline-step:nth-child(3)::before { content: '3'; }
.timeline-step:nth-child(4)::before { content: '4'; }

.info-box {
  background: var(--light);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.comparison-table th {
  font-weight: 600;
  text-align: center;
}

.comparison-table td {
  text-align: center;
  vertical-align: middle;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}