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

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

.bg-light {
  background-color: var(--surface-light) !important;
  color: var(--text) !important;
  border: 1px solid rgba(255, 255, 255, 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: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

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

.table-responsive {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}

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

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

.table thead th {
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 1rem;
  border: none;
}

.table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.2s ease;
}

.table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.table tbody td {
  padding: 1rem;
  vertical-align: middle;
  border: none;
}

.alert-info {
  background: linear-gradient(135deg, rgba(var(--primary), 0.1) 0%, rgba(var(--accent), 0.1) 100%);
  border-left: 4px solid var(--primary);
  color: var(--text);
  border-radius: 8px;
}

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

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

.requirement-badge {
  display: inline-block;
  background: var(--gradient-secondary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0.25rem;
}

.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: var(--gradient-primary);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--dark);
}

h1, h2, h3 {
  color: var(--text);
}

h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.lead {
  color: var(--text);
  opacity: 0.9;
}