/* Form heading */
.form-heading {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 1.25rem 0;
  line-height: 1.5;
}

/* Form layout */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 420px;
  margin: 0 auto;
}

.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"] {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  font-family: inherit;
  background: #1a1a1a;
  color: #ffffff;
  border: 1px solid #333333;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
  text-align: right;
  direction: rtl;
}

.lead-form input::placeholder {
  color: #777777;
}

.lead-form input:focus {
  border-color: #22c55e;
}

.lead-form input.invalid {
  border-color: #ef4444;
}

/* Disclaimer */
.form-disclaimer {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

/* Consent */
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}

.consent-label a {
  color: #22c55e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-label a:hover {
  color: #4ade80;
}

.consent-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #22c55e;
  cursor: pointer;
}

/* Override CTA button for form */
.lead-form .cta-button {
  width: 100%;
  font-family: inherit;
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.2rem;
  border: none;
  border-radius: 999px;
  background: #00e676;
  color: #0a0a0a;
  font-size: 1.06rem;
  font-weight: 800;
  box-shadow: 0 6px 0 #00c853, 0 12px 28px rgba(0, 230, 118, 0.35);
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.lead-form .cta-button:hover:not(:disabled) {
  background: #33eb8f;
  transform: translateY(-1px);
}

.lead-form .cta-button:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

.btn-arrow {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #ffffff;
}

/* Success & Error */
.form-success {
  text-align: center;
  padding: 1rem;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 8px;
}

.form-success p {
  margin: 0;
  color: #22c55e;
  font-size: 1rem;
  font-weight: 600;
}

.form-error {
  text-align: center;
  padding: 0.6rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
}

.form-error p {
  margin: 0;
  color: #ef4444;
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .form-heading {
    font-size: 1.05rem;
  }

  .lead-form input[type="text"],
  .lead-form input[type="email"],
  .lead-form input[type="tel"] {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
}
