:root {
  color-scheme: light;
  --purple: #6837df;
  --purple-dark: #4f25ba;
  --purple-strong: #7227ed;
  --ink: #1a1b49;
  --muted: #727c9a;
  --line: #e6e2f6;
  --green: #159a71;
  --red: #d83f60;
  --shadow: 0 30px 85px rgba(62, 43, 157, .16), 0 6px 22px rgba(63, 45, 124, .07);
}
*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse 38% 45% at -4% 95%, rgba(193, 174, 255, .55), transparent 95%),
    radial-gradient(ellipse 54% 47% at 103% -8%, rgba(205, 181, 255, .55), transparent 94%),
    linear-gradient(135deg, #fcfbff 0%, #f0edff 51%, #f8f7ff 100%);
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #b6a0fa; outline-offset: 3px; }
.icon-library { position: absolute; height: 0; width: 0; overflow: hidden; }
.page-shell { display: flex; justify-content: center; align-items: center; min-height: 100vh; padding: 32px; }
.registration-layout {
  display: grid;
  grid-template-columns: minmax(0, 62%) minmax(310px, 38%);
  direction: rtl;
  width: min(100%, 1440px);
  min-height: 880px;
  background: rgba(255, 255, 255, .93);
  border: 2px solid rgba(255,255,255,.95);
  border-radius: 42px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.form-pane { min-width: 0; padding: 34px clamp(32px, 4.1vw, 76px) 34px; }
.form-heading { text-align: center; }
.heading-icon {
  display: grid;
  place-items: center;
  height: 55px;
  width: 55px;
  margin: 0 auto 3px;
  color: #6e38e4;
  border-radius: 18px;
  background: linear-gradient(145deg, #f6f0ff, #eae2ff);
}
.heading-icon svg { height: 32px; width: 32px; stroke-width: 1.75; }
.kicker { margin: 3px 0 0; color: #8158d7; font-weight: 800; font-size: 11px; }
h1 { margin: 0; font-size: clamp(25px, 2.3vw, 35px); font-weight: 900; color: #191846; line-height: 1.65; }
.lead { margin: 3px 0 0; color: #6c7592; font-size: 14px; font-weight: 500; line-height: 1.8; }
.progress { display: flex; align-items: flex-start; justify-content: center; gap: 2px; margin: 24px auto 27px; width: min(100%, 670px); }
.step { flex: 0 1 auto; display: flex; flex-direction: column; align-items: center; gap: 9px; min-width: 43px; max-width: 138px; }
.step-dot { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; background: #eeeaf9; border: 3px solid #fff; color: #8586a3; box-shadow: 0 3px 10px rgba(48,30,120,.07); font-weight: 900; font-size: 17px; }
.step-dot svg { height: 21px; width: 21px; }
.step-label { color: #8b8fa7; font-size: 12px; font-weight: 700; line-height: 1.5; text-align: center; overflow-wrap: anywhere; }
.step.is-complete .step-dot { background: #e4fbef; color: #0ba36f; }
.step.is-complete .step-label { color: #309b7d; }
.step.is-current .step-dot { color: white; background: linear-gradient(135deg, #9653ff, #5921d6); box-shadow: 0 7px 16px rgba(103,52,232,.24); }
.step.is-current .step-label { color: #5d26cf; font-weight: 900; }
.step-line { height: 4px; margin: 21px -3px 0; flex: 1 1 8px; min-width: 8px; border-radius: 999px; background: #e3def3; }
.step-line.done { background: linear-gradient(90deg, #8350f3, #26c39b); }
.information-form { padding: 19px 23px 18px; border: 1px solid #eee8ff; border-radius: 24px; box-shadow: 0 4px 18px rgba(52,29,133,.055); background: linear-gradient(180deg, #fff, #fff 78%, #fefdff); }
.form-topline { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 19px; }
.form-section-title { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 16px; color: #28215c; }
.small-number { background: #f0eaff; color: var(--purple); border-radius: 11px; padding: 5px 10px; font-size: 13px; }
.required-note { font-size: 11px; color: #8d90a9; white-space: nowrap; }
.required-note i, .required { color: #e33e5e; font-style: normal; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 20px; row-gap: 10px; }
.field { min-width: 0; }
.field label { display: block; margin: 0 3px 7px; color: #28264c; font-weight: 750; font-size: 13px; line-height: 1.6; }
.field .optional { font-size: 11px; color: #8a8da5; font-weight: 600; }
.field-control { position: relative; display: flex; align-items: center; width: 100%; }
.field-icon { pointer-events: none; position: absolute; right: 14px; width: 21px; height: 21px; color: #6c659c; z-index: 1; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; border: 1.5px solid #dbd8ed; border-radius: 13px; background: #fff; color: #2d2b51; outline: none; box-shadow: 0 3px 8px rgba(40, 28, 107, .055); transition: border-color .2s, background .2s, box-shadow .2s; }
.field input, .field select { height: 50px; padding: 10px 44px 10px 15px; font-size: 13px; }
.field input::placeholder, .field textarea::placeholder { color: #a4a7bd; opacity: 1; font-weight: 400; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #8e60f6; box-shadow: 0 0 0 4px rgba(119,62,244,.1), 0 3px 10px rgba(49,28,114,.04); }
.field input[dir="ltr"] { text-align: left; padding-left: 16px; }
.field input[dir="ltr"]::placeholder { text-align: left; }
.field select { -webkit-appearance: none; appearance: none; padding-left: 38px; cursor: pointer; }
.field select:invalid { color: #a1a5b9; }
.down-icon { position: absolute; left: 13px; color: #6656a7; pointer-events: none; width: 17px; height: 17px; }
.full-width { grid-column: 1 / -1; }
.textarea-heading { display: flex; justify-content: space-between; align-items: center; }
.textarea-heading > span { color: #9c9cb2; font-size: 11px; font-weight: 600; direction: rtl; }
.field textarea { display: block; min-height: 86px; padding: 14px 45px 12px 12px; font-size: 13px; resize: vertical; line-height: 1.9; }
.textarea-control .field-icon { align-self: flex-start; top: 15px; }
.field-error { display: block; color: var(--red); font-size: 11px; font-weight: 650; min-height: 12px; padding: 2px 3px 0; }
.field-error:empty { visibility: hidden; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #e79aa9; background: #fffafb; }
.form-footer { padding-top: 12px; margin-top: 1px; border-top: 1px solid #f0edfa; }
.privacy-note { display: flex; align-items: center; justify-content: center; gap: 7px; color: #7c82a0; font-size: 11px; line-height: 1.6; text-align: center; }
.privacy-note svg { flex-shrink: 0; color: #8f86b2; width: 15px; height: 15px; }
.actions { display: flex; align-items: center; justify-content: space-between; gap: 17px; margin-top: 19px; }
.button { display: flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 14px; min-height: 54px; padding: 12px 23px; font-size: 14px; font-weight: 900; transition: transform .2s, box-shadow .2s, filter .2s; }
.button svg { width: 18px; height: 18px; }
.button-next { flex: 1; max-width: 345px; color: #fff; background: linear-gradient(115deg, #6d46e7 0%, #9a39f1 100%); box-shadow: 0 9px 20px rgba(101,52,226,.24); }
.button-next:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 14px 25px rgba(101,52,226,.28); }
.button-back { color: #474777; background: #f2f0fc; border: 1px solid #e8e5f6; min-width: 140px; box-shadow: 0 3px 10px rgba(40,24,107,.07); }
.button-back:hover { background: #e9e4fb; }
.status-message { margin: 12px 0 0; font-size: 12px; line-height: 1.8; font-weight: 700; text-align: center; color: var(--green); }
.status-message:empty { display: none; }
.feature-panel { position: relative; display: flex; flex-direction: column; align-items: center; isolation: isolate; overflow: hidden; padding: 36px 35px 37px; color: #fff; background: radial-gradient(circle at -19% -10%, #c587ff, transparent 49%), radial-gradient(circle at 120% 65%, #8260ff, transparent 55%), linear-gradient(150deg, #853fff 0%, #623ae0 49%, #4a2db5 100%); border-radius: 40px 0 0 40px; text-align: center; }
.feature-panel::before { content: ''; z-index: -1; position: absolute; width: 600px; height: 340px; top: -220px; left: -225px; border-radius: 55%; transform: rotate(-23deg); background: rgba(255,255,255,.08); }
.feature-panel::after { content: ''; z-index: -1; position: absolute; width: 490px; height: 260px; bottom: 55px; left: -215px; border-radius: 60% 80% 20% 20%; transform: rotate(11deg); background: rgba(211,184,255,.12); }
.panel-top { width: 100%; }
.panel-chip { display: inline-flex; gap: 8px; align-items: center; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.15); border-radius: 30px; padding: 9px 18px; font-size: 13px; font-weight: 800; backdrop-filter: blur(8px); }
.panel-chip svg { width: 19px; height: 19px; }
.panel-copy { position: relative; z-index: 1; padding-top: 29px; }
.panel-copy h2 { margin: 0; font-size: clamp(27px, 2.3vw, 37px); font-weight: 900; line-height: 1.7; letter-spacing: -.4px; }
.panel-copy h2 span { white-space: nowrap; }
.panel-copy p { margin: 10px auto 0; color: #eee8ff; line-height: 2.15; font-size: 14px; max-width: 350px; }
.artwork { width: min(100%, 420px); display: grid; place-items: center; flex: 1; min-height: 260px; padding: 7px 0; margin: 4px auto 0; }
.artwork svg { width: 100%; height: auto; max-height: 395px; stroke: none; }
.benefit-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; width: 100%; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.18); }
.benefit-list > div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff; font-size: 12px; line-height: 1.6; font-weight: 800; padding: 0 6px; }
.benefit-list > div + div { border-right: 1px solid rgba(255,255,255,.23); }
.benefit-list svg { width: 30px; height: 30px; }
@media (max-width: 1170px) {
  .registration-layout { grid-template-columns: minmax(0, 65%) minmax(280px,35%); }
  .form-pane { padding: 28px 28px 30px; }
  .feature-panel { padding: 28px 21px; }
  .panel-copy h2 { font-size: 26px; }
  .panel-copy p { font-size: 12px; }
  .benefit-list > div { font-size: 10px; }
}
@media (max-width: 850px) {
  .page-shell { align-items: flex-start; padding: 15px; }
  .registration-layout { display: flex; flex-direction: column; min-height: auto; border-radius: 27px; }
  .form-pane { order: 1; padding: 25px 20px 24px; }
  .feature-panel { order: 2; border-radius: 0 0 26px 26px; min-height: 145px; padding: 20px; }
  .panel-top, .artwork, .panel-copy p { display: none; }
  .panel-copy { padding: 0 0 13px; }
  .panel-copy h2 { font-size: 16px; }
  .panel-copy h2 br { display: none; }
  .benefit-list { padding-top: 12px; }
  .progress { margin: 24px auto; }
}
@media (max-width: 560px) {
  .page-shell { padding: 9px; }
  .registration-layout { border-radius: 21px; }
  .form-pane { padding: 20px 13px 18px; }
  .heading-icon { width: 48px; height: 48px; }
  .heading-icon svg { width: 27px; height: 27px; }
  h1 { font-size: 24px; }
  .lead { font-size: 12px; }
  .progress { margin: 20px auto 21px; }
  .step { min-width: 43px; gap: 6px; }
  .step-dot { width: 37px; height: 37px; font-size: 14px; }
  .step-label { font-size: 10px; line-height: 1.45; }
  .step-line { margin-top: 18px; min-width: 6px; }
  .information-form { border-radius: 17px; padding: 17px 14px; }
  .form-grid { grid-template-columns: 1fr; row-gap: 8px; }
  .form-topline { margin-bottom: 15px; }
  .form-section-title { font-size: 14px; }
  .form-grid .full-width { grid-column: 1; }
  .field input, .field select { height: 49px; }
  .actions { margin-top: 15px; gap: 9px; }
  .button { min-height: 49px; padding: 10px 14px; font-size: 12px; border-radius: 12px; }
  .button-back { min-width: 103px; }
  .button-next { flex: 1; }
  .benefit-list svg { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }
