/* Protezione da scroll orizzontale */
html, body { 
  overflow-x: hidden; 
  max-width: 100vw; 
}

.bg-light {
  background-color: var(--card-bg) !important;
  color: var(--text) !important;
}

.bg-dark {
  background-color: var(--dark) !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: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

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

.app-badge:hover {
  background: var(--primary-dark);
  color: white;
  transform: scale(1.05);
}

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

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

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

.comparison-table td, .comparison-table th {
  padding: 1rem;
  vertical-align: middle;
}

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

.cta-box {
  background: var(--gradient-1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
}

.badge-custom {
  background: var(--accent);
  color: var(--dark);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}