.cta-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.3s ease-out;
}

.cta-modal[aria-hidden="true"] {
  display: none;
}

.cta-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.cta-modal-content {
  position: relative;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-width: 440px;
  width: 100%;
  padding: 2rem;
  animation: slideUp 0.3s ease-out;
}

.cta-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.cta-close:hover {
  background: #f3f4f6;
  color: #374151;
}

.cta-close:focus-visible {
  outline: 2px solid var(--primary-color, #0B1F3A);
  outline-offset: 2px;
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.cta-description {
  color: #6b7280;
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
}

.cta-form {
  margin: 0;
}

.cta-input-group {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.cta-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.2s;
}

.cta-input:focus {
  outline: 2px solid var(--primary-color, #0B1F3A);
  outline-offset: -1px;
  border-color: transparent;
}

.cta-input[aria-invalid="true"] {
  border-color: #ef4444;
}

.cta-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.cta-submit {
  padding: 0.75rem 1.5rem;
  background: var(--primary-color, #0B1F3A);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.cta-submit:hover:not(:disabled) {
  background: #0a1a2e;
  transform: translateY(-1px);
}

.cta-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cta-submit:focus-visible {
  outline: 2px solid var(--primary-color, #0B1F3A);
  outline-offset: 2px;
}

.cta-error {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  min-height: 1.25rem;
}

.cta-privacy {
  color: #9ca3af;
  font-size: 0.75rem;
  margin: 1rem 0 0 0;
  text-align: center;
}

.cta-success-state {
  text-align: center;
  padding: 1rem 0;
}

.cta-success-icon {
  color: #10b981;
  margin-bottom: 1rem;
}

.cta-success-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem 0;
}

.cta-success-message {
  color: #6b7280;
  margin: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .cta-modal-content {
    padding: 1.5rem;
  }
  
  .cta-input-group {
    flex-direction: column;
  }
  
  .cta-submit {
    width: 100%;
  }
}