@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --purple: #682096;
    --deep: #421263;
    --pink: #e71679;
    --orange: #f5a323;
    --orange-light: #ffd16f;
    --green: #1aaa61;
    --green-bg: #eaf9f0;
    --ink: #231333;
    --muted: #766986;
    --surface: #ffffff;
    --soft: #f8f3fb;
    --line: rgba(104, 32, 150, .15);
    --shadow: 0 22px 60px rgba(75, 18, 111, .16);
}

html[data-theme="dark"] {
    --ink: #f9f3ff;
    --muted: #c9b8d9;
    --surface: #261238;
    --soft: #35174e;
    --line: rgba(255, 255, 255, .15);
    --green-bg: rgba(26, 170, 97, .16);
    --shadow: 0 22px 60px rgba(0, 0, 0, .36);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--surface);
    color: var(--ink);
    font-family: Cairo, Tahoma, Arial, sans-serif;
    line-height: 1.7;
    transition: background .25s, color .25s;
}

html[dir="ltr"] body {
    font-family: Manrope, Arial, sans-serif;
}

button, input {
    font: inherit;
}

button {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

button, .document-row, a {
    touch-action: manipulation;
}

.hero {
    min-height: 710px;
    position: relative;
    isolation: isolate;
    color: #ffffff;
    background: url('../images/01.jpg') center/cover no-repeat, linear-gradient(120deg, #421263, #e71679);
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(105deg, rgba(48, 10, 76, .96), rgba(98, 20, 130, .78), rgba(231, 22, 121, .42));
}

.wrap {
    width: min(1160px, calc(100% - 32px));
    margin: auto;
}

header {
    direction: ltr;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    display: block;
    width: clamp(150px, 20vw, 230px);
    height: 138px;
    object-fit: contain;
    object-position: center;
    transition: opacity .2s ease;
}

.brand:hover .logo {
    opacity: .96;
}

.tools {
    display: flex;
    gap: 9px;
}

.tool {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    border: 1px solid rgba(255, 255, 255, .32);
    background: rgba(255, 255, 255, .13);
    color: #ffffff;
    font-weight: 800;
    transition: transform .2s, background .2s, border .2s;
}

.tool:hover, .tool:active {
    background: rgba(255, 255, 255, .28);
    transform: translateY(-2px) scale(1.02);
}

.hero-content {
    padding: 72px 0 125px;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 900;
    color: var(--orange-light);
}

h1 {
    margin: 16px 0;
    font-size: clamp(39px, 7vw, 77px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -1.5px;
}

h1 span {
    display: block;
    color: var(--orange-light);
}

.hero p {
    max-width: 630px;
    font-size: clamp(16px, 2vw, 20px);
    color: #f0e1f7;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 27px;
}

.btn {
    border: 0;
    border-radius: 14px;
    padding: 15px 20px;
    font-weight: 800;
    transition: transform .2s, filter .2s, box-shadow .2s;
}

.btn:hover, .btn:active {
    transform: translateY(-2px) scale(1.01);
    filter: brightness(1.05);
}

.btn:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
}

.primary {
    color: #321144;
    background: linear-gradient(135deg, var(--orange-light), var(--orange));
    box-shadow: 0 14px 32px rgba(245, 163, 35, .3);
}

.support {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .13);
}

.trust {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 35px;
    color: #ead9f4;
    font-size: 13px;
}

.trust span {
    display: grid;
    gap: 2px;
}

.trust b {
    font-size: 14px;
    color: #ffffff;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: -48px auto 0;
    position: relative;
}

.card, .form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 23px;
    box-shadow: var(--shadow);
}

.card {
    padding: 24px;
    transition: transform .2s, box-shadow .2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 65px rgba(75, 18, 111, .22);
}

.line {
    width: 35px;
    height: 3px;
    background: linear-gradient(90deg, var(--pink), var(--orange));
    margin-bottom: 17px;
}

.card h3 {
    margin: 0 0 7px;
    font-size: 18px;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.funnel {
    margin-top: 34px;
    padding: 65px 0;
    background: linear-gradient(rgba(248, 243, 251, .94), rgba(255, 255, 255, .92)), url('../images/02.jpg') center/cover fixed;
}

.notice-help {
    max-width: 850px;
    margin: 0 auto 18px;
    padding: 13px 16px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 15px;
    color: var(--muted);
    font-size: 13px;
}

.notice-help a {
    color: var(--pink);
    font-weight: 800;
    text-decoration: none;
}

.form-wrap {
    max-width: 850px;
    margin: auto;
}

.form-wrap h2 {
    font-size: clamp(29px, 5vw, 47px);
    line-height: 1.25;
    margin: 8px 0;
    font-weight: 900;
}

.muted {
    color: var(--muted);
}

.progress {
    display: flex;
    align-items: center;
    margin: 25px 0 18px;
}

.marker {
    display: flex;
    gap: 7px;
    align-items: center;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.marker i {
    font-style: normal;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
}

.marker.active {
    color: var(--ink);
}

.marker.active i {
    color: #321144;
    background: var(--orange-light);
    border-color: var(--orange);
}

.bar {
    height: 1px;
    flex: 1;
    margin: 0 8px;
    background: var(--line);
}

.form-card {
    padding: clamp(22px, 5vw, 42px);
}

.step {
    display: none;
}

.step.active {
    display: block;
    animation: in .28s ease;
}

.step h3 {
    margin: 0 0 6px;
    font-size: 25px;
    font-weight: 900;
}

@keyframes in {
    from { opacity: 0; transform: translateX(-15px); }
    to { opacity: 1; transform: none; }
}

html[dir="ltr"] .step.active {
    animation-name: inLtr;
}

@keyframes inLtr {
    from { opacity: 0; transform: translateX(15px); }
    to { opacity: 1; transform: none; }
}

.choices, .fields {
    display: grid;
    gap: 13px;
}

.choices {
    grid-template-columns: repeat(2, 1fr);
    margin: 24px 0;
}

.choice {
    color: var(--ink);
    text-align: inherit;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    background: var(--soft);
    transition: transform .2s, border .2s, box-shadow .2s;
}

.choice:hover, .choice:active, .choice.selected {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(231, 22, 121, .14);
    transform: translateY(-2px);
}

.choice b {
    display: block;
    margin-bottom: 6px;
}

.choice span {
    color: var(--muted);
    font-size: 13px;
}

.fields {
    grid-template-columns: repeat(2, 1fr);
    margin: 22px 0;
}

label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

input {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--soft);
    color: var(--ink);
    outline: 0;
}

input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(231, 22, 121, .14);
}

.document-list {
    display: grid;
    gap: 10px;
    margin: 23px 0;
}

.document-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--soft);
    transition: transform .2s, border .2s, box-shadow .2s;
    cursor: pointer;
}

.document-row:hover, .document-row:active {
    transform: translateY(-2px);
    border-color: var(--pink);
    box-shadow: 0 8px 22px rgba(104, 32, 150, .09);
}

.document-row.done {
    border-color: var(--green);
    background: var(--green-bg);
}

.document-row input {
    display: none;
}

.doc-info {
    display: flex;
    align-items: center;
    gap: 11px;
}

.doc-index {
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    border-radius: 10px;
    background: rgba(104, 32, 150, .11);
    color: var(--purple);
    font-size: 12px;
    font-weight: 900;
}

.document-row.done .doc-index {
    background: var(--green);
    color: #ffffff;
}

.doc-info b {
    display: block;
    font-size: 14px;
}

.doc-info small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 1px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doc-action {
    flex: none;
    padding: 8px 12px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--pink);
    font-size: 12px;
    font-weight: 800;
}

.document-row.done .doc-action {
    border-color: rgba(26, 170, 97, .35);
    color: var(--green);
    background: rgba(255, 255, 255, .55);
}

.step-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 24px;
}

.secondary {
    background: var(--soft);
    border: 1px solid var(--line);
    color: var(--ink);
}

.help {
    padding: 12px;
    margin-top: 17px;
    border: 1px solid rgba(245, 163, 35, .35);
    border-radius: 13px;
    background: rgba(245, 163, 35, .08);
    color: var(--muted);
    font-size: 12.5px;
}

.help a {
    color: var(--pink);
    font-weight: 800;
    text-decoration: none;
}

.success {
    display: none;
    text-align: center;
    padding: 30px;
    border-radius: 18px;
    background: rgba(231, 22, 121, .08);
    border: 1px solid rgba(231, 22, 121, .35);
}

.success.show {
    display: block;
    animation: in .32s ease;
}

.success h3 {
    margin-top: 0;
}

.success p {
    color: var(--muted);
}

.new-request {
    margin-top: 18px;
}

footer {
    text-align: center;
    padding: 33px 16px;
    color: #ecdaf5;
    font-size: 12px;
    background: linear-gradient(100deg, var(--deep), var(--pink));
}

.modal-bg {
    display: none;
    position: fixed;
    z-index: 99;
    inset: 0;
    padding: 20px;
    align-items: center;
    justify-content: center;
    background: rgba(20, 6, 32, .65);
    backdrop-filter: blur(4px);
}

.modal-bg.show {
    display: flex;
}

.modal {
    width: 100%;
    max-width: 570px;
    padding: 29px 23px;
    border-radius: 22px;
    background: var(--surface);
    color: var(--ink);
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

.close {
    position: absolute;
    left: 14px;
    top: 14px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--soft);
    color: var(--ink);
}

.modal h3 {
    margin: 0 0 7px;
    font-weight: 900;
}

.modal p {
    color: var(--muted);
    font-size: 13px;
}

.numbers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 18px 0;
}

.number {
    padding: 14px 12px;
    border-radius: 14px;
    background: var(--soft);
    border: 1px solid var(--line);
    text-align: center;
}

.number strong {
    display: block;
    direction: ltr;
    unicode-bidi: embed;
    font-family: Manrope, Arial, sans-serif;
    font-size: 15px;
    white-space: nowrap;
}

.number small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 4px;
}

.contact-options {
    display: flex;
    gap: 10px;
}

.contact-options a {
    flex: 1;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 13px;
    color: #321144;
    background: linear-gradient(135deg, var(--orange-light), var(--orange));
}

.contact-options a:last-child {
    color: #ffffff;
    background: linear-gradient(135deg, #31d66e, #1aa851);
}

@media(max-width:720px) {
    .wrap, .form-wrap, .notice-help {
        width: calc(100% - 28px);
    }
    .hero {
        min-height: 690px;
    }
    .logo {
        width: clamp(150px, 20vw, 230px);
        height: 138px;
    }
    .brand:active .logo {
        opacity: .9;
    }
    .tool {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }
    .benefits, .choices, .fields {
        grid-template-columns: 1fr;
    }
    .benefits {
        margin-top: -34px;
    }
    .card:hover {
        transform: none;
    }
    .funnel {
        background-attachment: scroll;
    }
    .marker span {
        display: none;
    }
    .bar {
        margin: 0 5px;
    }
    .hero-content {
        padding-top: 58px;
    }
    .form-wrap {
        margin: auto;
    }
    .document-row {
        min-height: 61px;
        padding: 10px;
    }
    .document-row:active {
        transform: scale(.99);
        border-color: var(--pink);
    }
    .doc-action {
        padding: 7px 9px;
        font-size: 11px;
    }
    .doc-info {
        gap: 8px;
    }
    .doc-info b {
        font-size: 13px;
    }
    .doc-info small {
        max-width: 150px;
    }
    .btn:active, .tool:active {
        transform: scale(.97);
    }
    .numbers {
        grid-template-columns: 1fr 1fr;
        gap: 7px;
    }
    .number {
        padding: 12px 7px;
    }
    .number strong {
        font-size: 12px;
    }
    .contact-options {
        flex-direction: column;
    }
    .contact-options a {
        padding: 13px;
    }
    .modal {
        padding: 28px 18px;
    }
}
