/* ── Lead Modal ──────────────────────────────────── */

.lead-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lead-modal-container {
  background: #0d1b3e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 460px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lead-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}

.lead-modal-close:hover {
  color: #fff;
}

.lead-modal-title {
  font-family: Unbounded, sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  margin: 0 0 6px 0;
  text-align: center;
}

.lead-modal-subtitle {
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 24px 0;
  text-align: center;
}

/* ── Form ────────────────────────────────────────── */

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lead-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lead-form-group label {
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

.lead-form-group input,
.lead-form-group select,
.lead-form-group textarea {
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.2s;
}

.lead-form-group input:focus,
.lead-form-group select:focus,
.lead-form-group textarea:focus {
  border-color: #7b61ff;
}

.lead-form-group input::placeholder,
.lead-form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.lead-form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.lead-form-group select option {
  background: #0d1b3e;
  color: #fff;
}

.lead-form-group textarea {
  resize: vertical;
  min-height: 60px;
}

.lead-form-error {
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 6px;
  padding: 8px 12px;
}

.lead-form-submit {
  font-family: Unbounded, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  background: #7b61ff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 4px;
}

.lead-form-submit:hover {
  background: #6551d9;
  transform: translateY(-1px);
}

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

/* ── Success State ───────────────────────────────── */

.lead-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: rgba(40, 167, 69, 0.15);
  border: 2px solid #28a745;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #28a745;
}

/* ── Responsive ──────────────────────────────────── */

@media (max-width: 480px) {
  .lead-modal-container {
    padding: 24px 16px;
    border-radius: 12px;
  }

  .lead-modal-title {
    font-size: 18px;
  }

  .lead-form-group input,
  .lead-form-group select,
  .lead-form-group textarea {
    font-size: 16px; /* prevent iOS zoom on focus */
  }
}
