/* ============================================================
   B2B Onboarding (registration flow) styles
   ============================================================ */

.b2b-onboarding {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 32px 80px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

/* ── Hero ─────────────────────────────────────────────────── */
.b2b-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  padding: 44px 48px;
  border-radius: var(--r-2xl);
  position: relative;
  overflow: hidden;
}
.b2b-hero-content { position: relative; z-index: 1; }
.b2b-hero-stats {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 0.5px solid var(--stroke-1);
}
.b2b-hero-divider {
  width: 1px; height: 32px;
  background: var(--stroke-1);
}
.b2b-hero-art {
  position: relative;
  min-height: 320px;
}
.b2b-hero-orb {
  position: absolute;
  top: 50%; left: 50%;
  width: 320px; height: 320px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 30% 30%, var(--brand-400) 0%, var(--brand-600) 50%, transparent 75%);
  filter: blur(40px);
  opacity: 0.45;
}
.b2b-hero-card,
.b2b-hero-card-2 {
  position: absolute;
  padding: 18px 20px;
  border-radius: var(--r-lg);
  z-index: 2;
}
.b2b-hero-card {
  top: 18%; right: 8%;
  min-width: 200px;
  transform: rotate(2deg);
}
.b2b-hero-card-2 {
  bottom: 12%; left: 6%;
  min-width: 240px;
  transform: rotate(-2deg);
}
.b2b-mini-tracker {
  height: 3px;
  background: var(--stroke-1);
  border-radius: 999px;
  margin-top: 12px;
  overflow: hidden;
}
.b2b-mini-tracker > div {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-400));
  border-radius: 999px;
}

/* ── Benefits grid ────────────────────────────────────────── */
.b2b-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.b2b-benefit {
  padding: 22px 24px;
  border-radius: var(--r-xl);
  transition: transform 0.2s, border-color 0.2s;
}
.b2b-benefit:hover {
  border-color: var(--stroke-3);
  transform: translateY(-2px);
}
.b2b-benefit-ic {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  background: rgba(79, 101, 128, 0.15);
  color: var(--brand-400);
}
[data-theme="light"] .b2b-benefit-ic {
  background: rgba(79, 101, 128, 0.10);
  color: var(--brand-600);
}

/* ── Tiers compare ────────────────────────────────────────── */
.b2b-onb-tiers {
  padding: 24px 28px;
  border-radius: var(--r-xl);
}
.b2b-tiers-table th,
.b2b-tiers-table td {
  text-align: center;
  padding: 12px 8px;
}
.b2b-tiers-table th:first-child,
.b2b-tiers-table td:first-child {
  text-align: left;
  color: var(--fg-muted);
  font-weight: 500;
}
.b2b-tiers-table .is-highlight {
  background: rgba(79, 101, 128, 0.10);
  color: var(--fg);
  font-weight: 600;
}
.b2b-tiers-table th.is-highlight {
  color: var(--brand-400);
  border-bottom: 1px solid var(--brand-500);
}
[data-theme="light"] .b2b-tiers-table th.is-highlight { color: var(--brand-600); }

/* ── Form ─────────────────────────────────────────────────── */
.b2b-form {
  padding: 32px 36px;
  border-radius: var(--r-2xl);
}
.b2b-form-head { margin-bottom: 24px; }

.b2b-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
  padding: 14px 18px;
  background: var(--glass-1);
  border: 0.5px solid var(--stroke-1);
  border-radius: var(--r-pill);
}
.b2b-step {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 6px 14px 6px 4px;
  cursor: default;
  color: var(--fg-faint);
  position: relative;
  flex: 1;
}
.b2b-step.is-active,
.b2b-step.is-done { color: var(--fg); cursor: pointer; }
.b2b-step-n {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--stroke-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600;
  flex-shrink: 0;
}
.b2b-step.is-active .b2b-step-n {
  background: var(--brand-500);
  color: #fff;
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px rgba(79, 101, 128, 0.20);
}
.b2b-step.is-done .b2b-step-n {
  background: var(--brand-500);
  color: #fff;
  border-color: var(--brand-600);
}
.b2b-step-t {
  font-size: 12px;
  font-weight: 500;
}
.b2b-step-bar {
  flex: 1;
  height: 1px;
  background: var(--stroke-1);
  margin: 0 8px;
}
.b2b-step.is-done + .b2b-step .b2b-step-bar,
.b2b-step.is-done .b2b-step-bar {
  background: var(--brand-500);
}

/* Form grid */
.b2b-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 18px;
}
.b2b-field { display: flex; flex-direction: column; gap: 6px; }
.b2b-field.is-wide { grid-column: span 2; }
.b2b-field-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--fg-muted);
}
.b2b-field-req { color: var(--brand-500); margin-left: 2px; }

.b2b-textarea {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
  min-height: 84px;
  font-family: inherit;
}

.b2b-form-hint {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(79, 101, 128, 0.10);
  border: 0.5px solid rgba(79, 101, 128, 0.25);
  border-radius: var(--r-md);
  font-size: 12px;
  color: var(--fg-muted);
}
.b2b-form-hint > svg { color: var(--brand-400); flex-shrink: 0; }

/* Volume / purpose radios */
.b2b-radios {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.b2b-radios-3 { grid-template-columns: repeat(3, 1fr); }
.b2b-radio {
  background: var(--glass-1);
  border: 0.5px solid var(--stroke-2);
  border-radius: var(--r-md);
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s;
  color: inherit;
}
.b2b-radio:hover { border-color: var(--stroke-3); background: var(--glass-2); }
.b2b-radio.is-on {
  background: rgba(79, 101, 128, 0.18);
  border-color: var(--brand-500);
  box-shadow: 0 0 0 1px var(--brand-500), 0 4px 14px rgba(79, 101, 128, 0.20);
}

/* Form footer */
.b2b-form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 0.5px solid var(--stroke-1);
}
.b2b-form-progress {
  font-size: 12px;
  color: var(--fg-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.b2b-form-legal {
  margin-top: 18px;
  font-size: 11px;
  color: var(--fg-faint);
  text-align: center;
  line-height: 1.5;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.b2b-faq { padding: 24px 28px; border-radius: var(--r-xl); }
.b2b-faq-list { display: flex; flex-direction: column; gap: 4px; }
.b2b-faq-item {
  border-bottom: 0.5px solid var(--stroke-1);
}
.b2b-faq-item:last-child { border-bottom: 0; }
.b2b-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 4px;
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  cursor: pointer;
  text-align: left;
}
.b2b-faq-q:hover { color: var(--brand-500); }
.b2b-faq-a {
  padding: 0 4px 14px;
  font-size: 13px;
  line-height: 1.55;
}

/* ── Already registered ───────────────────────────────────── */
.b2b-already {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px;
}

/* ── Submitted ────────────────────────────────────────────── */
.b2b-submitted {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: 40px;
}
.b2b-submitted-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 48px;
  border-radius: var(--r-2xl);
  max-width: 520px;
  text-align: center;
}
.b2b-submitted-check {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--brand-400), var(--brand-600));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 40px rgba(79, 101, 128, 0.40),
              inset 0 1px 0 rgba(255, 255, 255, 0.30);
}
.b2b-submitted-info {
  width: 100%;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 0.5px solid var(--stroke-1);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.b2b-submitted-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  color: var(--fg);
}
.b2b-submitted-row > svg {
  color: var(--brand-500);
  margin-top: 2px;
  flex-shrink: 0;
}

/* ── Responsive squish ───────────────────────────────────── */
@media (max-width: 1100px) {
  .b2b-hero { grid-template-columns: 1fr; }
  .b2b-hero-art { display: none; }
  .b2b-benefits { grid-template-columns: repeat(2, 1fr); }
  .b2b-form-grid { grid-template-columns: 1fr; }
  .b2b-field.is-wide { grid-column: auto; }
  .b2b-radios { grid-template-columns: repeat(2, 1fr); }
}
