:root{
  --bg0:#05060a;
  --bg1:#0b0f1d;
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.09);
  --stroke:rgba(255,255,255,.12);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.68);
  --muted2:rgba(255,255,255,.52);
  --accent:#7c3aed;
  --accent2:#22d3ee;
  --good:#22c55e;
  --warn:#f59e0b;
  --shadow: 0 20px 60px rgba(0,0,0,.55);
  --radius:22px;
  --max:1160px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(124,58,237,.25), transparent 60%),
    radial-gradient(1000px 650px at 85% 20%, rgba(34,211,238,.18), transparent 55%),
    radial-gradient(900px 700px at 50% 90%, rgba(124,58,237,.14), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}

/* Top nav */
.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(16px);
  background: rgba(5,6,10,.55);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav__inner{
  max-width:var(--max);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
}
.brand{display:flex; align-items:center; gap:12px}
.brand img{width:40px; height:40px; border-radius:12px; box-shadow: 0 10px 30px rgba(0,0,0,.35)}
.brand b{font-size:15px; letter-spacing:.3px}
.brand span{display:block; font-size:12px; color:var(--muted2); margin-top:2px}

.navlinks{display:flex; align-items:center; gap:18px}
.navlinks a{font-size:13px; color:var(--muted); padding:8px 10px; border-radius:12px}
.navlinks a:hover{background:rgba(255,255,255,.06); color:var(--text)}

.actions{display:flex; align-items:center; gap:10px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color:var(--text);
  font-weight:600;
  font-size:13px;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
}
.btn:hover{background: rgba(255,255,255,.10)}
.btn--primary{
  background: linear-gradient(135deg, rgba(124,58,237,.95), rgba(34,211,238,.85));
  border-color: rgba(255,255,255,.14);
}
.btn--primary:hover{filter:brightness(1.05)}
.btn--ghost{background:transparent; box-shadow:none}

.lang{
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color:var(--muted);
  font-size:13px;
}
.lang button{
  border:0; background:transparent; color:inherit; cursor:pointer;
  font-weight:700; padding:0 6px;
}
.lang button[aria-pressed="true"]{color:var(--text)}

.burger{display:none; width:42px; height:42px; border-radius:14px}

@media (max-width: 920px){
  .navlinks{display:none}
  .burger{display:inline-flex}
}

/* Layout */
.section{max-width:var(--max); margin:0 auto; padding: 78px 16px}
.section--tight{padding: 54px 16px}

.hero{
  padding-top: 54px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:34px;
  align-items:center;
}
@media (max-width: 980px){
  .hero__grid{grid-template-columns:1fr;}
}

.kicker{display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px; border-radius:999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--muted);
  font-size:12px;
}
.dot{width:8px; height:8px; border-radius:99px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 4px rgba(124,58,237,.16);
}

.h1{font-size:52px; line-height:1.05; margin:14px 0 14px; letter-spacing:-.9px}
@media (max-width: 520px){.h1{font-size:40px}}

.lead{color:var(--muted); font-size:16px; line-height:1.6; margin:0 0 22px}

.ctaRow{display:flex; flex-wrap:wrap; gap:12px; align-items:center}
.badge{
  display:inline-flex; align-items:center; gap:10px;
  padding:12px 14px;
  border-radius:16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--muted);
  font-size:12px;
}
.badge b{color:var(--text)}

.heroCard{
  position:relative;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(700px 380px at 20% 10%, rgba(124,58,237,.18), transparent 55%),
    radial-gradient(600px 420px at 80% 25%, rgba(34,211,238,.12), transparent 55%),
    rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.heroCard__inner{padding:20px}
.phone{
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  padding: 12px;
}
.phone img{width:100%; display:block; border-radius:18px}
.phone__row{display:grid; grid-template-columns: 1fr 1fr; gap:12px; margin-top:12px}
.phone__row img{height:140px; object-fit:cover}
@media (max-width:520px){
  .phone__row{grid-template-columns:1fr}
  .phone__row img{height:180px}
}

/* Features */
.grid3{display:grid; grid-template-columns:repeat(3, 1fr); gap:14px}
@media (max-width: 980px){.grid3{grid-template-columns:1fr}}
.card{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  box-shadow: 0 12px 40px rgba(0,0,0,.32);
  padding:18px;
}
.card h3{margin:0 0 8px; font-size:16px}
.card p{margin:0; color:var(--muted); line-height:1.6; font-size:14px}
.icon{
  width:44px; height:44px; border-radius:16px;
  display:grid; place-items:center;
  margin-bottom:12px;
  background: linear-gradient(135deg, rgba(124,58,237,.95), rgba(34,211,238,.75));
  box-shadow: 0 20px 50px rgba(124,58,237,.22);
  border:1px solid rgba(255,255,255,.14);
}

/* Screenshots */
.shotsWrap{display:grid; grid-template-columns: 1.1fr .9fr; gap:16px; align-items:stretch}
@media (max-width:980px){.shotsWrap{grid-template-columns:1fr}}
.shotsBig{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding:14px;
  box-shadow: var(--shadow);
}
.shotsBig img{width:100%; display:block; border-radius:18px; max-height:520px; object-fit:cover}
.shotsGrid{display:grid; grid-template-columns:1fr 1fr; gap:14px}
.shotsGrid button{all:unset; cursor:pointer}
.thumb{
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding:10px;
}
.thumb img{width:100%; height:220px; object-fit:cover; border-radius:12px; display:block}
@media (max-width:520px){.thumb img{height:180px}}

/* Privacy */
.prose{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  box-shadow: 0 12px 40px rgba(0,0,0,.28);
  padding:22px;
}
.prose h2{margin:0 0 14px; font-size:22px}
.prose h3{margin:20px 0 10px; font-size:16px}
.prose p, .prose li{color:var(--muted); line-height:1.7; font-size:14px}
.prose ul{margin:10px 0 0 18px}
.small{color:var(--muted2); font-size:12px; line-height:1.6}

/* Footer */
.footer{border-top:1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.25)}
.footer .section{padding: 26px 16px}
.footerRow{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap}
.footer a{color:var(--muted)}
.footer a:hover{color:var(--text)}

/* Modal */
.modal{position:fixed; inset:0; background: rgba(0,0,0,.78); display:none; align-items:center; justify-content:center; padding:16px; z-index:90}
.modal[aria-hidden="false"]{display:flex}
.modal__card{max-width:980px; width:100%; border-radius: 22px; border:1px solid rgba(255,255,255,.12); background: rgba(10,12,20,.92); box-shadow: var(--shadow); overflow:hidden}
.modal__top{display:flex; align-items:center; justify-content:space-between; padding:12px 14px; border-bottom:1px solid rgba(255,255,255,.10)}
.modal__top b{font-size:13px; color:var(--muted)}
.modal__top button{all:unset; cursor:pointer; padding:8px 10px; border-radius:12px; background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.10)}
.modal__body{padding:12px}
.modal__body img{width:100%; display:block; border-radius:14px; max-height:76vh; object-fit:contain; background: rgba(0,0,0,.25)}

/* Mobile drawer */
.drawer{position:fixed; inset:0; background: rgba(0,0,0,.72); display:none; z-index:80}
.drawer[aria-hidden="false"]{display:block}
.drawer__panel{position:absolute; right:0; top:0; height:100%; width:min(340px, 86vw);
  background: rgba(10,12,20,.95);
  border-left:1px solid rgba(255,255,255,.10);
  padding:18px;
}
.drawer__panel a{display:block; padding:12px 12px; border-radius:14px; color:var(--muted)}
.drawer__panel a:hover{background: rgba(255,255,255,.06); color:var(--text)}
.drawer__panel .row{display:flex; align-items:center; justify-content:space-between; margin-bottom:10px}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
}

/* Language visibility helpers */
html[lang="en"] .only-ru{display:none !important}
html[lang="ru"] .only-en{display:none !important}
