/* ── Right panel inner layout ── */
.right-panel-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 32px 48px 24px;
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 1100px) {
  .right-panel-inner { padding: 28px 32px 24px; }
}
@media (max-width: 767px) {
  .right-panel-inner { padding: 24px 20px; max-width: 100%; }
}

/* ── Step indicator ── */
.step-indicator {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: var(--space-2xl);
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.step-connector {
  width: 48px;
  height: 1px;
  background: var(--color-border);
  margin-top: 14px;
  flex-shrink: 0;
  position: relative;
}

.step-connector.done {
  background: var(--color-success);
}

.step-pill {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  transition: all var(--dur-base) var(--ease-out);
  flex-shrink: 0;
}

.step-pill.active {
  background: var(--color-dark);
  color: var(--color-white);
}

.step-pill.completed {
  background: var(--color-success);
  color: var(--color-white);
}

.step-pill.inactive {
  background: var(--color-off-white);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.step-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.step-label.active { color: var(--color-dark); }

@media (max-width: 767px) {
  .step-label { display: none; }
  .step-connector { width: 32px; }
}

/* ── Step content ── */
.step-content {
  display: none;
  flex-direction: column;
  gap: var(--space-lg);
  flex: 1;
}

.step-content.step--active {
  display: flex;
}

/* ── Section heading ── */
.section-headline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 22px;
  color: var(--color-dark);
  line-height: 1.2;
}

.section-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* ── Form fields ── */
.form-row {
  display: grid;
  gap: var(--space-md);
}

.form-row.two-col { grid-template-columns: 1fr 1fr; }
.form-row.one-col { grid-template-columns: 1fr; }

@media (max-width: 520px) {
  .form-row.two-col { grid-template-columns: 1fr; }
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.field-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  color: var(--color-text-muted);
  transition: color var(--dur-fast);
}

.field-input-wrap {
  position: relative;
}

.field-input-wrap .field-prefix {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: var(--text-form);
  font-weight: 500;
  color: var(--color-text-muted);
  pointer-events: none;
  z-index: 1;
}

.field-input-wrap .field-prefix + .field-input {
  padding-left: 32px;
}

.field-input {
  width: 100%;
  background: var(--color-off-white);
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-form);
  color: var(--color-dark);
  outline: none;
  transition: border-color 200ms, box-shadow 200ms;
  appearance: none;
}

.field-input::placeholder { color: #C0C0C8; }

.field-input:focus {
  border-color: var(--color-dark);
  box-shadow: 0 0 0 3px rgba(12,12,15,0.08);
}

.field-input.error {
  border-color: var(--color-accent);
}

.field-input.success {
  border-color: var(--color-success);
}

.field-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
}

.field-icon.success-check { color: var(--color-success); }

.field-input.has-icon { padding-right: 44px; }

.field-helper {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.field-helper.error-msg {
  color: var(--color-accent);
  display: none;
}

.field-helper.error-msg.visible { display: block; }

/* ── Platform chip selector ── */
.chip-group-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.chip {
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  border-radius: 8px;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--color-dark);
  cursor: pointer;
  transition: all 200ms var(--ease-out);
  white-space: nowrap;
  user-select: none;
}

.chip:hover {
  border-color: var(--color-dark);
}

.chip.selected {
  border-color: var(--color-dark);
  background: var(--color-dark);
  color: var(--color-white);
  transform: scale(1.02);
}

.chip.niche-chip.selected {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-white);
}

.niche-counter {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 6px;
}

/* ── Segmented follower selector ── */
.seg-group {
  display: flex;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
}

.seg-btn {
  flex: 1;
  padding: 12px 8px;
  background: var(--color-off-white);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  cursor: pointer;
  border: none;
  border-right: 1px solid var(--color-border);
  transition: all var(--dur-fast) var(--ease-out);
  text-align: center;
}

.seg-btn:last-child { border-right: none; }

.seg-btn.selected {
  background: var(--color-dark);
  color: var(--color-white);
}

.seg-btn:hover:not(.selected) {
  background: var(--color-border);
}

/* ── Handle input fade-in ── */
.handle-field-wrap {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 250ms var(--ease-out), max-height 250ms var(--ease-out);
}

.handle-field-wrap.visible {
  opacity: 1;
  max-height: 120px;
}

/* ── Dynamic earning preview ── */
.earning-preview {
  background: var(--color-off-white);
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.earning-preview-icon {
  font-size: 22px;
  color: var(--color-accent);
  font-family: var(--font-body);
  font-weight: 700;
  flex-shrink: 0;
}

.earning-preview-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark);
  line-height: 1.4;
}

.earning-preview-range {
  color: var(--color-accent);
  font-weight: 600;
}

.earning-preview-sub {
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-top: 2px;
}

/* ── Summary card (Step 3) ── */
.summary-card {
  background: var(--color-off-white);
  border: 1.5px solid var(--color-border);
  border-radius: 14px;
  padding: 20px 24px;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.summary-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.summary-row-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.summary-row-value {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-dark);
}

.summary-edit {
  position: absolute;
  right: 0;
  top: 0;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-text-muted);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-decoration: none;
}

.summary-edit:hover { color: var(--color-dark); text-decoration: underline; }

.summary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.summary-tag {
  font-size: 12px;
  background: var(--color-border);
  border-radius: 4px;
  padding: 2px 7px;
  font-family: var(--font-body);
  color: var(--color-dark);
}

/* ── Predicted earnings card ── */
.earnings-potential-card {
  background: var(--color-dark);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: var(--space-md);
}

.earnings-potential-eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.earnings-potential-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--color-white);
  line-height: 1.1;
}

.earnings-potential-sub {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.earnings-potential-note {
  font-family: var(--font-body);
  font-size: 11px;
  color: #555560;
  margin-top: 8px;
}

/* ── Consent checkbox ── */
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.custom-checkbox {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast);
}

.custom-checkbox:focus { outline: 3px solid rgba(0,0,0,0.1); }

.custom-checkbox.checked {
  background: var(--color-dark);
  border-color: var(--color-dark);
}

.consent-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  cursor: pointer;
}

/* ── Buttons ── */
.btn {
  width: 100%;
  border-radius: 10px;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background var(--dur-fast), transform var(--dur-fast) var(--ease-spring), opacity var(--dur-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: var(--color-dark);
  color: var(--color-white);
}

.btn-primary:hover { background: #1F1F23; transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.99); }

.btn-accent {
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  padding: 18px;
}

.btn-accent:hover { background: #e62e4a; transform: translateY(-1px); }
.btn-accent:active { transform: scale(0.99); }
.btn-accent:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
}
.btn-whatsapp:hover { background: #1db954; transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--color-text-muted);
  padding: 14px;
}

.btn-secondary:hover { color: var(--color-dark); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-dark);
}

.btn-outline:hover { border-color: var(--color-dark); transform: translateY(-1px); }

.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.btn.loading .btn-spinner { display: block; }
.btn.loading .btn-text-arrow { display: none; }

.btn-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.legal-note {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
}

.legal-note a {
  color: var(--color-text-muted);
  text-decoration: underline;
}

.legal-note a:hover { color: var(--color-dark); }

/* ── Confirmation screen ── */
.confirmation-screen {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 360px;
  margin: auto;
  padding: var(--space-xl) 0;
  gap: var(--space-lg);
}

.confirmation-screen.visible { display: flex; }

.confirm-check-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--color-success);
  background: #22C55E18;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.confirm-check-circle.animate {
  animation: checkCircleIn 600ms var(--ease-out) forwards;
}

.confirm-headline {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 24px;
  color: var(--color-dark);
  opacity: 0;
  transform: translateY(10px);
}

.confirm-headline.animate {
  animation: fadeUp 400ms var(--ease-out) 200ms forwards;
}

.confirm-body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(10px);
}

.confirm-body.animate {
  animation: fadeUp 400ms var(--ease-out) 400ms forwards;
}

.confirm-next-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  width: 100%;
  text-align: left;
  opacity: 0;
}

.confirm-next-list.animate {
  animation: fadeUp 400ms var(--ease-out) 500ms forwards;
}

.confirm-next-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.confirm-next-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-dark);
  flex-shrink: 0;
}

.confirm-next-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-dark);
  padding-top: 3px;
  line-height: 1.4;
}

.confirm-cta-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  width: 100%;
  opacity: 0;
}

.confirm-cta-stack.animate {
  animation: fadeUp 400ms var(--ease-out) 600ms forwards;
}

/* ── Trust footer ── */
.trust-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-text-muted);
}

.trust-sep {
  color: var(--color-border);
  font-size: 14px;
}

@media (max-width: 480px) {
  .trust-footer { flex-wrap: wrap; gap: var(--space-sm); }
  .trust-sep { display: none; }
}
