@import "https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;600;700&family=Inter:wght@100..900&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap";

/* Переменные цветов */
:root {
  /* Переменные цветов */
  --color-light-gray: rgba(208, 208, 208, 1);
  --color-white: rgba(255, 255, 255, 1);
  --color-black: rgba(0, 0, 0, 1);
  --color-blue: rgba(79, 156, 249, 1);
  --color-purple: rgba(168, 163, 235, 1);
  --color-pink: rgba(239, 89, 182, 1);
  --color-light_black: rgba(33, 37, 41, 1);
  --color-purple-new: rgba(118, 61, 246, 1);
  --color-steps-new: rgba(118, 61, 246, 0.4);

}

/* Базовые настройки */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}



body {
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-black);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  margin: 0 auto;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Контейнер */
.container {
  width: 76vw;
  margin: 0 auto;
}

/* Десктопный хедер */
.header_desktop {
  background-color: transparent;
  color: var(--color-black);
  position: relative;
  z-index: 3;
}

.header_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2vw 0 2vw 0;
  position: relative;
  z-index: 0;
}

.header_wrapper .header_links {
  margin-left: 20vw;
}

/* Логотип */
.logo {
  width: 5vw;
}

.plan_cta{
  background: var(--color-purple-new);
  color: var(--color-white);
  border-radius: 1vw;
  padding: 1vw 2vw;
  font-weight: 600;
  width: 10vw;  
}
.center{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
.logo img {
  width: 100%;
}

/* Навигационные ссылки */
.header_links {
  display: flex;
  justify-content: right;
  align-items: center;
  gap: 2vw;
  position: relative;
  z-index: 3;
}

.header_link_item {
  font-weight: 500;
  font-style: Medium;
  font-size: 1.3vw;
}

/* Иконки хедера */
.header_icons {
  display: flex;
  gap: 1.5vw;
  align-items: center;
  position: relative;
  z-index: 3;
}

.header_icons_item {
  width: 1.5vw;
}

.header_icons_item img {
  width: 100%;
}

/* Классы для адаптивности */
.desktop {
  display: block;
}

.mobile {
  display: none;
}

.tablet {
  display: none;
}

/* Адаптивность для десктопа */
@media (min-width: 1025px) {
  .header_desktop {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .header_wrapper {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease-out;

  }

  .logo {
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s ease-out;
  }

  .header_links {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.7s ease-out;
  }

  .header_icons {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.7s ease-out;
  }

  /* Hover эффекты */
  .header_link_item:hover {
    color: var(--color-purple-new);
    transform: translateY(-2px);
    transition: all 0.3s ease;
  }

  .header_icons_item:hover {
    transform: scale(1.1);
    transition: all 0.3s ease;
  }

  .logo:hover {
    transform: scale(1.05);
    transition: all 0.3s ease;
  }
}

/* Мобильная адаптивность */
@media (max-width: 1024px) {
  .mobile {
    display: block;
  }

  .desktop {
    display: none;
  }

  .header_mobile{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 4vw 3vw 4vw 3vw;
}
.header_mobile_wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_mobile_logo{
    width: 16vw;
}

.header_mobile_logo img{
    width: 100%;
}
.header_mobile_icons, .header_mobile_icons_links{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9vw;
}
.header_mobile_icons_links{
    gap: 6vw;
}
.header_mobile_icons_links-item{
    width: 6vw;
}
.header_mobile_icons_links-item img, .header_mobile_icons-burger img{
    width: 100%;
}

.header_mobile_icons-burger{
    width: 10vw;
}

  .plans_section.tablet, 
  .steps_mobile.tablet, 
  .footer_desktop.tablet {
    display: none;
  }
}

/* Планшетная адаптивность */
@media (min-width: 768px) and (max-width: 1280px) {
  .plans_section.tablet {
    display: flex;
    flex-direction: column;
  }

  .plans_section_firstline {
    justify-content: space-between;
    align-items: unset;
    flex-direction: row;
    gap: unset;
  }

  .plans_item-small {
    position: relative;
    width: unset;
    max-width: 46vw;
    padding: 4.1vw 2.7vw;
    border: 0.3vw solid rgba(234, 95, 188, 1);
    border-radius: 2vw;
    justify-content: space-between;
    background-color: var(--color-white);
    max-height: unset;
  }

  .flag_info {
    position: absolute;
    right: -1vw;
    top: 0px;
    z-index: 2;
    font-weight: 700;
    font-style: Bold;
    font-size: 1.2vw;
    text-align: center;
    color: var(--color-white);
    background-color: var(--color-pink);
    border-radius: 1.1vw;
    width: 31vw;
    transform: rotate(9.32deg);
    padding: 1vw 0;
  }

  .steps_mobile.mobile {
    display: none;
  }

  .steps_mobile.tablet, 
  .steps_mobile.tablet .steps_mobile_wrapper {
    display: flex;
    flex-direction: column;
  }

  .steps_mobile_line {
    display: flex;
    justify-content: space-around;
  }

  .steps_mobile_item {
    width: 41vw;
  }

  .steps_mobile_item_num_icon {
    gap: 3vw;
  }

  .steps_mobile_item_num {
    font-weight: 600;
    font-style: SemiBold;
    font-size: 11vw;
    color: rgba(255, 255, 255, 0.47);
    margin-top: -2vw;
  }

  .steps_mobile_item_icon {
    width: 10vw;
  }

  .steps_mobile_item_icon img {
    width: 100%;
  }

  .steps_mobile_item_text {
    font-weight: 600;
    font-style: SemiBold;
    font-size: 3vw;
    text-align: center;
    margin-top: 2vw;
    white-space: nowrap;
  }

  .steps_mobile .steps_head {
    display: none;
  }

  .steps_head.tablet {
    display: flex;
  }

  .steps_head.tablet h1 {
    position: relative;
    font-family: Inter;
    font-weight: 700;
    font-style: Bold;
    font-size: 3.5vw;
    z-index: 3;
  }

  .steps_head.tablet .steps_head_back {
    left: 3vw;
    top: 7vw;
  }

  .footer_desktop {
    display: none;
  }

  .footer_desktop.tablet {
    display: flex;
  }

  .footer_firstline {
    display: flex;
    justify-content: space-between;
    width: 95%;
  }

  .footer_icons_item {
    display: flex;
    gap: 3vw;
    align-items: center;
  }
  
  .footer_icons_item_icon {
    width: 5vw;
  }
  
  .footer_icons_item_icon img {
    width: 100%;
  }
  
  .footer_icons_item_text {
    font-weight: 600;
    font-style: SemiBold;
    font-size: 2.5vw;
    color: var(--color-white);
  }

  .footer_firstline_links {
    display: flex;
    flex-direction: column;
    gap: 6vw;
    margin-top: 6vw;
  }

  .footer_firstline_links-row {
    display: flex;
    justify-content: space-between;
    gap: 3vw;
  }

  .footer_desktop.tablet .footer_firstline .footer_firstline_links 
  .footer_firstline_links-row .header_link_item {
    color: var(--color-white);
    font-weight: 600;
    font-style: Bold;
    font-size: 2.8vw;
  }
}