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

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

.download-badge {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--dark);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  margin: 0 10px 10px 0;
  transition: background 0.3s ease;
}

.download-badge:hover {
  background: var(--primary-dark);
  color: white;
}

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

.comparison-table {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
}

.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;
  padding: 1rem;
  border: none;
}

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

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

.checkmark {
  color: var(--accent);
  font-size: 1.25rem;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.highlight-box {
  background: var(--gradient-accent);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .download-badge {
    display: flex;
    width: 100%;
    justify-content: center;
  }
}