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

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

.bg-dark {
  background: linear-gradient(135deg, var(--dark-card) 0%, var(--dark-lighter) 100%) !important;
  color: var(--text-light) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.app-badge {
  display: inline-block;
  padding: 12px 24px;
  background: var(--gradient-2);
  color: var(--text-light);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin: 0.5rem;
  transition: all 0.3s ease;
}

.app-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: var(--text-light);
}

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

.table {
  color: var(--text-primary);
  border-color: var(--border-color);
  margin-bottom: 0;
}

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

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

.table tbody tr:last-child {
  border-bottom: none;
}

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

.highlight-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 2rem;
  border-radius: 12px;
  color: var(--text-light);
  margin: 2rem 0;
}

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

@media (max-width: 768px) {
  .app-badge {
    display: block;
    margin: 0.5rem 0;
  }
}