.container {
    max-width: 1608px;
    margin: 0 auto;
}

h1 {
    font-size: 72px;
    font-weight: bold;
}

p {
    font-size: 24px;
}

body {
    background-color: #0a0b0d;
    color: #fff;
}

header {
    margin: 56px auto 242px;
}

footer .top, header .top {
    display: flex;
    gap: 16px;
    align-items: center;
}
header .top {
    margin-bottom: 290px;
}

header .bottom {
    display: flex;
    position: relative;
    margin-bottom: 333px;
}

header .bottom h1 {
    max-width: 800px;
    margin-bottom: 40px;
}

header .bottom p {
    max-width: 800px;
}

header .bottom .headerBottomImg {
    position: absolute;
    right: -566px;
    top: -205px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.mobileBtn {
    display: none !important;
}


.downloadBtns {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 180px;
}

.downloadBtns button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 320px;
    height: 64px;
    border-radius: 16px;
    background-color: #AA80EC;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.controlAll, .improvingCosts, .aplicationSettings {
    background: url(img/substrate.png) no-repeat center center;
    display: none;
    gap: 40px;
    align-items: center;
    width: 1600px;
    height: 838px;
    position: relative;
}

.controlAll.active, .improvingCosts.active, .aplicationSettings.active {
    display: flex;
}

.improvingCosts {
    justify-content: space-between;
    padding-left: 80px;
}

.controlAllImg, .aplicationSettingsImg, .improvingCostsImg {
    width: 50%;
    height: 100%;
    background: url(img/controlAllImg.png) no-repeat center center;
    background-size: calc(501px * 2.6) calc(293px * 2.6);
    background-position: -257px 86px;
}

.improvingCostsImg {
    background: url(img/icons/improvingCosts.svg) no-repeat center center;
    background-size: calc(501px * 2.6) calc(293px * 2.6);
    background-position: -257px 86px;
}

.aplicationSettingsImg {
    background: url(img/icons/aplicationSettings.svg) no-repeat center center;
    background-size: calc(501px * 2.6) calc(293px * 2.6);
    background-position: -257px 86px;
}

.controlAll h1, .aplicationSettings h1, .improvingCosts h1 {
    max-width: 430px;
    margin-bottom: 40px;
}

.improvingCosts h1 {
    max-width: 610px;
}

.controlAll p {
    max-width: 450px;
}

.improvingCosts p {
    max-width: 500px;
}

.aplicationSettings p {
    max-width: 480px;
}

.pagination-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 32px 0 170px 0;
}

.dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #2C2D31;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.dot.active {
    background: #AA80EC;
}

.aboutUs {
    text-align: center;
    margin-bottom: 80px;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 240px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: #7272724D;
    border-radius: 32px;
    transition: box-shadow 0.3s, transform 0.3s;
}

.feature-card:hover {
    box-shadow: 0 0 32px 0 #AA80EC80, 0 4px 32px 0 #0004;
    transform: translateY(-8px) scale(1.03);
    z-index: 2;
}

.feature-card h3 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 32px;
}

.feature-card p {
    color: #AFAFAF;
    margin-bottom: 220px;
}

.feature-num {
    display: inline-block;
    width: 100%;
    text-align: right;
    font-family: "Commissioner", sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: #AFAFAF;
}


.topics h1 {
    text-align: center;
    margin-bottom: calc((231px + 121px)/2);
}

/* Анимация экранов в .screens */
@keyframes moveUp {
  from { transform: translateY(0); }
  to   { transform: translateY(-60px); }
}
@keyframes moveDown {
  from { transform: translateY(0); }
  to   { transform: translateY(60px); }
}

.screens {
  display: flex;
  gap: 49px;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 120px;
}
.screen1, .screen2, .screen3, .screen4, .screen5 {
  /* Без анимации по умолчанию! */
}

.screens.animate .screen1 {
  animation: moveDown 1.2s cubic-bezier(.77,0,.18,1) 0.2s forwards;
}
.screens.animate .screen2 {
  animation: moveUp 1.2s cubic-bezier(.77,0,.18,1) 0.3s forwards;
}
.screens.animate .screen3 {
  animation: moveDown 1.2s cubic-bezier(.77,0,.18,1) 0.4s forwards;
}
.screens.animate .screen4 {
  animation: moveUp 1.2s cubic-bezier(.77,0,.18,1) 0.5s forwards;
}
.screens.animate .screen5 {
  animation: moveDown 1.2s cubic-bezier(.77,0,.18,1) 0.6s forwards;
}

.screens > div {
    background-color: #fff;
    border-radius: 32px;
    box-shadow: 0 2px 16px 0 #0002;
    transition: box-shadow 0.3s, transform 0.3s, border-radius 0.3s;
    cursor: pointer;
}
.screens > div:hover {
    box-shadow: 0 0 32px 0 #AA80EC80, 0 4px 32px 0 #0004;
    transform: translateY(-12px) scale(1.04) rotate(-2deg);
    border-radius: 48px;
    z-index: 2;
}

.reviews h1 {
    text-align: center;
    margin-top: calc((240px + 391px)/2);
    margin-bottom: 80px;
}

.swiper-slide {
    background-color: #7272724D;
    padding: 40px;
    border-radius: 32px;
    width: 620px !important;
    height: auto !important;    
    transition: box-shadow 0.3s, transform 0.3s;
}

.swiper-slide:hover {
    box-shadow: 0 0 32px 0 #AA80EC80, 0 4px 32px 0 #0004;
    transform: translateY(-8px) scale(1.03);
    z-index: 2;
}

.stars {
    display: flex;
    gap: 6px;
    margin-bottom: 40px;
}

.review-text {
    color: #AFAFAF;
    margin-bottom: 74px;
}

/* Стили для Swiper Pagination */
.reviews-swiper .swiper-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    position: static;
}

.reviews-swiper .swiper-pagination-bullet {
    width: 47px;
    height: 10px;
    border-radius: 8px;
    background: #2C2D31;
    opacity: 1;
    transition: background 0.2s;
    margin: 0 !important;
}

.reviews-swiper .swiper-pagination-bullet-active {
    background: #AA80EC;
}



.feedback h1 {
    text-align: center;
    margin-top: 240px;
    margin-bottom: 80px;
}

.feedback form {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 32px;
    margin: 0px auto;
    text-align: center;
}

.feedback input {
    width: 788px;
    height: 80px;
    background: #7272724D;
    padding-left: 64px;
    border-radius: 16px;
    font-size: 32px;
    margin: 0 auto;
    color: #fff;
}

.feedback button {
    background-color: #AA80EC;
    padding: 26px 105px;
    font-weight: 300;
    font-size: 40px;
    margin: 0 auto;
    margin-top: calc(56px - 32px);
    margin-bottom: 240px;
    border-radius: 16px;
    color: #fff;
}


footer {
    background-color: #7272724D;
}

.wrapElFooter {
    display: flex;
    justify-content: space-between;
    padding: 132px 0 120px 0;
}

.columnEl {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.columnEl:nth-of-type(2) {
    justify-content: flex-end;
    position: relative;
    right: 100px;
}

.columnEl:nth-of-type(3) {
    position: relative;
    left: 100px;
}

footer .top {
    margin-bottom: 80px;
}

.noClick {
    color: #AFAFAF;
    font-size: 24px;
    font-weight: 400;
}

.columnEl a {
    font-size: 24px;
    font-weight: 500;
}

.b-r50 {
    border-radius: 50%;
}

.linksToSocial {
    display: flex;
    gap: 21px;
}

.reviews-swiper {
  overflow: hidden;
}

.swiper-wrapper {
  box-sizing: border-box;
}

/* Общие анимации */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-80px);}
  to   { opacity: 1; transform: translateX(0);}
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(80px);}
  to   { opacity: 1; transform: translateX(0);}
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(80px);}
  to   { opacity: 1; transform: translateY(0);}
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95);}
  to   { opacity: 1; transform: scale(1);}
}

/* Скрываем по умолчанию */
.animated-block {
  opacity: 0;
  transition: opacity 0.3s;
}

/* Анимации при появлении */
.animated-block.animate-left {
  animation: fadeInLeft 1.1s cubic-bezier(.77,0,.18,1) forwards;
}
.animated-block.animate-right {
  animation: fadeInRight 1.1s cubic-bezier(.77,0,.18,1) forwards;
}
.animated-block.animate-up {
  animation: fadeInUp 1.1s cubic-bezier(.77,0,.18,1) forwards;
}
.animated-block.animate-scale {
  animation: fadeInScale 1.1s cubic-bezier(.77,0,.18,1) forwards;
}

/* Для features — анимация карточек поочерёдно */
.features .feature-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s, transform 0.5s;
}
.features.animate .feature-card {
  opacity: 1;
  transform: translateY(0);
}
.features.animate .feature-card:nth-child(1) { transition-delay: 0.1s; }
.features.animate .feature-card:nth-child(2) { transition-delay: 0.2s; }
.features.animate .feature-card:nth-child(3) { transition-delay: 0.3s; }
.features.animate .feature-card:nth-child(4) { transition-delay: 0.4s; }

.linksToSocial img,
.downloadBtns img {
  transition: filter 0.3s, transform 0.3s;
}

.linksToSocial a:hover img,
.downloadBtns button:hover img {
  filter: drop-shadow(0 0 8px #AA80EC) brightness(1.2);
  transform: scale(1.15) rotate(-8deg);
}

button, .dot, .pagination-dots button, a {
  transition: box-shadow 0.3s, background 0.3s, color 0.3s, transform 0.3s;
}

button:hover, .dot:hover, .pagination-dots button:hover, a:hover {
  box-shadow: 0 0 16px #AA80EC80;
  background: #B1BFFE;
  color: #fff;
  transform: scale(1.05);
}

.linksToSocial a img {
    transition: box-shadow 0.3s, filter 0.3s, transform 0.3s, border-radius 0.3s;
}
.linksToSocial a:hover img {
    box-shadow: 0 0 16px #AA80EC, 0 0 32px #AA80EC80;
    filter: brightness(1.2) drop-shadow(0 0 8px #AA80EC);
    transform: scale(1.15) rotate(-8deg);
    border-radius: 50%;
}

/* Анимации для SVG иконок */
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 5px currentColor); }
  50% { filter: drop-shadow(0 0 20px currentColor) drop-shadow(0 0 30px currentColor); }
}

/* Стили для SVG иконок */
.downloadBtns svg,
.linksToSocial svg,
header .top svg,
footer .top svg {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Анимации при наведении на кнопки скачивания */
.downloadBtns button:hover svg {
  animation: pulse 0.6s ease-in-out;
  filter: drop-shadow(0 0 8px #AA80EC) brightness(1.3);
  transform: scale(1.15) rotate(-5deg);
}

.downloadBtns button:hover svg path {
  stroke: #B1BFFE;
  stroke-width: 3;
}

/* Анимации для соцсетей в футере */
.linksToSocial a:hover svg {
  animation: bounce 0.8s ease-in-out;
  filter: drop-shadow(0 0 12px #AA80EC) brightness(1.2);
  transform: scale(1.2) rotate(8deg);
}

.linksToSocial a:hover svg path {
  fill: #B1BFFE;
  animation: glow 1s ease-in-out infinite;
}

/* Специальные анимации для разных соцсетей */
.linksToSocial a:nth-child(1):hover svg { /* X/Twitter */
  animation: rotate 0.8s ease-in-out;
}

.linksToSocial a:nth-child(2):hover svg { /* Telegram */
  animation: pulse 0.6s ease-in-out infinite;
}

.linksToSocial a:nth-child(3):hover svg { /* VK */
  animation: bounce 0.8s ease-in-out;
}

.linksToSocial a:nth-child(4):hover svg { /* Instagram */
  animation: rotate 1.2s ease-in-out;
}

/* Анимации для логотипа в шапке и футере */
header .top:hover svg,
footer .top:hover svg {
  animation: pulse 0.8s ease-in-out;
  filter: drop-shadow(0 0 15px #AA80EC) brightness(1.3);
  transform: scale(1.1);
}

header .top:hover svg circle,
footer .top:hover svg circle {
  fill: #B1BFFE;
  animation: glow 1.2s ease-in-out infinite;
}

header .top:hover svg path,
footer .top:hover svg path {
  stroke: #fff;
  stroke-width: 5;
}

/* Дополнительные эффекты для SVG */
svg {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

svg path,
svg circle,
svg rect {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Эффект волны для кнопок */
.downloadBtns button {
  position: relative;
  overflow: hidden;
}

.downloadBtns button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(177, 191, 254, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.downloadBtns button:hover::before {
  width: 300px;
  height: 300px;
}

/* Улучшенные hover эффекты для всех интерактивных элементов */
.linksToSocial a {
  position: relative;
  overflow: hidden;
}

.linksToSocial a::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(177, 191, 254, 0.2), transparent);
  transition: left 0.5s;
}

.linksToSocial a:hover::after {
  left: 100%;
}

/* Анимация для всех SVG при загрузке страницы */
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8) rotate(-10deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.downloadBtns svg,
.linksToSocial svg,
header .top svg,
footer .top svg {
  animation: fadeInScale 0.6s ease-out;
}

/* Задержка анимации для разных элементов */
.linksToSocial a:nth-child(1) svg { animation-delay: 0.1s; }
.linksToSocial a:nth-child(2) svg { animation-delay: 0.2s; }
.linksToSocial a:nth-child(3) svg { animation-delay: 0.3s; }
.linksToSocial a:nth-child(4) svg { animation-delay: 0.4s; }

/* Убираем старые стили для img, так как теперь используем SVG */
.linksToSocial img,
.downloadBtns img {
  display: none;
}

.linksToSocial a:hover img,
.downloadBtns button:hover img {
  display: none;
}

.linksToSocial a img {
    display: none;
}
.linksToSocial a:hover img {
    display: none;
}

footer .columnEl a:not(.linksToSocial a):not(.linksToSocial a *):hover {
  color: #B1BFFE;
  background: none !important;
  box-shadow: none !important;
}

.wrapElFooterMobile {
    display: none;
}
