﻿.lead-capture-body {
  min-height: 100vh;
  background: #f8fafc;
}

.lead-capture-page {
  display: flex;
  min-height: 100vh;
  color: #0f172a;
}

.lead-brand-panel {
  width: min(440px, 38vw);
  background:
    radial-gradient(circle at 15% 20%, rgba(110, 176, 194, 0.18) 0, rgba(110, 176, 194, 0) 42%),
    radial-gradient(circle at 80% 72%, rgba(47, 120, 173, 0.26) 0, rgba(47, 120, 173, 0) 55%),
    linear-gradient(165deg, #143f74 0%, #1a4f8a 100%);
  border-right: 1px solid rgba(226, 232, 240, 0.22);
  color: #e6f0ff;
}

.lead-brand-inner {
  height: 100%;
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.lead-brand-eyebrow {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(191, 219, 254, 0.92);
}

.lead-brand-title {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
  font-family: var(--font-display);
  color: #fff;
}

.lead-brand-sub {
  color: rgba(224, 242, 254, 0.9);
  font-size: 14px;
  line-height: 1.7;
}

.lead-brand-feature-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.lead-brand-feature-list li {
  padding: 14px 14px 12px;
  border-radius: 12px;
  border: 1px solid rgba(110, 176, 194, 0.32);
  background: rgba(15, 23, 42, 0.22);
}

.lead-brand-feature-list h3 {
  font-size: 15px;
  margin-bottom: 6px;
  color: #fff;
}

.lead-brand-feature-list p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(224, 242, 254, 0.86);
}

.lead-capture-main {
  flex: 1;
  padding: 44px 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lead-capture-form-wrapper {
  width: 100%;
  max-width: 520px;
}

.lead-capture-form-card,
.lead-capture-success-card {
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 63, 116, 0.12);
}

.lead-capture-form-card {
  padding: 30px 28px;
}

.lead-capture-form-header {
  margin-bottom: 20px;
}

.lead-form-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #2f78ad;
}

.lead-form-title {
  margin-top: 8px;
  font-size: 28px;
  line-height: 1.25;
  color: #0f172a;
}

.lead-form-subtitle {
  margin-top: 8px;
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

.lead-capture-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 13px;
  color: #334155;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  font-family: var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.field input {
  height: 44px;
  padding: 0 12px;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
  padding: 10px 12px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #94a3b8;
}

.field input:focus,
.field textarea:focus {
  border-color: #2f78ad;
  box-shadow: 0 0 0 3px rgba(47, 120, 173, 0.12);
}

.lead-capture-error {
  min-height: 20px;
  font-size: 13px;
  color: #dc2626;
}

.lead-capture-submit {
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #143f74 0%, #2f78ad 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s, box-shadow 0.16s, opacity 0.16s;
  box-shadow: 0 8px 20px rgba(20, 63, 116, 0.22);
}

.lead-capture-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(20, 63, 116, 0.28);
}

.lead-capture-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.lead-capture-success-card {
  padding: 40px 28px;
  text-align: center;
}

.lead-success-icon {
  margin: 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: #fff;
  background: linear-gradient(135deg, #0ea765, #10b981);
}

.lead-success-title {
  margin-top: 16px;
  font-size: 26px;
  color: #0f172a;
}

.lead-success-desc {
  margin-top: 10px;
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
}

.lead-success-actions {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.lead-secondary-btn {
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .lead-capture-page {
    flex-direction: column;
  }

  .lead-brand-panel {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.22);
  }

  .lead-brand-inner {
    padding: 26px 20px 24px;
    justify-content: flex-start;
    gap: 14px;
  }

  .lead-brand-feature-list {
    margin-top: 4px;
  }

  .lead-capture-main {
    padding: 22px 14px 30px;
    align-items: flex-start;
  }

  .lead-capture-form-card,
  .lead-capture-success-card {
    border-radius: 14px;
  }

  .lead-capture-form-card {
    padding: 22px 16px;
  }
}
