/* Variant B styles */
.vb-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 900px;
  background: linear-gradient(180deg, #FBF6EE 0%, #F2E9DA 100%);
  font-family: 'Inter', system-ui, sans-serif;
  color: #1A1A1A;
  overflow: hidden;
  padding: 40px 56px 56px;
  box-sizing: border-box;
}

.vb-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.vb-shape-1 {
  width: 380px; height: 380px;
  background: oklch(0.78 0.13 55);
  border-radius: 50%;
  top: -120px; right: -100px;
  opacity: 0.35;
  filter: blur(40px);
}
.vb-shape-2 {
  width: 280px; height: 280px;
  background: oklch(0.82 0.10 180);
  border-radius: 50%;
  bottom: 80px; left: -100px;
  opacity: 0.4;
  filter: blur(50px);
}
.vb-shape-3 {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px dashed oklch(0.55 0.15 50 / 0.4);
  top: 240px; right: 80px;
}

.vb-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.vb-logo {
  height: 28px;
}
.vb-tagline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 22px;
  color: oklch(0.55 0.15 50);
}

/* Stepper */
.vb-stepper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 28px;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(26,26,26,0.06);
  border-radius: 999px;
  padding: 8px;
}
.vb-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border-radius: 999px;
  position: relative;
  transition: all 0.3s;
}
.vb-step.is-active {
  background: #1A1A1A;
  color: #F5EFE6;
}
.vb-step.is-done {
  opacity: 0.55;
}
.vb-step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(26,26,26,0.08);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  flex-shrink: 0;
}
.vb-step.is-active .vb-step-num {
  background: oklch(0.78 0.13 55);
  color: #1A1A1A;
}
.vb-step.is-done .vb-step-num {
  background: oklch(0.72 0.10 180);
  color: #1A1A1A;
}
.vb-step-info {
  display: flex;
  flex-direction: column;
}
.vb-step-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.vb-step-sub {
  font-size: 12px;
  opacity: 0.7;
}
.vb-step.is-active .vb-step-sub {
  opacity: 0.8;
}

/* Card */
.vb-main {
  position: relative;
  z-index: 2;
}
.vb-card {
  background: #FFFFFF;
  border: 1px solid rgba(26,26,26,0.06);
  border-radius: 32px;
  padding: 40px 48px;
  box-shadow: 0 20px 60px -20px rgba(26,26,26,0.12);
  animation: vbFade 0.4s ease;
}
@keyframes vbFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.vb-section {
  margin-bottom: 32px;
}
.vb-section:last-of-type {
  margin-bottom: 0;
}
.vb-section-final {
  padding-top: 24px;
  border-top: 1px dashed rgba(26,26,26,0.12);
}

.vb-q-label {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.vb-q-num {
  font-style: italic;
  color: oklch(0.55 0.15 50);
  font-size: 22px;
}

.vb-hint {
  font-size: 13px;
  color: rgba(26,26,26,0.55);
  margin: -8px 0 14px;
}

/* Counters */
.vb-counters {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}
.vb-counter {
  flex: 1;
  background: #F5EFE6;
  border-radius: 20px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.vb-counter > span {
  font-size: 14px;
  color: rgba(26,26,26,0.7);
}
.vb-counter > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vb-counter button {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(26,26,26,0.2);
  background: #FFFFFF;
  font-size: 16px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.vb-counter button:hover {
  border-color: #1A1A1A;
  background: #1A1A1A;
  color: #FFFFFF;
}
.vb-counter strong {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 24px;
  font-weight: 400;
  min-width: 24px;
  text-align: center;
}

/* Inputs */
.vb-input {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(26,26,26,0.12);
  background: #F5EFE6;
  color: #1A1A1A;
  box-sizing: border-box;
  margin-top: 12px;
}
.vb-input:focus {
  outline: none;
  border-color: #1A1A1A;
}

.vb-row {
  display: flex;
  gap: 12px;
}
.vb-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.vb-section-half {
  margin-bottom: 0;
}
.vb-field {
  flex: 1;
  background: #F5EFE6;
  border: 1.5px solid rgba(26,26,26,0.08);
  border-radius: 18px;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.vb-field:focus-within {
  border-color: #1A1A1A;
}
.vb-field-pill {
  border-radius: 999px;
  padding: 12px 22px;
}
.vb-field span {
  font-size: 11px;
  color: rgba(26,26,26,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.vb-field input {
  font-family: inherit;
  font-size: 15px;
  border: none;
  background: transparent;
  color: #1A1A1A;
  padding: 2px 0;
}
.vb-field input:focus {
  outline: none;
}

.vb-textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  padding: 14px 20px;
  border-radius: 18px;
  border: 1.5px solid rgba(26,26,26,0.12);
  background: #F5EFE6;
  color: #1A1A1A;
  box-sizing: border-box;
  resize: vertical;
  margin-top: 8px;
}
.vb-textarea:focus {
  outline: none;
  border-color: #1A1A1A;
}

/* Chips */
.vb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vb-chip {
  font-family: inherit;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(26,26,26,0.12);
  background: transparent;
  color: #1A1A1A;
  cursor: pointer;
  transition: all 0.15s;
}
.vb-chip:hover { border-color: rgba(26,26,26,0.4); }
.vb-chip.is-on {
  background: #1A1A1A;
  color: #F5EFE6;
  border-color: #1A1A1A;
}

/* Segments */
.vb-segments {
  display: flex;
  gap: 8px;
}
.vb-segments-wrap {
  flex-wrap: wrap;
}
.vb-seg {
  flex: 1;
  min-width: 140px;
  font-family: inherit;
  font-size: 15px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1.5px solid rgba(26,26,26,0.12);
  background: #F5EFE6;
  color: #1A1A1A;
  cursor: pointer;
  transition: all 0.15s;
}
.vb-seg:hover { border-color: rgba(26,26,26,0.3); }
.vb-seg.is-on {
  background: oklch(0.55 0.15 50);
  color: #F5EFE6;
  border-color: oklch(0.55 0.15 50);
}

/* Actions */
.vb-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px dashed rgba(26,26,26,0.12);
}
.vb-stepcount {
  font-size: 13px;
  color: rgba(26,26,26,0.5);
  letter-spacing: 0.04em;
}

.vb-errors {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(216, 92, 62, 0.08);
  border: 1px solid rgba(216, 92, 62, 0.25);
  border-radius: 16px;
  font-size: 14px;
  color: #8C3A20;
  line-height: 1.5;
}
.vb-errors > div {
  padding: 2px 0;
}

.vb-btn {
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 14px 26px;
  transition: all 0.2s;
}
.vb-btn-primary {
  background: #1A1A1A;
  color: #F5EFE6;
}
.vb-btn-primary:hover {
  background: oklch(0.55 0.15 50);
  transform: translateY(-1px);
}
.vb-btn-ghost {
  background: transparent;
  color: rgba(26,26,26,0.7);
}
.vb-btn-ghost:hover {
  color: #1A1A1A;
  background: rgba(26,26,26,0.05);
}
.vb-btn-big {
  font-size: 16px;
  padding: 16px 32px;
}

/* Done */
.vb-done {
  display: flex;
  flex-direction: column;
}
.vb-done-card {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 60px auto 0;
  background: #FFFFFF;
  border: 1px solid rgba(26,26,26,0.06);
  border-radius: 32px;
  padding: 48px 48px 40px;
  text-align: center;
  box-shadow: 0 20px 60px -20px rgba(26,26,26,0.15);
}
.vb-done-badge {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: oklch(0.78 0.13 55);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  color: #1A1A1A;
}
.vb-done-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 44px;
  line-height: 1.05;
  margin: 0 0 12px;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.vb-done-text {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(26,26,26,0.75);
  margin: 0 0 28px;
}
.vb-done-text em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  color: oklch(0.55 0.15 50);
}
.vb-summary {
  background: #F5EFE6;
  border-radius: 20px;
  padding: 20px 24px;
  text-align: left;
  margin-bottom: 24px;
  font-size: 14px;
}
.vb-summary > div {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(26,26,26,0.08);
}
.vb-summary > div:last-child { border-bottom: none; }
.vb-summary > div > span { color: rgba(26,26,26,0.55); }

/* ===================== MOBIEL ===================== */
@media (max-width: 720px) {
  .vb-stage {
    min-height: 100vh;
    height: auto;
    overflow: visible;
    padding: 20px 16px 40px;
  }
  .vb-shape-1 { width: 220px; height: 220px; top: -80px; right: -80px; }
  .vb-shape-2 { width: 200px; height: 200px; bottom: 0; left: -100px; }
  .vb-shape-3 { display: none; }

  .vb-header {
    margin-bottom: 20px;
  }
  .vb-logo { height: 22px; }
  .vb-tagline { font-size: 17px; }

  /* Stepper — compacter, alleen actieve label tonen */
  .vb-stepper {
    padding: 6px;
    margin-bottom: 20px;
    overflow: hidden;
  }
  .vb-step {
    padding: 8px 8px;
    gap: 8px;
    flex: 0 0 auto;
    min-width: 0;
  }
  .vb-step-num {
    width: 28px; height: 28px;
    font-size: 14px;
  }
  .vb-step:not(.is-active) .vb-step-info { display: none; }
  .vb-step.is-active {
    flex: 1;
  }
  .vb-step-title { font-size: 13px; }
  .vb-step-sub { display: none; }

  /* Card */
  .vb-card {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .vb-section {
    margin-bottom: 24px;
  }
  .vb-q-label {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.2;
    gap: 8px;
  }
  .vb-q-num { font-size: 18px; }
  .vb-hint {
    font-size: 12px;
    margin: -4px 0 12px;
  }

  /* Rows → stack op mobiel */
  .vb-row {
    flex-direction: column;
    gap: 10px;
  }
  .vb-row-2 {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }
  .vb-field {
    width: 100%;
  }
  .vb-field input {
    font-size: 16px; /* voorkomt iOS auto-zoom */
    padding: 4px 0;
  }

  /* Counters */
  .vb-counters {
    flex-direction: column;
    gap: 10px;
  }
  .vb-counter {
    padding: 14px 18px;
  }
  .vb-counter strong { font-size: 22px; }

  /* Input / textarea */
  .vb-input {
    font-size: 16px;
    padding: 12px 18px;
  }
  .vb-textarea {
    font-size: 16px;
    padding: 12px 16px;
  }

  /* Segments wrappen op mobiel */
  .vb-segments {
    flex-wrap: wrap;
  }
  .vb-seg {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    font-size: 14px;
    padding: 12px 14px;
  }
  .vb-segments-wrap .vb-seg {
    flex: 1 1 calc(50% - 4px);
  }

  /* Chips iets kleiner */
  .vb-chip {
    font-size: 13px;
    padding: 9px 14px;
  }

  /* Actions */
  .vb-actions {
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
    padding-top: 20px;
    align-items: stretch;
  }
  .vb-actions .vb-stepcount {
    order: 2;
    text-align: center;
  }
  .vb-btn {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }
  .vb-btn-ghost {
    order: 3;
  }
  .vb-btn-primary {
    order: 1;
  }
  .vb-btn-big {
    font-size: 15px;
    padding: 16px 24px;
  }

  /* Done */
  .vb-done-card {
    margin: 24px auto 0;
    padding: 32px 24px 28px;
    border-radius: 24px;
  }
  .vb-done-title {
    font-size: 32px;
  }
}
