* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

:root {
  --primary-r1: #cd0c2b;
  --width: 34px;
  --height: 14px;
  --border-radius: 8px;
  --border-size: 2px;
  --label-size: 20px;

  [data-theme="light"] {
    --mode-black: #000000;
    --mode-white: #ffffff;
    --mode-080: #333;
    --mode-070: #4d4d4d;
    --mode-060: #666;
    --mode-050: #808080;
    --mode-025: #bfbfbf;
    --mode-015: #d9d9d9;
    --mode-010: #e5e5e5;
    --mode-05: #f2f2f2;
    --mode-03: #f7f7f7;
    --opacity-070: rgba(0, 0, 0, 0.7);
    --header-bg-color: var(--mode-white);
    --header-br-color: var(--mode-010);
    --opacity-background-opacity-05-f-10: rgba(0, 0, 0, 0.05);
    --header-btn-bg-color: var(--mode-05);
    --header-btn-bg-hover: var(--mode-010);
    --header-setting-bg-hover: var(--mode-05);
    --header-setting-panel-bg-color: var(--mode-white);
    --header-br-color: var(--mode-010);
    --header-bg-theme-switch: #0f97ff;
    --header-panel-br-color: var(--mode-010);
    --header-panel-bg-hover: var(--mode-05);
    --main-block-bg-color: var(--mode-03);
    --main-block-shadow-color: rgba(205, 12, 43, 0);
    --main-block-card-br-color: var(--mode-010);
    --main-block-card-bg-color: var(--mode-white);
    --modal-opacity-bg: rgba(0, 0, 0, 0.5);
    --shadow-red-inner-shadow-light: rgba(205, 12, 43, 0);

    --footer-bg-color: var(--mode-05);
  }
  [data-theme="dark"] {
    --mode-black: #ffffff;
    --mode-white: #000000;
    --mode-080: #ccc;
    --mode-070: #b2b2b2;
    --mode-060: #999;
    --mode-025: #404040;
    --mode-020: #333;
    --mode-015: #262626;
    --mode-010: #191919;
    --mode-05: #0d0d0d;
    --opacity-070: rgba(255, 255, 255, 0.7);
    --header-bg-color: var(--mode-010);
    --header-br-color: var(--mode-020);
    --opacity-background-opacity-05-f-10: rgba(255, 255, 255, 0.1);
    --header-btn-bg-color: var(--mode-015);
    --header-btn-bg-hover: var(--mode-020);
    --header-setting-bg-hover: var(--mode-015);
    --header-setting-panel-bg-color: var(--mode-015);
    --header-br-color: var(--mode-020);
    --header-bg-theme-switch: #3ae4c2;
    --header-panel-br-color: var(--mode-020);
    --header-panel-bg-hover: var(--mode-020);
    --main-block-bg-color: var(--mode-05);
    --main-block-shadow-color: rgba(205, 12, 43, 0.15);
    --main-block-card-br-color: var(--mode-020);
    --main-block-card-bg-color: var(--mode-010);
    --modal-opacity-bg: rgba(0, 0, 0, 0.3);
    --shadow-red-inner-shadow-light: rgba(205, 12, 43, 0.07);

    --footer-bg-color: var(--mode-010);
  }
}

body {
  font-family: Inter, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  text-decoration: none;
}

.modal-mask {
  visibility: hidden;
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--modal-opacity-bg);
}

.modal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 20px 20px;
  border-radius: 12px;
  border: 1px solid var(--header-br-color);
  background: var(--header-bg-color);
  max-width: 328px;
}

.modal__description {
  color: var(--mode-070);
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.modal__action-android {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 32px 14px 20px;
  background-color: var(--primary-r1);
  color: #ffffff;
  border-radius: 8px;
  cursor: pointer;
}
.modal__action-ios {
  display: none;
}

.modal .cross {
  position: absolute;
  top: 8px;
  right: 8px;
  cursor: pointer;
}

header {
  background-color: var(--header-bg-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-bottom: 1px solid var(--header-br-color);
  z-index: 5;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__action {
  display: flex;
  align-items: center;
  gap: 16px;
}
.action__support {
  color: var(--mode-080);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--header-btn-bg-color);
  cursor: pointer;
}

.action__support:hover {
  background-color: var(--header-btn-bg-hover);
}

.divider {
  width: 1px;
  background-color: var(--header-br-color);
  height: 38px;
}

.action__settings {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}
button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.action__settings:hover {
  background-color: var(--header-setting-bg-hover);
  border-radius: 50%;
}

.header__setting-panel {
  position: absolute;
  top: 64px;
  right: 20px;
  display: flex;
  flex-direction: column;
  width: 246px;
  background: var(--header-setting-panel-bg-color);
  border-radius: 0 0 16px 16px;
  padding: 12px 0;
  box-shadow: 0 12px 12px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid var(--header-panel-br-color);
  visibility: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.setting-panel__theme,
.setting-panel__language {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px 12px 20px;
  cursor: pointer;
}
.setting-panel__theme:hover,
.setting-panel__language:hover,
.setting-panel__language.active {
  background-color: var(--header-panel-bg-hover);
}
.setting-panel__language {
  position: relative;
}

.language__title,
.theme__title {
  color: var(--mode-060);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.language__action {
  display: flex;
  align-items: center;
  gap: 2px;
}

.action__language {
  color: var(--mode-black);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.language__panel {
  position: absolute;
  top: 54px;
  right: 245px;
  display: none;
  flex-direction: column;
  width: 165px;
  background-color: var(--header-setting-panel-bg-color);
  border-radius: 12px;
  padding: 8px 0;
  box-shadow: 0 12px 12px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid var(--header-panel-br-color);
}

.panel__item-ru,
.panel__item-en {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px 8px 20px;
  cursor: pointer;
}

.item-ru__check,
.item-en__check {
  visibility: hidden;
}

[data-language="ru"] .panel__item-ru {
  pointer-events: none;
  background-color: var(--header-panel-bg-hover);
}

[data-language="en"] .panel__item-en {
  pointer-events: none;
  background-color: var(--header-panel-bg-hover);
}

[data-language="ru"] .item-ru__check {
  visibility: visible;
}

[data-language="en"] .item-en__check {
  visibility: visible;
}

.panel__item-ru:hover,
.panel__item-en:hover {
  background-color: var(--header-panel-bg-hover);
}

.item__text {
  color: var(--mode-080);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.switchbox {
  --bg: var(--mode-025);
  --label-bg: var(--mode-black);
  --checked-bg: var(--mode-025);

  display: flex;
  align-items: center;
  position: relative;
  width: var(--width);
  height: var(--height);
  border-radius: var(--border-radius);
  background: var(--mode-025);
  cursor: pointer;
}

input {
  display: none;
}

label {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--label-size);
  height: var(--label-size);
  border-radius: calc(var(--label-size) / 2);
  background: var(--header-bg-theme-switch);
  border: solid var(--border-size) var(--bg);
  transition: transform 0.25s ease;
  cursor: pointer;
  user-select: none;
}

.switchbox:has(input:checked) {
  background: var(--checked-bg);
}
input:checked + label {
  border-color: var(--checked-bg);
  transform: translateX(calc(var(--width) - var(--label-size)));
}

main {
  background-color: var(--mode-white);
  padding-top: 100px;
  padding-bottom: 64px;
  flex-grow: 1;
  position: relative;
}
.container {
  max-width: 1194px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  overflow: hidden;
}

.maim__lumen {
  position: absolute;
  top: 0;
  right: 50%;
  transform: translateX(50%);
  pointer-events: none;
}

.global-effect {
  pointer-events: none;
}

.gradient {
  display: block;
  z-index: 0;
}
.mobile-gradient {
  display: none;
}
.noise-effect {
  z-index: 3;
}
.blur-effect {
  position: absolute;
  top: 0;
  right: 50%;
  border-radius: 1039px;
  background: #cd0c2b;
  width: 520px;
  height: 154px;
  filter: blur(138px);
  -webkit-filter: blur(138px);

  transform: translateX(50%) scale(2);
  z-index: 2;
}

.graphical-element {
  position: absolute;
  top: 200px;
  left: 50%;
  transform: translateX(-50%);
  height: 900px;
  width: 100%;
  background: rgb(0, 0, 0);

  filter: blur(100px);
  z-index: 1;
}
[data-theme="light"] .global-effect {
  display: none;
}

.main__header {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 100px;
  z-index: 4;
}
.header__intro {
  padding: 8px 16px;
  border-radius: 12px;
  background: var(--opacity-background-opacity-05-f-10);
  color: var(--opacity-070);
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  margin-bottom: 20px;
}

.header__title {
  position: relative;
  color: var(--mode-black);
  text-align: center;
  font-size: 46px;
  font-weight: 700;
  line-height: 60px;
  margin-bottom: 16px;
}
.lumen-title {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  width: 1200px;
  height: 40px;
  background: #ce5a4b;
  opacity: 0.3;
  filter: blur(50px);
  border-radius: 70%;
}

.header__title img {
  position: absolute;
}

.header__sub-title {
  color: var(--opacity-070);
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  margin-bottom: 32px;
}
.header__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px 14px 20px;
  background-color: var(--primary-r1);
  border-radius: 8px;
  margin-bottom: 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
}
.header__btn:hover {
  box-shadow: 0 4px 6px 0 rgba(205, 12, 43, 0.2);
}
.main__blocks {
  display: grid;
  grid-column: 3 / span 8;
  z-index: 4;
}

.header__platform {
  color: var(--mode-070);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}
.block {
  display: flex;
  align-items: center;
  gap: 26px;
  background: #f2f2f2;
  padding: 32px;
  border-radius: 28px;
  border: 1px solid var(--header-br-color);
  background: var(--main-block-bg-color);
  box-shadow: 0 12px 16px 0 var(--main-block-shadow-color) inset;
}
.platforms {
  margin-bottom: 34px;
}
.web {
  box-shadow: 0 8px 12px 0 var(--shadow-red-inner-shadow-light) inset;
}
.web .item {
  min-width: 314px;
}
.platforms__items {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.block__description img {
  padding-bottom: 16px;
}
.block-title {
  color: var(--mode-black);
  font-size: 32px;
  font-weight: 700;
  line-height: 42px;
  letter-spacing: 0.5px;
}
.block-sub-titile {
  color: var(--mode-black);
  font-size: 29px;
  font-weight: 400;
  line-height: 38px;
  margin-bottom: 8px;
}
.block-description {
  color: var(--mode-080);
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
}
.item {
  display: flex;
  flex-direction: column;
  align-items: space-between;
  border-radius: 10px;
  border: 1px solid var(--main-block-card-br-color);
  background: var(--main-block-card-bg-color);
  box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.05);
  z-index: 1;
}

.item__main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  padding: 36px 46px 17px;
}

.android {
  padding: 21px 6px 24px 5px;
}

.title {
  color: var(--mode-060);
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  margin: 0;
}

.item__action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  border-top: 1px solid var(--main-block-card-br-color);
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.item__action:hover {
  background-color: var(--header-setting-bg-hover);
}
.item__action img {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
}
.action__title {
  flex: 1;
  color: var(--mode-black);
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  margin: 0;
}

footer {
  background-color: var(--footer-bg-color);
}
.footer__container {
  max-width: 1194px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 37px 0;
  margin: 0 auto;
}
.footer__info {
  color: var(--mode-060);
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
}
.footer__action {
  display: flex;
  align-items: center;
  gap: 24px;
  text-decoration: underline;
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  cursor: pointer;
}

.footer__action a {
  color: var(--mode-060);
  text-decoration: underline;
}

@media (max-width: 1920px) {
  .maim__lumen {
    width: 100%;
  }
}

@media (max-width: 1200px) {
  .main__blocks {
    grid-column: 2 / span 10;
  }
  .footer__container {
    flex-direction: column;
    gap: 20px;
    padding: 16px 0;
  }
  .footer__action {
    flex-direction: column;
    gap: 10px;
  }
  .graphical-element {
    top: 115px;
    filter: blur(30px);
  }
  .blur-effect {
    width: 50%;
  }
  .lumen-title {
    width: 90%;
    height: 60px;
  }
}

@media (max-width: 900px) {
  .block {
    flex-direction: column;
  }
  .platforms__items {
    width: 100%;
  }
  .block__description {
    order: -1;
    width: 100%;
  }
  .web .item {
    width: 100%;
  }
}
@media (max-width: 768px) {
  main {
    padding-top: 70px;
    padding-bottom: 32px;
  }

  .blur-effect {
    height: 200px;
  }
  .graphical-element {
    filter: blur(25px);
  }
}
@media (max-width: 576px) {
  main {
    padding-top: 45px;
  }
  .logo__reddy {
    display: none;
  }
  .language__panel {
    top: 120px;
    left: 0;
  }
  .header {
    margin-bottom: 60px;
  }
  .main__header {
    padding: 0 16px;
    margin-bottom: 60px;
  }
  .mobile-gradient {
    display: block;
  }
  .gradient {
    display: none;
  }

  .header__intro {
    font-size: 14px;
    line-height: 20px;
  }
  .header__title {
    font-size: 29px;
    line-height: 38px;
  }
  .header__sub-title {
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 60px;
  }
  .main__blocks {
    grid-column: 1 / -1;
  }
  .block {
    padding: 32px 16px 16px;
  }

  .block-title {
    font-size: 26px;
    line-height: 36px;
  }
  .bg-graphics {
    width: 100%;
    left: 0;
  }
  .block-sub-titile {
    font-size: 24px;
    line-height: 34px;
  }
  .block-description {
    font-size: 16px;
    line-height: 24px;
  }
  .item__main {
    padding: 36px 38px 17px;
  }
  .item__main img {
    width: 72px;
    height: 72px;
  }
  .item__main .android {
    display: flex;
    width: 72px;
    height: 72px;
    padding: 16px 4px 19px 4px;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
  }

  .title {
    font-size: 18px;
    line-height: 26px;
  }
}
