/* ── Wrapper ────────────────────────────────────────── */

.wa-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 1rem 0;
  font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}

/* ── Progress bar ───────────────────────────────────── */

.wa-progress {
  height: 6px;
  background: var(--color-background-secondary);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.wa-bar {
  height: 100%;
  background: var(--e-global-color-accent);
  transition: width 0.3s ease;
}

.wa-step-count {
  font-size: 12px;
  color: black;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Typography ─────────────────────────────────────── */

.wa-h {
  font-family: var(--e-global-typography-primary-font-family), Sans-serif;
  color: var(--e-global-color-accent);
  font-size: 1.75rem;
  font-weight: 500;
  margin: 0 0 1rem 0;
  line-height: 1;
}

.wa-sub {
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  font-size: 1rem;
  color: var(--e-global-color-text);
  line-height: 1.5;
  font-weight: 400;
  margin: 0 0 1rem 0;
}

/* ── Options ────────────────────────────────────────── */

.wa-opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.wa-opt {
  background: transparent;
  white-space: normal;
  border: 1.5px solid var(--e-global-color-primary);
  border-radius: var(--border-radius-md);
  padding: 14px 16px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  color: black;
  transition: all 0.3s;
  width: 100%;
}

.wa-opt:hover {
  background: var(--e-global-color-primary);
  color: black;
}

.wa-opt.selected {
  background: var(--e-global-color-accent);
  font-weight: 700;
  color: white;
}

/* ── Info list ──────────────────────────────────────── */

.wa-info-list {
  background: var(--color-background-secondary);
  border-radius: var(--border-radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wa-info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.wa-info-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--e-global-color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Actions ────────────────────────────────────────── */

.wa-actions {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.wa-btn-primary {
  background: var(--e-global-color-accent);
  font-family: "din-2014", Sans-serif;
  font-size: 20px;
  font-weight: 700;
  border-radius: 25px 25px 25px 25px;
  color: #fff;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 12px 24px;
  text-align: center;
  transition: all 0.3s;
}

.wa-btn-primary:hover {
  background: var(--e-global-color-8a13b13);
}

.wa-btn-primary:disabled {
  background: var(--e-global-color-primary);
  cursor: not-allowed;
}

.wa-btn-secondary,
#wa-restart {
  background: white;
  font-family: "din-2014", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  border-radius: 25px 25px 25px 25px;
  color: black;
  border: 1px solid black;
  cursor: pointer;
  line-height: 1;
  padding: 12px 24px;
  text-align: center;
  transition: all 0.3s;
  text-decoration: none;
}

.wa-btn-secondary:hover,
#wa-restart:hover {
  background: var(--e-global-color-8a13b13);
  color: black;
}

/* ── Email input ────────────────────────────────────── */
.wa-email:focus {
  outline: none;
  border-color: black;
}

.wa-email.error {
  border-color: #a32d2d;
}

.wa-hint {
  font-size: 12px;
  color: var(--color-text-tertiary);
  line-height: 1.5;
  margin: 0 0 1.5rem;
}

/* ── Result card ────────────────────────────────────── */

.wa-result-card {
  background: var(--e-global-color-primary);
  padding: 2rem 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.wa-note-label {
  font-size: 13px;
  color: black;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.wa-note {
  font-size: 64px;
  font-weight: 500;
  color: black;
  line-height: 1;
  margin: 0.5rem 0;
}

.wa-note-scale {
  font-size: 13px;
  color: black;
  margin-top: 0.25rem;
}

.wa-result-context {
  color: var(--color-text-primary);
  margin: 1.5rem 0;
}

/* ── Potential card ─────────────────────────────────── */

.wa-potential-card {
  background: var(--color-background-secondary);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius-md);
  border-left: 3px solid var(--e-global-color-accent);
}

.wa-potential-label {
  font-size: 12px;
  color: black;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.wa-potential-title {
  margin-bottom: 1rem;
  color: black;
}

.wa-potential-text {
  color: black;
  margin: 0;
}

/* ── CTAs ───────────────────────────────────────────── */

.wa-cta-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wa-cta-secondary {
  background: transparent;
  color: var(--color-text-primary);
  border: 1.5px solid var(--color-border-secondary);
  border-radius: 999px;
  padding: 12px 24px;
  cursor: pointer;
  width: 100%;
}

.wa-cta-secondary:hover {
  background: var(--color-background-secondary);
}

.wa-restart {
  color: var(--color-text-tertiary);
  text-align: center;
  margin-top: 1rem;
  cursor: pointer;
  background: none;
  border: none;
  display: block;
  width: 100%;
  padding: 8px;
}

.wa-restart:hover {
  color: var(--color-text-primary);
  text-decoration: underline;
}

/* ── Step transitions ───────────────────────────────── */

.wa-step {
  display: none;
}

.wa-step.active {
  display: block;
  animation: wafade 0.25s ease;
}

@keyframes wafade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
