/*
 * File: assets/css/wizard.css
 * Version: 1.1.4
 * Client: ForVera Studio (ForVera Media LLC)
 * Developer: Christian / ForVera Studio
 * Website: https://forverastudio.com
 * Support: help@forverastudio.com
 */

body {
  min-height: 100vh;
}

.wizard-page {
  position: relative;
  min-height: calc(100vh - 58px);
  padding: 1.4rem 0 2rem;
  overflow: hidden;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.wiz-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 2rem;
}

.wiz-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.8rem;
}

.wiz-back {
  justify-self: start;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font: 400 0.66rem/1 var(--font-mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  min-height: 44px;
  padding: 0.4rem 0.2rem;
  cursor: pointer;
  visibility: hidden;
}

.wiz-back.show {
  visibility: visible;
}

.wiz-logo {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.wiz-logo .brand-logo {
  display: block;
  width: auto;
  height: clamp(26px, 5vw, 36px);
  max-width: min(255px, calc(100vw - 5rem));
}

.wiz-counter {
  justify-self: end;
  margin: 0;
  color: var(--text-muted);
  font: 400 0.68rem/1 var(--font-mono);
  letter-spacing: 0.1em;
}

.wiz-counter em {
  color: var(--accent-bright);
  font-style: normal;
}

.progress-bar {
  display: flex;
  gap: 5px;
  padding-top: 0.85rem;
}

.segment {
  height: 3px;
  border-radius: 2px;
  flex: 1;
  background: #2a2a30;
  transition: background 0.4s, opacity 0.4s;
}

.segment.done {
  background: var(--accent);
  opacity: 1;
}

.segment.active {
  background: var(--accent);
  opacity: 0.5;
}

.steps-wrap {
  margin-top: 1.2rem;
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.step {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.step.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
}

.step.exit {
  opacity: 0;
  transform: translateX(-30px);
}

.step-label {
  margin: 0 0 0.62rem;
  color: var(--accent-bright);
  font: 500 0.63rem/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.step-title {
  margin: 0;
  font: 800 1.95rem/1.08 var(--font-head);
  letter-spacing: -0.03em;
}

.step-sub {
  margin: 0.8rem 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  max-width: 500px;
}

.opt-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.opt {
  min-height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.82rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.opt:hover,
.opt:focus-visible {
  border-color: #46464f;
  background: var(--surface2);
}

.opt.selected {
  border-color: var(--accent-border);
  background: var(--accent-soft);
}

.opt-icon {
  width: 24px;
  text-align: center;
  color: var(--accent-bright);
  font: 400 0.82rem/1 var(--font-mono);
}

.opt-title {
  margin: 0;
  font: 700 0.84rem/1.2 var(--font-head);
  letter-spacing: -0.01em;
}

.opt-sub {
  margin: 0.2rem 0 0;
  color: var(--text-muted);
  font-size: 0.69rem;
}

.form-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  align-items: start;
}

.form-grid label {
  color: var(--text-muted);
  font: 400 0.64rem/1 var(--font-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.form-grid label em {
  color: var(--accent-bright);
  font-style: normal;
}

.form-full {
  grid-column: span 2;
}

.cf-input {
  min-height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.62rem 0.82rem;
  font-family: var(--font-body);
  font-size: 0.81rem;
  color: var(--text);
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}

.cf-input::placeholder {
  color: var(--text-dim);
}

.cf-input:focus {
  border-color: var(--accent-border);
}

textarea.cf-input {
  resize: none;
  height: 75px;
  min-height: 75px;
}

.cf-input.invalid {
  border-color: rgba(220, 80, 80, 0.6);
}

.form-error {
  margin: 0.75rem 0 0;
  min-height: 1em;
  color: rgba(220, 80, 80, 0.95);
  font: 400 0.62rem/1.4 var(--font-mono);
  letter-spacing: 0.03em;
}

/* Honeypot: display:none deters browser autofill/password managers from
   touching it, while simple form-scraping bots still see the named input
   in the HTML and will populate it. */
.wiz-hp {
  display: none !important;
}

.wiz-submit {
  margin-top: 0.5rem;
  min-height: 44px;
  background: linear-gradient(180deg, var(--accent-bright) 0%, var(--accent) 55%, var(--accent-dim) 100%);
  color: #ffffff;
  border: 1px solid rgba(142, 197, 240, 0.35);
  border-radius: 6px;
  padding: 0.78rem;
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  transition: filter 0.2s, opacity 0.2s;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 6px 20px rgba(61, 106, 158, 0.3);
}

.wiz-submit:hover {
  filter: brightness(1.05);
  opacity: 1;
}

.wiz-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wiz-done {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.done-mark {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 1.5px solid var(--accent-bright);
  color: var(--accent-bright);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font: 700 1.2rem/1 var(--font-head);
  margin-bottom: 1rem;
}

.done-email {
  margin: 0.8rem 0 0;
  color: var(--accent-bright);
  font: 400 0.6rem/1 var(--font-mono);
  letter-spacing: 0.08em;
}

@media (prefers-reduced-motion: reduce) {
  .step {
    transition: none;
  }
}

@media (max-width: 640px) {
  .wiz-inner {
    padding: 0 1.25rem;
  }

  .step-title {
    font-size: 1.4rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-full {
    grid-column: span 1;
  }

  .opt {
    padding: 0.75rem 0.9rem;
  }
}

@media (max-width: 400px) {
  .step-title {
    font-size: 1.2rem;
  }

  .wiz-logo .brand-logo {
    height: clamp(22px, 6vw, 30px);
  }

  .wiz-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
