:root {
  --bg-0: #050713;
  --bg-1: #080b1f;
  --bg-2: #0d1230;

  --panel: rgba(11, 14, 34, 0.74);
  --panel-strong: rgba(16, 20, 48, 0.86);
  --panel-heavy: rgba(8, 11, 28, 0.96);

  --line: rgba(255, 255, 255, 0.085);
  --line-soft: rgba(255, 255, 255, 0.045);
  --line-strong: rgba(196, 181, 253, 0.2);

  --violet: #8b5cf6;
  --violet-2: #6366f1;
  --blue: #38bdf8;
  --blue-soft: #93c5fd;

  --accent: #8b5cf6;
  --accent-strong: #38bdf8;
  --accent-deep: #4f46e5;

  --text: #f5f7ff;
  --text-strong: #ffffff;
  --muted: #aab4d4;
  --soft: #7380a5;

  --success: #6cff9d;
  --error: #ff6b8a;

  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 14px;

  --shadow-xl: 0 44px 110px rgba(0, 0, 0, 0.52);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.42);
  --shadow-md: 0 18px 44px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 12px 26px rgba(0, 0, 0, 0.22);

  --glow-violet: 0 0 44px rgba(139, 92, 246, 0.22);
  --glow-blue: 0 0 44px rgba(56, 189, 248, 0.14);

  --glass: blur(22px) saturate(145%);
  --glass-soft: blur(14px) saturate(130%);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.075);

  --transition: 260ms cubic-bezier(.2, .8, .2, 1);
  --transition-fast: 170ms ease;

  --font-ios: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", system-ui, sans-serif;
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-display-ru: "Oswald", "Manrope", sans-serif;
  --font-body: "Manrope", sans-serif;
  --font-heading: "Sora", "Manrope", sans-serif;
  --track-base: 0.04em;
  --track-heading: 0.03em;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  background: var(--bg-0);
}

body {
  font-family: "Manrope", sans-serif;
  letter-spacing: var(--track-base);
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(139, 92, 246, 0.18), transparent 30%),
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.11), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(99, 102, 241, 0.12), transparent 36%),
    linear-gradient(180deg, #050713 0%, #080b1f 48%, #070917 100%);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(5, 7, 19, 0.16), rgba(5, 7, 19, 0.58)),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
  mask-image: radial-gradient(circle at 50% 20%, black 18%, transparent 82%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(139, 92, 246, 0.055), transparent 62%),
    linear-gradient(90deg, rgba(0,0,0,.34), transparent 22%, transparent 78%, rgba(0,0,0,.34));
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.75;
  z-index: 0;
}

.bg-orb-1 {
  width: 420px;
  height: 420px;
  left: -160px;
  top: -130px;
  background: radial-gradient(circle, rgba(139,92,246,.22), rgba(99,102,241,.08) 46%, transparent 74%);
}

.bg-orb-2 {
  width: 520px;
  height: 520px;
  right: -230px;
  bottom: -170px;
  background: radial-gradient(circle, rgba(56,189,248,.13), rgba(139,92,246,.08) 44%, transparent 74%);
}

.bg-grid,
.bg-logo {
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  position: fixed;
  inset: 0;
  opacity: .045;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: radial-gradient(circle at center, black 28%, transparent 100%);
}

.bg-logo {
  display: none;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
  position: relative;
  z-index: 1;
}

.wizard-frame {
  width: 100%;
  max-width: 940px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 12% 0%, rgba(139, 92, 246, 0.18), transparent 30%),
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.1), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(99, 102, 241, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.024)),
    rgba(8, 11, 28, 0.82);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  box-shadow:
    var(--shadow-xl),
    var(--glow-violet),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.wizard-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.06), transparent 44%),
    radial-gradient(circle at 50% 0%, rgba(139,92,246,.11), transparent 48%);
  z-index: -1;
}

.wizard-top {
  padding: 28px 28px 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background:
    radial-gradient(circle at 14% 0%, rgba(56,189,248,.09), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  position: relative;
}

.wizard-top::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,.32), rgba(139,92,246,.22), transparent);
}

.wizard-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.wizard-top-copy {
  min-width: 0;
}

.eyebrow {
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: .95;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  letter-spacing: var(--track-heading);
  margin: 0;
  color: var(--text-strong);
}

#stepTitle {
  font-size: clamp(34px, 5vw, 48px);
  line-height: .96;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  text-wrap: balance;
}

#stepSubtitle {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 620px;
  font-size: 16px;
}

.step-pill {
  min-width: 88px;
  text-align: center;
  padding: 12px 16px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.18), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(139, 92, 246, 0.22);
  color: #eef2ff;
  font-size: 13px;
  white-space: nowrap;
  box-shadow:
    var(--glass-highlight),
    0 14px 28px rgba(0, 0, 0, 0.24),
    0 0 24px rgba(99, 102, 241, 0.12);
}

.progress-wrap {
  display: grid;
  gap: 8px;
}

.progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow:
    inset 0 1px 4px rgba(0, 0, 0, 0.38),
    0 0 18px rgba(99, 102, 241, 0.08);
}

.progress-fill {
  width: 9%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #38bdf8 0%, #6366f1 52%, #8b5cf6 100%);
  box-shadow:
    0 0 24px rgba(56,189,248,.24),
    0 0 40px rgba(139,92,246,.18);
  transition: width var(--transition);
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.24), transparent);
  transform: translateX(-100%);
  animation: progressShine 3.2s linear infinite;
}

@keyframes progressShine {
  to { transform: translateX(180%); }
}

.progress-text {
  display: none;
}

.wizard-card {
  min-height: auto;
  padding: 16px;
  position: relative;
  overflow: visible;
  display: grid;
  gap: 0;
  background: transparent;
}

.wizard-step-panel {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.035) 0%, rgba(139, 92, 246, 0.06) 52%, rgba(255, 255, 255, 0.02) 100%);
  padding: 20px 18px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}

.wizard-step-panel--success {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.04) 0%, rgba(56, 189, 248, 0.05) 48%, rgba(139, 92, 246, 0.07) 100%);
}

.wizard-card .card-head {
  display: none;
}

.step {
  display: none;
  min-height: auto;
  animation: fadeStep .28s ease both;
}

.step.active {
  display: block;
}

@keyframes fadeStep {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.step-content {
  display: grid;
  gap: 16px;
  max-width: 100%;
}

.step-content.narrow {
  max-width: 560px;
  margin: 0 auto;
}

.step-content.center {
  text-align: center;
}

.card-head {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}

.card-head.center {
  justify-items: center;
}

.card-head h2 {
  font-size: clamp(26px, 4vw, 36px);
  line-height: .98;
  letter-spacing: 0.04em;
  text-wrap: balance;
}

.card-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field span {
  color: #dfe6ff;
  font-size: 13px;
  font-weight: 800;
}

.field em {
  color: var(--muted);
  font-style: italic;
  font-weight: 700;
}

.field input:not([type="checkbox"]),
.field textarea,
input:not([type="checkbox"]):not(.wizard-check-input),
textarea {
  width: 100%;
  min-height: 60px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.095);
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(139,92,246,.06), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.022)),
    rgba(6, 9, 24, .82);
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045),
    0 12px 24px rgba(0,0,0,.18);
  transition:
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast),
    transform var(--transition-fast);
}

.field textarea,
textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}

.field input::placeholder,
.field textarea::placeholder,
input::placeholder,
textarea::placeholder {
  color: #6f7aa0;
}

.field input:not([type="checkbox"]):focus,
.field textarea:focus,
input:not([type="checkbox"]):not(.wizard-check-input):focus,
textarea:focus {
  border-color: rgba(139,92,246,.55);
  background:
    radial-gradient(circle at 0% 0%, rgba(139,92,246,.10), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.058), rgba(255,255,255,.026)),
    rgba(8, 11, 28, .9);
  box-shadow:
    0 0 0 4px rgba(139,92,246,.13),
    0 0 26px rgba(56,189,248,.10),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.error {
  min-height: 18px;
  color: #ff8ea5;
  font-size: 12px;
}

.option-grid,
.pill-grid,
.style-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.option-grid,
.style-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-pill.locked {
  cursor: default;
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.12);
}

.wizard-price-box {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(139, 92, 246, 0.22);
  background: rgba(139, 92, 246, 0.08);
}

.wizard-price-box__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.wizard-price-box__row span {
  font-size: 13px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.72);
}

.wizard-price-box strong {
  font-size: 22px;
  line-height: 1;
  color: #e9d5ff;
}

.wizard-price-note,
.wizard-consult-note p {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.52);
}

.wizard-consult-note {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(215, 171, 104, 0.35);
  background: rgba(215, 171, 104, 0.06);
}

.package-grid {
  grid-template-columns: 1fr;
}

.package-card .package-price {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(196, 181, 253, 0.22);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12), transparent 48%),
    rgba(139, 92, 246, 0.14);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #ddd6fe;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.package-card.selected,
.package-card.active {
  transform: translateY(-2px);
}

.format-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-pill,
.option-card,
.style-card {
  border: 1px solid rgba(255,255,255,.09);
  background:
    radial-gradient(circle at 50% 0%, rgba(139,92,246,.11), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.024)),
    rgba(8, 11, 28, .72);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    0 14px 30px rgba(0,0,0,.22);
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast),
    box-shadow var(--transition-fast);
  cursor: pointer;
}

.choice-pill {
  position: relative;
  min-height: 46px;
  padding: 0 16px 0 14px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.choice-pill.active::before,
.choice-pill.selected::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 4px;
  border: 1.5px solid rgba(196, 181, 253, 0.55);
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.85), rgba(109, 40, 217, 0.75));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.choice-pill.active::after,
.choice-pill.selected::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 50%;
  width: 4px;
  height: 8px;
  margin-top: -5px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  pointer-events: none;
}

.choice-pill__label {
  position: relative;
  z-index: 1;
}

.option-card,
.style-card {
  min-height: 150px;
  padding: 18px;
  border-radius: var(--radius-lg);
  display: grid;
  gap: 10px;
  text-align: left;
  align-content: start;
  position: relative;
  overflow: hidden;
  backdrop-filter: var(--glass-soft);
  -webkit-backdrop-filter: var(--glass-soft);
}

.option-card::before,
.style-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.055), transparent 42%),
    radial-gradient(circle at 100% 0%, rgba(56,189,248,.06), transparent 36%);
  opacity: .9;
}

.option-card:hover,
.style-card:hover,
.choice-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(196,181,253,.28);
  box-shadow:
    0 18px 38px rgba(0,0,0,.28),
    0 0 0 5px rgba(139,92,246,.055),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.option-card.selected,
.option-card.active,
.style-card.selected,
.style-card.active,
.choice-pill.selected,
.choice-pill.active {
  border-color: rgba(56,189,248,.42);
  background:
    radial-gradient(circle at 50% 0%, rgba(56,189,248,.20), transparent 44%),
    linear-gradient(180deg, rgba(139,92,246,.28), rgba(99,102,241,.12)),
    rgba(10, 13, 34, .86);
  box-shadow:
    0 0 0 4px rgba(56,189,248,.06),
    0 20px 42px rgba(99,102,241,.22),
    inset 0 1px 0 rgba(255,255,255,.15);
}

.option-card strong,
.style-card strong {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.option-card p,
.style-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.option-badge,
.option-price,
.style-icons {
  position: relative;
  z-index: 1;
  width: fit-content;
  min-height: 30px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(56,189,248,.10);
  border: 1px solid rgba(56,189,248,.18);
  color: #93c5fd;
  font-size: 11px;
  font-weight: 1000;
}

.option-price {
  background: rgba(139,92,246,.13);
  border-color: rgba(196,181,253,.20);
  color: #c4b5fd;
}

.style-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.style-emoji {
  font-size: 28px;
  filter: drop-shadow(0 0 14px rgba(139,92,246,.18));
}

.conditional-box {
  margin-top: 4px;
}

.conditional-box.hidden,
.hidden {
  display: none !important;
}

.wizard-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.46);
  cursor: pointer;
}

.wizard-check-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  min-height: 0 !important;
}

.wizard-check-box {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 5px;
  border: 1.5px solid rgba(255, 255, 255, 0.24);
  background: rgba(0, 0, 0, 0.28);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.wizard-check-input:checked + .wizard-check-box {
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.85), rgba(109, 40, 217, 0.75));
  border-color: rgba(196, 181, 253, 0.75);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.14);
}

.wizard-check-input:checked + .wizard-check-box::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
}

.wizard-check-input:focus-visible + .wizard-check-box {
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22);
}

.wizard-consent-text {
  display: block;
}

.summary-list,
.success-links {
  display: grid;
  gap: 10px;
}

.summary-row {
  border-radius: 20px;
  padding: 15px 16px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.075);
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.022)),
    rgba(8, 11, 28, .72);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.045);
}

.summary-row span {
  color: var(--soft);
  font-size: 13px;
}

.summary-row strong {
  text-align: right;
  line-height: 1.45;
  color: var(--text-strong);
  font-weight: 900;
}

.info-note {
  border-radius: 20px;
  padding: 16px;
  color: var(--muted);
  line-height: 1.65;
  border: 1px solid rgba(255,255,255,.075);
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.022)),
    rgba(8, 11, 28, .72);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.045);
}

.success-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 900;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.22), transparent 42%),
    linear-gradient(180deg, #38bdf8, #6366f1 58%, #8b5cf6);
  box-shadow:
    0 0 32px rgba(139,92,246,.28),
    0 18px 38px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.25);
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 20px;
  border-top: 1px solid rgba(255,255,255,.07);
  background:
    linear-gradient(180deg, rgba(255,255,255,.012), rgba(0,0,0,.18)),
    rgba(5, 8, 22, .38);
  position: sticky;
  bottom: 0;
  z-index: 30;
  backdrop-filter: var(--glass-soft);
  -webkit-backdrop-filter: var(--glass-soft);
}

.wizard-nav::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,.28), rgba(139,92,246,.18), transparent);
  pointer-events: none;
}

.nav-btn {
  min-height: 56px;
  border-radius: 18px;
  padding: 0 22px;
  border: 1px solid rgba(255,255,255,.09);
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.024)),
    rgba(8, 11, 28, .72);
  color: var(--text);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast),
    box-shadow var(--transition-fast),
    opacity var(--transition-fast),
    filter var(--transition-fast);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 14px 26px rgba(0,0,0,.20);
}

.nav-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(196,181,253,.28);
  box-shadow:
    0 18px 34px rgba(0,0,0,.24),
    0 0 0 5px rgba(139,92,246,.055),
    inset 0 1px 0 rgba(255,255,255,.07);
}

.nav-btn-primary {
  color: #fff;
  border-color: rgba(139,92,246,.36);
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.20), transparent 42%),
    linear-gradient(135deg, #38bdf8 0%, #6366f1 48%, #8b5cf6 100%);
  box-shadow:
    0 18px 36px rgba(99,102,241,.30),
    0 0 30px rgba(56,189,248,.14),
    inset 0 1px 0 rgba(255,255,255,.24);
}

.nav-btn-primary:hover:not(:disabled) {
  filter: brightness(1.05) saturate(1.08);
  box-shadow:
    0 22px 44px rgba(99,102,241,.34),
    0 0 34px rgba(139,92,246,.20),
    0 0 0 5px rgba(56,189,248,.075),
    inset 0 1px 0 rgba(255,255,255,.28);
}

.nav-btn:disabled {
  opacity: .42;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.nav-btn-primary.pulse {
  animation: pulseViolet 1.25s ease-in-out infinite;
}

@keyframes pulseViolet {
  0%, 100% {
    box-shadow:
      0 18px 36px rgba(99,102,241,.30),
      0 0 30px rgba(56,189,248,.14),
      inset 0 1px 0 rgba(255,255,255,.24);
  }
  50% {
    box-shadow:
      0 24px 48px rgba(99,102,241,.38),
      0 0 42px rgba(139,92,246,.24),
      inset 0 1px 0 rgba(255,255,255,.24);
  }
}

.intro-card,
.accordion-item,
.barber-slider-card,
.calendar-box,
.slots-box {
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 26px;
  background:
    radial-gradient(circle at 0% 0%, rgba(139,92,246,.10), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.024)),
    rgba(8, 11, 28, .74);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,.06);
}

.intro-card {
  padding: 20px;
  overflow: hidden;
}

.intro-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-box {
  width: 86px;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  border: 1px solid rgba(196,181,253,.20);
  background:
    radial-gradient(circle at 30% 10%, rgba(56,189,248,.12), transparent 34%),
    radial-gradient(circle at 80% 80%, rgba(139,92,246,.16), transparent 40%),
    rgba(255,255,255,.04);
  display: grid;
  place-items: center;
  font-family: "Sora", sans-serif;
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--muted);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 0 24px rgba(139,92,246,.10);
  flex-shrink: 0;
}

.intro-copy {
  display: grid;
  gap: 6px;
}

.section-kicker {
  color: var(--blue);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  display: block;
}

.intro-copy strong {
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: var(--text-strong);
}

.intro-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(56,189,248,.28), rgba(139,92,246,.16), transparent);
  margin: 16px 0;
}

.intro-benefits {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.intro-benefit {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.portfolio-back {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 9999;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #c4b5fd;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03)),
    rgba(8, 10, 28, .58);
  border: 1px solid rgba(196,181,253,.22);
  backdrop-filter: var(--glass-soft);
  -webkit-backdrop-filter: var(--glass-soft);
  box-shadow:
    0 18px 42px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.portfolio-back:hover {
  transform: translateY(-2px);
  border-color: rgba(139,92,246,.42);
  box-shadow:
    0 20px 46px rgba(0,0,0,.38),
    0 0 0 5px rgba(139,92,246,.055),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.logo-box-image {
  overflow: hidden;
  padding: 0;
}

.logo-box-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.success-links {
  margin-top: 6px;
}

.summary-row {
  min-width: 0;
}

.summary-row strong {
  min-width: 0;
  max-width: 62%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.summary-row-description {
  align-items: flex-start;
}

.summary-preview {
  display: -webkit-box !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow: hidden !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-align: left !important;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .summary-row strong {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .app-shell {
    padding: 10px;
  }

  .wizard-frame {
    border-radius: 24px;
    max-width: 100%;
  }

  .wizard-top {
    padding: 16px 16px 14px;
  }

  .wizard-top::after {
    left: 16px;
    right: 16px;
  }

  .wizard-top-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px 12px;
    margin-bottom: 14px;
  }

  .wizard-top-copy {
    grid-column: 1 / -1;
  }

  #stepTitle {
    font-size: 28px;
    line-height: 1;
  }

  #stepSubtitle {
    font-size: 14px;
    max-width: none;
  }

  .step-pill {
    width: auto;
    justify-self: end;
    padding: 10px 14px;
  }

  .progress-wrap {
    grid-column: 1 / -1;
  }

  .wizard-card {
    padding: 14px;
    min-height: 430px;
  }

  .step {
    min-height: 380px;
  }

  .card-head h2 {
    font-size: 28px;
  }

  .option-grid,
  .format-grid,
  .style-grid {
    grid-template-columns: 1fr;
  }

  .choice-pill {
    width: auto;
  }

  .pill-grid {
    gap: 10px;
  }

  .intro-card {
    padding: 16px;
    border-radius: 22px;
  }

  .intro-top {
    align-items: flex-start;
  }

  .logo-box {
    width: 74px;
    border-radius: 16px;
    font-size: 14px;
  }

  .intro-copy strong {
    font-size: 16px;
  }

  .wizard-nav {
    padding: 14px;
    flex-direction: column;
  }

  .wizard-nav::before {
    left: 14px;
    right: 14px;
  }

  .nav-btn {
    width: 100%;
  }

  .summary-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .summary-row strong {
    text-align: left;
  }
}

@media (max-width: 900px) {
  .portfolio-back {
    top: auto;
    bottom: 12px;
    left: 12px;
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  .portfolio-back {
    bottom: 10px;
    left: 10px;
    min-height: 34px;
    padding: 0 10px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

html[lang="ru"] {
  --track-base: 0.01em;
  --track-heading: 0.02em;
}

html[lang="ru"] body {
  font-family: var(--font-body), var(--font-ios);
  letter-spacing: var(--track-base);
}
