/* Exchange offer block — фон наследуется от rb-bg-grey-100, как у api-integration-section */
.rb-section.exchange-offer-section {
  padding: 4rem 0;
  color: #fff;
}

.exchange-offer-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: #1a1a1a;
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(99, 91, 255, 0.25);
  max-width: 1100px;
  margin: 0 auto;
}

.exchange-badge {
  display: inline-block;
  background: linear-gradient(135deg, #635bff 0%, #8b5cf6 100%);
  padding: 0.4rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.exchange-offer-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.exchange-offer-content p {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  opacity: 0.9;
  line-height: 1.6;
}

.exchange-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.exchange-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
}

.exchange-feature svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #635bff;
}

.exchange-offer-content .exchange-offer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.75rem;
  border-radius: 12px;
  background: #635bff;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, opacity 0.2s;
}

.exchange-offer-content .exchange-offer-cta:hover {
  background: #5248e8;
  opacity: 0.95;
}

.exchange-offer-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.currency-flow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.currency-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  min-width: 100px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.currency-item.crypto {
  background: linear-gradient(135deg, #635bff 0%, #8b5cf6 100%);
  border-color: transparent;
}

.arrow-flow {
  font-size: 1.5rem;
  color: #635bff;
  animation: exchange-pulse 2s ease-in-out infinite;
}

@keyframes exchange-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

@media (max-width: 767px) {
  .exchange-offer-card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  .exchange-offer-visual {
    order: -1;
  }
  .currency-flow {
    font-size: 1rem;
  }
  .currency-item {
    min-width: 80px;
    padding: 0.75rem 1rem;
  }
}
