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

/* Адаптация к светлой теме */
.bg-dark {
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-coral)) !important;
  color: var(--text-light) !important;
}

.card.bg-dark,
.card.bg-dark *,
.card.bg-dark p,
.card.bg-dark h1,
.card.bg-dark h2,
.card.bg-dark h3,
.card.bg-dark h4,
.card.bg-dark h5,
.card.bg-dark h6,
.card.bg-dark .card-body,
.card.bg-dark .card-body *,
.card.bg-dark .card-title,
.card.bg-dark .card-text {
  color: #FFFFFF !important;
}

.card.bg-light {
  background-color: rgba(255, 255, 255, 0.95) !important;
  color: #000000 !important;
  border: none;
  box-shadow: var(--shadow-md);
}

.card.bg-light p {
  color: #000000 !important;
}

.card.bg-light h1,
.card.bg-light h2,
.card.bg-light h3,
.card.bg-light h4,
.card.bg-light h5,
.card.bg-light h6 {
  color: #000000 !important;
}

.card.bg-light,
.card.bg-light p,
.card.bg-light h1,
.card.bg-light h2,
.card.bg-light h3,
.card.bg-light h4,
.card.bg-light h5,
.card.bg-light h6,
.card.bg-light li,
.card.bg-light ul,
.card.bg-light ol,
.card.bg-light strong,
.card.bg-light em,
.card.bg-light span,
.card.bg-light div,
.card.bg-light .card-title,
.card.bg-light .card-text,
.card.bg-light .card-body,
.card.bg-light .card-body * {
  color: #000000 !important;
}

body .card.bg-light,
body .card.bg-light * {
  color: #000000 !important;
}

.card.bg-light .card-body,
.card.bg-light .card-body h3,
.card.bg-light .card-body h4,
.card.bg-light .card-body h5,
.card.bg-light .card-body p,
.card.bg-light .card-body .card-title,
.card.bg-light .card-body .card-text,
.card.bg-light .card-body * {
  color: #000000 !important;
}

section .card.bg-light,
section .card.bg-light * {
  color: #000000 !important;
}

.table {
  color: #000000 !important;
  border-color: rgba(0,0,0,0.1);
}

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

.table thead {
  background: var(--primary-teal);
  color: var(--text-light);
  border-bottom: 2px solid var(--primary-coral);
}

.table th, .table td {
  padding: 1rem;
  vertical-align: middle;
  color: #000000 !important;
}

.table tbody td,
.table tbody td strong {
  color: #000000 !important;
}

.payment-icon {
  width: 60px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-coral), var(--primary-teal));
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: bold;
  margin-right: 0.75rem;
}

.feature-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--accent-yellow);
  color: var(--dark-navy);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-coral), var(--deep-purple));
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-coral), var(--primary-teal));
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.info-box {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
  border-left: 4px solid var(--primary-coral);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.comparison-highlight {
  background: var(--accent-yellow);
  color: var(--dark-navy);
  font-weight: 600;
  padding: 0.5rem;
  border-radius: 4px;
}

body section.container .card.bg-light,
body section.container .card.bg-light .card-body,
body section.container .card.bg-light .card-body h3.h5,
body section.container .card.bg-light .card-body h3.h5.card-title,
body section.container .card.bg-light .card-body p.card-text,
body section.container .card.bg-light .card-body p,
body section.container .card.bg-light .card-body * {
  color: #000000 !important;
}

.card.bg-light p.card-text.mb-0,
.card.bg-light .card-body p.card-text.mb-0,
.card.bg-light .card-body p.mb-0 {
  color: #000000 !important;
}

html body .card.bg-light,
html body .card.bg-light *,
html body .card.bg-light p,
html body .card.bg-light h3,
html body .card.bg-light h5,
html body .card.bg-light .card-title,
html body .card.bg-light .card-text {
  color: #000000 !important;
}