@font-face {
    font-family: "Vazir";
    src: url("/assets/fonts/vazir/Vazir.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazir";
    src: url("/assets/fonts/vazir/Vazir-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazir";
    src: url("/assets/fonts/vazir/Vazir-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazir";
    src: url("/assets/fonts/vazir/Vazir-Black.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --brand: #5b2f96;
    --brand-deep: #32145d;
    --brand-dark: #24103f;
    --violet: #8c5ce1;
    --coral: #eb896f;
    --rose: #d36b94;
    --magenta: #a32ed0;
    --ink: #181321;
    --muted: #6d6577;
    --paper: #fbf9fd;
    --soft: #f5f0f8;
    --white: #ffffff;
    --line: rgba(91, 47, 150, 0.13);
    --danger: #b4233d;
    --success: #19855a;
    --gradient: linear-gradient(120deg, #5b2f96 0%, #eb896f 54%, #a32ed0 100%);
    --shadow-sm: 0 12px 35px rgba(50, 20, 93, 0.08);
    --shadow-md: 0 28px 75px rgba(50, 20, 93, 0.14);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(rgba(91, 47, 150, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91, 47, 150, 0.028) 1px, transparent 1px),
        var(--paper);
    background-size: 38px 38px;
    font-family: "Vazir", "Segoe UI", Tahoma, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.is-submitting {
    cursor: wait;
}

::selection {
    color: var(--white);
    background: var(--brand);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select {
    font: inherit;
}

button,
a,
label {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(163, 46, 208, 0.38);
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    padding: 0;
    margin: -1px;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 3000;
    inset-block-start: 12px;
    inset-inline-start: 12px;
    padding: 10px 16px;
    color: var(--white);
    border-radius: 10px;
    background: var(--brand-dark);
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.register-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.page-orb {
    position: fixed;
    z-index: -1;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
}

.page-orb-one {
    width: 360px;
    height: 360px;
    inset-block-start: -180px;
    inset-inline-start: -140px;
    background: rgba(140, 92, 225, 0.12);
}

.page-orb-two {
    width: 300px;
    height: 300px;
    inset-block-end: -150px;
    inset-inline-end: -90px;
    background: rgba(235, 137, 111, 0.12);
}

.register-header {
    position: relative;
    z-index: 20;
    width: min(1380px, calc(100% - 64px));
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-inline: auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    width: 50px;
    height: 50px;
    overflow: hidden;
    border: 1px solid rgba(91, 47, 150, 0.13);
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 9px 26px rgba(91, 47, 150, 0.14);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.brand-copy {
    display: grid;
    line-height: 1.05;
}

.brand-copy strong {
    color: var(--brand-dark);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.brand-copy small {
    margin-block-start: 5px;
    color: var(--muted);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
}

.header-actions a {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    color: var(--brand);
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.75);
    font-weight: 700;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.header-actions a:hover {
    color: var(--white);
    border-color: var(--brand);
    background: var(--brand);
    transform: translateY(-2px);
}

.register-main {
    position: relative;
    z-index: 2;
    width: min(1380px, calc(100% - 64px));
    display: grid;
    grid-template-columns: minmax(340px, 0.78fr) minmax(620px, 1.22fr);
    align-items: start;
    gap: 26px;
    margin-inline: auto;
}

.intro-panel {
    position: sticky;
    inset-block-start: 22px;
    min-height: 760px;
    overflow: hidden;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 34px;
    background:
        radial-gradient(circle at 15% 10%, rgba(235, 137, 111, 0.33), transparent 29%),
        radial-gradient(circle at 90% 85%, rgba(163, 46, 208, 0.34), transparent 32%),
        linear-gradient(145deg, #24103f 0%, #4a237d 52%, #2f1554 100%);
    box-shadow: 0 30px 80px rgba(36, 16, 63, 0.22);
}

.intro-grid {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.intro-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 760px;
    padding: clamp(34px, 4vw, 58px);
}

.eyebrow {
    width: max-content;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
    font-weight: 700;
}

.eyebrow i {
    width: 9px;
    height: 9px;
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: 3px;
    background: var(--coral);
    transform: rotate(45deg);
}

.intro-panel h1 {
    max-width: 610px;
    margin: 0;
    color: var(--white);
    font-size: clamp(37px, 4.2vw, 60px);
    line-height: 1.25;
    letter-spacing: -0.045em;
}

.intro-panel h1 span {
    display: block;
    color: #f6ad9b;
}

.intro-lead {
    max-width: 600px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.69);
    font-size: 16px;
    line-height: 1.95;
}

.benefit-list {
    display: grid;
    gap: 15px;
    margin: 35px 0;
    padding: 0;
    list-style: none;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 13px;
}

.benefit-list li > span:last-child {
    display: grid;
    gap: 2px;
}

.benefit-list strong {
    color: var(--white);
    font-size: 14px;
}

.benefit-list small {
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
}

.benefit-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.08);
}

.benefit-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: #f6b4a4;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.store-preview {
    overflow: hidden;
    margin-block-start: auto;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 22px 55px rgba(8, 2, 17, 0.18);
    backdrop-filter: blur(14px);
}

.preview-topbar {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 14px;
    border-block-end: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 2, 17, 0.15);
}

.preview-dots {
    display: flex;
    gap: 5px;
}

.preview-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

.preview-dots i:first-child {
    background: var(--coral);
}

.preview-secure {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 9px;
}

.preview-secure svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.preview-body {
    min-height: 92px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 16px;
}

.preview-brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 15px;
    background: var(--gradient);
    box-shadow: 0 12px 25px rgba(10, 3, 22, 0.23);
    font-size: 21px;
    font-weight: 900;
}

.preview-body > div:nth-child(2) {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.preview-body strong {
    overflow: hidden;
    color: var(--white);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview-body span {
    overflow: hidden;
    color: rgba(255, 255, 255, 0.47);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview-body em {
    padding: 5px 8px;
    color: #d7faeb;
    border: 1px solid rgba(97, 219, 161, 0.22);
    border-radius: 999px;
    background: rgba(51, 181, 120, 0.13);
    font-size: 8px;
    font-style: normal;
    white-space: nowrap;
}

.plan-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-block-start: 13px;
    padding-inline: 3px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 10px;
}

.plan-note strong {
    color: rgba(255, 255, 255, 0.78);
}

.plan-note small {
    margin-inline-start: auto;
    color: #f4b09f;
}

.form-panel {
    min-width: 0;
    border: 1px solid rgba(91, 47, 150, 0.1);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
}

.form-shell {
    width: min(100%, 820px);
    margin-inline: auto;
    padding: clamp(31px, 4vw, 58px);
}

.form-heading {
    margin-block-end: 25px;
}

.section-label {
    width: max-content;
    margin: 0 0 8px;
    padding: 5px 11px;
    color: var(--brand);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(91, 47, 150, 0.05);
    font-size: 10px;
    font-weight: 700;
}

.form-heading h2 {
    margin: 0;
    color: var(--brand-dark);
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.35;
    letter-spacing: -0.035em;
}

.form-heading > p:last-child {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.stepper {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 0 31px;
    padding: 0;
    list-style: none;
}

.stepper::before,
.stepper::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset-block-start: 18px;
    inset-inline: calc(16.66% + 18px);
    height: 2px;
    border-radius: 999px;
}

.stepper::before {
    background: #e8e0ed;
}

.stepper::after {
    inset-inline-end: calc(12.5% + 18px);
    inset-inline-start: auto;
    width: var(--step-progress, 0%);
    max-width: calc(75% - 36px);
    background: var(--gradient);
    transition: width 0.35s ease;
}

.stepper li {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 6px;
    color: #9b91a4;
    font-size: 10px;
    font-weight: 500;
}

.stepper li span {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border: 1px solid #e3dbe8;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 6px 18px rgba(50, 20, 93, 0.06);
    font-family: "Segoe UI", Arial, sans-serif;
    font-weight: 700;
}

.stepper li strong {
    font-weight: 600;
}

.stepper li.is-active,
.stepper li.is-complete {
    color: var(--brand);
}

.stepper li.is-active span,
.stepper li.is-complete span {
    color: var(--white);
    border-color: transparent;
    background: var(--gradient);
    box-shadow: 0 9px 22px rgba(91, 47, 150, 0.2);
}

.error-summary {
    display: flex;
    gap: 12px;
    margin-block-end: 24px;
    padding: 14px 16px;
    color: #842137;
    border: 1px solid rgba(180, 35, 61, 0.18);
    border-radius: 15px;
    background: rgba(180, 35, 61, 0.055);
    font-size: 12px;
}

.error-summary[hidden] {
    display: none;
}

.error-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--white);
    border-radius: 9px;
    background: var(--danger);
    font-weight: 900;
}

.error-summary strong {
    display: block;
    margin-block-end: 3px;
}

.error-summary ul {
    margin: 0;
    padding-inline-start: 18px;
}

.merchant-register-form fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.form-step {
    animation: step-in 0.38s ease both;
}

.form-step[hidden] {
    display: none;
}

@keyframes step-in {
    from { opacity: 0; transform: translateY(9px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-copy {
    margin-block-end: 24px;
}

.step-copy > span {
    color: var(--coral);
    font-size: 10px;
    font-weight: 700;
}

.step-copy h3 {
    margin: 3px 0 1px;
    color: var(--brand-dark);
    font-size: 21px;
    line-height: 1.4;
}

.step-copy h3[tabindex="-1"]:focus {
    outline: none;
}

.step-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px 17px;
}

.field-span-2 {
    grid-column: 1 / -1;
}

.field-group {
    min-width: 0;
}

.field-group > label:not(.category-option):not(.language-option):not(.agreement-option),
.field-label {
    display: block;
    margin-block-end: 7px;
    color: #3c3344;
    font-size: 12px;
    font-weight: 700;
}

.field-group label b,
.field-label b {
    color: var(--coral);
}

.field-group label > span {
    color: #a097a8;
    font-size: 10px;
    font-weight: 400;
}

.input-shell,
.select-shell,
.domain-shell {
    position: relative;
    min-height: 55px;
    display: flex;
    align-items: center;
    border: 1px solid #e3dce8;
    border-radius: 15px;
    background: #fdfcfe;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.input-shell:focus-within,
.select-shell:focus-within,
.domain-shell:focus-within {
    border-color: rgba(91, 47, 150, 0.55);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(91, 47, 150, 0.075);
}

.field-group.has-error .input-shell,
.field-group.has-error .select-shell,
.field-group.has-error .domain-shell {
    border-color: rgba(180, 35, 61, 0.58);
    box-shadow: 0 0 0 4px rgba(180, 35, 61, 0.055);
}

.field-icon {
    width: 47px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #8d7f98;
}

.field-icon svg,
.password-toggle svg,
.select-shell > svg,
.button svg,
.form-support svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.input-shell input,
.domain-shell input,
.select-shell select {
    min-width: 0;
    width: 100%;
    height: 53px;
    padding: 0 2px 0 15px;
    color: var(--ink);
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 13px;
}

.input-shell input[dir="ltr"] {
    padding-inline: 2px 15px;
    text-align: left;
}

.input-shell input::placeholder,
.domain-shell input::placeholder {
    color: #aaa1b1;
}

.password-toggle {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    margin-inline-end: 3px;
    color: #8d7f98;
    border: 0;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
}

.password-toggle:hover {
    color: var(--brand);
    background: rgba(91, 47, 150, 0.06);
}

.password-toggle.is-visible {
    color: var(--brand);
}

.password-strength {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 9px;
    margin-block-start: 6px;
    color: #a198a8;
    font-size: 9px;
}

.password-strength i {
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: #ece6ef;
}

.password-strength i::after {
    content: "";
    display: block;
    width: var(--strength, 0%);
    height: 100%;
    border-radius: inherit;
    background: var(--strength-color, #d46677);
    transition: width 0.25s ease, background 0.25s ease;
}

.field-error {
    min-height: 0;
    display: block;
    margin-block-start: 5px;
    color: var(--danger);
    font-size: 10px;
    line-height: 1.55;
}

.field-error:empty {
    display: none;
}

.field-meta,
.domain-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-block-start: 6px;
    color: #9a91a1;
    font-size: 9px;
}

.field-meta b {
    color: var(--brand);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.category-option {
    min-width: 0;
    cursor: pointer;
}

.category-option input,
.language-option input,
.agreement-option > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.category-card {
    position: relative;
    min-height: 85px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 5px;
    padding: 10px 7px;
    text-align: center;
    border: 1px solid #e5deea;
    border-radius: 15px;
    background: #fdfcfe;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    border-color: rgba(91, 47, 150, 0.35);
    transform: translateY(-2px);
}

.category-card strong {
    overflow: hidden;
    max-width: 100%;
    color: #4a404f;
    font-size: 10px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.register-plan-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 4px;
}

.register-plan-option {
    position: relative;
    min-width: 0;
    cursor: pointer;
}

.register-plan-option > input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.register-plan-card {
    position: relative;
    min-height: 228px;
    display: flex;
    flex-direction: column;
    padding: 20px 17px 17px;
    color: var(--ink);
    border: 1px solid #e8e0ed;
    border-radius: 21px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(59, 31, 83, 0.045);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.register-plan-option:hover .register-plan-card {
    transform: translateY(-3px);
    border-color: rgba(91, 47, 150, 0.28);
    box-shadow: 0 18px 38px rgba(59, 31, 83, 0.09);
}

.register-plan-option > input:focus-visible + .register-plan-card {
    outline: 3px solid rgba(91, 47, 150, 0.2);
    outline-offset: 3px;
}

.register-plan-option > input:checked + .register-plan-card {
    border-color: var(--brand);
    background: linear-gradient(145deg, #fff 0%, #fbf7fd 100%);
    box-shadow: 0 18px 42px rgba(91, 47, 150, 0.15);
}

.register-plan-option.is-featured .register-plan-card {
    border-color: rgba(235, 137, 111, 0.56);
}

.register-plan-card > em {
    position: absolute;
    inset-block-start: 13px;
    inset-inline-end: 13px;
    padding: 5px 8px;
    color: #46205d;
    border-radius: 999px;
    background: #f8b4a3;
    font-size: 8px;
    font-style: normal;
    font-weight: 800;
}

.register-plan-title {
    display: grid;
    gap: 3px;
    padding-inline-end: 66px;
}

.register-plan-title small {
    color: var(--coral-deep);
    font-size: 9px;
    font-weight: 700;
}

.register-plan-title strong {
    font-size: 16px;
}

.register-plan-price {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 5px;
    margin-top: 14px;
}

.register-plan-price b {
    color: var(--brand-deep);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 31px;
    line-height: 1;
}

.register-plan-price small {
    color: var(--muted);
    font-size: 8px;
}

.register-plan-monthly {
    min-height: 21px;
    margin-top: 6px;
    color: var(--muted);
    font-size: 9px;
}

.register-plan-monthly b {
    color: var(--coral-deep);
    font-family: "Segoe UI", Arial, sans-serif;
}

.register-plan-comparison {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid rgba(91, 47, 150, 0.08);
}

.register-plan-comparison > i {
    flex: 0 0 auto;
    font-size: 17px;
    font-style: normal;
}

.register-plan-comparison > span {
    display: grid;
    gap: 3px;
}

.register-plan-comparison strong {
    font-size: 9px;
    line-height: 1.55;
}

.register-plan-comparison small {
    color: var(--muted);
    font-size: 8px;
    line-height: 1.55;
}

.register-plan-check {
    position: absolute;
    inset-inline-start: 14px;
    inset-block-start: 14px;
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    color: transparent;
    border: 1px solid #ddd3e5;
    border-radius: 8px;
    background: #fff;
    font-size: 11px;
    font-weight: 900;
}

.register-plan-option > input:checked + .register-plan-card .register-plan-check {
    color: #fff;
    border-color: transparent;
    background: var(--gradient);
}

.all-features-note {
    margin-top: 15px;
    padding: 16px 18px;
    border: 1px solid rgba(91, 47, 150, 0.1);
    border-radius: 18px;
    background: #faf7fc;
}

.all-features-note > div {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--brand-deep);
    font-size: 11px;
}

.all-features-note > div span {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 7px;
    background: var(--gradient);
    font-size: 9px;
    font-weight: 900;
}

.all-features-note p {
    margin: 8px 31px 0 0;
    color: var(--muted);
    font-size: 8px;
    line-height: 1.8;
}

.promo-field {
    margin-top: 17px;
}

.promo-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
}

.promo-input-row .button {
    min-width: 92px;
    min-height: 52px;
    padding-inline: 18px;
}

.promo-input-row .button.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

.promo-result {
    margin-top: 10px;
    padding: 13px 15px;
    color: #176844;
    border: 1px solid rgba(25, 133, 90, 0.18);
    border-radius: 13px;
    background: #effaf5;
    font-size: 10px;
    line-height: 1.7;
}

.promo-result.is-error {
    color: #a23b4a;
    border-color: rgba(212, 102, 119, 0.22);
    background: #fff4f6;
}

.promo-result strong {
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
}

.promo-result del {
    margin-inline: 4px;
    color: #7e7385;
}

.category-icon {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    color: var(--brand);
    border-radius: 10px;
    background: rgba(91, 47, 150, 0.075);
    font-family: "Vazir", sans-serif;
    font-size: 12px;
    font-weight: 900;
}

.category-icon[data-icon="hanger"]::before { content: "أ"; }
.category-icon[data-icon="sparkles"]::before { content: "ج"; }
.category-icon[data-icon="cup"]::before { content: "غ"; }
.category-icon[data-icon="device"]::before { content: "إ"; }
.category-icon[data-icon="home"]::before { content: "ب"; }
.category-icon[data-icon="download"]::before { content: "ر"; }
.category-icon[data-icon="calendar"]::before { content: "خ"; }
.category-icon[data-icon="store"]::before { content: "م"; }
.category-icon[data-icon="more"]::before { content: "•••"; font-size: 9px; letter-spacing: 1px; }

.category-card > i {
    position: absolute;
    inset-block-start: 7px;
    inset-inline-end: 7px;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    color: var(--white);
    border-radius: 6px;
    background: var(--brand);
    opacity: 0;
    transform: scale(0.65);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.category-card > i svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.category-option input:checked + .category-card {
    border-color: rgba(91, 47, 150, 0.52);
    background: rgba(91, 47, 150, 0.055);
    box-shadow: 0 9px 24px rgba(91, 47, 150, 0.08);
}

.category-option input:checked + .category-card .category-icon {
    color: var(--white);
    background: var(--gradient);
}

.category-option input:checked + .category-card > i {
    opacity: 1;
    transform: scale(1);
}

.category-option input:focus-visible + .category-card,
.language-option input:focus-visible + span,
.agreement-option > input:focus-visible + .checkmark {
    outline: 3px solid rgba(163, 46, 208, 0.38);
    outline-offset: 3px;
}

.select-shell select {
    appearance: none;
    padding-inline: 15px 47px;
    cursor: pointer;
}

.select-shell > svg {
    position: absolute;
    inset-inline-end: 15px;
    color: #8d7f98;
    pointer-events: none;
}

.domain-shell {
    direction: ltr;
    overflow: hidden;
}

.domain-shell input {
    padding-inline: 16px 8px;
    text-align: left;
}

.domain-shell > span {
    min-height: 53px;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    padding-inline: 13px;
    color: #6f6477;
    border-inline-start: 1px solid #e5deea;
    background: #f6f2f8;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 11px;
}

.domain-shell > i {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    margin-inline: 9px 0;
    border-radius: 50%;
    background: #c8becd;
}

.domain-shell > i.is-valid {
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(25, 133, 90, 0.1);
}

.domain-shell > i.is-invalid {
    background: var(--danger);
    box-shadow: 0 0 0 4px rgba(180, 35, 61, 0.08);
}

.domain-hint {
    align-items: flex-start;
}

.domain-hint strong {
    overflow-wrap: anywhere;
    color: var(--brand);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 9px;
    font-weight: 600;
    text-align: left;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.language-option {
    cursor: pointer;
}

.language-option > span {
    position: relative;
    min-height: 83px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 9px;
    padding: 12px;
    border: 1px solid #e5deea;
    border-radius: 15px;
    background: #fdfcfe;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.language-option > span:hover {
    border-color: rgba(91, 47, 150, 0.35);
    transform: translateY(-2px);
}

.language-option b {
    width: 35px;
    height: 35px;
    display: grid;
    grid-row: 1 / 3;
    place-items: center;
    color: var(--brand);
    border-radius: 11px;
    background: rgba(91, 47, 150, 0.07);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 11px;
}

.language-option strong {
    align-self: end;
    color: #44394b;
    font-size: 11px;
}

.language-option small {
    align-self: start;
    color: #9a91a1;
    font-size: 8px;
}

.language-option i {
    position: absolute;
    inset-block-start: 8px;
    inset-inline-end: 8px;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    color: var(--white);
    border-radius: 6px;
    background: var(--brand);
    font-size: 10px;
    font-style: normal;
    opacity: 0;
    transform: scale(0.65);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.language-option input:checked + span {
    border-color: rgba(91, 47, 150, 0.52);
    background: rgba(91, 47, 150, 0.055);
    box-shadow: 0 9px 24px rgba(91, 47, 150, 0.08);
}

.language-option input:checked + span b {
    color: var(--white);
    background: var(--gradient);
}

.language-option input:checked + span i {
    opacity: 1;
    transform: scale(1);
}

.captcha-wrap {
    overflow-x: auto;
    padding-block: 3px;
}

.agreement-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #615769;
    font-size: 11px;
    line-height: 1.75;
    cursor: pointer;
}

.checkmark {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    margin-block-start: 1px;
    color: transparent;
    border: 1px solid #d8cfde;
    border-radius: 7px;
    background: var(--white);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.checkmark svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.agreement-option > input:checked + .checkmark {
    color: var(--white);
    border-color: var(--brand);
    background: var(--brand);
}

.agreement-option a {
    color: var(--brand);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.step-actions {
    display: grid;
    grid-template-columns: 0.55fr 1.45fr;
    gap: 11px;
    margin-block-start: 31px;
}

.step-actions-single {
    grid-template-columns: 1fr;
}

.button {
    min-height: 55px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover:not(:disabled) {
    transform: translateY(-2px);
}

.button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.button-primary {
    color: var(--white);
    background: var(--gradient);
    box-shadow: 0 13px 29px rgba(91, 47, 150, 0.2);
}

.button-primary:hover:not(:disabled) {
    box-shadow: 0 17px 36px rgba(91, 47, 150, 0.27);
}

.button-secondary {
    color: var(--brand);
    border-color: var(--line);
    background: var(--white);
}

.button-secondary:hover:not(:disabled) {
    border-color: rgba(91, 47, 150, 0.32);
    background: var(--soft);
}

.submit-button .button-loading {
    display: none;
}

.submit-button.is-loading .button-label,
.submit-button.is-loading svg {
    display: none;
}

.submit-button.is-loading .button-loading {
    display: inline;
}

.form-support {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-block-start: 28px;
    padding-block-start: 19px;
    color: #817887;
    border-block-start: 1px solid rgba(91, 47, 150, 0.09);
    font-size: 10px;
}

.form-support span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.form-support svg {
    width: 16px;
    height: 16px;
}

.form-support a {
    color: var(--brand);
    font-weight: 700;
}

.form-support a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.register-footer {
    width: min(1380px, calc(100% - 64px));
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-inline: auto;
    color: #928a99;
    font-size: 10px;
}

.register-footer p {
    margin: 0;
}

.register-footer div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.register-footer i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--coral);
}

@media (max-width: 1120px) {
    .register-header,
    .register-main,
    .register-footer {
        width: min(100% - 40px, 950px);
    }

    .register-main {
        grid-template-columns: 1fr;
    }

    .intro-panel {
        position: relative;
        inset-block-start: auto;
        min-height: auto;
    }

    .intro-content {
        min-height: auto;
        padding: 38px;
    }

    .intro-panel h1 {
        max-width: 760px;
        font-size: clamp(34px, 6vw, 50px);
    }

    .intro-lead {
        max-width: 780px;
    }

    .benefit-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .benefit-list li {
        align-items: flex-start;
    }

    .store-preview {
        margin-block-start: 2px;
    }
}

@media (max-width: 760px) {
    body {
        background-size: 32px 32px;
    }

    .register-header,
    .register-main,
    .register-footer {
        width: min(100% - 28px, 650px);
    }

    .register-header {
        min-height: 82px;
    }

    .header-actions > span {
        display: none;
    }

    .header-actions a {
        min-height: 40px;
        padding-inline: 13px;
        font-size: 11px;
    }

    .brand-mark {
        width: 45px;
        height: 45px;
        border-radius: 13px;
    }

    .brand-copy strong {
        font-size: 19px;
    }

    .intro-panel,
    .form-panel {
        border-radius: 25px;
    }

    .intro-content {
        padding: 28px;
    }

    .intro-panel h1 {
        font-size: clamp(31px, 9vw, 43px);
    }

    .benefit-list {
        grid-template-columns: 1fr;
        margin-block: 27px;
    }

    .benefit-list li:nth-child(n+2) {
        display: none;
    }

    .store-preview {
        display: none;
    }

    .plan-note {
        margin-block-start: 0;
        padding-block-start: 14px;
        border-block-start: 1px solid rgba(255, 255, 255, 0.1);
    }

    .form-shell {
        padding: 28px 22px;
    }

    .form-heading h2 {
        font-size: 27px;
    }

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

    .field-span-2 {
        grid-column: auto;
    }

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

    .register-plan-grid {
        grid-template-columns: 1fr;
    }

    .register-plan-card {
        min-height: 0;
    }

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

    .language-option > span {
        min-height: 72px;
    }

    .domain-shell {
        flex-wrap: wrap;
        overflow: visible;
    }

    .domain-shell input {
        flex: 1 1 50%;
    }

    .domain-shell > span {
        max-width: 53%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .domain-hint {
        display: grid;
    }

    .domain-hint strong {
        direction: ltr;
        text-align: right;
    }

    .step-actions {
        grid-template-columns: 1fr;
    }

    .step-actions .button-primary {
        order: -1;
    }

    .register-footer {
        justify-content: center;
        padding-block: 20px;
        text-align: center;
    }

    .register-footer div {
        display: none;
    }
}

@media (max-width: 430px) {
    .brand-copy small {
        display: none;
    }

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

    .category-card {
        min-height: 63px;
        grid-template-columns: auto 1fr;
        justify-items: start;
        text-align: start;
    }

    .category-card strong {
        font-size: 11px;
    }

    .stepper li strong {
        font-size: 9px;
    }

    .stepper li span {
        width: 32px;
        height: 32px;
        font-size: 10px;
    }

    .stepper::before,
    .stepper::after {
        inset-block-start: 15px;
    }

    .promo-input-row {
        grid-template-columns: 1fr;
    }

    .preview-body em {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
