.page-wrapper-download {
  padding-top: 98px;
}

.main-container_features-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.download-section__row {
  justify-content: space-between;
}

.download-section__header {
  width: 518px;
}

.download-section__info {
  width: 570px;
}

.download-section__buttons-block {
  display: flex;
  justify-content: space-between;
  gap: 23px;
  width: 100%;
}

.download-section__button[data-os="win"] .button__text::before,
.download-section__button[data-os="Windows"] .button__text::before {
  background-image: url(../img/win-button-icon.svg);
}

.download-section__button[data-os="mac"] .button__text::before {
  background-image: url(../img/mac-button-icon.svg);
}

.download-section__button[data-os="lin"] .button__text::before,
.download-section__button[data-os="Linux"] .button__text::before {
  background-image: url(../img/lin-button-icon.svg);
}

.download-section__button[data-os="Android"] .button__text::before {
  background-image: url(../img/android-button-icon.svg);
}

.download-section__button[data-os="Raspbian"] .button__text::before {
  background-image: url(../img/raspberry-icon.svg);
  background-size: contain;
}

.download-section__button[data-os="macOS"] .button__text::before,
.download-section__button[data-os="iOS"] .button__text::before {
  background-image: url(../img/ios-button-icon.svg);
}

.download-platforms-section__button-not-active {
  background-color: var(--accent-color-main);
  color: var(--border-color-main);
  padding: 7px 23px;
  border-radius: 32px;
}

.download-section__col_btns {
  gap: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.download-section__button {
  padding: 18px 29px;
  border: none;
}

.download-section__button:not(.download-section__button_os) {
  flex: 1;
  white-space: nowrap;
}

.download-section__img-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

@keyframes cube-move {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes change-light-color {
  0% {
    fill: var(--accent-color-main);
  }
  50% {
    fill: var(--accent-color-main-extra);
  }
  100% {
    fill: var(--accent-color-main);
  }
}

.button__text {
  margin-left: 0;
}

.button__text-download {
  margin-left: 32px;
}

.modal__header_download {
  margin-bottom: 0;
}

.modal__os-options {
  margin-top: 6px;
}

.download-platforms-section {
  margin-top: 91px;
  padding: 30px 0 21px 0;
  background-color: var(--bg-color-black);
}

.download-platforms-section__column_text {
  flex-direction: column;
  align-items: center;
}

.download-platforms-section__header {
  max-width: 786px;
}

.download-platforms-section_btn-block {
  width: 100%;
  padding-top: 24px;
}

.download-platforms-section_btn-list {
  gap: 24px;
}

.download-platforms-section__button {
  padding: 8px 24px;
}

.download-benefits-section__column_text-wrapper {
  border-radius: 24px;
  background-color: var(--color-gray);
  padding: 32px;
  height: 100%;
}

.download-benefits-section__header {
  word-wrap: break-word;
}

.download-benefits-section__header-description {
  padding-top: 16px;
}

.download-benefits-section__header-wrapper {
  padding-top: 32px;
}

.download-features-section {
    padding-top: 180px;
}

.download-features-section__column {
  display: flex;
  flex-direction: column;
}

.download-features-section_title {
  padding-bottom: 40px;
}

.download-contact-section_btn-block {
  padding-bottom: 33px;
}

@media (hover: hover) {
  .download-faq-section__item-button:hover {
    background-color: var(--accent-color-main);
    background-image: url(../img/plus-hover-icon.svg);
  }

  .download-faq-section__item:hover .download-faq-section__item-button {
    background-color: var(--accent-color-main);
    background-image: url(../img/plus-hover-icon.svg);
  }
}

@media (hover: none) {
  .download-faq-section__item-button:hover {
    background-image: url(../img/plus-icon.svg);
  }

  .download-faq-section__item:hover .download-faq-section__item-button {
    background-image: url(../img/plus-icon.svg);
  }
}

.download-contact-section {
  background-color: var(--accent-color-main);
  margin-top: 180px;
  padding: 90px 0 45px 0;
  margin-bottom: -180px;
}

.download-contact-section__column {
  flex-direction: column;
  align-items: center;
}

.download-contact-section__description {
  max-width: 992px;
}

.download-contact-section__description {
  padding: 24px 0 40px 0;
}

.download-contact-section__button {
  border: 1px solid var(--font-color-main);
  min-width: 289px;
}

.download-contact-section__button:hover {
  border: 1px solid var(--bg-color-secondary);
}

.download-contact-section__button::after {
  border: none;
}

.download-contact-section__button::before {
  border: none;
}

.download-section__button-border {
  border: 1px solid var(--bg-color-secondary);
  min-width: 261px;
}

.download-contact-section_btn-list {
  gap: 23px;
}

.modal__list-item_download {
  margin-top: 5px;
}

.download-installation-section__item-link {
  text-decoration: underline;
}

.download-features-section__row_peculiarities-second {
  margin-top: -8px;
}

@media (max-width: 1199px) {
  .download-platforms-section,
  .download-benefits-section,
  .download-installation-section,
  .download-features-section,
  .download-comparison-section,
  .download-faq-section,
  .download-comparison-section__row--paid-vs-free-vpn {
    padding-top: 120px;
  }

  .download-section__col_img,
  .download-section__col_btns {
    width: calc(100% / 12 * 6);
    padding-top: 0;
  }

  .download-section__row {
    gap: 0;
  }

  .download-section__header,
  .download-section__info {
    width: 450px;
  }

  .download-platforms-section__row-content {
    padding: 56px 40px;
  }

  .download-platforms-section__header {
    max-width: 609px;
    text-align: center;
  }

  .download-platforms-section_btn-block {
    padding-top: 40px;
  }

  .download-platforms-section_btn-list {
    flex-wrap: wrap;
  }

  .download-benefits-section_title,
  .download-installation-section-title,
  .download-installation-section__title-description {
    max-width: 770px;
  }

  .download-comparison-section__col_img {
    width: calc(100% / 3);
    display: flex;
    align-items: end;
    justify-content: flex-end;
  }

  .download-comparison-section__table-header-cell:nth-child(2),
  .download-comparison-section__table-header-cell:nth-child(3),
  .download-comparison-section__table-cell:nth-child(2),
  .download-comparison-section__table-cell:nth-child(3) {
    width: 324px;
  }

  .download-comparison-section__table-header-cell.download-comparison-section__table-header-cell_accent {
    width: 100%;
  }

  .download-comparison-section__table-row:nth-child(1)
    .download-comparison-section__table-cell {
    height: 212px;
  }

  .download-comparison-section__table-row:nth-child(2)
    .download-comparison-section__table-cell {
    height: 156px;
  }

  .download-faq-section__item-name {
    max-width: 93%;
  }
}

@media (max-width: 1086px) {
  .download-section__col_img {
    width: calc(100% / 12 * 5);
  }

  .download-section__col_btns {
    width: calc(100% / 12 * 7);
  }

  .download-section__image {
    width: 100%;
    max-height: 350px;
  }

  .download-section__header,
  .download-section__info {
    width: 100%;
  }

  .download-protect-section__column-img {
    display: none;
  }

  .download-protect-section__column_text {
    width: 100%;
  }
}

@media (max-width: 992px) {
  .download-benefits-section,
  .download-installation-section,
  .download-protect-section,
  .download-key-features-section,
  .download-comparison-section,
  .download-faq-section {
    padding-top: 120px;
  }

  .download-platforms-section {
    margin-top: 92px;
    padding: 30px 0 21px 0;
  }

  .download-platforms-section_btn-block {
    padding-top: 24px;
  }

  .download-protect-section__header,
  .download-benefits-section_title,
  .download-installation-section__title-description {
    max-width: 100%;
  }

  .download-protect-section__row-title {
    padding-bottom: 10px;
  }

  .download-installation-section__item {
    padding-bottom: 38px;
  }

  .download-features-section__column_text-wrapper {
    padding: 32px 30px 32px 32px;
  }

  .download-protect-section__row-content {
    padding: 56px 39px;
  }

  .download-comparison-section__column {
    gap: 24px;
  }

  .download-comparison-section__table-header-cell:nth-child(1),
  .download-comparison-section__table-cell:nth-child(1) {
    width: 180px;
    word-wrap: break-word;
  }

  .download-comparison-section__table-header-cell.download-comparison-section__table-header-cell_accent {
    width: 250px;
  }

  .download-comparison-section__table-header-cell:nth-child(2),
  .download-comparison-section__table-header-cell:nth-child(3),
  .download-comparison-section__table-cell:nth-child(2),
  .download-comparison-section__table-cell:nth-child(3) {
    width: 250px;
  }

  .download-comparison-section__table-header-cell:nth-child(2),
  .download-comparison-section__table-header-cell:nth-child(3),
  .download-comparison-section__table-header-cell:nth-child(4),
  .download-comparison-section__table-cell:nth-child(2),
  .download-comparison-section__table-cell:nth-child(3),
  .download-comparison-section__table-cell:nth-child(4) {
    width: 375px;
  }

  .download-comparison-section__table-row:nth-child(1)
    .download-comparison-section__table-cell {
    height: 100px;
  }

  .download-comparison-section__table-row:nth-child(2)
    .download-comparison-section__table-cell {
    height: 100px;
  }

  .download-comparison-section__table-cell:nth-child(3) {
    width: 252px;
  }

  .download-contact-section {
    margin-top: 123px;
    padding: 90px 0 75px 0;
    margin-bottom: -150px;
  }

  .download-faq-section__item_active .download-faq-section__item-desc {
    margin-top: 10px;
  }

  .download-features-section_title {
    padding-bottom: 40px;
  }

  .download-features-section__row_peculiarities {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .download-features-section__column_peculiarities {
    width: 100%;
  }
}

@media (max-width: 930px) {
  .download-section__info {
    width: 420px;
  }

  .download-contact-section_btn-list {
    flex-direction: column;
  }

  .download-section__buttons-block {
    flex-direction: column;
  }

  .download-section__button_os {
    width: 100%;
    text-align: center;
    flex: none;
  }

  .download-section__button:not(.download-section__button_os) {
    width: 100%;
    text-align: center;
    flex: none;
    max-width: 100%;
    max-height: 100%;
  }
}

@media(max-width: 830px) {
  .download-installation-section__row {
    flex-direction: column;
    gap: 24px;
  }

  .download-installation-section__column_text {
    width: 100%;
  }
}

@media (max-width: 812px) {
  .download-faq-section__item-name {
    max-width: 90%;
  }
}

@media (max-width: 767px) {
  .page-wrapper-download {
    padding-top: 25px;
  }
  .download-platforms-section,
  .download-benefits-section,
  .download-installation-section,
  .download-features-section,
  .download-comparison-section,
  .download-faq-section,
  .download-protect-section,
  .download-key-features-section {
    padding-top: 80px;
  }

  .download-section__row {
    flex-direction: column;
    align-items: center;
  }

  .download-section__header,
  .download-section__info {
    width: 100%;
  }

  .download-section__image {
    max-height: 308px;
    padding-top: 15px;
  }

  .download-section__img-wrapper {
    text-align: center;
  }

  .download-section__col_img {
    order: 1;
    width: 100%;
    height: 332px;
  }

  .download-section__info {
    padding-top: 5px;
  }

  .download-section__col_btns {
    order: 2;
    width: 100%;
    padding-top: 0;
    gap: 29px;
  }

  .download-section__buttons-block {
    flex-direction: column;
    gap: 26px;
  }

  .download-platforms-section {
    margin-top: 64px;
    padding: 30px 0 30px 0;
  }

  .download-platforms-section__button {
    padding: 10px 24px;
  }

  .buttons-block__btn_last {
    margin: 0;
    width: 100%;
    text-align: center;
  }

  .download-benefits-section__row {
    flex-direction: column;
    gap: 32px;
  }

  .download-benefits-section__column_text-wrapper,
  .download-features-section__column_text-wrapper {
    flex-direction: column;
  }

  .download-benefits-section__column_text {
    width: 100%;
  }

  .download-benefits-section__content {
    padding-bottom: 0;
  }

  .download-installation-section__row {
    flex-direction: column;
    gap: 24px;
  }

  .download-installation-section__column_text {
    width: 100%;
  }

  .download-installation-section__column_text-wrapper {
    padding: 24px;
  }

  .download-installation-section__header-wrapper {
    padding-top: 16px;
  }

  .download-installation-section__description {
    padding-top: 8px;
  }

  .download-features-section__column {
    width: 100%;
  }

  .download-comparison-section__row--kelvpn-vs-vpn {
    flex-direction: column;
  }

  .download-comparison-section__col_img {
    order: 1;
    width: 100%;
    justify-content: center;
  }

  .download-comparison-section__col-table {
    padding-top: 12px;
  }

  .download-comparison-section__col-table_first {
    order: 3;
    padding-top: 24px;
  }

  .download-comparison-section__hidden-cell {
    display: none;
  }

  .download-faq-section__row_buttons-block {
    padding-top: 24px;
  }

  .download-faq-section__item-name {
    max-width: 85%;
  }

  .download-platforms-section__row-content {
    padding: 24px 12px;
  }

  .download-platforms-section_btn-block {
    padding-top: 16px;
  }

  .download-platforms-section__button {
    width: 100%;
  }

  .download-platforms-section__row {
    margin: 0 -16px;
  }

  .download-platforms-section_btn-list {
    gap: 8px;
  }

  .download-comparison-section__info {
    padding-top: 40px;
  }

  .download-comparison-section__wrapper-image {
    padding-top: 0;
  }

  .modal__content_download {
    margin-top: 0;
  }

  .modal__header_download--linux {
    margin-bottom: 0;
  }

  .modal__list--linux-options {
    padding-top: 0;
    margin-top: 0;
  }

  .modal__background_download {
    padding: 24px;
  }

  .download-platforms-section__button {
    width: 100%;
  }

  .download-protect-section__row-content {
    padding: 24px 12px;
    margin: 0 12px;
  }

  .download-faq-section__item_active .download-installation-section__item-desc {
    gap: 0px;
    padding-left: 5px;
  }

  .download-protect-section__description-last {
    padding-top: 28px;
  }

  .download-contact-section {
    margin-top: 80px;
    margin-bottom: -80px;
    padding: 40px 0 0 0;
  }

  .download-platforms-section_btn-list-item {
    max-height: 44px;
  }

  .download-protect-section__row-items {
    flex-direction: column;
    gap: 32px;
  }

  .download-key-features-section__row-items {
    flex-direction: column;
    gap: 32px;
  }

  .download-comparison-section__col-table_first {
    display: none;
  }

  .download-comparison-section__col-table_second {
    display: block;
    padding-top: 38px;
  }

  .download-comparison-section__table-header-cell.download-comparison-section__table-header-cell_accent {
    width: 100%;
  }

  .download-comparison-section__table-header-cell:nth-child(1) {
    background-color: var(--font-color-promotion);
    color: var(--bg-color-secondary);
  }

  .download-comparison-section__table-row {
    height: 120px;
  }

  .download-comparison-section__table-row:nth-child(1) .download-comparison-section__table-cell, 
  .download-comparison-section__table-row:nth-child(2) .download-comparison-section__table-cell,
  .download-comparison-section__table-row:nth-child(3) .download-comparison-section__table-cell,
  .download-comparison-section__table-row:last-child .download-comparison-section__table-cell,
  .download-comparison-section__table-cell:nth-child(1) {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    height: 120px;
  }

  .download-comparison-section__table-cell {
    padding: 16px 23px;
  }

  .download-comparison-section__table-row-thead {
    height: 72px;
  }

  .download-comparison-section__table-cell-thead {
    padding: 24px;
  }

  .download-comparison-section__table-row:last-child .download-comparison-section__table-cell {
    height: 92px;
  }

  .download-comparison-section__table-row:last-child {
    height: 72px;
  }

  .download-comparison-section__col-table_second .download-comparison-section__table-row:nth-child(1) .download-comparison-section__table-cell,
  .download-comparison-section__col-table_second .download-comparison-section__table-row:nth-child(2) .download-comparison-section__table-cell,
  .download-comparison-section__col-table_second .download-comparison-section__table-row:nth-child(3) .download-comparison-section__table-cell,
  .download-comparison-section__col-table_second .download-comparison-section__table-row:nth-child(4) .download-comparison-section__table-cell {
    background-color: var(--bg-color-secondary);
  }

  .download-comparison-section__col-table_second .download-comparison-section__table-row:nth-child(1) .download-comparison-section__table-cell,
  .download-comparison-section__table-cell:nth-child(1)  {
    height: 148px;
  }

  .download-comparison-section__col-table_second .download-comparison-section__table-row:nth-child(2) .download-comparison-section__table-cell {
    height: 204px;
  }

  .download-contact-section_btn-list {
    gap: 16px;
  }
}

@media (max-width: 432px) {
  .download-faq-section__item-name {
    max-width: 80%;
  }

  .download-faq-section__item {
    max-height: 177px;
    margin-bottom: 12px;
    padding: 24px 32px 32px 32px;
  }

  .button__text-linux::before {
    right: calc(100% - 6px);
  }

  .button__text-linux {
    margin-left: 33px;
  }

  .download-section__button_os {
    padding: 18px 23px;
  }
}

@media (max-width: 360px) {
  .download-comparison-section__col_img {
    justify-content: flex-start;
  }

}