/* Lead capture widget styles */
#lead-widget-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--teal);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 0 var(--teal-glow);
  transition: all 0.2s;
  z-index: 999;
}
#lead-widget-launcher:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 8px rgba(0,229,204,0.15);
}
#lead-widget-launcher svg { width: 28px; height: 28px; fill: var(--bg-primary); }

#lead-widget-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
}
#lead-widget-modal.open { display: flex; }
#lead-widget-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  margin: 1rem;
  position: relative;
  animation: slideUp 0.25s ease-out;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
#lead-widget-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--white-dim);
  font-size: 1.25rem;
  cursor: pointer;
}
#lead-widget-form-wrap h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: var(--white);
}
#lead-widget-form-wrap p { color: var(--white-dim); font-size: 0.875rem; margin-bottom: 1.5rem; }
.widget-field { margin-bottom: 1rem; }
.widget-field label { display: block; font-size: 0.8rem; color: var(--white-dim); margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.04em; }
.widget-field input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s;
}
.widget-field input:focus { border-color: var(--teal); }
#lead-widget-submit {
  width: 100%;
  padding: 0.8rem;
  background: var(--teal);
  color: var(--bg-primary);
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}
#lead-widget-submit:hover { opacity: 0.88; }
#lead-widget-submit:disabled { opacity: 0.5; cursor: not-allowed; }
#lead-widget-success {
  text-align: center;
  display: none;
}
#lead-widget-success h3 { font-family: 'Syne', sans-serif; font-size: 1.5rem; color: var(--teal); margin-bottom: 0.5rem; }
#lead-widget-success p { color: var(--white-dim); }
</style>