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

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

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

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

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

.table-dark {
  --bs-table-bg: var(--dark-card);
  --bs-table-striped-bg: var(--dark-lighter);
  --bs-table-border-color: rgba(255, 255, 255, 0.1);
}

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

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

.highlight-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--dark-blue));
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

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

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

.requirement-badge {
  display: inline-block;
  background: var(--dark-card);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin: 0.25rem;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

h2 {
  color: var(--accent);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

h3 {
  color: var(--text-light);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-light);
  opacity: 0.9;
}