@font-face {
    font-family: "Spline Sans";
    src:
        url("../fonts/SplineSans-Bold.woff2") format("woff2"),
        url("../fonts/SplineSans-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Spline Sans";
    src:
        url("../fonts/SplineSans-SemiBold.woff2") format("woff2"),
        url("../fonts/SplineSans-SemiBold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src:
        url("../fonts/OpenSans-Regular.woff2") format("woff2"),
        url("../fonts/OpenSans-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src:
        url("../fonts/OpenSans-SemiBold.woff2") format("woff2"),
        url("../fonts/OpenSans-SemiBold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Scheherazade New";
    src:
        url("../fonts/ScheherazadeNew-Regular.woff2") format("woff2"),
        url("../fonts/ScheherazadeNew-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-primary: #fff;
    --color-secondary: #f7f7f7;
    --color-dark: #1b1b1b;
    --color-accent: #fa7fbe;
    --color-placeholder: #919191;
    --color-border: rgba(255, 255, 255, 0.19);

    --gradient-primary: linear-gradient(90deg, #b880fd 0%, #fa82bf 75.48%, #ffae8e 100%);
    --gradient-secondary: linear-gradient(131deg, #2a2237 0%, #0c021a 100%);

    --font-primary: "Spline Sans", sans-serif;
    --font-secondary: "Open Sans", sans-serif;
    --font-tertiary: "Scheherazade New", sans-serif;

    --container-width: 1200px;
    --container-padding-x: 16px;

    --transition-duration: 0.2s;
}

body {
    position: relative;
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.56;
    color: var(--color-primary);
    background-color: #090018;
    background-image: url("../img/body-background-desktop.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #090018;
}

.background-decor {
    position: absolute;
    pointer-events: none;
}

.background-decor__circle {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

a,
button,
svg *,
*::after {
    transition: all var(--transition-duration) ease;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: var(--color-accent);
}

@media (hover: hover) {
    a:not(.header__logo):hover {
        opacity: 0.7;
    }
}

@media (hover: none) {
    a:not(.header__logo):active {
        opacity: 0.7;
    }
}

h1 {
    font-family: var(--font-primary);
    font-size: 55px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-primary);
}

.primary-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 55px;
    line-height: 1.2;
    text-align: center;
    color: var(--color-primary);
}

.container {
    max-width: calc(var(--container-width) + var(--container-padding-x) * 2);
    padding-left: var(--container-padding-x);
    padding-right: var(--container-padding-x);
    margin: 0 auto;
}

.primary-section {
    margin-bottom: 150px;
}

.aio-sdk-form {
    width: 100% !important;
    padding: 0 !important;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    border: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    clip-path: inset(100%) !important;
    clip: rect(0 0 0 0) !important;
    overflow: hidden !important;
}

.warning {
    width: 100%;
    display: block;
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    color: #ff0;
    background-color: #000;
    font-weight: 700;
}

.button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-primary);
    font-size: 18px;
    line-height: 1.56;
    text-align: center;
    color: var(--color-primary);
    transition: var(--transition-duration);
    background: #fa82bf;
    background: var(--gradient-primary);
}

.button:hover {
    opacity: 0.7;
}

.primary-button {
    min-height: 60px;
    padding: 16px 26px;
    text-transform: uppercase;
}

.secondary-button {
    min-height: 68px;
    padding: 20px;
}

.input {
    width: 100%;
    border: none;
    outline: none;
}

.input::placeholder {
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
}

.primary-input {
    height: 56px;
    border-radius: 60px;
    padding: 16px 16px 16px 20px;
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.71;
    color: var(--color-dark);
    background-color: var(--color-secondary);
}

.primary-input[type="tel"] {
    padding-left: 84px;
}

.primary-input::placeholder {
    color: var(--color-placeholder);
}

.primary-input:focus {
    outline: 2px solid var(--color-accent);
}

.secondary-input {
    min-height: 60px;
    padding: 18px 16px 18px 20px;
    background-color: #3d324c;
    border-radius: 40px;
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-primary);
}

.secondary-input::placeholder {
    color: var(--color-primary);
}

.secondary-input:focus {
    outline: 2px solid var(--color-primary);
}

.form {
    width: 100%;
    padding: 32px 0;
    border-radius: 16px;
    background-color: var(--color-primary);
}

.form__title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.17;
    color: var(--color-dark);
    margin-bottom: 20px;
    padding: 0 41px;
}

.form__inner {
    padding: 0 63px;
}

.form__input-wrapper {
    width: 100%;
    margin-bottom: 16px;
}

.form__input-wrapper:last-of-type {
    margin-bottom: 24px;
}

.form__button {
    margin-bottom: 20px;
}

.form__warning {
    font-size: 14px;
    margin-bottom: 20px;
}

.form__subtext {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    text-align: center;
    color: var(--color-dark);
    padding: 0 10px;
}

.iti {
    width: 100%;
}

.iti__selected-country {
    padding-left: 14px;
}

.iti__selected-dial-code {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.71;
    color: var(--color-dark);
}

.iti.iti--allow-dropdown {
    width: 100%;
}

.header {
    padding-top: 76px;
}

.header__inner {
    background: #2a2237;
    background: var(--gradient-secondary);
    border-radius: 40px;
    padding: 55px 63px 72px 63px;
}

.header__logo {
    display: flex;
    align-items: center;
    column-gap: 10px;
    margin-bottom: 60px;
}

.header__logo-image {
    width: 40px;
    height: 40px;
}

.header__logo-text {
    font-family: var(--font-tertiary);
    font-weight: 400;
    font-size: 32px;
    line-height: 1.25;
    color: var(--color-primary);
}

.header__banner {
    display: grid;
    grid-template-columns: minmax(auto, 543px) 1fr;
    gap: 32px 70px;
}

.header__banner-info {
    padding-top: 18px;
}

.header__banner-title {
    width: 100%;
    max-width: 511px;
}

.header__banner-image {
    width: 100%;
    margin-bottom: 20px;
    max-width: 541px;
    max-height: 372px;
    border-radius: 16px;
}

.header__banner-image--mobile {
    display: none;
}

.header__banner-caption {
    width: 100%;
    color: var(--color-dark);
    padding: 52px 48px 16px 27px;
    background-image: url("../img/banner-caption-bg-desktop.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    border-radius: 16px;
    position: relative;
}

.header__banner-subtitle {
    max-width: 470px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.17;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.header__banner-description {
    max-width: 450px;
    color: var(--color-secondary);
}

.crypto {
    background-image: url("../img/crypto-chart-bg-desktop.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.best-crypto__title {
    margin-bottom: 44px;
    max-width: 770px;
    margin: 0 auto 44px auto;
}

.best-crypto__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 45px;
}
.best-crypto__item {
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: start;
    gap: 32px;
    word-break: break-all;
}

.best-crypto__item:nth-of-type(1),
.best-crypto__item:nth-of-type(2),
.best-crypto__item:nth-of-type(3) {
    padding-bottom: 45px;
    border-bottom: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
}

.best-crypto__item:nth-of-type(4) {
    padding-bottom: 45px;
    border-bottom: 1px solid var(--color-border);
}

.best-crypto__item:nth-of-type(5),
.best-crypto__item:nth-of-type(6),
.best-crypto__item:nth-of-type(7) {
    padding-top: 45px;
    border-right: 1px solid var(--color-border);
}

.best-crypto__item:nth-of-type(8) {
    padding-top: 45px;
}

.best-crypto__item-logo {
    width: 72px;
    height: 72px;
}

.best-crypto__item-name {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.25;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.best-crypto__item-rate {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.33;
    color: var(--color-accent);
}

.best-crypto__image {
    width: 100%;
    max-width: 1200px;
    max-height: 362px;
    border-radius: 20px;
}

.best-crypto__image--mobile {
    display: none;
}

.calculator__title {
    margin-bottom: 40px;
}

.calculator__wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.calculator__form {
    width: 100%;
    max-width: 590px;
    background: #2a2237;
    background: var(--gradient-secondary);
    border-radius: 20px;
    padding: 30px 30px 66px 30px;
}

.calculator__form-label {
    margin-bottom: 20px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.17;
    color: var(--color-primary);
}

.calculator__input {
    margin-bottom: 20px;
}

.calculator__select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("../img/arrow-down.svg");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 36px;
}

.calculator__results {
    width: 100%;
}

.calculator__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
    margin-bottom: 16px;
}

.calculator__result {
    border-radius: 20px;
    padding: 16px 30px;
    background: #2a2237;
    color: var(--color-primary);
    background: var(--gradient-secondary);
    text-align: center;
}

.calculator__result-label {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.calculator__result-value {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 24px;
    line-height: 1.17;
    color: var(--color-primary);
    width: 190px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 auto;
}

.calculator__button {
    grid-column: span 2;
}

.reg-stages__title {
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.reg-stages__list {
    margin-bottom: 45px;
}

.reg-stages__item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: end;
    column-gap: 20px;
    row-gap: 12px;
}

.reg-stages__item-head {
    width: 100%;
    max-width: 450px;
}

.reg-stages__item-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
}

.reg-stages__item-name {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.25;
    color: var(--color-primary);
}

.reg-stages__item-body {
    width: 100%;
    max-width: 585px;
}

.reg-stages__separator {
    width: 100%;
    height: 1px;
    border: none;
    background-color: var(--color-border);
    margin: 45px 0;
}

.faq__title {
    margin-bottom: 44px;
}

.faq__content {
    display: flex;
    justify-content: space-between;
    column-gap: 20px;
    row-gap: 36px;
}

.faq__accordion {
    width: 100%;
}

.faq__accordion-item {
    width: 100%;
    margin-bottom: 20px;
}

.faq__accordion-header {
    min-height: 96px;
    list-style: none;
    border-radius: 20px;
    background: #2a2237;
    background: var(--gradient-secondary);
    padding: 20px 52px 20px 28px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.25;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    cursor: pointer;
}

.faq__accordion-body {
    margin-top: 30px;
}

.faq__accordion-body p:not(:last-child) {
    margin-bottom: 28px;
}

.faq__image {
    width: 100%;
    max-width: 590px;
    max-height: 583px;
    border-radius: 20px;
}

.footer {
    padding-bottom: 60px;
}

.footer__warning {
    margin-bottom: 20px;
}

.footer__copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1290px) {
    .form__title {
        font-size: 22px;
    }
}

@media (max-width: 1200px) {
    :root {
        --container-width: min(83.3333vw, 1200px);
    }

    .header {
        padding-top: 48px;
    }

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

    .header__banner-title {
        order: 1;
        max-width: 100%;
    }

    .header__banner-image {
        max-width: 100%;
        max-height: initial;
        object-position: bottom;
        margin-left: auto;
        margin-right: auto;
    }

    .header__banner-caption {
        padding: 46px 48px 20px 27px;
        max-width: 543px;
        margin: 0 auto;
    }

    .header__banner-info {
        order: 2;
        padding-top: 0;
    }

    .header__banner-subtitle {
        max-width: 100%;
    }

    .header__banner-description {
        max-width: 100%;
    }

    .header__banner form {
        order: 3;
    }

    .header__banner-media {
        order: 4;
    }

    .best-crypto__title {
        max-width: 100%;
    }

    .best-crypto__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .best-crypto__list .best-crypto__item {
        padding: 20px;
    }

    .best-crypto__item:nth-of-type(2) {
        border-right: none;
    }

    .best-crypto__item:nth-of-type(5) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.19);
    }

    .best-crypto__item:nth-of-type(6) {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.19);
    }

    .best-crypto__image {
        max-width: 100%;
        max-height: initial;
    }

    .calculator__wrapper {
        flex-direction: column;
        justify-content: initial;
    }

    .reg-stages__title {
        max-width: 100%;
    }

    .reg-stages__item {
        flex-direction: column;
        align-items: start;
        justify-content: initial;
    }

    .reg-stages__item-head,
    .reg-stages__item-body {
        max-width: 100%;
    }

    .faq__content {
        flex-direction: column-reverse;
    }

    .faq__image {
        margin: 0 auto;
    }

    .calculator__form {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --container-width: 100%;
    }

    body {
        background-image: url("../img/body-background-mobile.svg");
    }

    h1 {
        font-size: 40px;
        line-height: 1.15;
    }

    .primary-title {
        font-size: 42px;
        line-height: 1.36;
    }

    .primary-section {
        margin-bottom: 120px;
    }

    .primary-button {
        font-size: 16px;
        line-height: 1.75;
    }

    .secondary-button {
        line-height: 1.22;
    }

    .primary-input {
        padding: 14px 16px;
        height: 52px;
        font-size: 12px;
        line-height: 2;
    }

    .form__title {
        padding: 0 24px;
        margin-bottom: 16px;
    }

    .form__inner {
        padding: 0 20px;
    }

    .form__input-wrapper:last-of-type {
        margin-bottom: 16px;
    }

    .form__button {
        margin-bottom: 16px;
    }

    .form__subtext {
        line-height: 1.71;
        padding: 0 20px;
    }

    .header__inner {
        padding: 40px 23px;
        border-radius: 20px;
    }

    .header__logo {
        margin-bottom: 36px;
    }

    .header__logo-text {
        font-size: 28px;
        line-height: 1.43;
    }

    .header__banner {
        gap: 24px;
    }

    .header__banner-image {
        object-position: center;
        margin-bottom: 24px;
    }

    .header__banner-image--desktop {
        display: none;
    }

    .header__banner-image--mobile {
        display: block;
    }

    .header__banner-caption {
        background-image: url("../img/banner-caption-bg-mobile.svg");
        max-width: 280px;
        font-size: 16px;
        line-height: 1.5;
        padding: 48px 15px 21px 16px;
    }

    .crypto {
        background-image: url("../img/crypto-chart-bg-mobile.svg");
        background-position: center 64%;
    }

    .best-crypto__title {
        margin-bottom: 36px;
    }

    .best-crypto__list {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-bottom: 36px;
    }

    .best-crypto__list .best-crypto__item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.19);
        padding: 0 0 36px 0;
    }

    .best-crypto__list .best-crypto__item:last-of-type {
        border-bottom: none;
        padding-bottom: 0;
    }

    .best-crypto__image--desktop {
        display: none;
    }

    .best-crypto__image--mobile {
        display: block;
    }

    .calculator__title {
        margin-bottom: 36px;
    }

    .calculator__form {
        padding: 30px;
    }

    .calculator__list {
        gap: 20px 16px;
        margin-bottom: 20px;
    }

    .calculator__result {
        padding: 10px;
    }

    .calculator__result-label {
        font-size: 14px;
        line-height: 2;
    }

    .calculator__result-value {
        font-size: 20px;
        line-height: 1.4;
        width: 180px;
    }

    .reg-stages__title {
        margin-bottom: 36px;
    }

    .reg-stages__list {
        margin-bottom: 36px;
    }

    .reg-stages__item-icon {
        margin-bottom: 24px;
    }

    .reg-stages__separator {
        margin: 36px 0;
    }

    .faq.primary-section {
        margin-bottom: 36px;
    }

    .faq__title {
        margin-bottom: 36px;
    }

    .faq__accordion-item {
        margin-bottom: 36px;
    }

    .faq__accordion-header {
        padding: 20px 45px 20px 28px;
    }

    .faq__accordion-body {
        margin-top: 16px;
    }

    .faq__image {
        max-width: 100%;
        max-height: initial;
    }

    .footer {
        padding-bottom: 32px;
    }
}

@media (max-width: 475px) {
    h1 {
        font-size: 36px;
    }

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

    .calculator__result-value {
        width: 250px;
    }
}

@media (max-width: 359px) {
    .primary-title {
        font-size: 36px;
    }

    body {
        font-size: 16px;
    }

    .header.container {
        padding-left: 0;
        padding-right: 0;
    }

    .header__inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .crypto {
        background-image: url("../img/crypto-chart-bg-mobile.svg");
        background-position: center 58%;
    }

    .header__banner-subtitle,
    .best-crypto__item-name,
    .best-crypto__item-rate,
    .calculator__form-label,
    .reg-stages__item-name,
    .faq__accordion-header {
        font-size: 20px;
    }
}

.calculator__list{padding-right:0}
.reg-stages__list{padding-right:0}
