@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/golos-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/golos-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/golos-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/golos-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --font-sans: 'Golos Text', sans-serif;
  --background: oklch(0.1448 0 0);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.1776 0 0);
  --primary: oklch(0.985 0 0);
  --primary-foreground: oklch(0.1448 0 0);
  --secondary: oklch(0.22 0 0);
  --accent: oklch(0.28 0 0);
  --muted-foreground: oklch(0.65 0 0);
  --border: oklch(1 0 0 / 10%);
  --border-hover: oklch(1 0 0 / 22%);
  --brand-blue: #3b8cff;
}

* { border-color: var(--border); letter-spacing: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--primary); color: var(--primary-foreground); }

.page-width { width: min(100%, 1000px); margin-inline: auto; padding-inline: 28px; }
.site-header-bar.page-width { width: min(100%, 1000px); padding-inline: 28px; }
.site-header {
  position: relative;
  z-index: 40;
  background: oklch(0.175 0 0);
  border-bottom: 1px solid var(--border);
}
.site-header-bar {
  height: 96px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 600;
  text-decoration: none;
  color: var(--foreground);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  justify-self: start;
}
.brand-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-self: center;
  grid-column: 2;
}
.site-nav a {
  color: var(--foreground);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.site-nav a:hover { color: var(--foreground); }

.lang-switch {
  position: relative;
  flex-shrink: 0;
  justify-self: end;
  grid-column: 3;
}
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  min-width: 148px;
  padding: 0 14px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.lang-switch-btn:hover { border-color: var(--border-hover); }
.lang-switch-btn .flag { font-size: 16px; line-height: 1; }
.lang-switch-btn .chevron {
  margin-left: auto;
  width: 12px;
  height: 12px;
  color: var(--muted-foreground);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  min-width: 100%;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 16px 40px oklch(0 0 0 / 45%);
  display: none;
}
.lang-switch[data-open="true"] .lang-menu { display: grid; gap: 2px; }
.lang-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: none;
  background: transparent;
  color: var(--foreground);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
}
.lang-menu button:hover { background: var(--accent); }
.lang-menu button[aria-selected="true"] { background: var(--secondary); }
.lang-menu .flag { font-size: 16px; line-height: 1; }

.knopka-site {
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  max-width: 100%;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: center;
  min-height: calc(100vh - 96px - 88px - env(safe-area-inset-bottom, 0px));
  min-height: calc(100dvh - 96px - 88px - env(safe-area-inset-bottom, 0px));
  padding: 40px 0 48px;
  perspective: 1400px;
  overflow-x: clip;
  overflow-y: visible;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}
.hero-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
  perspective: 1200px;
}
.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  z-index: 100;
  box-sizing: border-box;
  padding: 12px 0 max(12px, env(safe-area-inset-bottom, 0px));
  background: oklch(0.175 0 0 / 94%);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.bottom-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}
.cta-download {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, 420px);
  min-height: 56px;
  padding: 14px 28px;
  border: 1.5px solid var(--brand-blue);
  border-radius: 999px;
  background: transparent;
  color: var(--foreground);
  font-family: inherit;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.cta-download-label {
  white-space: nowrap;
}
.cta-download-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--brand-blue);
}
.cta-download:hover {
  border-color: #5b9fff;
  background: rgb(59 140 255 / 8%);
}
.cta-download:active {
  background: rgb(59 140 255 / 12%);
}
.cta-download:focus-visible {
  outline: 2px solid rgb(59 140 255 / 70%);
  outline-offset: 3px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: min(480px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgb(26 140 255 / 28%) 0%,
    rgb(26 140 255 / 12%) 34%,
    rgb(26 140 255 / 4%) 58%,
    transparent 74%
  );
  filter: blur(36px);
  pointer-events: none;
}
.hero-phone {
  position: relative;
  z-index: 1;
  width: min(288px, 64vw);
  aspect-ratio: 9 / 19.2;
  padding: 11px;
  border-radius: 40px;
  background:
    linear-gradient(145deg, oklch(0.42 0 0) 0%, oklch(0.18 0 0) 38%, oklch(0.1 0 0) 72%, oklch(0.28 0 0) 100%);
  box-shadow:
    0 0 0 1px oklch(1 0 0 / 22%),
    0 0 0 2px oklch(0 0 0 / 55%),
    0 36px 70px oklch(0 0 0 / 65%),
    inset 0 1px 0 oklch(1 0 0 / 28%),
    inset 0 -1px 0 oklch(1 0 0 / 6%);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.hero-phone::before,
.hero-phone::after {
  content: "";
  position: absolute;
  background: linear-gradient(180deg, oklch(0.38 0 0), oklch(0.18 0 0));
  border-radius: 3px;
  box-shadow: 0 0 0 1px oklch(1 0 0 / 10%);
}
.hero-phone::before {
  right: -3px;
  top: 108px;
  width: 3px;
  height: 58px;
  box-shadow:
    0 0 0 1px oklch(1 0 0 / 10%),
    0 78px 0 0 oklch(0.22 0 0),
    0 78px 0 1px oklch(1 0 0 / 8%);
}
.hero-phone::after {
  left: -3px;
  top: 130px;
  width: 3px;
  height: 32px;
}
.hero-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 12%);
}
.hero-phone-notch {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 50%;
  width: 96px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050505;
  box-shadow:
    inset 0 0 0 1px oklch(1 0 0 / 10%),
    0 0 0 1px oklch(0 0 0 / 40%);
}
.hero-phone-ui {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  padding: 56px 16px 44px;
  box-sizing: border-box;
}
.hero-phone-title {
  margin: 0;
  font-size: clamp(12px, 2.6vw, 15px);
  font-weight: 500;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: oklch(0.62 0 0);
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
}
.hero-phone-status {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  color: oklch(0.62 0 0);
  font-size: clamp(9px, 1.9vw, 11px);
  font-weight: 400;
  line-height: 1.3;
  max-width: 16ch;
}
.hero-phone-timer {
  color: oklch(0.9 0 0 / 85%);
  font-size: clamp(10px, 2vw, 12px);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.hero-phone-power {
  position: relative;
  z-index: 1;
  width: 86%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.hero-phone-power .hero-power-glow {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgb(0 120 255 / 62%) 0%,
    rgb(0 100 255 / 28%) 40%,
    transparent 70%
  );
  filter: blur(13px);
  animation: phone-power-glow 1.575s cubic-bezier(0.33, 0, 0.67, 1) infinite alternate;
  pointer-events: none;
}
.hero-phone-power .hero-power-core {
  position: relative;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #0a0a0a;
  box-shadow:
    0 0 0 2.5px #1a8cff,
    0 0 18px rgb(0 120 255 / 60%);
  display: grid;
  place-items: center;
  animation: phone-power-core 1.575s cubic-bezier(0.33, 0, 0.67, 1) infinite alternate;
}
.hero-phone-power .hero-power-icon {
  width: 38%;
  height: 38%;
  color: #1a8cff;
}
.hero-window {
  position: relative;
  z-index: 1;
  width: min(480px, 92%);
  aspect-ratio: 10 / 13;
  border-radius: 18px;
  background: linear-gradient(160deg, oklch(0.32 0 0), oklch(0.12 0 0) 45%, oklch(0.22 0 0));
  box-shadow:
    0 0 0 1px oklch(1 0 0 / 14%),
    0 28px 60px oklch(0 0 0 / 55%),
    inset 0 1px 0 oklch(1 0 0 / 18%);
  overflow: hidden;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
  display: grid;
  grid-template-rows: auto 1fr;
}
.hero-window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: oklch(0.18 0 0);
  border-bottom: 1px solid oklch(1 0 0 / 8%);
}
.hero-window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: oklch(0.4 0 0);
}
.hero-window-bar span:nth-child(1) { background: #ff5f57; }
.hero-window-bar span:nth-child(2) { background: #febc2e; }
.hero-window-bar span:nth-child(3) { background: #28c840; }
.hero-window-ui {
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  padding: 28px 24px 32px;
  background: #000;
}
.hero-window .hero-phone-power {
  width: min(220px, 44%);
}
.hero-tv {
  position: relative;
  z-index: 1;
  width: min(580px, 94%);
  display: grid;
  justify-items: center;
  gap: 12px;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.hero-tv-bezel {
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 16px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, oklch(0.42 0 0) 0%, oklch(0.18 0 0) 38%, oklch(0.1 0 0) 72%, oklch(0.28 0 0) 100%);
  box-shadow:
    0 0 0 1px oklch(1 0 0 / 22%),
    0 0 0 2px oklch(0 0 0 / 55%),
    0 36px 70px oklch(0 0 0 / 65%),
    0 0 48px rgb(70 140 255 / 16%),
    inset 0 1px 0 oklch(1 0 0 / 28%),
    inset 0 -1px 0 oklch(1 0 0 / 6%);
}
.hero-tv-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #050505;
  box-shadow:
    inset 0 0 0 1px oklch(1 0 0 / 12%),
    inset 0 0 28px oklch(0 0 0 / 45%);
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 28px 36px 32px;
  box-sizing: border-box;
}
.hero-tv-title {
  margin: 0;
  justify-self: center;
  font-size: clamp(12px, 1.8vw, 16px);
  font-weight: 500;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
  color: oklch(0.62 0 0);
  text-transform: uppercase;
  line-height: 1;
}
.hero-tv-center {
  display: grid;
  place-items: center;
}
.hero-tv-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  min-width: min(320px, 78%);
  padding: 14px 22px;
  border: 2px solid oklch(1 0 0 / 14%);
  border-radius: 4px;
  background: transparent;
}
.hero-tv-toggle-label {
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: oklch(0.92 0 0);
  min-width: 7.5ch;
}
.hero-tv-switch {
  position: relative;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: oklch(0.28 0 0);
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 10%);
}
.hero-tv-switch[data-on="true"] {
  background: #5b8cff;
  box-shadow:
    inset 0 0 0 1px rgb(91 140 255 / 40%),
    0 0 16px rgb(91 140 255 / 35%);
}
.hero-tv-switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px oklch(0 0 0 / 35%);
  transition: transform .2s ease;
}
.hero-tv-switch[data-on="true"] .hero-tv-switch-thumb {
  transform: translateX(22px);
}
.hero-tv-stand {
  width: min(140px, 30%);
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, oklch(0.36 0 0), oklch(0.16 0 0));
  box-shadow:
    0 0 0 1px oklch(1 0 0 / 12%),
    0 10px 22px oklch(0 0 0 / 45%),
    inset 0 1px 0 oklch(1 0 0 / 18%);
}
@keyframes phone-power-glow {
  from { opacity: 0.75; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1.05); }
}
@keyframes phone-power-core {
  from {
    box-shadow:
      0 0 0 2.5px rgb(0 120 255 / 70%),
      0 0 12px rgb(0 110 255 / 45%);
  }
  to {
    box-shadow:
      0 0 0 2.5px #3aa0ff,
      0 0 24px rgb(0 140 255 / 75%);
  }
}
.dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: oklch(0 0 0 / 80%);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.dialog-backdrop[data-open="true"] { display: flex; }
.download-dialog {
  position: relative;
  width: calc(100% - 40px);
  max-width: 420px;
  border-radius: 24px;
  padding: 32px;
  display: grid;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--foreground);
}
.download-dialog h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  padding-right: 28px;
}
.download-dialog p {
  margin: 0;
  line-height: 1.7;
  font-size: 14px;
  color: var(--muted-foreground);
}
.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted-foreground);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.dialog-close:hover { color: var(--foreground); background: var(--accent); }
body.dialog-open { overflow: hidden; }

@media (max-width: 1176px) {
  .hero {
    min-height: calc(100vh - 80px - 88px - env(safe-area-inset-bottom, 0px));
    min-height: calc(100dvh - 80px - 88px - env(safe-area-inset-bottom, 0px));
    padding: 32px 0 40px;
  }
  .hero-phone { width: min(248px, 56vw); border-radius: 36px; }
  .hero-phone-screen { border-radius: 26px; }
  .hero-window { width: min(360px, 88%); }
  .hero-tv { width: min(480px, 94%); }
  .hero-tv-screen { padding: 22px 24px 26px; }
  .hero-tv-toggle { gap: 28px; min-width: min(280px, 86%); padding: 12px 16px; }
}
@media (max-width: 800px) {
  .page-width { padding-inline: 16px; }
  .site-header-bar.page-width { padding-inline: 16px; }
  .site-header-bar { height: 72px; }
  .hero {
    min-height: calc(100dvh - 72px - 76px - env(safe-area-inset-bottom, 0px));
    padding: 20px 0 24px;
  }
  .hero-visual::before {
    width: min(340px, 90%);
    filter: blur(24px);
  }
  .hero-phone {
    width: min(230px, 56vw);
    border-radius: 34px;
    box-shadow:
      0 0 0 1px oklch(1 0 0 / 22%),
      0 0 0 2px oklch(0 0 0 / 55%),
      0 18px 40px oklch(0 0 0 / 55%),
      inset 0 1px 0 oklch(1 0 0 / 28%),
      inset 0 -1px 0 oklch(1 0 0 / 6%);
  }
  .hero-phone::before,
  .hero-phone::after { display: none; }
  .knopka-site {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
  .bottom-bar {
    padding: 10px 0 max(10px, env(safe-area-inset-bottom, 0px));
  }
  .bottom-bar-inner.page-width {
    width: 100%;
    max-width: none;
    padding-inline: 16px;
    box-sizing: border-box;
  }
  .cta-download {
    width: 100%;
    max-width: 100%;
    min-height: 52px;
    border-radius: 16px;
    box-sizing: border-box;
  }
  .cta-download-label { white-space: normal; text-align: center; }
}
@media (max-width: 580px) {
  .page-width { padding-inline: 14px; }
  .site-header-bar.page-width { padding-inline: 14px; }
  .brand { font-size: 20px; letter-spacing: 0.05em; }
  .lang-switch-btn { height: 38px; min-width: 136px; font-size: 12px; padding: 0 12px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 13px; }
  .hero-visual::before {
    width: min(280px, 85%);
    filter: blur(20px);
  }
  .hero-phone {
    width: min(200px, 54vw);
    border-radius: 32px;
    padding: 9px;
  }
  .hero-phone-screen { border-radius: 24px; }
  .hero-phone-notch { width: 78px; height: 22px; top: 10px; }
  .hero-window { width: 100%; }
  .hero-tv { width: 100%; }
  .hero-tv-bezel { padding: 12px; border-radius: 18px; }
  .hero-tv-screen { padding: 18px 16px 20px; border-radius: 10px; }
  .hero-tv-toggle { gap: 20px; }
  .bottom-bar-inner.page-width { padding-inline: 14px; }
  .cta-download {
    min-height: 50px;
    padding: 12px 16px;
    font-size: 15px;
  }
  .cta-download-icon { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-phone,
  .hero-window,
  .hero-tv { transform: none; }
  .hero-phone-power .hero-power-glow,
  .hero-phone-power .hero-power-core { animation: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
