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

:root {
	--bg-color: #cefdfb;
	--text-color: #404040;

	--icon-color: #00bbd4;

	--menu-bg: #404040;

	--logo: #00bbd4;
	--logo-desc: #777;

	--nav-bg: #fdfdfd;
	--nav-close: #404040;
	--nav-text: #404040;
	--nav-link: #00bbd4;

	--proggress-text: #00bbd4;
	--progress-bg: rgba(0, 0, 0, .15);
	--progress-filled: #00bbd4;

	--title: #000;

	--input-border: #00bbd4;;
	--input-text: #404040;
	--input-icon: #404040;
	--input-icon-grey: #404040;
	--input-label: #00bbd4;

	--input-border-focus: #00bbd4;
	--input-icon-focus: #00bbd4;
	--input-label-focus: #00bbd4;
	--input-error: #FC5B53;

	--btn-bg: #00bbd4;
	--btn-text: #fff;
	--btn-bg-disabled: #B3B6B7;
	--btn-text-disabled: rgba(0, 0, 0, .3);

	--btn-exit-bg: rgba(0, 0, 0, .1);
	--btn-exit: rgba(0, 0, 0, .6);

	--form-bottom: #000;

	--footer: #c0c0c0;

	--price: #000;
}

*,
:before,
:after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	outline: 0;
}

html,
body {
	height: 100%;
}

body {
	background: var(--bg-color);
	color: var(--text-color);
	font-family: 'Inter', Arial, sans-serif;
	font-size: 14px;
	line-height: 1.18;
	text-align: center;
}
.rtl-text {
	direction: rtl;
}

.wrapper {
	direction: ltr;
}
.rtl-text .main,
.rtl-text .footer {
	direction: rtl;
}

input, button {
	font-family: 'Inter', Arial, sans-serif;
}

.price {
	margin-top: 8px;
	padding: 4px 0;
	color: var(--price);
	font-size: 14px;
}

.main {
	max-width: 400px;
	margin: 0 auto;
	padding: 60px 24px 24px;
	position: relative;
}

.menu-btn {
	position: absolute;
	top: 16px;
	left: 24px;
	width: 32px;
	padding: 4px;
	margin-bottom: 20px;
	cursor: pointer;
}
.menu-btn div {
	height: 4px;
	background: var(--menu-bg);
	border-radius: 2px;
}
.menu-btn div + div {
	margin-top: 4px;
}

.logo {
	position: absolute;
	top: 12px;
	left: 60px;
	right: 60px;
	color: var(--logo);
	font-size: 22px;
	font-weight: bold;
}
.logo img {
	display: block;
	width: 96px;
	margin: 0 auto;
}
.logo-desc {
	color: var(--logo-desc);
	font-size: 10px;
	font-weight: 400;
	margin-bottom: 8px;
}

.nav {
	position: fixed;
	top: 0;
	left: -110%;
	bottom: 0;
	width: 100%;
	background: var(--nav-bg);
	padding: 48px 36px;
	color: var(--nav-text);
	text-align: center;
	transition: 0.5s ease;
	z-index: 999;
}
.nav.open {
	left: 0;
}
.nav-close {
	position: absolute;
	top: 24px;
	right: 24px;
	width: 48px;
	height: 48px;
	color: var(--nav-close);
	font-size: 36px;
	line-height: 48px;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
}
.nav-item {
	padding: 16px 0;
	font-size: 32px;
	font-weight: 700;
}
.nav-item a {
	color: var(--nav-link);
	text-decoration: none;
}

.steps {
	color: var(--proggress-text);
	font-size: 12px;
	line-height: 1.18;
	text-align: left;
	text-transform: uppercase;
	margin-bottom: 28px;
}
.steps:after {
	content: '';
	display: table;
	clear: both;
}
.step {
	float: left;
	width: calc(50% - 4px);
	height: 8px;
	background: var(--progress-bg);
	border-radius: 2px;
	overflow: hidden;
	margin-top: 8px;
}
.step + .step {
	margin-left: 8px;
}
.step:after {
	content: '';
	display: block;
	border-radius: 2px;
	width: 8px;
	height: 8px;
	background: var(--progress-filled);
	transition: 0.5s ease;
}
.step.filled:after {
	width: 100%;
}
.step + .step:after {
	content: none;
}
.step.filled + .step:after {
	content: '';
}
.rtl-text .steps {
	direction: rtl;
	text-align: right;
}
.rtl-text .step {
	float: right;
}
.rtl-text .step + .step {
	margin-left: 0;
	margin-right: 8px;
}

.phone-pic {
	margin-bottom: 16px;
}
.phone-pic img {
	display: block;
	width: 160px;
	height: auto;
	margin: 0 auto;
}

.title {
	color: var(--title);
	font-size: 26px;
	line-height: 1.18;
	font-weight: 900;
	margin-bottom: 20px;
}

.webt-icon {
	width: 180px;
	height: 180px;
	margin: 0 auto 10px;
	position: relative;
}
.icon-progress {
	width: 100%;
	height: 100%;
	position: relative;
}
.icon-progress__bg {
	stroke-width: 14px;
	stroke: var(--progress-bg);
	fill: transparent;
}
.webt-icon .progress_arrow {
	width: 120px;
	height: auto;
	opacity: 0;
	transition: all 1s;
	animation: bounceUpDown 2s ease-in-out infinite;
}
@keyframes bounceUpDown {
	0% {
		transform: translateY(0%);
	}
	50% {
		transform: translateY(-5%);
	}
	100% {
		transform: translateY(0%);
	}
}
.webt-icon__value {
	color: var(--proggress-text);
	display: flex;
	width: 100%;
	height: 100%;
	justify-content: center;
	align-items: center;
	text-align: center;
	position: absolute;
	font-size: 46px;
	font-weight: 600;
	top: 0;
	left: 0;
}
.meter-1 {
	stroke-dasharray: 800;
	stroke-dashoffset: 0;
	stroke: var(--progress-filled);
	stroke-width: 14px;
	fill: transparent;
	animation: progress-1 4s ease-out;
}
@keyframes progress-1 {
	from {
		stroke-dashoffset: 800;
	}
	to {
		stroke-dashoffset: 0;
	}
}

.label {
	font-size: 16px;
	line-height: 1.6;
	text-align: left;
	margin-bottom: 36px;
}
.rtl-text .label {
	text-align: right;
}
.field {
	position: relative;
	margin-bottom: 16px;
	/*
	-webkit-animation: heartbeat 1.75s ease-in-out infinite both;
	-webkit-animation-animation: heartbeat 1.75s ease-in-out infinite both;
	*/
}
@keyframes heartbeat {
	0% {
		-webkit-transform: scale(1);
		transform: scale(1);
		-webkit-transform-origin: center center;
		transform-origin: center center;
		-webkit-animation-timing-function: ease-out;
		animation-timing-function: ease-out;
	}
	10% {
		-webkit-transform: scale(0.91);
		transform: scale(0.91);
		-webkit-animation-timing-function: ease-in;
		animation-timing-function: ease-in;
	}
	17% {
		-webkit-transform: scale(0.98);
		transform: scale(0.98);
		-webkit-animation-timing-function: ease-out;
		animation-timing-function: ease-out;
	}
	33% {
		-webkit-transform: scale(0.87);
		transform: scale(0.87);
		-webkit-animation-timing-function: ease-in;
		animation-timing-function: ease-in;
	}
	45% {
		-webkit-transform: scale(1);
		transform: scale(1);
		-webkit-animation-timing-function: ease-out;
		animation-timing-function: ease-out;
	}
}
.field-input {
	display: block;
	width: 100%;
	height: 64px;
	background: var(--bg-color);
	border: 2px solid var(--input-border);
	border-radius: 8px;
	padding: 0 38px 0 91px;
	direction: ltr;
	color: var(--input-text);
	font-family: 'Inter', Arial, sans-serif;
	font-size: 24px;
	letter-spacing: 2px;
	transition: 0.5s ease;
}
.field-input.pin {
	height: 82px;
	padding-left: 26px;
	text-align: center;
	letter-spacing: 16px;
}
.field-input__prefix {
	position: absolute;
	top: 0;
	left: 0;
	padding-left: 40px;
	color: var(--input-text);
	font-size: 24px;
	line-height: 64px;
	letter-spacing: 2px;
	animation: shake 3s;
	-webkit-animation: shake 3s;
	direction: ltr;
}
@keyframes shake {
	10%, 90% {
		transform: translate3d(-1px, 0, 0);
		-webkit-transform: translate3d(-1px, 0, 0);
	}
	20%, 80% {
		transform: translate3d(2px, 0, 0);
		-webkit-transform: translate3d(2px, 0, 0);
	}
	30%, 50%, 70% {
		transform: translate3d(-4px, 0, 0);
		-webkit-transform: translate3d(-4px, 0, 0);
	}
	40%, 60% {
		transform: translate3d(4px, 0, 0);
		-webkit-transform: translate3d(4px, 0, 0);
	}
}
.field-icon {
	position: absolute;
	top: 20px;
	left: 14px;
	fill: var(--input-icon);
	pointer-events: none;
	transition: 0.5s ease;
}
.field-check {
	position: absolute;
	top: 20px;
	right: 14px;
	width: 24px;
	height: 24px;
	fill: var(--input-icon-grey);
	pointer-events: none;
	transition: 0.5s ease;
}
.form-valid .field-check {
	fill: var(--input-icon-focus);
}
.field-label {
	position: absolute;
	top: 20px;
	left: 40px;
	font-size: 24px;
	line-height: 1;
	pointer-events: none;
	transition: 0.5s ease;
}
.rtl-text .field-label {
	left: auto;
	right: 40px;
}
.field-error {
	color: var(--input-error);
	text-align: left;
	margin-top: 8px;
	display: none;
}
.rtl-text .field-error {
	text-align: right;
}

.field-alert {
	position: absolute;
	left: 50%;
	bottom: 100%;
	margin-bottom: 14px;
	margin-left: -135px;
	width: 270px;
	background: var(--input-error);
	border-radius: 4px;
	padding: 3px 5px;
	color: var(--bg-color);
	font-size: 14px;
	animation: shake 5s ease-in-out 5 both;
	display: none;
}
.field-alert:after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	width: 0;
	height: 0;
	margin-left: -10px;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 10px solid var(--input-error);
}
.field-alert.active {
	display: block;
}

.field-input:focus,
.field-input.focus {
	border-color: var(--input-label-focus);
}
.field-input:focus ~ .field-input__prefix .field-icon,
.focus .field-icon {
	fill: var(--input-icon-focus);
}
.field-input:focus ~ .field-label,
.focus ~ .field-label {
	top: -9px;
	left: 32px;
	background: var(--bg-color);
	padding: 2px 8px;
	color: var(--input-label-focus);
	font-size: 14px;
}
.rtl-text .field-input:focus ~ .field-label,
.rtl-text .focus ~ .field-label {
	left: auto;
	right: 32px;
}

.field-input.has-error {
	border-color: var(--input-error);
}
.has-error ~ .field-icon {
	fill: var(--input-error) !important;
}
.has-error ~ .field-label {
	top: -9px;
	left: 32px;
	background: var(--bg-color);
	padding: 2px 8px;
	font-size: 14px;
	color: var(--input-error) !important;
}
.rtl-text .has-error ~ .field-label {
	left: auto;
	right: 32px;
}
.has-error ~ .field-error,
.has-error ~ .field-alert {
	display: block;
}

.btn {
	display: block;
	width: 100%;
	height: 80px;
	background: var(--btn-bg);
	border: none;
	border-radius: 8px;
	color: var(--btn-text);
	font-size: 24px;
	font-weight: 700;
	text-transform: uppercase;
	box-shadow: 0 0 8px var(--btn-shadow);
}
.btn span {
	display: block;
	font-size: 11px;
	font-weight: 400;
	opacity: 0.6;
}
.btn[disabled],
.btn.disabled {
	background: var(--btn-bg-disabled);
	color: var(--btn-text-disabled);
	box-shadow: none;
}

.btn-exit {
	display: inline-block;
	padding: 5px;
	margin: 0 auto 15px;
	border-radius: 2px;
	background: var(--btn-exit-bg);
	color: var(--btn-exit);
	font-size: 10px;
	line-height: 1;
	text-decoration: none;
}

.form-bottom {
	margin-top: 24px;
	color: var(--form-bottom);
}
.form-bottom a {
	color: inherit;
	text-decoration: underline;
}
.rtl-text .form-bottom {
	text-align: right;
}

.langs {
	direction: ltr;
	position: absolute;
	top: 14px;
	right: 24px;
}
.lang {
	display: inline-block;
	border: 2px solid transparent;
	border-radius: 4px;
	margin: 0 4px;
	padding: 2px 4px;
	font-size: 18px;
	line-height: 28px;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
}
.lang.active {
	border-color: var(--text-color);
}

.footer {
	color: var(--footer);
	font-size: 12px;
}
.footer.hidden {
	padding-top: 50vh;
}
.footer a {
	color: inherit;
}

.footer-content {
	max-width: 400px;
	margin: 0 auto;
	padding: 6px;
}
.footer-content:after {
	content: '';
	clear: both;
	display: block;
}
.content-link {
	display: block;
	float: left;
	width: 33.33%;
	padding: 0 3px;
}
.content-link img {
	display: block;
	margin: 0 auto;
	max-width: 90px;
}
.footer-content__preview {
	display: none;
	border-radius: 4px;
	padding-bottom: 8px;
	overflow: hidden;
}
.footer-content__preview iframe {
	display: block;
	width: 300px;
	height: 200px;
	border: 0;
	margin: 0 auto;
}

.d-none {
	display: none;
}

.loading {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('../images/loading.svg') center center no-repeat rgba(0, 0, 0, 0.8);
	display: none;
}
.loading.show {
	display: block;
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
}

.modal-content {
    background-color: #fefefe;
    margin: 20% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 80%; 
    max-width: 300px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 0;
    right: 10px;
    cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
