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

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

.table-responsive {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

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

.table thead th {
  color: var(--text);
  font-weight: 600;
  border: none;
  padding: 1rem;
}

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

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

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

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

.alert-custom {
  background: rgba(var(--accent-rgb), 0.1);
  border-left: 4px solid var(--accent);
  padding: 1.25rem;
  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-md);
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(var(--accent-rgb), 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

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

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

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