/* ─── LEAD FORM SECTION ───────────────────────────────────── */
.lead-form-section {
  padding: 6rem 2rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.lf-container {
  max-width: 720px;
  margin: 0 auto;
}

.lf-header {
  text-align: center;
  margin-bottom: 3rem;
}

.lf-header h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.lf-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 440px;
  margin: 0 auto;
}

/* ─── FORM ─────────────────────────────────────────────────── */
.lf-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2.5rem;
}

.lf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.lf-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lf-field--full {
  grid-column: 1 / -1;
}

.lf-field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  text-transform: uppercase;
}

.req {
  color: var(--accent);
}

.lf-field input,
.lf-field textarea,
.lf-field select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--fg);
  font-family: 'Barlow', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}

.lf-field textarea {
  resize: vertical;
  min-height: 80px;
}

.lf-field select {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a1a1aa' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.lf-field input:focus,
.lf-field textarea:focus,
.lf-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12);
}

.lf-field input::placeholder,
.lf-field textarea::placeholder {
  color: rgba(161, 161, 170, 0.5);
}

/* ─── PLATFORM CHECKBOXES ──────────────────────────────────── */
.lf-platforms {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.lf-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
}

.lf-checkbox input[type="checkbox"] {
  display: none;
}

.lf-check-icon {
  width: 20px;
  height: 20px;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s;
  flex-shrink: 0;
}

.lf-check-icon::after {
  content: '';
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) scale(0);
  transition: transform 0.15s;
}

.lf-checkbox input:checked + .lf-check-icon {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.lf-checkbox input:checked + .lf-check-icon::after {
  transform: rotate(-45deg) scale(1);
}

.lf-check-label {
  font-size: 0.9rem;
  color: var(--fg-muted);
  font-weight: 500;
}

/* ─── SUBMIT ───────────────────────────────────────────────── */
.lf-submit {
  display: block;
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 0.75rem;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}

.lf-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.lf-submit:active {
  transform: translateY(0);
}

/* ─── CONFIRMATION PAGE ───────────────────────────────────── */
.confirmation-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.confirmation-page nav {
  position: static;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 2rem;
}

.nav-back {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-back:hover {
  color: var(--fg);
}

.confirm-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

.confirm-icon {
  margin-bottom: 2rem;
}

.confirm-content .section-label {
  margin-bottom: 1rem;
}

.confirm-content h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.confirm-lede {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 420px;
}

.confirm-lede strong {
  color: var(--fg);
  font-weight: 600;
}

.confirm-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
  width: 100%;
  margin-bottom: 2.5rem;
  text-align: left;
}

.confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.confirm-row:last-child {
  border-bottom: none;
}

.confirm-key {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  flex-shrink: 0;
}

.confirm-val {
  font-size: 0.9rem;
  color: var(--fg);
  text-align: right;
}

.confirm-back {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.confirm-back:hover {
  color: var(--fg);
}

/* ─── MOBILE ──────────────────────────────────────────────── */
@media (max-width: 600px) {
  .lf-grid {
    grid-template-columns: 1fr;
  }

  .lf-form {
    padding: 1.5rem;
  }

  .lf-platforms {
    flex-direction: column;
    gap: 0.75rem;
  }
}