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

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

.card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.table {
  color: var(--text-primary);
  border-color: var(--card-border);
}

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

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

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

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.info-box {
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent);
  margin-bottom: 2rem;
}

.checklist {
  list-style: none;
  padding-left: 0;
}

.checklist li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
}

.checklist li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}