@import url("./reset.css");
@import url("./fonts.css");

* {
	box-sizing: border-box;
	color: #fff;
	font-family: "Fira Sans Condensed", sans-serif;
	letter-spacing: -0.02em;
}

body {
	background-color: #000;
	font-family: "Fira Sans Condensed", sans-serif;
}

a {
	color: #ffffff;
}

.main {
	display: flex;
	flex-direction: column;
	gap: 80px;
}

.info__block img {
	width: 42px;
	height: 42px;
	object-fit: contain;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}


.center__section {
	display: flex;
	flex-direction: column;
	gap: 80px;
}

.mobile__section {
	display: none;
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(14, 14, 20, 0.95);
  padding: 20px 60px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
  backdrop-filter: blur(6px);
}

.header.scrolled {
  background-color: rgba(14, 14, 20, 0.9);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

.header__container {
  max-width: 1600px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__item a {
  font-size: 22px;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav__item a:hover {
  color: #E01D1C;
}

.nav__item.active a {
  color: #E01D1C;
}


.header__buttons {
	display: flex;
	align-items: center;
	gap: 20px;
}

.header__logo {
	max-width: 200px;
}

.header__logo-link img{
	display: block;
	width: 100%;
}

.btn {
	font-size: 22px;
	font-weight: 600;
	color: #fff;
	text-transform: uppercase;
	padding: 17px 37px;
	border-radius: 24px;
}

.btn--secondary {
	border: 1px solid #E01D1C;
}

.btn--primary {
	background-color: #D21502;
	-webkit-box-shadow: 0px 4px 0px 0px #9B0E00; 
box-shadow: 0px 4px 0px 0px #9B0E00;
}

.btn--download {
	border: 1px solid greenyellow;
	padding: 8px 5px 8px 8px;
	border-radius: 20px;
}

.btn--download img {
  max-width: 40px;
  margin-right: 5px;

  animation: download-pulse .8s ease-in-out infinite;
  transform-origin: center;
}

@keyframes download-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}



/* HERO SECTION */

.hero {
	height: 450px;
}

.hero__container {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
	padding: 0 60px;
}

.hero__content {
	max-width: 1600px;
	width: 100%;
	margin: 0 auto;
}

.hero__image {
	position: absolute;
	width: 1209px;
	top: 0;
	right: 0;
	z-index: -1;
}

.hero__image .hero__img {
	width: 100%;
}

.hero__img--mobile {
	display: none;
	width: 100%;
}

.hero__title {
	font-size: 44px;
	margin-bottom: 48px;
	font-weight: 800;
	text-transform: uppercase;
	max-width: 835px;
}
.hero__container .btn {
}



/* INFO */

.info {
	margin: 0 auto;
}

.info__section {
	padding: 40px 14px 30px 14px;
	background-color: #0E0E14;
	border-radius: 24px;
	max-width: 1600px;
	margin: 0 60px;
}

.info__container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, auto);
	gap: 45px 15px;
}

.info__block {
	display: flex;
	gap: 15px;
	align-items: start;
}

.info__block .info__text {
	letter-spacing: 0.02em;
}

.info__title, .info__subtitle {
	font-size: 26px;
	font-weight: 600;
	line-height: 100%;
	margin-bottom: 10px;
	line-height: 120%;
}

.info__text {
	font-size: 22px;
	line-height: 120%;
	color: #CCCCCC;
	font-weight: 300;
}

.strong {
	color: #E01D1C;
	text-transform: uppercase;
	font-weight: 600;
}

.info__button {
	margin: 65px auto 30px auto;
	width: fit-content;
}


/* WHY */

.why {
	margin: 0 60px;
}

.section__container {
	max-width: 1600px;
}

.section__title {
	font-size: 44px;
	text-transform: uppercase;
	font-weight: 800;
	text-align: center;
	margin-bottom: 30px;
}

.why__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, auto);
	gap: 35px;
	margin: 0 auto;
}

.why .info__block {
	display: flex;
	flex-direction: column;
	gap: 5px;
	background-color: #0E0E14;
	padding: 12px 12px 12px 12px;
	max-width: 360px;
	border-radius: 24px;
}

.why .info__title, .why .info__subtitle {
	color: #E01D1C;
}



/* FAQ */

.faq {
	max-width: 1348px;
	margin: 0 auto;
	padding: 0 40px;
	width: 100%;
}

.faq * {
	letter-spacing: 0.02em;
	line-height: 130%;
}

.section__container {
	margin: 0 auto;
}

.faq__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.faq__item {
	background-color: #0E0E14;
	border-radius: 24px;
	padding: 40px 30px 30px 30px;
	position: relative;
	cursor: pointer;
}

.faq__item img {
	rotate: 180deg;
}

.faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	text-align: start;
}

.faq__answer {
	display: grid;
      grid-template-rows: 0fr;
      overflow: hidden;
      transition: 0.3s ease-in-out;
}

.faq__answer .info__text {
	min-height: 0;
}

.faq__item.active .faq__answer {
	  grid-template-rows: 1fr;
}

.faq__item.active img {
	rotate: 0deg;
	transition: 0.3s ease-in-out;
}

.faq__item.active .faq__answer .info__text {
	padding-top: 20px;
	border-top: 1px solid #ffffff0f;
}

/* Advantages */

.advantages {
	padding: 0 60px;
	position: relative;
}

.advantages .section__container {
	max-width: 1228px;
	display: flex;
	flex-direction: column;
	gap: 100px;
}

.advantages__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, auto);
	gap: 20px;
}

.advantages__grid .info__block {
	display: flex;
	gap: 15px;
	background-color: #0E0E14;
	padding: 20px;
	max-width: 388px;
	border-radius: 24px;
	margin: 0;
}

.advantages__details {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.advantages__details .info__block {
	flex-direction: column;
	background-color: #0E0E14;
	padding: 25px;
	border-radius: 24px;
	margin: 0;
	gap: 10px;
}

.main .info__block--highlight {
	align-items: center;
	gap: 20px;
}

.info__block--highlight h3{
	text-transform: uppercase;
	text-align: center;
}

.img__background {
	position: absolute;
	z-index: -1;
	right: 0;
	top: 50%;
}
.img__background img{
	width: 100%;
}



/* FOOTER */

.footer {
	padding: 0 60px 60px 60px;
}

.footer__container {
	display: flex;
	flex-direction: column;
	gap: 50px;
}

.footer__top {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(1, auto);
	gap: 20px;
}

.footer__block {
	background-color: #0E0E14;
	padding: 15px;
	border-radius: 24px;
	max-width: 360px;
	flex-direction: column;
	align-items: center;
}

.footer__bottom .info__block {
	flex-direction: column;
	background-color: #0E0E14;
	padding: 25px;
	border-radius: 24px;
}

.footer .info__text {
	text-align: center;
}




/* MEDIA QUERIES */

@media (max-width: 1380px) {
  .info__section, .why, .section__faq{
	margin: 0 40px;
  }
   .advantages {
	padding: 0 40px;
   }
   .footer {
	padding: 0 40px 40px 40px;
   }
   .main, .center__section, .advantages .section__container {
	gap: 70px;
   }
   .info__title, .info__subtitle {
	font-size: 24px;
   }
   .info__text {
	font-size: 20px;
   }
   .hero__title {
	font-size: 36px;
   }
   .btn, .btn--primary, .btn--secondary {
	font-size: 20px;
	padding: 15px 30px;
   }
   .section__title {
	font-size: 36px;
   }
   .nav__item a {
	font-size: 20px;
   }
   .btn--download {
	padding: 8px 5px 8px 8px;
	}

	.btn--download img {
	max-width: 35px;
	height: auto;
	}

}

@media (max-width: 1160px) {
.header__logo {
	max-width: 150px;
}
  .info__section, .why, .section__faq {
	margin: 0 30px;
  }
   .advantages {
	padding: 0 30px;
   }
   .footer {
	padding: 0 30px 30px 30px;
   }
   .main, .center__section, .advantages .section__container {
	gap: 60px;
   }
   .info__title, .info__subtitle {
	font-size: 23px;
   }
   .info__text {
	font-size: 19px;
   }
   .hero__title {
	font-size: 32px;
   }
   .btn, .btn--primary, .btn--secondary {
	font-size: 19px;
	padding: 14px 28px;
   }
   .section__title {
	font-size: 32px;
   }
   .nav__item a {
	font-size: 19px;
   }
   .why__grid {
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
   }
    .btn--download {
	padding: 7px 4px 7px 7px;
	}

	.btn--download img {
	max-width: 32px;
	height: auto;
	}
}

@media (max-width: 980px) {
  .info__section, .why, .section__faq {
	margin: 0 20px;
  }
   .advantages {
	padding: 0 20px;
   }
   .footer {
	padding: 0 20px 20px 30px;
   }
   .main, .center__section, .advantages .section__container {
	gap: 55px;
   }
   .info__title, .info__subtitle {
	font-size: 22px;
   }
   .info__text {
	font-size: 18px;
   }
   .hero__title {
	font-size: 30px;
   }
   .btn, .btn--primary, .btn--secondary {
	font-size: 18px;
	padding: 13px 26px;
   }
   .section__title {
	font-size: 30px;
   }
   .nav__item a {
	font-size: 19px;
   }
   .why__grid {
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
   }
   .header__nav {
	display: none;
   }
   .header__buttons {
	gap: 10px;
   }
}

@media (max-width: 768px) {
	.header__logo {
		max-width: 120px;
	}
  .header {
	padding: 20px 30px;
	margin-bottom: 40px;
  }
  .hero {
	height: auto;
  }
  .hero__container {
	padding: 0;
  }
  .hero__image {
	position: static;
	width: 100%;
	object-fit: contain;
  }
  .info__section, .why, .section__faq {
	margin: 0 20px;
  }
   .advantages {
	padding: 0 20px;
   }
   .center__section, .advantages .section__container {
	gap: 50px;
   }
   .main {
	gap: 0px;
   }
   .info__container {
	grid-template-columns: 1fr;
	grid-template-rows: repeat(4, auto);
   }
   .info__block {
	max-width: none;
   }
   .info__title, .info__subtitle {
	font-size: 22px;
   }
   .info__text {
	font-size: 18px;
   }
   .hero__title {
	font-size: 28px;
	max-width: none;
	margin-bottom: 0;
   }
   .hero__button {
	transform: translateY(35px);
   }
   .btn, .btn--primary, .btn--secondary {
	font-size: 18px;
	padding: 12px 25px;
   }
   .section__title {
	font-size: 28px;
   }
   .nav__item a {
	font-size: 18px;
   }
   .why__grid {
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
   }
   .why .info__block {
	max-width: none;
   }
   .faq {
	padding: 0 20px;
   }
   .faq .section__container {
	margin-bottom: 30px;
   }
   .faq__item {
	padding: 30px 40px 30px 15px;
   }
   .faq__item img {

   }
   .advantages .section__container {
	gap: 70px;
   }
   .advantages__grid {
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
   }
   .advantages__grid .info__block {
	max-width: none;
   }
   .hero__img {
	display: none;
}
   .hero__img--mobile {
	display: block;}
	.hero__title {
		text-align: center;
		padding: 0 20px;
	}
   .hero__button {
	margin: 0 auto;
	display: block;
	width: fit-content;
   }
   .footer__top {
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
   }
   .header__logo {
	max-width: 100px;
   }
   .advantages__grid {
	grid-template-columns: 1fr;
	margin-bottom: 20px;
   }
   .info .info__block {
	flex-direction: column;
	align-items: center;
   }
   .advantages__details {
	gap: 5px;
   }
   .center__section {
	flex-direction: column-reverse;
   }
   .info .info__button {
	display: none;
   }
   .mobile__section {
	display: block;
   }
   .advantages__details .info__block {
	padding: 30px;
   }
   .info__block {
	border-bottom: 1px solid #ffffff0f;
	padding-bottom: 15px;
   }
   .info__section {
	padding-bottom: 0;
   }
   .info__container {
	gap: 20px;
   }
   .info__title, .info__subtitle {
	letter-spacing: 0.02em;
   }
}


@media (max-width: 580px) {
	.btn--download {
	padding: 7px 4px 7px 7px;
	border-radius: 17px;
	}

	.btn--download img {
	max-width: 26px;
	height: auto;
	}
  .info__section, .why, .section__faq {
	margin: 0;
	border-radius: 0;
  }
  .why, .section__faq {
	margin: 0 10px;
  }
   .advantages {
	padding: 0;
   }
   .footer {
	padding: 0 10px 60px 10px;
   }
   .center__section, .advantages .section__container {
	gap: 40px;
   }
   .info__title, .info__subtitle {
	font-size: 20px;
   }
   .info__text {
	font-size: 16px;
   }
   .hero__title {
	font-size: 24px;
   }
   .btn, .btn--primary, .btn--secondary {
	font-size: 16px;
	padding: 10px 20px;
   }
   .section__title {
	font-size: 24px;
   }
   .nav__item a {
	font-size: 16px;
   }
   .why__grid {
	gap: 15px;
   }
   .faq__item {
	padding: 20px 20px 10px 20px;
   }
   .faq__item img {
	width: 20px;
	height: 20px;
   }
   .advantages .section__container {
	gap: 50px;
   }
   .header__logo {
	max-width: 70px;
   }
   .header {
	padding: 15px 15px;
   }
   .info, .advantages {
	margin-bottom: 40px;
   }
   .why {
	margin-bottom: 60px;
   }
   .faq {
	margin-bottom: 15px;
   }
   .advantages__grid {
padding: 0 15px;   
}
.advantages .section__title {
	padding: 0 15px;
}
.faq {
	padding: 0 15px;
}
.info__block img {
	width: 36px;
	height: 36px;}
	.img__background {
		display: none;
	}
}

@media (max-width: 440px) {
	.btn--download img {
	max-width: 22px;
	height: auto;
	}
	.btn--download {
	border: 1px solid greenyellow;
	padding: 7px 3px 7px 7px;
	border-radius: 17px;
	}
   .hero__title {
	padding: 0;
	font-size: 22px;
   }
   .btn, .btn--primary, .btn--secondary {
	font-size: 12px;
	padding: 12px 10px;
   }
   .section__title {
	font-size: 22px;
   }
   .info__title, .info__subtitle {
	font-size: 18px;
   }
   .info__text {
	font-size: 16px;
   }
   .faq__item {
	padding: 20px 20px 10px 20px;
   }
   .faq__item img {
	width: 16px;
	height: 16px;
   }
   .info__block img {
	width: 32px;
	height: 32px;}
}