/* Защита от горизонтального скролла */
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.08);
}

.card {
  border-radius: 1rem;
  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-md);
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-sm);
}

.requirement-item {
  padding: 1rem;
  border-left: 4px solid var(--primary);
  background-color: var(--light-card);
  margin-bottom: 1rem;
  border-radius: 0.5rem;
}

.table-responsive {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

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

.table thead {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border: none;
}

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

.table tbody td {
  padding: 1rem;
  vertical-align: middle;
  border-color: rgba(0,0,0,0.08);
}

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

.benefit-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--accent-rgb), 0.1));
  border-left: 5px solid var(--primary);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.btn-primary {
  background: var(--gradient-1);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 45, 85, 0.4);
}

.security-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.timeline-connector {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  margin: 0 auto;
}

@media (max-width: 768px) {
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .timeline-connector {
    height: 20px;
  }
}