@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
	--bg-color: #000000;
	--text-color: #ffffff;

	--lang: #fff;
	--lang-bg: rgba(255,255,255,0.2);
	--title: #ffffff;

	--form-label-bg-error: #da3411;

	--price: #ffffff;

	--footer: #ffffff;

	--modal: #ffffff;
	--modal-bg: #171717;
	--modal-link: #ffffff;

	--loading-bg: #171717;

	--form-bg: #fff;
	--form-label: #333333;
	--form-accent: #666666;

	--input-bg: #f2f2f2;
	--input-bg-invalid: #F6DBDB;
	--input-bg-invalid-focused: #F88484;
	--input-border-focus: #939393;
	--input-text: #0a0a0a;
	--input-text-disabled: #4C4C4C;

	--form-msg-error-bg: #F88484;
	--form-msg-error-text: #211212;

	--btn-bg: #E5E3E6;
	--btn-bg-hover: #adadad;
	--btn-bg-valid: #FE4D01;
	--btn-text-valid: #fff;
	--btn-bg-valid-hover: #e04909;
	--btn-text: #000000;
	--btn-text-sm: #000000;

	--c-bg: #f6f4ef;
	--c-bg-secondary: #fff;
    --c-bg-accent: #ffd966;
    --c-text: #151515;
}

@keyframes shake {
	20% {
		transform: translateX(-5px);
	}
	40% {
		transform: translateX(5px);
	}
	50% {
		transform: translateX(0);
	}
}

*,
:before,
:after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	outline: 0;
	transition: all 0.5s ease;
}

html,
body {
	min-height: 100%;
}

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

.main-bg {
	background: url('../images/bg.jpg') center center no-repeat;
	background-size: cover;
}

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

.rtl-text {
	direction: ltr;
}

.rtl-text .wrapper {
	direction: rtl;
	text-align: right;
}

.wrapper {
	width: 100%;
	height: 100%;
	display: flex;
  	flex-direction: column;
  	max-width: 400px;
	margin: 0 auto;
}

.header {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 15px;
	direction: ltr;
	width: 100%;
	position: relative;
	margin-bottom: 8px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 5px;
}
.menu {
	justify-self: start;
	width: 32px;
	height: 32px;
	background: url('../images/menu.svg') center center no-repeat;
	background-size: 28px auto;
	cursor: pointer;
}
.lang {
	justify-self: end;
	width: 56px;
	height: 28px;
	border: none;
	border-radius: 20px;
	background-color: var(--lang-bg);
	color: var(--lang);
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
}
.header .price {
	grid-column: span 3;
	margin-top: 0;
	margin-bottom: 4px;
}
.rtl-text .price {
	direction: rtl;
}
.name {
	font-size: 16px;
	font-weight: 700;
}
.logo {
	width: 120px;
	font-size: 15px;
	font-weight: bold;
}
.logo img {
	display: block;
	width: 100%;
}
.cover-hint {
	position: absolute;
	top: 100%;
	right: 0;
	left: 72px;
	margin-top: 4px;
	font-size: 12px;
	text-align: right;
}

.service-name {
	grid-column: span 3;
	text-align: center;
	font-size: 18px;
}

.hero {
	padding: 20px 15px 40px;
}

.hero-box {
	direction: ltr;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	align-items: center;
	justify-items: center;
}

.hero-item {
	background: #fff;
	border-radius: 50%;
	overflow: hidden;
}

.hero-item img {
	display: block;
	width: 100%;
}

@keyframes ring {
	20% {
		transform: rotate(10deg) scale(1.02);
	}
	40% {
		transform: rotate(-10deg) scale(1.04);
	}
	60% {
		transform: rotate(0) scale(1);
	}
}
.hero-anim {
	animation: ring 1.5s ease-in-out infinite;
}

.hero-title {
	font-size: 32px;
	text-align: center;
	margin-bottom: 16px;
}
.hero-desc {
	font-size: 12px;
	text-align: center;
}

.main {
	width: 100%;
	flex: 1;
	padding-left: 15px;
	padding-right: 15px;
	text-align: center;
}

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

.price-bot {
	color: var(--form-label);
	font-size: 14px;
	text-align: center;
	padding: 10px 0 20px;
}

.success-text {
	font-size: 32px;
	text-align: center;
	margin: 32px 0;
}

.btn-exit {
	color: var(--text-color);
	font-size: 14px;
	line-height: 1.25;
	text-align: center;
	padding: 5px 10px;
	border-radius: 20px;
	margin: 20px auto 0;
	width: max-content;
}
.btn-exit a {
	color: inherit;
}
.price-bot {
	color: var(--form-label);
	font-size: 12px;
	text-align: center;
	padding: 10px 0 20px;
}

/* ############# */
@keyframes heartbeat {
    0% {
        transform: scale(1);
        transform-origin: center center;
        animation-timing-function: ease-out;
    }

    10% {
        transform: scale(0.94);
        animation-timing-function: ease-in;
    }
    17% {
        transform: scale(0.98);
        animation-timing-function: ease-out;
    }
    33% {
        transform: scale(0.9);
        animation-timing-function: ease-in;
    }
    45% {
        transform: scale(1.04);
        animation-timing-function: ease-out;
    }
}

.popup-msisdn {
	position: fixed;
	z-index: 50;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 15px;
}
.popup-msisdn::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
}
.popup-msisdn .form {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 400px;
}

.form-price.hide-footer {
	margin-top: 50vh;
}

.form {
	background: var(--form-bg);
	border-radius: 20px;
	margin-bottom: 20px;
	position: relative;
	overflow: hidden;
	padding: 32px 16px;
}

.form-label {
	text-align: left;
	color: var(--form-label);
	font-size: 22px;
	font-weight: bold;
	line-height: 1.2;
	margin-bottom: 16px;
}

.form-pin img {
	display: inline-block;
	width: 14px;
	height: 14px;
}

.form-pin {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	font-size: 16px;
	margin-bottom: 16px;
	color: var(--form-label);
	gap: 8px;
}

.form-desc {
	text-align: left;
	font-size: 16px;
	color: var(--form-accent);
	margin-bottom: 16px;
}

.form-note {
	text-align: center;
	margin-top: 24px;
	font-size: 16px;
	color: var(--form-accent);
}
.form-note a {
	color: var(--btn-bg-valid);
	text-decoration: none;
}

.field-group {
	display: flex;
	flex-direction: row;
	align-items: center;
	position: relative;
	direction: ltr;
	width: 100%;
	margin: 0 auto 20px;
}
.field-group::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 5px;
	transform: translateY(-50%);
	display: block;
	width: 45px;
	height: 45px;
	background: url(../images/flag.png?v2);
	background-repeat: no-repeat;
	background-size: contain;
	z-index: 1;
}
.field-group:after {
	position: absolute;
	top: 0;
	right: 16px;
	bottom: 0;
	width: 32px;
	background-position: center center;
	background-repeat: no-repeat;
}
.is-valid .field-group:after {
	content: '';
	background-image: url('../images/ok-icon.svg')
}
.is-invalid .field-group:after {
	content: '';
	background-image: url('../images/error-icon.svg')
}
.field-group.group-auto {
	max-width: 376px;
	margin-left: auto;
	margin-right: auto;
	justify-content: center;
}
.field-group.group-auto:after {
	content: none;
}
.field-group.group-auto::before {
	content: none;
}

.input {
	flex: 1;
	width: 100%;
	height: 60px;
	text-align: center;
	background: var(--input-bg);
	border: 1px solid var(--input-border-focus);
	border-radius: 12px;
	padding: 0 8px;
	color: var(--input-text);
	font-size: 18px;
	line-height: 1;
	letter-spacing: 4px;
}

.input:focus,
.input.focused {
	border-color: var(--input-border-focus);
}

.form-msg-error {
	display: none;
	background: var(--form-msg-error-bg);
	border-radius: 4px;
	padding: 8px;
	margin: 10px 0;
	color: var(--form-msg-error-text);
	font-size: 18px;
	line-height: 1.25;
	font-weight: 500;
	text-align: center;
}
.is-invalid .form-msg-error {
	display: block;
}
.group-auto + .form-msg-error {
	max-width: 368px;
	margin-left: auto;
	margin-right: auto;
}

.btn {
	cursor: pointer;
	display: block;
	width: 100%;
	height: 60px;
	background: var(--btn-bg-valid);
	border: none;
	border-radius: 12px;
	color: var(--btn-text-valid);
	font-size: 20px;
	line-height: 1.25;
	font-weight: 600;
	text-transform: uppercase;
	transition: background-color 0.2s ease-out, opacity 0.2s ease-out;
}
.btn span {
	display: block;
	color: var(--btn-text-sm);
	font-size: 14px;
	line-height: 1.25;
	font-weight: 500;
	text-transform: none;
}
.btn:hover {
	background-color: var(--btn-bg-valid-hover);
}

/* .is-valid .btn {
	color: var(--btn-text-valid);
	background-color: var(--btn-bg-valid);
}
.is-valid .btn:hover {
	background-color: var(--btn-bg-valid-hover);
} */

/* ############# */

.price {
	margin-top: 12px;
	color: var(--price);
	font-size: 14px;
	transition: none;
}
.price.hide {
	margin-top: 50vh;
}

.footer {
	width: 100%;
	flex: 0;
	padding: 15px 15px 20px;
	color: var(--footer);
	font-size: 14px;
	text-align: center;
}
.rtl-text .footer {
	text-align: right;
}
.footer a {
	color: inherit;
	text-decoration: underline;
}

.modal-nav {
	position: fixed;
	z-index: 100;
	top: 0;
	left: -200%;
	width: 100%;
	bottom: 0;
	padding: 50px 25px 25px;
	text-align: center;
	background: var(--modal-bg);
	color: var(--modal);
	font-size: 24px;
	line-height: 2;
	transition: all 0.5s ease;
}
.modal-nav.open {
	left: 0;
}
.modal-close {
	position: absolute;
	top: 25px;
	right: 25px;
	font-size: 32px;
	cursor: pointer;
}
.modal-link {
	color: var(--modal-link);
	font-weight: 600;
	text-decoration: underline;
}

.loading {
	position: fixed;
	z-index: 200;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--loading-bg);
	display: none;
}
.loading:after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -80px;
	margin-left: -80px;
	width: 160px;
	height: 160px;
	background: url('../images/loading-icon.svg') no-repeat;
	background-size: 100% 100%;
	-webkit-animation: rotation 1s linear infinite;
	        animation: rotation 1s linear infinite;
}
.loading.active {
	display: block;
}

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

.d-none {
	display: none;
}

/* ###### */
.content {
	color: var(--c-text);
	background-color: var(--c-bg);
}
.container {
    max-width: 1200px;
    padding: 0 16px;
    margin: 0 auto;
	color: var(--c-texts);
}
.method {
    background-color: var(--c-bg-accent);
}
.method .container {
    padding: 64px 16px;
}
.method-title {
    font-size: 48px;
    text-align: center;
    max-width: 400px;
    margin: 0 auto 24px;
}
.method-desc {
    text-align: center;
    max-width: 500px;
    margin: 0 auto 32px;
}
.method-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    justify-items: center;
}
.method-item {
    max-width: 320px;
    display: grid;
    gap: 16px;
    justify-items: center;
    text-align: center;
}
.method-item img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.method-item h3 {
    font-size: 24px;
}
@media (max-width: 768px) {
    .method-title {
        font-size: 32px;
    }
    .method-box {
        grid-template-columns: 1fr;
    }
    .method-item {
        gap: 8px;
    }
}
/* ###### */
.faq {
	background-color: var(--c-bg);
}
.faq .container {
    padding: 64px 16px;
    max-width: 800px;
}
.faq-title {
    font-size: 48px;
    margin-bottom: 24px;
    text-align: center;
}
.faq-box {
    max-width: 600px;
    margin: 0 auto;
}
.faq-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.2s ease-in-out;
}
.active + .faq-wrap {
    grid-template-rows: 1fr;
}
.faq-wrap > div {
    overflow: hidden;
}
.faq-item {
    margin-top: 16px;
    border-radius: 8px;
    background-color: var(--c-bg-secondary);
}
.faq-item h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    font-size: 20px;
    font-family: "Inter", sans-serif;
    cursor: pointer;
}
.faq-item h3 img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.faq-item h3.active img {
    transform: rotate(180deg);
}
.faq-item p {
    padding: 16px;
    font-size: 16px;
}
/* ###### */
.more-info .container {
    padding: 120px 16px 64px;
}
.more-info-title {
    font-size: 48px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.more-info-item {
    margin-top: 48px;
    display: grid;
    justify-items: center;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}
.more-info-item img {
    display: block;
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
}
.more-info-info {
    max-width: 330px;
}
.more-info-info h2 {
    font-size: 38px;
    margin-bottom: 24px;
}
.more-info-info p {
    font-size: 18px;
}
@media (max-width: 768px) {
    .more-info-title {
        font-size: 32px;
    }
    .more-info-item {
        margin-top: 24px;
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .more-info-item h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }
    .more-info-item p {
        font-size: 16px;
    }
    .more-info-item-2 img {
        grid-row: 1;
    }
}
/* ###### */
.bottom .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px;
	background-color: var(--bg-color);
	color: var(--text-color);
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.bottom ul {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 16px;
}
.bottom a {
	color: inherit;
	text-decoration: none;
	&:hover {
		text-decoration: underline;
	}
}
@media (max-width: 768px) {
	.bottom .container {
		flex-direction: column;
	}
	.bottom ul {
		flex-direction: column;
	}
}
/* ###### */