/* Remove top border of the section immediately following the promo banner */
.pricing-page__promo-banner-container ~ .b2b-features-section,
.pricing-page__promo-banner-container ~ .embed-marketing__demo-section {
  border-top: none !important;
}

/* ── Promotion Banner styles ── */
.pricing-page__promo-banner-container {
  max-width: 1000px;
  margin: 1.5rem auto 0.5rem;
  padding: 0 1rem;
  box-sizing: border-box;
  width: 100%;
}

.pricing-page__promo-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 12px;
  padding: 0.85rem 1.5rem;
  box-shadow: 0 4px 20px -2px rgba(99, 102, 241, 0.08);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-page__promo-banner:hover {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 4px 24px -2px rgba(99, 102, 241, 0.15);
}

.pricing-page__promo-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.03) 30%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 70%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: promo-shimmer 6s infinite linear;
}

@keyframes promo-shimmer {
  0% { transform: translate3d(-50%, 0, 0) skewX(-25deg); }
  100% { transform: translate3d(50%, 0, 0) skewX(-25deg); }
}

.pricing-page__promo-banner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
  background: rgba(99, 102, 241, 0.15);
  padding: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.pricing-page__promo-banner-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  flex-wrap: wrap;
}

.pricing-page__promo-tag {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.2);
}

.pricing-page__promo-text {
  font-size: 0.9375rem;
  color: var(--text-main, #1c1e21);
}

.dark .pricing-page__promo-text {
  color: #e2e8f0;
}

.pricing-page__promo-code-action {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.pricing-page__promo-label {
  font-size: 0.8125rem;
  color: var(--text-muted, #6b7280);
}

.pricing-page__promo-code-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface-color, #ffffff);
  border: 1.5px dashed rgba(99, 102, 241, 0.4);
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.875rem;
  font-weight: 700;
  color: #6366f1;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  z-index: 5;
}

.pricing-page__promo-code-btn:hover {
  background: rgba(99, 102, 241, 0.05);
  border-color: #6366f1;
  transform: scale(1.02);
}

.pricing-page__promo-code-btn:active {
  transform: scale(0.98);
}

.pricing-page__promo-code-btn--copied {
  background: #10b981;
  color: #ffffff;
  border-style: solid;
  border-color: #10b981;
  font-family: var(--font-family, 'Inter', sans-serif);
}

.btn-copy-icon {
  display: flex;
  align-items: center;
  opacity: 0.8;
}

.pricing-page__promo-code-btn--copied .btn-copy-icon {
  display: none;
}

@media (max-width: 640px) {
  .pricing-page__promo-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.25rem 1rem;
    gap: 0.85rem;
  }
  
  .pricing-page__promo-banner-icon {
    align-self: center;
  }
  
  .pricing-page__promo-banner-content {
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .pricing-page__promo-code-action {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .pricing-page__promo-code-btn {
    width: 100%;
    justify-content: center;
  }
}
