/* Lead form (white multi-step card) */
.slform { position: relative; }

.slform__tag {
  position: absolute;
  top: -16px; left: 32px;
  z-index: 10;
  border-radius: 9999px;
  background: var(--sl-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.3);
}

.slform__card {
  position: relative;
  border-radius: 16px;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.5);
  padding: 40px 32px 32px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.slform__accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(to right, var(--sl-primary), #22d3ee, var(--sl-primary));
}
.slform__dots {
  position: absolute;
  top: -24px; right: -24px;
  width: 160px; height: 160px;
  opacity: 0.15;
  pointer-events: none;
  background-image: radial-gradient(circle, hsl(221 100% 45%) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
}

/* Progress */
.slform__progress { margin-bottom: 32px; }
.slform__progress[hidden] { display: none; }
.slform__progress-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.slform__progress-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; color: #94a3b8;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.slform__progress-icon {
  width: 24px; height: 24px; border-radius: 8px;
  background: rgba(26,98,255,.1); color: var(--sl-primary);
  display: flex; align-items: center; justify-content: center;
}
.slform__progress-icon svg { width: 14px; height: 14px; }
.slform__progress-pct { font-size: 12px; font-weight: 700; color: var(--sl-primary); }
.slform__progress-track { height: 6px; border-radius: 9999px; background: #e2e8f0; overflow: hidden; }
.slform__progress-bar { height: 100%; width: 0; background: var(--sl-primary); border-radius: 9999px; transition: width .4s ease; }

/* Body / steps */
.slform__body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.slform__step { display: none; }
.slform__step.is-active { display: block; animation: slform-slide .35s cubic-bezier(.16,1,.3,1); }
@keyframes slform-slide {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.slform__h3 { font-size: 1.5rem; font-weight: 700; margin: 0 0 12px; }
.slform__h3--tight { margin-bottom: 8px; }
.slform__p { color: #64748b; margin: 0 0 24px; }
.slform__p--sm { font-size: 14px; }

/* Buttons */
.slform__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--sl-primary); color: #fff;
  font-weight: 600; border: none; cursor: pointer;
  border-radius: 9999px;
  transition: opacity .2s ease;
}
.slform__btn:hover { opacity: .9; }
.slform__btn:disabled { opacity: .4; cursor: not-allowed; }
.slform__btn--lg { height: 48px; padding: 0 32px; }
.slform__btn--md { height: 44px; padding: 0 24px; }
.slform__btn svg { transition: transform .2s ease; }
.slform__btn:not(:disabled):hover svg { transform: translateX(4px); }

/* Industry grid (3 cols) */
.slform__industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.slform__industry {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  border: 2px solid #e2e8f0; color: #334155;
  border-radius: 16px; padding: 20px 12px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease, color .15s ease;
}
.slform__industry:hover { transform: translateY(-2px); box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); border-color: rgba(26,98,255,.5); }
.slform__industry.is-selected { border-color: var(--sl-primary); background: rgba(26,98,255,.05); color: var(--sl-primary); box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); }
.slform__industry-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: #f1f5f9; color: #64748b;
  transition: background .15s ease, color .15s ease;
}
.slform__industry-icon svg { width: 20px; height: 20px; }
.slform__industry:hover .slform__industry-icon { background: rgba(26,98,255,.1); color: var(--sl-primary); }
.slform__industry.is-selected .slform__industry-icon { background: var(--sl-primary); color: #fff; }
.slform__industry span:last-child { text-align: center; line-height: 1.2; }

/* Choice grid (2 cols) */
.slform__choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.slform__choice {
  border: 1px solid #e2e8f0; color: #334155;
  border-radius: 12px; padding: 12px 16px;
  font-size: 14px; font-weight: 500; text-align: left; cursor: pointer;
  background: #fff;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.slform__choice:hover { border-color: rgba(26,98,255,.6); }
.slform__choice.is-selected { border-color: var(--sl-primary); background: rgba(26,98,255,.1); color: var(--sl-primary); }

/* Inputs */
.slform__input {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  border-radius: 12px;
  padding: 0 16px;
  height: 48px;
  font-size: 16px;
  outline: none;
  transition: border-color .15s ease;
}
.slform__input::placeholder { color: #94a3b8; }
.slform__input:focus { border-color: var(--sl-primary); }
.slform__inputs { display: flex; flex-direction: column; gap: 12px; }

/* Nav row */
.slform__nav { display: flex; align-items: center; justify-content: space-between; margin-top: 32px; }
.slform__nav[hidden] { display: none; }
.slform__back {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  font-size: 14px; color: #94a3b8;
  transition: color .15s ease;
}
.slform__back:hover { color: #334155; }
.slform__back svg { width: 16px; height: 16px; }

/* Success */
.slform__success { text-align: center; }
.slform__success-icon {
  width: 56px; height: 56px; border-radius: 9999px;
  background: rgba(26,98,255,.1); color: var(--sl-primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  animation: slform-pop .4s cubic-bezier(.34,1.56,.64,1);
}
.slform__success-icon svg { width: 28px; height: 28px; }
@keyframes slform-pop { from { transform: scale(0); } to { transform: scale(1); } }
.slform__error { color: #dc2626; font-size: 14px; margin-top: 12px; text-align: center; }
.slform__error[hidden] { display: none; }

/* Team strip */
.slform__team {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid #f1f5f9;
  display: flex; align-items: center; gap: 16px;
}
.slform__avatars { display: flex; flex-shrink: 0; }
.slform__avatar {
  width: 32px; height: 32px; border-radius: 9999px;
  border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
  margin-left: -10px;
}
.slform__avatar:first-child { margin-left: 0; }
.slform__avatar--more { background: var(--sl-primary); font-size: 10px; }
.slform__avatar--extra { display: none; }
.slform__team-text { font-size: 12px; color: #64748b; line-height: 1.4; margin: 0; }
.slform__team-text strong { color: #334155; }

@media (min-width: 768px) {
  .slform__avatar--extra { display: flex; }
  .slform__avatar--more { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .slform__step.is-active { animation: none; }
  .slform__success-icon { animation: none; }
  .slform__industry:hover { transform: none; }
  .slform__btn:not(:disabled):hover svg { transform: none; }
}
