/* Lead Capture Module — Persian RTL Design */
/* Colors: #fba311 (accent), #f7f7f7 (bg), #1a1a1a (text) */


/* ── Section ── */
.lc-section {
  background: linear-gradient(135deg, #0c113a 0%, #03093a 100%);
  padding: 32px 0;
  direction: rtl;
  position: relative;
  overflow: hidden;
  border-radius: 0px 0px 12px 12px;
}
.lc-text {
    width: 100%;
}
.lc-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #fba311, #ffd166, #fba311);
  background-size: 200% 100%;
  animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ── Decorative circle ── */
.lc-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 163, 17, 0.08) 0%, transparent 70%);
  top: -100px;
  left: -80px;
  pointer-events: none;
}

form#leadCaptureForm {
  width: 100%;
}

.lc-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  flex-direction: column;
}

/* ── Text ── */
.lc-text {
  flex-shrink: 0;
}

.lc-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.lc-title span {
  color: #fba311;
}

.lc-subtitle {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  font-weight: 400;
}

/* ── Form ── */
.lc-form {
  flex: 1;
}

.lc-fields {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
  flex-direction: column;
}

.lc-field-wrap {
  flex: 1;
  min-width: 130px;
  position: relative;
}

/* ── Input ── */
.lc-input {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  direction: rtl;
  text-align: right;
}

.lc-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
  font-size: 13px;
}

.lc-input:focus {
  border-color: #fba311;
  background: rgba(251, 163, 17, 0.08);
  box-shadow: 0 0 0 3px rgba(251, 163, 17, 0.15);
}

.lc-input.lc-error {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.06);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.12);
}

/* ── Button ── */
.lc-btn {
  flex-shrink: 0;
  height: 46px;
  padding: 0 28px;
  background: linear-gradient(135deg, #fba311 0%, #ffd166 100%);
  color: #1a1a1a;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(251, 163, 17, 0.35);
  position: relative;
  overflow: hidden;
}

.lc-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 163, 17, 0.5);
}

.lc-btn:hover::after {
  opacity: 1;
}

.lc-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(251, 163, 17, 0.3);
}

.lc-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.lc-btn-loader {
  letter-spacing: 3px;
  animation: pulse 1s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

/* ── Message ── */
.lc-message {
  margin-top: 10px;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 8px;
  line-height: 1.6;
  direction: rtl;
  text-align: right;
}

.lc-message.lc-success {
  background: rgb(20 251 17 / 12%);
  color: #66ff72;
  border: 1px solid rgb(31 251 17 / 25%);
}

.lc-message.lc-msg-error {
  background: rgba(255, 107, 107, 0.1);
  color: #ff9999;
  border: 1px solid rgba(255, 107, 107, 0.25);
}

/* ── Divider between text and form ── */
.lc-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .lc-section {
    padding: 24px 0;
  }

  .lc-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .lc-divider {
    display: none;
  }

  .lc-fields {
    flex-direction: column;
  }

  .lc-field-wrap {
    min-width: unset;
    width: 100%;
  }

  .lc-btn {
    width: 100%;
    height: 48px;
  }

  .lc-title {
    font-size: 16px;
  }
}