@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url("fonts/inter-cyrillic-wght-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --bg: #0b0e15; --panel: #121722; --panel-2: #171d2a; --line: rgba(255, 255, 255, .08);
  --text: #eef1f8; --text-2: #a2aabd; --text-3: #6c7589;
  --a: #3d8bff; --b: #5f5cff; --grad: linear-gradient(135deg, var(--a), var(--b));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 "Inter", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
code { font-family: Consolas, monospace; color: var(--a); }

.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg i { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .45; }
.bg .b1 { width: 620px; height: 620px; left: -180px; top: -200px; background: #2f6fe0; }
.bg .b2 { width: 520px; height: 520px; right: -160px; top: 30%; background: #5a3fd6; opacity: .32; }
.bg .b3 { width: 460px; height: 460px; left: 30%; bottom: -260px; background: #0f8f9c; opacity: .22; }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; padding: 14px max(24px, calc((100% - 1160px) / 2));
  background: rgba(11, 14, 21, .88); border-bottom: 1px solid var(--line); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .top { background: rgba(11, 14, 21, .7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2em; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 6px 18px rgba(61, 139, 255, .4); }
.top nav { display: flex; gap: 22px; flex: 1; color: var(--text-2); font-size: .95em; }
.top nav a:hover { color: var(--text); }
.top-actions { display: flex; align-items: center; gap: 10px; flex: none; }

/* Язык в шапке: сегмент RU|EN */
.lang-switch {
  display: inline-flex; align-items: stretch; flex: none;
  padding: 3px; gap: 2px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
}
.lang-switch button {
  appearance: none; border: 0; margin: 0; cursor: pointer;
  min-width: 40px; height: 30px; padding: 0 11px;
  border-radius: 9px;
  background: transparent; color: var(--text-2);
  font: 650 .78em/1 "Inter", "Segoe UI", system-ui, sans-serif;
  letter-spacing: .06em;
  transition: color .15s, background .15s, box-shadow .15s;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.on {
  background: rgba(255, 255, 255, .08);
  color: var(--text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(61, 139, 255, .28);
}
.lang-switch button:focus-visible {
  outline: 2px solid var(--a); outline-offset: 2px;
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 22px; border-radius: 14px;
  background: var(--grad); color: #fff; font-weight: 700; box-shadow: 0 10px 30px rgba(61, 139, 255, .35); transition: transform .15s, filter .15s; border: 0; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn.sm { height: 38px; padding: 0 16px; border-radius: 12px; font-size: .92em; box-shadow: none; }
.btn.big { height: 58px; padding: 0 30px; border-radius: 18px; font-size: 1.05em; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: rgba(61, 139, 255, .45); background: rgba(61, 139, 255, .08); filter: none; }

main { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
section { padding: 80px 0 20px; }
h2 { font-size: 2em; letter-spacing: -.02em; margin: 0 0 28px; }

.hero { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 40px; align-items: center; padding-top: 70px; }
.hero-shots { position: relative; min-height: 420px; }
.shot { margin: 0; }
.shot-desk {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .5); background: var(--panel);
}
.shot-phone {
  position: absolute; right: -4px; bottom: -20px; width: min(36%, 200px);
  border-radius: 26px; overflow: hidden; border: 3px solid #1a2233;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55); background: #0b0e15;
}
.shot img { display: block; width: 100%; height: auto; }
.eyebrow { margin: 0 0 12px; color: var(--text-3); font-size: .92em; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.4em, 5vw, 3.6em); line-height: 1.07; letter-spacing: -.035em; margin: 0 0 20px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15em; color: var(--text-2); margin: 0 0 28px; max-width: 540px; }
.about-lead { font-size: 1.08em; color: var(--text-2); margin: 0 0 28px; max-width: 720px; line-height: 1.6; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about-grid a, .data-card a, .sec-list a, .faq a { color: var(--a); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cta-meta { color: var(--text-3); font-size: .88em; margin: 12px 0 0; }
.note { margin-top: 22px; color: var(--text-3); font-size: .9em; max-width: 460px; }

.is-mobile .desktop-only { display: none !important; }
.is-desktop .mobile-only, html:not(.is-mobile) .mobile-only { display: none; }
/* APK-кнопка на всех, кроме iPhone */
.is-ios .apk-dl { display: none !important; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.f { padding: 24px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.f:hover { transform: translateY(-3px); border-color: rgba(61, 139, 255, .35); }
.f b { display: block; margin: 0 0 8px; font-size: 1.08em; }
.f p { margin: 0; color: var(--text-2); font-size: .95em; }

.plat-grid, .data-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plat-grid-4 { grid-template-columns: repeat(4, 1fr); }
.plat, .data-card { padding: 24px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.plat b, .data-card b { font-size: 1.08em; }
.plat p, .data-card p { margin: 0; color: var(--text-2); font-size: .95em; flex: 1; }
.plat .btn { align-self: flex-start; margin-top: 6px; }
.plat .btn + .btn { margin-top: 0; }
.data-note { margin: 18px 0 0; color: var(--text-3); font-size: .92em; max-width: 820px; }

.sec-list { margin: 0; padding: 0 0 0 1.15em; color: var(--text-2); max-width: 820px; }
.sec-list li { margin: 0 0 10px; }
.sec-list strong { color: var(--text); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps div { padding: 24px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.steps em { font-style: normal; width: 34px; height: 34px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; font-weight: 800; }
.steps b { display: block; margin: 12px 0 6px; }
.steps p { margin: 0; color: var(--text-2); font-size: .95em; }

.faq details { border-radius: 16px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--text-3); font-size: 1.3em; line-height: 1; transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--text-2); }

.bottom-cta { text-align: center; padding-bottom: 40px; }
.bottom-cta p { color: var(--text-2); margin: -12px 0 22px; }
.bottom-cta .cta-row { justify-content: center; }

footer { width: min(1160px, calc(100% - 48px)); margin: 40px auto 0; padding: 26px 0 40px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; color: var(--text-3); font-size: .9em; flex-wrap: wrap; }
footer .brand { font-size: 1em; color: var(--text); }
footer .brand img { width: 26px; height: 26px; border-radius: 8px; box-shadow: none; }
.foot-op { margin: 8px 0 0; font-size: .88em; max-width: 320px; }
.foot-op a { color: var(--a); }
footer .foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer .foot-links a { color: var(--text-3); text-decoration: none; }
footer .foot-links a:hover { color: var(--text); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .hero-shots { min-height: 0; max-width: 560px; margin: 0 auto; }
  .shot-phone { width: min(34%, 160px); right: 6px; bottom: -12px; }
  .grid, .steps, .plat-grid, .plat-grid-4, .data-grid { grid-template-columns: 1fr 1fr; }
  .top nav { display: none; }
  .top { justify-content: space-between; gap: 12px; }
  .top-actions { gap: 8px; }
  .lang-switch button { min-width: 36px; padding: 0 9px; }
}
@media (max-width: 600px) {
  .grid, .steps, .plat-grid, .plat-grid-4, .data-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; gap: 28px; }
  .hero h1 { font-size: clamp(2em, 9vw, 2.45em); margin-bottom: 14px; }
  .lead { font-size: 1.02em; margin: 0 0 18px; }
  .cta-meta { margin-top: 8px; }
  .hero-shots {
    max-width: 340px;
    min-height: 430px;
    margin: 0 auto;
  }
  .shot-desk {
    display: block;
    opacity: 0.30;
    transform: scale(1.04);
    pointer-events: none;
  }
  .shot-phone {
    display: block;
    position: absolute;
    left: 50%;
    right: auto;
    bottom: -4px;
    transform: translateX(-50%);
    /* чуть уже → визуально вытянутее, как современные 19.5:9 */
    width: min(168px, 46%);
    margin: 0;
    border-radius: 32px;
    border-width: 3px;
    z-index: 2;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .75);
  }
  h2 { font-size: 1.6em; }
  footer { flex-direction: column; gap: 10px; }
  .btn.big { width: 100%; }

  /* слабые GPU: без тяжёлого blur */
  .top { background: rgba(11, 14, 21, .94); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .bg i { filter: none; opacity: .22; }
  .bg .b1 { width: 280px; height: 280px; left: -80px; top: -100px; }
  .bg .b2 { width: 220px; height: 220px; right: -60px; opacity: .16; }
  .bg .b3 { width: 200px; height: 200px; bottom: -80px; opacity: .12; }
  .f:hover { transform: none; }
}

/* длинные SEO-страницы */
.article { padding-top: 48px; padding-bottom: 40px; max-width: 760px; }
.article h1 { font-size: clamp(1.85em, 4.5vw, 2.6em); line-height: 1.15; letter-spacing: -.03em; margin: 0 0 16px; }
.article .lead { max-width: none; margin-bottom: 28px; }
.article h2 { font-size: 1.35em; margin: 36px 0 14px; }
.article p, .article li { color: var(--text-2); font-size: 1.02em; line-height: 1.65; }
.article p { margin: 0 0 14px; }
.article ul { margin: 0 0 18px; padding: 0 0 0 1.2em; }
.article li { margin: 0 0 8px; }
.article strong { color: var(--text); }
.article .cta-row { margin-top: 28px; }
