@import url("../reset.css");
@import url("../shared.css");

@import url("../footer.css");
@import url("../header.css");

.app-hero {
	background: linear-gradient(
		153.73deg,
		rgba(20, 40, 74, 0.99) 16.52%,
		rgba(11, 27, 51, 0.99) 79.59%
	);
	/* border-radius: 0 0 0 20px; */
	/* position: relative; */
	/* z-index: 2; */
}

.app-hero-box {
	padding-top: 120px;
	min-height: 600px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	transform: translateY(10px);
	padding-left: calc((100vw - var(--app-container-width)) / 2);
}

[dir="rtl"] .app-hero-box {
	padding-right: calc((100vw - var(--app-container-width)) / 2);
	padding-left: 0;
}

.app-hero-body {
	display: flex;
	justify-content: space-between;
}

.app-hero-body__info {
	width: 30%;
}

.app-hero-body__img-box {
	width: 55%;
	position: relative;
	z-index: 2;
	text-align: right;
}

.app-hero-body__img-box::after {
	content: "";
	position: absolute;
	background: #9DB8DE;
	padding: 20px;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	border-radius: 200px 0 0 0;
	z-index: -1;
}

[dir="rtl"] .app-hero-body__img-box::after {
	border-radius: 0 200px 0 0;
}

.app-hero-title {
	font-weight: 500;
	font-style: Medium;
	font-size: 50px;
	color: #fff;
	margin-bottom: 30px;
}

.app-hero-sub-title {
	font-size: 25px;
	color: #fff;
	margin-bottom: 30px;
	margin-bottom: 30px;
}

.app-hero-img {
	text-align: right;
}

.app-hero-footer {
	display: flex;
	justify-content: flex-end;
	width: 65%;
	align-items: center;
	background: #7FA0D1;
	margin-left: auto;
	border-radius: 55px 0 0 55px;
	padding: 11px 10px 10px 80px;
}

[dir="rtl"] .app-hero-footer {
    border-radius: 0 55px 55px 0;
    margin-right: auto;
    margin-left: unset;
}

.app-hero-footer__text {
	font-size: 20px;
	color: #fff;
	margin-right: 20px;
}

.app-hero-footer__btn-box {
	display: flex;
	flex-direction: row;
	gap: 50px;
}

.app-about {
	padding: 45px 0 100px;
	background: linear-gradient(
		333.73deg,
		rgba(20, 40, 74, 0.99) 16.52%,
		rgba(11, 27, 51, 0.99) 79.59%
	);
	/* transform: translateY(-30px); */
}

.app-about-link-box {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
}

.app-about-link {
	border-radius: 14px;
	background: #24406B;
	font-family: Rubik;
	font-size: 20px;
	padding: 12px 10px;
	border: 0.5px solid transparent;
	margin-bottom: 55px;
	min-width: 350px;
}

.app-about-link.app-about-link--active {
	border-color: #071a48;
	background: #fff;
	color: #333;
}

.app-about-text {
	margin-bottom: 85px;
	text-align: center;
}

.app-about-title {
	font-size: 30px;
	color: #fff;
	margin-bottom: 35px;
}

.app-about-sub-sub-title {
	font-size: 21px;
	color: #fff;
}

.app-about-cards {
	display: flex;
	flex-wrap: nowrap;
	gap: 20px;
}

.app-about-card {
	flex: 1;
	background: #9DB8DE;
	padding: 22px 10px 10px;
	border-radius: 15px;
	box-shadow: 0px 1.85px 3.15px 0px #00000004, 0px 8.15px 6.52px 0px #00000007,
		0px 20px 13px 0px #00000009, 0px 38.52px 25.48px 0px #0000000b,
		0px 64.81px 46.85px 0px #0000000e, 0px 100px 80px 0px #00000012;
}

.app-about-card__img {
	margin-bottom: 30px;
	max-height: 105px;
}

.app-about-card__title {
	font-weight: 700;
	font-style: Bold;
	font-size: 20px;
	color: #fff;
	margin-bottom: 4px;
}

.app-about-card__text {
	font-size: 20px;
	color: #fff;
}

.app-privacy {
	background: #24406B;
	padding: 30px 0;
	color: #fff;
	text-align: center;
}

.app-privacy__titile {
	font-size: 30px;
	margin-bottom: 38px;
}

.app-privacy__sub-titile {
	font-size: 21px;
	max-width: 80%;
	font-weight: 300;
	margin: 0 auto;
}

.app-how {
	padding: 145px 0 125px;
	background: linear-gradient(
		119deg,
		rgb(11 27 51) 3%,
		rgb(20 40 74) 50%
	);
}

.app-how-info {
	display: flex;
	gap: 100px;
	justify-content: space-between;
	margin-bottom: 260px;
}

.app-how-info__list {
	flex: 1;
}

.app-how-info__img-box {
	flex: 1;
}

.app-how-info-title {
	font-size: 30px;
	color: #fff;
	margin-bottom: 55px;
}

[dir="rtl"] .app-how-info-title {
    text-align: right;
}

.app-how-info-title--info {
	font-weight: 700;
	font-style: Bold;
	color: #F4B740;
}

.app-how-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.app-how-list__item {
	gap: 18px;
	display: flex;
	align-items: center;
	color: #fff;
}

.app-how-list__item-number {
	width: 59px;
	height: 59px;
	min-width: 59px;
	border-radius: 50%;
	background: #24406B;
	display: flex;
	align-items: center;
	justify-content: center;

	font-size: 30px;
	color: #fff;
}

.app-how-list__item-text {
	font-size: 21px;
}

[dir="rtl"] .app-how-list__item-text,
[dir="rtl"] .app-hero-title,
[dir="rtl"] .app-about-card__title,
[dir="rtl"] .app-about-card__text,
[dir="rtl"] .app-hero-sub-title {
    text-align: right;
}

[dir="rtl"] .app-hero-footer__text {
    text-align: right;
    margin-left: 20px;
    margin-right: 0;
}

.app-how-title {
	text-align: center;
	font-size: 48px;
	color: #fff;
	margin-bottom: 95px;
}

.app-how-title--info {
	font-weight: 700;
	font-style: Bold;
	color: #F4B740;
}

.app-how-cards {
	margin-bottom: 150px;
	display: flex;
	flex-direction: column;
	gap: 50px;
}

.app-how-cards__row {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	gap: 60px;
	align-items: flex-end;
}

.app-how-cards__row:last-child {
	gap: 30px;
	justify-content: flex-start;
}

.app-how-card {
	border-radius: 15px;
	background: #7FA0D1;
	padding: 9px 20px 9px 17px;
	display: flex;
	flex-direction: row;
	box-shadow: 0px 1.85px 3.15px 0px #00000004, 0px 8.15px 6.52px 0px #00000007,
		0px 20px 13px 0px #00000009, 0px 38.52px 25.48px 0px #0000000b,
		0px 64.81px 46.85px 0px #0000000e, 0px 100px 80px 0px #00000012;
	width: 45%;
}

.app-how-card:last-child {
	margin-bottom: 30px;
}

.app-how-card__img-box {
	width: 64px;
	min-width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 21px;
}

.app-how-card__img {
}

.app-how-card__text {
	font-family: Rubik;
	font-size: 20px;
	color: #fff;
}

.app-how-btn-box {
	text-align: center;
}

@media (max-width: 1200px) {
	.app-hero-box {
		padding-left: 15px;
		padding-top: 120px;
	}

    [dir="rtl"] .app-hero-box {
        padding-left: 0;
        padding-right: 15px;
    }

	.app-hero-body__info {
		width: 40%;
	}

	.app-hero-title {
		font-size: 30px;
	}

	.app-hero-sub-title {
		font-size: 18px;
	}

	.app-hero-footer {
		width: 100%;
	}

	.app-hero-footer__text {
		font-size: 16px;
	}

	.app-hero-footer__btn-box {
		gap: 30px;
	}

	.app-about-title,
	.app-privacy__titile {
		font-size: 24px;
	}

	.app-privacy__sub-titile,
	.app-about-sub-sub-title {
		font-size: 18px;
	}

	.app-about-card__text,
	.app-about-card__title {
		font-size: 18px;
	}

	.app-how-info {
		margin-bottom: 100px;
	}

	.app-how-title {
		font-size: 30px;
	}

	.app-how-card__text {
		font-size: 16px;
	}
}

@media (max-width: 768px) {
	.app-hero-body {
		flex-direction: column;
	}

	.app-hero-body__info {
		text-align: center;
		width: 100%;
		margin-bottom: 20px;
	}

	.app-hero-footer {
		width: 100%;
		z-index: 10;
		transform: translateY(-50%);
		padding: 11px 10px 10px 40px;
	}

	.app-hero-body__img-box {
		width: 100%;
        /*margin-bottom: 50px;*/
	}

	.app-hero-footer__text {
		font-size: 14px;
	}

	.app-hero-footer__btn-box {
		flex-direction: column;
		gap: 15px;
	}

	.app-about-link-box {
		flex-direction: column;
		gap: 0;
	}

	.app-about-link {
		margin-bottom: 30px;
		font-size: 14px;
		min-width: 250px;
	}

	.app-about-cards {
		flex-wrap: wrap;
	}

	.app-about-card {
		width: calc(50% - 10px);
		flex: auto;
		text-align: center;
	}

	.app-how {
		padding: 45px 0 45px;
	}

	.app-how-info {
		flex-direction: column;
	}

	.app-how-list__item-number {
		width: 39px;
		height: 39px;
		min-width: 39px;
		font-size: 20px;
	}

	.app-how-list__item-text {
		font-size: 16px;
	}

	.app-how-cards {
		gap: 30px;
		margin-bottom: 50px;
	}

	.app-how-cards__row {
		flex-direction: column;
		gap: 30px;
	}

	.app-how-card:last-child {
		margin-bottom: 0;
	}

	.app-how-card {
		width: 100%;
	}

	.app-how-title {
		margin-bottom: 40px;
	}
}

@media (max-width: 400px) {
	.app-about-card {
		width: 100%;
	}

	.app-hero-footer {
		padding: 10px 10px 10px 15px;
	}

	.app-hero-footer__text {
		margin-right: 10px;
	}

	.app-store-link {
		min-width: 180px;
	}

	.app-store-link__name {
		font-size: 12px;
	}
}




/*Новый функционал*/

.app-hero-search{
  margin-top:-80px;
  text-align:center;
}

.app-hero-search-box{
  background:#fff;
  border-radius:18px;
  padding:20px;
  max-width:720px;
  margin:auto;
  box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

.app-search-row{
  display:flex;
  gap:14px;
}

.app-search-row.bottom{
  margin-top:10px;
}

.app-search-field{
  flex:1;
  display:flex;
  align-items:center;
  background:#f7f7f7;
  border-radius:12px;
  padding:12px;
}

.app-search-field select{
  border:none;
  background:transparent;
  width:100%;
  font-size:15px;
  outline:none;
}

.app-search-icon{
  margin-right:10px;
}

.app-search-arrow{
  color:#888;
}

.app-search-btn {
	color: black;
	background: #F4B740;
	border: none;
	padding: 14px 26px;
	border-radius: 12px;
	font-weight: 600;
	cursor: pointer;
}

.app-hero-benefits {
	color: white;
	margin-top: 30px;
}

.app-hero-benefit{
  font-size:18px;
  margin:8px 0;
}

.app-hero-benefit .check{
  color:#19c37d;
  margin-right:8px;
}

.app-popular-title{
  margin-top:30px;
  font-size:22px;
}

.app-category-card {
	background: rgba(255, 255, 255, 0.2);
	padding: 16px;
	border-radius: 20px;
	text-align: center;
	backdrop-filter: blur(10px);
	min-width: 0;
	color: white;
}

.app-category-card img{
  width:clamp(28px,5vw,50px);
  margin-bottom:8px;
}

.app-category-card span{
  display:block;
  font-weight:500;
}

.app-popular-grid{
	padding:0 40px 20px 40px;
	display:grid;
	grid-template-columns:repeat(auto-fit, minmax(120px,1fr));
	gap:20px;
	margin-top:20px;
}

.app-hero-box .app-hero-search-box {
	width: 100%;
	margin-bottom: 20px;
}

/* phone */
@media (max-width: 640px){

  .app-search-row{
    flex-direction:column;
  }

  .app-search-btn{
    width:100%;
  }

  .app-hero-search-box{
    padding:16px;
  }
}

.app-category-card{
  padding:20px;
}
@media (max-width: 768px) {
	.app-hero-search-box {
		margin: 0 40px 0 40px;
	}
	.app-hero-box .app-hero-search-box {
		width: auto;
	}
}

@media (max-width: 860px) {
	.app-popular-grid {
		gap: 10px !important;
		padding: 0 20px 20px 20px; !important;
	}
}

@media (max-width: 1010px) {
	.app-popular-grid {
		gap: 20px
	}
}