@import "reboot.css";

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #222;
    background: #F6F6F7;
    min-height: 100vh;
}

.popup {
    width: 100%;
    height: 100%;
    position: fixed;
    inset: auto;
    background: url("/assets/bg-preloader.png") no-repeat top / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px 40px 20px;
    max-height: 100%;
}

.popup:before {
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    inset: auto;
    position: absolute;
    z-index: -1;
    top: 0;
}

.security.download-step-0 .popup,
.security.download-step-1 .popup {
    background-image: none !important;
}

.security.download-step-0 .popup:before,
.security.download-step-1 .popup:before {
    display: none;
}

.security.download-step-0 .popup__wrapper,
.security.download-step-1 .popup__wrapper {
    background-color: inherit;
}

.security.download-step-0 .popup__title,
.security.download-step-1 .popup__title {
    font-weight: 400;
}

.security.download-step-0 .popup__description,
.security.download-step-1 .popup__description {
    font-size: 14px;
}

.security.download-step-0 .popup__btn,
.security.download-step-1 .popup__btn {
    margin: 32px auto 32px;
}

.security.download-step-0 .popup__btn,
.security.download-step-1 .popup__btn {
    transition: all 0.3s ease-in-out;
    -webkit-animation: breathing 5s ease-out infinite normal;
    animation: breathing 5s ease-out infinite normal;
    -webkit-font-smoothing: antialiased;
}

.security.download-step-0 .stepper,
.security.download-step-1 .stepper {
    display: none;
}

.security.download-step-0 footer a,
.security.download-step-1 footer a {
    color: #000;
}

.mistype {
    position: absolute;
    font-size: 32px;
    padding: 20px;
    z-index: 10;
    top: 0;
    left: 0;
}

.download-step-0 .mistype,
.mistype.mistype-step-2-hide {
    display: none;
}

.security-verify-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.security-verify-success {
    animation: fadeIn 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.security-verify-success h3 {
    color: #22C55E;
    margin: 10px 0;
}

.security-verify-success p {
    color: #64748B;
    margin-bottom: 20px;
}

.security-verify-success-icon {
    font-size: 48px;
    color: #22C55E;
    margin: 20px 0;
}

.security .popup__content,
.security .stepper {
    animation: fadeIn 0.5s ease;
}

.security .popup__wrapper {
    overflow-y: hidden;
    z-index: 11;
}

.security.download-step-2 .popup__wrapper,
.security.download-step-2-1 .popup__wrapper,
.security.download-step-3 .popup__wrapper,
.security.download-step-4 .popup__wrapper {
    overflow-y: auto;
}

.verification-message {
    color: #4B5563;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.5;
}
.verification-status {
    color: #6B7280;
    font-size: 14px;
}

.progress {
    height: 6px;
    width: 100%;
    background: #E2E8F0;
    margin: 20px 0;
    border-radius: 3px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #3B82F6, #2563EB);
    transition: width 0.5s ease;
}

.dots-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 15px 0;
}
.dot {
    width: 8px;
    height: 8px;
    background: #3984E0;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.5; }
}

.popup__wrapper {
    background: #fff;
    border-radius: 12px;
    width: 960px;
    max-height: 100%;
    overflow-y: auto;
}

.popup__content {
    display: none;
    padding: 32px 20px;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.download-step-0 .popup__content[data-step="0"],
.download-step-1 .popup__content[data-step="1"],
.download-step-2 .popup__content[data-step="2"],
.download-step-2-1 .popup__content[data-step="2-1"],
.download-step-3 .popup__content[data-step="3"],
.download-step-4 .popup__content[data-step="4"] {
    display: flex;
}

.d-none {
    display: none !important;
}

.popup__title {
    font-size: 38px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    color: #222;
    margin-bottom: 12px;
}

.popup__title.step-2:before {
    background: transparent url(/assets/icon-check.svg) no-repeat center center;
    content: '';
    display: block;
    float: left;
    height: 50px;
    margin-right: 5px;
    width: 45px;
}

.popup__description {
    font-size: 16px;
    text-align: center;
    color: #222222;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto 12px;
}

.popup__subtitle {
    font-size: 20px;
    text-align: center;
    color: #222;
    margin-bottom: 2px;
}

.popup__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    border-radius: 18px;
    background: #2479EE;
    color: #FEFEFE;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
    padding: 16px 16px 16px 32px;
    margin: 0 auto 32px;
    width: fit-content;
    transition: all 0.3s ease-in-out;
}

@media screen and (max-width: 450px) {
    .popup__btn {
        width: 100%;
        font-size: 32px;
        gap: 16px;
        padding: 12px 12px 12px 24px;
    }
}

.popup__btn span:first-child {
    margin-bottom: 6px;
}

.popup__btn span:last-child {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #1663CD;
    transition: all 0.3s ease-in-out;
    padding: 6px;
}

.popup__btn:hover {
    color: #FEFEFE;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.popup__btn:hover span:last-child {
    transform: scale(1.06);
}

.popup__img {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 24px;
    border: 1px solid #18A626;
    background: #18A62610;
    width: 90%;
}

@media screen and (max-width: 1200px), (max-height: 730px) {
    .popup__img {
        max-width: 500px;
    }
}

@media screen and (max-height: 630px) {
    .popup__img {
        max-width: 400px;
    }
}

@media screen and (max-width: 968px), (max-height: 730px) {
    .popup__img {
        width: 50%;
    }
}

@media screen and (max-width: 600px) {
    .popup__img {
        width: 80%;
    }
}

.popup__img img {
    width: 100%;
}

.label {
    background: #0066FF;
    border-radius: 16px;
    position: absolute;
    top: 32px;
    right: 50px;
    font-size: 26px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    padding: 12px;
    animation: labelMove 1s infinite;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease-in-out 0.5s;
}

.label.label-edge {
    right: 50px;
    animation: labelMoveEdge 1s infinite;
}

.label.label-firefox {
    right: 80px;
    animation: labelMoveEdge 1s infinite;
}

@media screen and (max-width: 768px) {
    .label {
        right: 20px;
        max-width: calc(100% - 40px);
    }
}

.label.show-video {
    transition: none;
    animation: none;
}

.label__body {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 12px;
}

.label__video {
    display: none;
    width: 240px;
}

.label__video__title {
    font-size: 20px;
    font-weight: 500;
    color: #000000;
    background-color: #EFEFF7;
    transform: translate(0%, 10%);
    min-height: 54px;
    align-content: center;
    position: absolute;
    width: 229px;
}

.de .label__video__title {
    font-size: 16px;
}

.label__video video {
    width: 100%;
    border-radius: 6px;
}

.label.show-video .label__body {
    display: none;
}

.label.show-video .label__video {
    display: flex;
    justify-content: center;
}

.download-step-2 .label,
.label.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.label__head {
    width: 66px;
    height: 26px;
    position: absolute;
    top: -25px;
    right: 20px;
}

.label__round {
    flex: 0 0 auto;
    background: #fff;
    width: 46px;
    height: 46px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stepper {
    display: flex;
    align-items: center;
    max-width: 310px;
    gap: 50px;
    margin: 0 auto 64px;
    position: relative;
}

.de .stepper {
    align-items: flex-start;
}

.stepper:after,
.stepper:before {
    content: '';
    position: absolute;
    top: 10px;
    height: 5px;
    background: #DFE3E4;
    width: 110px;
    transition: all 0.3s ease-in-out;
}

.stepper:after {
    left: 40px;
}

.download-step-2 .stepper:after,
.download-step-2-1 .stepper:after,
.download-step-2-2 .stepper:after {
    background: #3984E0;
}

.download-step-3 .stepper:after,
.download-step-4 .stepper:after {
    background: #18A626;
}

.stepper:before {
    right: 40px;
}

.download-step-3 .stepper:before,
.download-step-4 .stepper:before {
    background: #3984E0;
}

.stepper__step {
    flex: 0 0 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 1;
}

.stepper__number {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    font-weight: 800;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
    border: 3px solid #DFE3E4;
    border-radius: 100%;
    background: #fff;
    position: relative;
}

.download-step-1 .stepper__step:nth-child(1) .stepper__number,
.download-step-2 .stepper__step:nth-child(2) .stepper__number,
.download-step-2-1 .stepper__step:nth-child(2) .stepper__number,
.download-step-2-2 .stepper__step:nth-child(2) .stepper__number,
.download-step-3 .stepper__step:nth-child(3) .stepper__number,
.download-step-4 .stepper__step:nth-child(3) .stepper__number {
    border-color: transparent;
    outline: 4px solid #2479EE;
    box-shadow: 0 0 0 10px #3984E030;
}

.download-step-2 .stepper__step:nth-child(1) .stepper__number,
.download-step-2-1 .stepper__step:nth-child(1) .stepper__number,
.download-step-2-2 .stepper__step:nth-child(1) .stepper__number,
.download-step-3 .stepper__step:nth-child(1) .stepper__number,
.download-step-3 .stepper__step:nth-child(-n + 2) .stepper__number,
.download-step-4 .stepper__step:nth-child(-n + 2) .stepper__number {
    border-color: #18A626;
    background: url("/assets/check.svg") no-repeat center / contain, #18A626;
    font-size: 0;
    color: transparent;
    outline: 4px solid #DFE3E4;
    box-shadow: none;
}

.stepper__text {
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
    transition: all 0.3s ease-in-out;
}

.download-step-2 .stepper__step:nth-child(1) .stepper__text,
.download-step-2-1 .stepper__step:nth-child(1) .stepper__text,
.download-step-2-2 .stepper__step:nth-child(1) .stepper__text,
.download-step-3 .stepper__step:nth-child(1) .stepper__text,
.download-step-3 .stepper__step:nth-child(-n + 2) .stepper__text,
.download-step-4 .stepper__step:nth-child(-n + 2) .stepper__text {
    color: #18A626;
}

@keyframes labelMove {
    0% {
        transform: translateY(0);
    }

    75% {
        transform: translateY(10%);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes labelMoveEdge {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(30%);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes breathing {
    0% {
        -ms-transform: scale(0.95);
        transform: scale(0.95);
    }

    25% {
        -ms-transform: scale(1);
        transform: scale(1);
    }

    60% {
        -ms-transform: scale(0.95);
        transform: scale(0.95);
    }

    100% {
        -ms-transform: scale(0.95);
        transform: scale(0.95);
    }
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    background: linear-gradient(0deg, rgba(57, 132, 224, 0.2) 33%, #3984E0 100%);
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    margin: 20px;
}

.loading-spinner::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: #F6F6F7;
}

@keyframes rotation {
    0% { transform: rotate(0deg) }
    100% { transform: rotate(360deg)}
}

.content-second {
    display: flex;
    gap: 50px;
    background-color: rgba(255, 255, 255, 0.50);
    border-radius: 30px;
    padding: 0 12px;
}

.content-second .popup__description {
    text-align: left;
}

.content-steps {
    border-radius: 18px;
    border: 1px solid #18A626;
    background: rgba(24, 166, 38, 0.10);
    padding: 20px 20px 20px 44px;
    flex: 0 0 50%;
}

.content-steps-full {
    flex: 0 0 100%;
}

.content-steps .title {
    text-align: center;
}

.content-step-title {
    color: #18A626;
    font-size: 18px;
    font-weight: 600;
    position: relative;
}

.content-second-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-step-title:before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #18A626;
    position: absolute;
    left: -32px;
    top: 5px;
}

.content-step-text {
    color: #222;
    font-size: 14px;
    margin-bottom: 10px;
}

.content-step-1 {
    position: relative;
    padding-bottom: 26px;
}

.content-step-1:before {
    content: "";
    position: absolute;
    left: -25px;
    top: 10px;
    width: 2px;
    height: 100%;
    background-color: #18A626;
}

.title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 16px;
}

.title-big {
    font-size: 50px;
    margin-bottom: 20px;
    font-weight: 700;
}

footer {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding-top: 8px;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

footer a {
    color: #fff;
    font-size: 14px;
    display: inline-block;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 767px) {
    .content-second {
        flex-direction: column;
        gap: 10px;
    }


}