/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(15, 23, 41, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(171, 48, 255, 0.2);
}

.cookie-banner-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  line-height: 1.5;
  flex: 1;
}

.cookie-banner-link {
  color: #ab30ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-link:hover {
  color: #e2b6ff;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, #8e00dd, #ab30ff);
  color: #fff;
}

.cookie-btn-accept:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.cookie-btn-decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* Lead Modal */
.lead-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 41, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lead-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lead-modal {
  background: #faf8ff;
  border-radius: 1.5rem;
  padding: 2.5rem;
  max-width: 28rem;
  width: 90%;
  box-shadow: 0 24px 48px -12px rgba(19, 27, 45, 0.2);
  transform: translateY(1rem) scale(0.97);
  transition: transform 0.3s ease;
}

.lead-modal-overlay.active .lead-modal {
  transform: translateY(0) scale(1);
}

.lead-modal-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #131b2d;
  margin-bottom: 0.5rem;
}

.lead-modal-desc {
  color: #4e4355;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.lead-modal-field {
  margin-bottom: 1rem;
}

.lead-modal-label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4e4355;
  margin-bottom: 0.375rem;
}

.lead-modal-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #f2f3ff;
  border: none;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: #131b2d;
  outline: none;
  transition: box-shadow 0.2s;
}

.lead-modal-input:focus {
  box-shadow: 0 0 0 2px #ab30ff;
}

.lead-modal-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.lead-modal-consent input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.125rem;
  accent-color: #ab30ff;
  flex-shrink: 0;
}

.lead-modal-consent label {
  font-size: 0.8125rem;
  color: #4e4355;
  line-height: 1.4;
}

.lead-modal-consent a {
  color: #8e00dd;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lead-modal-submit {
  width: 100%;
  padding: 0.875rem;
  background: linear-gradient(135deg, #8e00dd, #ab30ff);
  color: #fff;
  border: none;
  border-radius: 0.75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.lead-modal-submit:hover {
  box-shadow: 0 8px 24px rgba(142, 0, 221, 0.25);
  transform: scale(1.01);
}

.lead-modal-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.lead-modal-error {
  color: #ba1a1a;
  font-size: 0.8125rem;
  margin-top: 0.75rem;
  display: none;
}

.lead-modal-error.visible {
  display: block;
}

/* Step 5 Lock Overlay */
.step5-lock-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(250, 248, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 1.5rem;
  transition: opacity 0.5s ease;
}

.step5-lock-overlay.hidden {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

.step5-lock-icon {
  font-size: 3rem;
  color: #ab30ff;
  margin-bottom: 1rem;
}

.step5-lock-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: #131b2d;
  text-align: center;
  max-width: 20rem;
}

/* Content Protection */
.preview-protected {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.preview-protected img {
  pointer-events: none;
}

.preview-protected a[href^="mailto:"],
.preview-protected a[href*="whatsapp.com"] {
  pointer-events: auto;
  cursor: pointer;
}

/* Responsive cookie banner */
@media (max-width: 640px) {
  .cookie-banner-inner {
    flex-direction: column;
    padding: 1rem 1.25rem;
    gap: 1rem;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }

  .lead-modal {
    padding: 1.5rem;
    max-width: 95%;
  }
}
