@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=IBM+Plex+Sans:wght@500;600;700&display=swap");

:root {
  --font-main: "Inter", "Segoe UI", sans-serif;
  --font-display: "IBM Plex Sans", "Inter", sans-serif;

  --bg-0: #060b16;
  --bg-1: #0b1326;
  --surface-1: rgba(14, 22, 40, 0.82);
  --surface-2: rgba(20, 31, 56, 0.9);
  --line: rgba(95, 128, 220, 0.28);
  --line-soft: rgba(95, 128, 220, 0.16);

  --text: #e7eeff;
  --text-dim: #8da0cf;

  --accent: #3c8cff;
  --accent-2: #00c2ff;
  --success: #28c285;
  --danger: #ff5f74;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    radial-gradient(1000px 520px at 8% -5%, rgba(28, 111, 255, 0.26), transparent 60%),
    radial-gradient(900px 460px at 100% 0, rgba(0, 194, 255, 0.18), transparent 62%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
  color: var(--text);
  font-family: var(--font-main);
}

.container {
  width: min(1720px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  position: sticky;
  top: 10px;
  z-index: 30;
  margin-top: 10px;
  min-height: 72px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 12, 24, 0.84);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brandmark__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
}

.brandmark__text {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 1.1px;
  font-weight: 700;
  color: #f4f8ff;
  line-height: 1;
}

.header__logo {
  flex-shrink: 0;
}

.header__content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__nav-link {
  padding: 9px 13px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--text-dim);
  transition: 0.2s ease;
}

.header__nav-link:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__lang {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 9px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.12s ease;
}

.header__lang:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.header__lang:active {
  transform: translateY(1px);
}

.header__lang p {
  font-size: 12px;
  font-weight: 700;
}

.header__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 10px;
  border: none;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(105deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 20px rgba(24, 116, 255, 0.3);
}

.burger {
  display: none;
}

@media (max-width: 1160px) {
  .header__content {
    display: none;
  }

  .burger {
    display: block;
  }
}

@media (max-width: 640px) {
  .header {
    min-height: 58px;
    padding: 10px 13px;
    border-radius: 11px;
  }

  .brandmark__icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .brandmark__text {
    font-size: 20px;
    letter-spacing: 0.8px;
  }

  .burger img {
    width: 26px;
  }
}

.burger__menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 22px;
  background: #050912;
  transform: translateX(112%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.18s ease, visibility 0.18s ease;
}

.burger__menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.burger__menu::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(500px 260px at 100% 0, rgba(40, 142, 255, 0.12), transparent 70%),
    linear-gradient(160deg, rgba(5, 10, 21, 0.97) 0%, rgba(5, 9, 18, 0.98) 100%);
}

.burger__menu-header {
  display: flex;
  justify-content: flex-end;
}

.burger__menu-header img {
  width: 30px;
}

.burger__menu-nav {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.burger__menu-nav-item a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 11px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
}

.burger__menu-logo {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
}

.brandmark--stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brandmark--stack .brandmark__icon {
  width: 44px;
  height: 44px;
}

.brandmark--stack .brandmark__text {
  font-size: 13px;
  letter-spacing: 1.2px;
}

.burger__menu-bg-img {
  position: absolute;
  opacity: 0.15;
  z-index: -1;
  inset: 0;
  margin: auto;
}

body.menu-open {
  overflow: hidden;
}

html.menu-open {
  overflow: hidden;
}

body.menu-open .hero__title,
body.menu-open .hero__deer,
body.menu-open .hero__medias {
  visibility: hidden !important;
  opacity: 0 !important;
}

.footer {
  padding: 54px 0 40px;
}

.footer__medias {
  display: flex;
  align-items: center;
}

.divider {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.footer__medias-list {
  padding: 0 16px;
  display: flex;
  gap: 14px;
}

.footer__medias-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer__medias-link img {
  width: 16px;
  height: 16px;
}

.footer__inner {
  margin-top: 26px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-1);
  backdrop-filter: blur(8px);
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__logo {
  margin-bottom: 4px;
}

.footer__logo .brandmark__icon {
  width: 36px;
  height: 36px;
}

.footer__logo .brandmark__text {
  font-size: 24px;
}

.footer__text-subscribe {
  margin-top: 14px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.footer__text-news {
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 14px;
}

.footer__subscribe {
  width: min(560px, 100%);
  margin-top: 14px;
  display: flex;
  gap: 8px;
}

.footer__subscribe input {
  flex: 1;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  padding: 0 12px;
}

.footer__btn {
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

.footer__copyright {
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 12px;
}

@media (max-width: 760px) {
  .footer__text-subscribe {
    font-size: 18px;
  }

  .footer__subscribe {
    flex-direction: column;
  }
}

.star {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  pointer-events: none;
  background: #87a0ff;
}
