/* =========================================================
   Штеди Струја — V42 PRO UI
   Shared header, big-screen (2K/4K) scaling, Play Store bar
   ========================================================= */
:root{
  --z:1;
  --pro-bg:#050a08;
  --pro-panel:#0a130e;
  --pro-line:rgba(255,255,255,.08);
  --pro-text:#f5f7f6;
  --pro-muted:#9fada6;
  --pro-accent:#dfff36;
  --pro-accent-ink:#071009;
  --pro-header-h:76px;
  --pro-bar-h:64px;
}

/* ---------- Big screens: scale the whole site proportionally ----------
   The original layout is locked to ~1160px. On 2K/4K monitors it looked like
   a tiny island in the middle. We scale the full page so it fills the screen
   with the same proportions as on a normal laptop. */
@media (min-width:1800px){:root{--z:1.15}}
@media (min-width:2100px){:root{--z:1.3}}
@media (min-width:2400px){:root{--z:1.5}}
@media (min-width:2800px){:root{--z:1.75}}
@media (min-width:3200px){:root{--z:2}}
@media (min-width:3600px){:root{--z:2.2}}
html{zoom:var(--z)}
/* viewport units are multiplied by zoom; compensate */
.hero{min-height:calc(100vh / var(--z))!important}
.legal-page{min-height:calc(100vh / var(--z))!important}
.cursor-glow{display:var(--glow-display,block)}

/* ---------- Header ---------- */
body.has-pro-header .site-header,
body.has-pro-header .seo-header{display:none!important}
body.has-pro-header .legal-top{display:none!important}

.pro-header{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  height:var(--pro-header-h);
  font-family:"Manrope",system-ui,sans-serif;
  transition:background .25s ease,border-color .25s ease,box-shadow .25s ease,height .25s ease;
  border-bottom:1px solid transparent;
  background:linear-gradient(180deg,rgba(5,10,8,.88),rgba(5,10,8,.55));
  backdrop-filter:blur(16px) saturate(140%);
  -webkit-backdrop-filter:blur(16px) saturate(140%);
}
.pro-header.is-scrolled{
  --pro-header-h:66px;
  background:rgba(6,11,9,.92);
  border-bottom-color:var(--pro-line);
  box-shadow:0 14px 40px rgba(0,0,0,.35);
}
.pro-header *{box-sizing:border-box}
.pro-header-in{
  width:min(1240px,calc(100% - 40px));margin:0 auto;height:100%;
  display:flex;align-items:center;gap:20px;
}
.pro-brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-weight:800;font-size:19px;letter-spacing:-.02em;white-space:nowrap;flex:0 0 auto}
.pro-brand img{width:34px;height:34px;display:block}
.pro-brand b{color:var(--pro-accent);font-weight:800}

.pro-links{display:flex;align-items:center;gap:4px;margin-left:18px;flex:1 1 auto;min-width:0}
.pro-links > a,
.pro-drop > button{
  appearance:none;-webkit-appearance:none;border:0;background:none;font:inherit;cursor:pointer;
  display:inline-flex;align-items:center;gap:6px;
  height:40px;padding:0 13px;border-radius:11px;
  color:#c3cec8;text-decoration:none;font-size:14px;font-weight:700;white-space:nowrap;
  transition:color .18s ease,background .18s ease;
}
.pro-links > a:hover,.pro-drop > button:hover,.pro-drop.open > button{color:#fff;background:rgba(255,255,255,.05)}
.pro-links > a.active{color:var(--pro-accent)}
.pro-links .pro-new{font-size:9px;font-weight:900;letter-spacing:.08em;color:var(--pro-accent-ink);background:var(--pro-accent);border-radius:6px;padding:3px 5px;line-height:1}
.pro-chev{width:9px;height:9px;opacity:.7;transition:transform .2s ease}
.pro-drop{position:relative}
.pro-drop.open .pro-chev{transform:rotate(180deg)}
.pro-drop-menu{
  position:absolute;top:calc(100% + 10px);left:-8px;width:310px;padding:8px;
  border-radius:18px;border:1px solid var(--pro-line);
  background:linear-gradient(180deg,#0c1611,#070f0b);
  box-shadow:0 30px 80px rgba(0,0,0,.55);
  opacity:0;visibility:hidden;transform:translateY(-6px);pointer-events:none;
  transition:opacity .18s ease,transform .18s ease,visibility .18s;
}
.pro-drop.open .pro-drop-menu{opacity:1;visibility:visible;transform:none;pointer-events:auto}
.pro-drop-menu a{display:flex;gap:12px;align-items:flex-start;padding:11px 12px;border-radius:12px;color:#fff;text-decoration:none}
.pro-drop-menu a:hover{background:rgba(223,255,54,.06)}
.pro-drop-menu .ic{flex:0 0 34px;height:34px;border-radius:10px;display:grid;place-items:center;background:rgba(223,255,54,.08);border:1px solid rgba(223,255,54,.18);color:var(--pro-accent)}
.pro-drop-menu .ic svg{width:17px;height:17px}
.pro-drop-menu b{display:block;font-size:13.5px;font-weight:800;line-height:1.3}
.pro-drop-menu small{display:block;font-size:12px;color:var(--pro-muted);line-height:1.4;margin-top:2px;font-weight:600}

.pro-actions{display:flex;align-items:center;gap:10px;margin-left:auto;flex:0 0 auto}
.pro-cta{
  display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 18px;border-radius:12px;
  background:var(--pro-accent);color:var(--pro-accent-ink)!important;text-decoration:none;
  font-weight:900;font-size:13.5px;white-space:nowrap;
  box-shadow:0 10px 30px rgba(223,255,54,.18);transition:transform .18s ease,box-shadow .18s ease;
}
.pro-cta:hover{transform:translateY(-1px);box-shadow:0 14px 36px rgba(223,255,54,.28)}
.pro-cta svg{width:16px;height:16px}

/* language switcher (shared, matches the original design) */
.pro-header .lang-switcher{position:relative;display:inline-block}
.pro-header .lang-current{
  appearance:none;-webkit-appearance:none;display:flex;align-items:center;gap:8px;height:42px;padding:0 12px;
  border-radius:12px;border:1px solid rgba(223,255,54,.2);
  background:linear-gradient(180deg,rgba(14,24,19,.98),rgba(7,13,10,.98));
  color:#f5f7f6;font:inherit;font-size:12px;font-weight:800;cursor:pointer;transition:.2s ease;
}
.pro-header .lang-current:hover,.pro-header .lang-switcher.open .lang-current{border-color:rgba(223,255,54,.55)}
.pro-header .lang-current .flag{font-size:15px}
.pro-header .lang-current .lang-code{color:var(--pro-accent);letter-spacing:.06em}
.pro-header .lang-current .chev{font-size:9px;color:#87968e;transition:transform .2s ease}
.pro-header .lang-switcher.open .chev{transform:rotate(180deg)}
.pro-header .lang-menu{
  position:absolute;right:0;top:calc(100% + 10px);width:210px;padding:8px;border-radius:16px;
  border:1px solid var(--pro-line);background:linear-gradient(180deg,#0b1510,#07100c);
  box-shadow:0 26px 70px rgba(0,0,0,.56);
  opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-6px);
  transition:opacity .18s ease,transform .18s ease,visibility .18s;z-index:5;
}
.pro-header .lang-switcher.open .lang-menu{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.pro-header .lang-option{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:11px;color:#c6d0ca;text-decoration:none;font-size:12.5px;font-weight:700}
.pro-header .lang-option:hover{background:rgba(223,255,54,.07);color:#fff}
.pro-header .lang-option.active{background:rgba(223,255,54,.1);color:var(--pro-accent)}
.pro-header .lang-option .flag{font-size:17px}
.pro-header .lang-option small{margin-left:auto;color:#65736b;font-size:9px;font-weight:800}

.pro-burger{
  display:none;appearance:none;border:1px solid var(--pro-line);background:rgba(255,255,255,.03);
  width:42px;height:42px;border-radius:12px;cursor:pointer;color:#fff;place-items:center;flex:0 0 auto;
}
.pro-burger span{display:block;width:18px;height:2px;background:#fff;border-radius:2px;position:relative;transition:.25s}
.pro-burger span:before,.pro-burger span:after{content:"";position:absolute;left:0;width:18px;height:2px;background:#fff;border-radius:2px;transition:.25s}
.pro-burger span:before{top:-6px}.pro-burger span:after{top:6px}
.pro-header.menu-open .pro-burger span{background:transparent}
.pro-header.menu-open .pro-burger span:before{top:0;transform:rotate(45deg)}
.pro-header.menu-open .pro-burger span:after{top:0;transform:rotate(-45deg)}

/* mobile panel */
.pro-mobile{display:none}
@media (max-width:1100px){
  .pro-links,.pro-actions .pro-cta{display:none}
  .pro-burger{display:grid}
  .pro-actions{gap:8px}
  .pro-mobile{
    display:block;position:fixed;left:0;right:0;top:var(--pro-header-h);
    max-height:calc(100vh - var(--pro-header-h));overflow:auto;
    padding:14px 16px 22px;background:rgba(6,11,9,.98);border-bottom:1px solid var(--pro-line);
    box-shadow:0 30px 60px rgba(0,0,0,.5);
    opacity:0;visibility:hidden;transform:translateY(-8px);transition:.22s ease;
  }
  .pro-header.menu-open .pro-mobile{opacity:1;visibility:visible;transform:none}
  .pro-mobile a{display:flex;align-items:center;justify-content:space-between;padding:14px 12px;border-radius:12px;color:#e7eeea;text-decoration:none;font-weight:700;font-size:15px;border-bottom:1px solid rgba(255,255,255,.04)}
  .pro-mobile a:hover{background:rgba(255,255,255,.04)}
  .pro-mobile .grp{font-size:10.5px;font-weight:900;letter-spacing:.14em;color:#6f7e76;text-transform:uppercase;padding:16px 12px 6px}
  .pro-mobile .pro-cta{display:flex;justify-content:center;margin-top:14px;height:50px;font-size:15px;border-bottom:0}
}
@media (max-width:640px){
  .pro-header{--pro-header-h:64px}
  .pro-header-in{width:calc(100% - 28px);gap:10px}
  .pro-brand{font-size:17px}
  .pro-brand img{width:30px;height:30px}
  .pro-header .lang-current{height:40px;padding:0 10px}
  .pro-header .lang-current .lang-name{display:none}
  .pro-burger{width:40px;height:40px}
}
@media (max-width:360px){.pro-brand span{display:none}}

/* ---------- Play Store bar (always visible) ---------- */
.ps-bar{
  position:fixed;left:50%;bottom:14px;transform:translateX(-50%);z-index:990;
  width:min(720px,calc(100% - 24px));
  display:flex;align-items:center;gap:14px;
  padding:10px 10px 10px 14px;border-radius:18px;
  background:rgba(8,15,11,.9);border:1px solid rgba(223,255,54,.22);
  backdrop-filter:blur(16px) saturate(150%);-webkit-backdrop-filter:blur(16px) saturate(150%);
  box-shadow:0 20px 60px rgba(0,0,0,.55),0 0 0 1px rgba(0,0,0,.4);
  color:#fff;text-decoration:none;font-family:"Manrope",system-ui,sans-serif;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
  animation:psIn .6s cubic-bezier(.2,.8,.2,1) both .4s;
}
.ps-bar:hover{border-color:rgba(223,255,54,.5);box-shadow:0 24px 70px rgba(0,0,0,.6),0 0 30px rgba(223,255,54,.08)}
@keyframes psIn{from{opacity:0;transform:translate(-50%,20px)}to{opacity:1;transform:translate(-50%,0)}}
.ps-icon{flex:0 0 42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#fff!important;opacity:1!important}
.ps-icon svg{width:24px;height:24px}
.ps-txt{flex:1 1 auto;min-width:0;line-height:1.25}
.ps-txt small{display:flex;align-items:center;gap:6px;font-size:10.5px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:var(--pro-accent)}
.ps-txt small i{width:7px;height:7px;border-radius:50%;background:var(--pro-accent);box-shadow:0 0 0 0 rgba(223,255,54,.6);animation:psPulse 1.8s infinite}
@keyframes psPulse{70%{box-shadow:0 0 0 8px rgba(223,255,54,0)}100%{box-shadow:0 0 0 0 rgba(223,255,54,0)}}
.ps-txt b{display:block;font-size:15px;font-weight:800;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ps-go{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 16px;border-radius:12px;background:var(--pro-accent);color:var(--pro-accent-ink);font-weight:900;font-size:13.5px}
.ps-go svg{width:15px;height:15px}
body.has-ps-bar{padding-bottom:calc(var(--pro-bar-h) + 30px)}
@media (max-width:640px){
  .ps-bar{bottom:10px;gap:10px;padding:8px 8px 8px 10px;border-radius:16px}
  .ps-icon{flex-basis:38px;height:38px}
  .ps-txt b{font-size:13.5px}
  .ps-txt small{font-size:9.5px}
  .ps-go{height:38px;padding:0 12px;font-size:12.5px}
  .ps-go span{display:none}
}
@media (prefers-reduced-motion:reduce){.ps-bar,.ps-txt small i{animation:none}}

/* mobile hero: phone mock-up was overlapping the "24/7 · AI · Live" row */
@media (max-width:640px){
  .hero-copy .trust-row{position:relative;z-index:3}
  .hero-visual{margin-top:4px!important}
}

/* store buttons in the existing CTA section */
.store-btn.is-live{border-color:rgba(223,255,54,.5)!important}
