.montserrat-<uniquifier> {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}


body {
  /* Твоя же заливка + делаем её анимированной */
  background: linear-gradient(
    135deg,
    rgba(118, 196, 234, 0.2) 16%,
    rgba(134, 132, 170, 0.2) 49%,
    rgba(41, 55, 150, 0.2) 100%
  ), #36657D;
font-family: "Montserrat", sans-serif;
}

a{
  text-decoration: none;
  color: white;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between; /* логотип слева, меню справа */
  padding: 0 20px;
  flex-direction: row;
}
nav {
  color: white;
  font-size: 25px;
  font-family: Montserrat, sans-serif;
  font-weight: 300;
  display: flex;
  gap: 30px; /* чуть больше расстояния */
  box-sizing: border-box;
  margin-top: 31px;
  margin-left: 35%;
  user-select: none; /* чтобы текст не выделялся случайно */
}

/* Стили для ссылок внутри навигации */
nav a {
  color: white;
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
  cursor: pointer;
  font-weight: 500;
}

/* Подчеркивание при наведении */
nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -6px;
  background: white;
  transition: width 0.3s ease;
}

/* При ховере подчеркивание растягивается и цвет меняется */
nav a:hover {
  color: #aaddff;
}

nav a:hover::after {
  width: 100%;
}

/* Для активного пункта меню */
nav a.active {
  color: #aaddff;
}

nav a.active::after {
  width: 100%;
}


.apply-button {
  width: 293px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0px 4px 12px rgba(255, 255, 255, 0.2) inset;
  border-radius: 99px;

  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  margin-top: 31px;

  color: #fff;
  font-size: 25px;
  font-weight: 900;

  cursor: pointer;

  /* Анимации для hover */
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.apply-button:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow:
    0px 4px 20px rgba(255, 255, 255, 0.3),
    0px 0px 30px rgba(255, 255, 255, 0.15) inset;
  transform: translateY(-3px) scale(1.03);
}


.logo{
  color: white; 
    flex-shrink: 0; /* чтобы лого не сжимался */
display: flex;
  font-size: 36px; 
  font-family: Montserrat; 
  font-weight: 700; 
  word-wrap: break-word;
  margin-left: 15px;
  margin-top: 21px;
}



.blocks-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 60px auto;
  padding: 0 20px;
  max-width: 1250px;
}

.block {
  position: relative;
  padding: 50px 60px;
  color: white;
  background: linear-gradient(137deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 100%);
  border-radius: 32px;
  backdrop-filter: blur(20px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
  border: none;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
    transition: transform 0.4s ease, background 0.4s ease;
cursor: pointer;
}

.block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(
    137deg,
    #ffffff 0%,
    #c7c7c7 27%,
    #686869 72%,
    #2e2f30 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

.block:hover {
  transform: scale(1.03);
  background: linear-gradient(
    137deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.2) 100%
  );
}
.block > * {
  position: relative;
  z-index: 1;
}

.block h3 {
  margin: 0 0 20px 0;
  font-size: 45px;
  font-weight: 800;
  text-align: left;
}

.block p {
  margin: 0;
  font-size: 26px;
  font-weight: 300;
  line-height: 1.7;
  text-align: left;
}
.footertext{
  color: white; 
  font-size: 22px; 
  font-weight: 600; 
  word-wrap: break-word;
       margin: 95px auto 0 auto; /* сверху 50px отступ, слева и справа авто для центрирования */
display: flex;
justify-content: center;
align-items: center;
}
.footertext2{
 color: white; 
 font-size: 28px; 
 font-weight: 300; 
 word-wrap: break-word;
        margin: 105px auto 0 auto; /* сверху 50px отступ, слева и справа авто для центрирования */
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 50px;
}

.footerlinkwebify{
   color: white; 
 font-size: 18px; 
 font-weight: 300; 
 word-wrap: break-word;
        margin: 105px auto 0 auto; /* сверху 50px отступ, слева и справа авто для центрирования */
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 50px;
}