:root {
    --green-yellow: #C9F156;
    --grey: #A1AECB;
    --indigo: #21366B;
    --dark-blue: #27448F;
    --primary-text-color: #113287;
    --text-font-size: 20px;
    --text-small-font-size: 16px;
}

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

body {
    font-family: "Inter", sans-serif;
    font-size: 20px;
    background: #FFFFFF;
}

/* BASIC STYLES */

.container {
    max-width: 1480px;
    padding: 0 20px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rubik', sans-serif;
    line-height: 100%;
    letter-spacing: 0;
}

h1 {
    font-weight: 500;
    font-size: 80px;
    background: linear-gradient(152.95deg, #191f20 20.7%, #01496B 109.39%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

h2 {
    font-weight: 500;
    font-size: 48px;
    color: #FFFFFF;
}

h3 {
    font-weight: 600;
    font-size: 40px;
    color: #010014;
}

h4 {
    font-weight: 600;
    font-size: 24px;
    color: #113287;
}

h5 {
    font-weight: 600;
    font-size: 20px;
    vertical-align: middle;
    color: #21366B;
}

.text {
    font-weight: 400;
    font-size: var(--text-font-size);
    line-height: 100%;
    letter-spacing: 0;
    color: var(--primary-text-color);
}

.text.small {
    font-size: var(--text-small-font-size);
}

.footer-text {
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;
    color: #21366B;
}

.green-yellow-color {
    color: var(--green-yellow) !important;
}

.grey-color {
    color: var(--grey) !important;
}

.indigo-color {
    color: var(--indigo) !important;
}

.dark-blue-color {
    color: var(--dark-blue) !important;
}

.text-center {
    text-align: center;
}

.gradient-text-bg {
    background: linear-gradient(85.93deg, #70CAC1 -33.07%, #C9F156 112.59%);
    padding: 4px;
    border-radius: 26px;
}

.d-flex-column-default {
    display: flex;
    flex-direction: column;
}

.d-flex {
    display: flex;
}

.ai-c {
    align-items: center;
}

.ai-e {
    align-items: flex-end;
}

.ai-s {
    align-items: flex-start;
}

.jc-c {
    justify-content: center;
}

.jc-e {
    justify-content: flex-end;
}

.jc-s {
    justify-content: flex-start;
}

.gap-16 {
    gap: 16px;
}

.gap-20 {
    gap: 20px;
}

.gap-24 {
    gap: 24px;
}

.gap-40 {
    gap: 40px;
}

input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
}

/* Track styles for WebKit browsers (Chrome, Safari, Edge) */
input[type="range"]::-webkit-slider-runnable-track {
    height: 24px;
    border-radius: 24px;
    background: linear-gradient(to right, #3E88FF 0%, #1644B2 var(--fill-percent), #fFFFFF var(--fill-percent), #FFFFFF 100%);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 32px;
    width: 25px;
    background: linear-gradient(90deg, #3E88FF 0%, #1644B2 100%);
    border: 3px solid #FFFFFF;
    cursor: pointer;
    margin-top: -3px;
    border-radius: 8px;
}

/* Track styles for Firefox */
input[type="range"]::-moz-range-track {
    height: 24px;
    border-radius: 24px;
    background: linear-gradient(to right, #3E88FF 0%, #1644B2 var(--fill-percent), #fFFFFF var(--fill-percent), #FFFFFF 100%);
    border: none;
}

input[type="range"]::-moz-range-thumb {
    height: 32px;
    width: 25px;
    background: linear-gradient(90deg, #3E88FF 0%, #1644B2 100%);
    border: 3px solid #FFFFFF;
    cursor: pointer;
    margin-top: -3px;
    border-radius: 8px;
}

/* For the unfilled portion of the track */
input[type="range"] {
    background: #ECECEC;
    border-radius: 24px;
}

/* Firefox specific - to show the unfilled portion */
input[type="range"]::-moz-range-progress {
    background: linear-gradient(to right, #3E88FF 0%, #1644B2 var(--fill-percent), #fFFFFF var(--fill-percent), #FFFFFF 100%);
    height: 24px;
    border-radius: 24px;
}

input[type="text"] {
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 34px;
    background: #01496B;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 360px;
    width: 100%;
    text-align: left;
}

input[type="text"]::placeholder {
    font-family: 'Unbounded', sans-serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 34px;
    color: #090630;
}

.calculator {
    max-width: 370px;
    width: 100%;
}

.calculator-details {
    max-width: 370px;
    width: 100%;
}

.calculator-details .btn {
    width: 100%;
    margin-bottom: 32px;
}

.calculator-details .additional-info {
    font-family: 'Mulish', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    color: #949494;
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.calculator-calculation__list {
    background: #EEFBFF;
    padding: 24px;
    border-radius: 24px;
    max-width: 370px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 32px;
}

.calculator-calculation__list .calculator-detail {
    font-family: 'Mulish', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #239CE6;
}

.calculator-calculation__list li {
    display: flex;
    gap: 4px;
    justify-content: space-between;
}

.calculator-calculation__list .value {
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #239CE6;
}

.calculator-wrapper {
    display: flex;
    gap: 48px;
}

.calculator-wrapper .calculator-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 370px;
    width: 100%;
    position: relative;
    margin-bottom: 32px;
}

.calculator-block-wrapper {
    background: #FFFFFF;
    padding: 32px 32px 64px 32px;
    border-radius: 32px;
    max-width: 852px;
    width: 100%;
}

.calculator-indicators-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.calculator-indicators-wrapper .calculator-indicator {
    font-family: 'Mulish', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #949494;
}

.calculator-details {
    max-width: 370px;
    width: 100%;
}

.calculator-details .btn {
    width: 100%;
    margin-bottom: 32px;
}

.calculator-details .additional-info {
    font-family: 'Mulish', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    color: #949494;
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.calculator-calculation__list {
    background: #EEFBFF;
    padding: 24px;
    border-radius: 24px;
    max-width: 370px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 32px;
}

.calculator-calculation__list .calculator-detail {
    font-family: 'Mulish', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #239CE6;
}

.calculator-calculation__list li {
    display: flex;
    gap: 4px;
    justify-content: space-between;
}

.calculator-calculation__list .value {
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #239CE6;
}

.calculator-wrapper {
    display: flex;
    gap: 48px;
}

.calculator-wrapper .calculator-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 370px;
    width: 100%;
    position: relative;
    margin-bottom: 32px;
}

section {

}

.btn {
    background: linear-gradient(90deg, #3E88FF 0%, #1644B2 100%);
    color: #FFFFFF;
    max-width: 352px;
    width: 100%;
    height: 63px;
    display: flex;
    align-items: center;
    border: none;
    justify-content: center;
    border-radius: 16px;
    cursor: pointer;
    transition: .1s all linear;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
}

.btn.btn-transparent {
    border: 2px solid #2b6fdc;
    background: transparent;
    width: 96px;
    color: #1644B2;
    height: 56px;
}

.btn.btn-transparent:hover {
    transform: scale(1.01);

}

/* HEADER */

header {
    position: fixed;
    width: 100%;
    background: #FFFFFF;
    padding: 10px 0;
}

header .header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* FIRST SCREEN */

section.first-screen {
    padding: 236px 0 150px 0;
    background: url("../img/first-screen-bg.png") right no-repeat, #FFFFFF;
}

section.first-screen .first-screen__wrapper {
    display: flex;
    justify-content: space-between;
}

section.first-screen .first-screen__wrapper .text-content {
    max-width: 887px;
    width: 100%;
}

h1 {
    margin-bottom: 32px;
}

.calculator {
    background: #FFFFFFB2;
    padding: 30px;
    border-radius: 20px;
    max-width: 412px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calculator .discount-wrapper {
    background: #FFFFFFD9;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    gap: 16px;
    align-items: center;
    margin: 16px 0 20px 0;
}

.calculator .discount-wrapper p {
    color: #1e3c83;
    font-size: 18px;
}

.calculator .discount-wrapper .percent {
    font-family: 'Rubik', sans-serif;
    font-weight: 800;
    font-size: 40px;
    line-height: 100%;
    text-align: center;
    color: #2959ca;
}

/* HOW IT WORKS */

section.how-it-works {
    padding: 120px 0;
    background: linear-gradient(180deg, #E7EFFF 0%, #FFFFFF 100%);
}

section.how-it-works ul {
    margin-top: 72px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

section.how-it-works ul li {
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
    max-width: 450px;
    width: 100%;
    border-radius: 20px;
    padding: 60px;
}

section.how-it-works ul li img {
    margin-bottom: 28px;
}

h3 {
    text-align: center;
}

section.safety {
    background: radial-gradient(52.68% 399.63% at 47.32% 59.15%, #3E88FF 0%, #C9DEFF 100%);
    padding: 96px 0;
}

section.safety .safety__wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
}

/* HOW TO GET */

section.how-to-get {
    padding: 120px 0;
}

section.how-to-get ul {
    margin-top: 72px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

section.how-to-get ul li {
    background: linear-gradient(90deg, #DDE7FA 0%, #FFFFFF 100%);
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px 48px;
    border-radius: 20px;
}

/* FOOTER */

footer {
    background: url("../img/footer-bg-img.png") left bottom no-repeat, linear-gradient(180deg, #E7EFFF 0%, #FFFFFF 100%);
    padding: 96px 0;
}

footer h2 {
    text-align: center;
    margin-bottom: 96px;
    color: #113287;
}

footer .footer__wrapper {
    background: #FFFFFF94;
    padding: 60px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

footer .footer__wrapper .wrapper {
    max-width: 792px;
    display: flex;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 36px;
}

footer .additional-info-wrapper.mobile {
    display: none;
}

footer .additional-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: #113287;
    margin-bottom: 8px;
    max-width: 792px;
    width: 100%;
}

footer .logo-wrapper {
    display: flex;
    gap: 4px;
    flex-direction: column;
}

footer .footer-logo {
    margin-bottom: 16px;
    width: 133px;
}

footer .documents-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

footer .documents-list a {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-offset: 0%;
    text-decoration-thickness: 0%;
    text-decoration-skip-ink: auto;
    color: #3E88FF;
}

footer .contacts-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

footer .contacts-wrapper .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    max-width: 456px;
    width: 100%;

}

footer .all-rights {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: #113287;
}

span.blur {
    background: linear-gradient(
            90deg,
            rgba(22, 68, 178, 0.1) -5.35%,
            rgba(22, 68, 178, 0.05) 100%
    );
    border-left: 4px solid #14358c;
}