 :root{
    --header-h:72px;
    --bg:#0e1218;
    --card:#161a20;
    --muted:#9aa3b2;
    --accent:#2972d6;
    --glass: rgba(255,255,255,0.04);
  }
  *{box-sizing:border-box}
  body{
    margin:0;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    background:var(--bg);
    color:#fff;
  }

  /* HEADER (always visible) */
  header.site-header{
    height:var(--header-h);
    position:sticky;
    top:0;
    z-index:2400; /* above overlay/nav so links are always visible */
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 20px;
    gap:16px;
    background: linear-gradient(180deg, rgba(6,8,11,0.6), rgba(6,8,11,0.2));
    backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(255,255,255,0.02);
  }
  .logo{ display:flex; align-items:center; gap:12px; font-weight:600; font-size:18px }
  .logo img{ height:34px; display:block }

  /* top nav links (must always be visible) */
  .top-links{
    display:flex;
    gap:18px;
    align-items:center;
    margin-right:72px; /* reserve space for fixed burger on the right */
  }
  .top-links a{
    color:#fff;
    text-decoration:none;
    font-weight:600;
    padding:8px 10px;
    border-radius:8px;
  }
  .top-links a:hover{ background: rgba(255,255,255,0.03) }

  /* always-visible burger button (fixed) */
  .burger-btn{
    position:fixed;
    top: calc((var(--header-h) - 48px)/2); /* center vertically relative to header */
    right:12px;
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--glass);
    border-radius:10px;
    cursor:pointer;
    z-index:2600; /* above everything so it's always clickable */
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);
    border:1px solid rgba(255,255,255,0.04);
  }
  .burger-lines{ width:22px; height:14px; position:relative }
  .burger-lines span{
    position:absolute; left:0; right:0; height:2px; background:#fff; border-radius:2px;
    transition: transform .25s ease, opacity .2s ease;
  }
  .burger-lines span:nth-child(1){ top:0 }
  .burger-lines span:nth-child(2){ top:6px }
  .burger-lines span:nth-child(3){ top:12px }

  /* side-nav open state toggles X */
  .menu-open .burger-lines span:nth-child(1){ transform: translateY(6px) rotate(45deg) }
  .menu-open .burger-lines span:nth-child(2){ opacity:0 }
  .menu-open .burger-lines span:nth-child(3){ transform: translateY(-6px) rotate(-45deg) }

  /* overlay starts below header so header links remain visible */
  #overlay{
    position:fixed;
    top:var(--header-h);
    left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.54);
    z-index:2200;
    opacity:0; visibility:hidden;
    transition:opacity .22s;
  }
  .menu-open #overlay{ opacity:1; visibility:visible }

  /* side nav appears under header */
  nav.side-nav{
    position:fixed;
    top:var(--header-h);
    right:-360px;
    width:min(360px,86vw);
    height:calc(100vh - var(--header-h));
    background: linear-gradient(180deg, rgba(18,20,24,0.98), rgba(14,16,19,0.98));
    box-shadow: -10px 0 30px rgba(0,0,0,0.6);
    padding:20px;
    transition: right .28s cubic-bezier(.2,.9,.2,1);
    z-index:2300;
    overflow:auto;
  }
  nav.side-nav.open{ right:0; }
  nav.side-nav ul{ list-style:none; padding:0; margin:6px 0 0; display:flex; flex-direction:column; gap:12px }
  nav.side-nav a{ color:#fff; text-decoration:none; padding:10px 12px; border-radius:8px; display:inline-block; font-weight:600 }
  nav.side-nav a:hover{ background: rgba(255,255,255,0.03) }

  /* hero */
  .hero{
    position:relative;
    min-height:420px;
    background-image: url("https://wsrv.nl/?output=webp&url=www.liga.net/images/general/2018/04/02/20180402190149-5080.jpg&fit=cover"); /* ваш файл из контейнера */
    background-size:cover;
    background-position:center;
    padding:24px 24px 60px;
    display:flex;
    align-items:flex-start;
  }
  .hero::before{
     content:"";
    position:absolute; inset:0;
    background: rgba(0,0,0,0.75);
    z-index:0;м
  }
  .hero-inner{ position:relative; z-index:1; max-width:1060px; margin-left:260px }
  .hero h1{ font-size:54px; line-height:1; margin:0 0 12px; font-weight:700; text-shadow:0 6px 30px rgba(0,0,0,0.6) }
  .hero p{ font-size:20px; margin:0; color:#dfe6ee }

  /* feature cards (clickable) */
  .features{
    display:flex;
    gap:20px;
    max-width:1020px;
    margin:24px auto;
    padding:0 20px 40px;
  }
  .card-link{
    display:flex; gap:16px; align-items:center; text-decoration:none;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    padding:18px; border-radius:12px; flex:1; color:#fff;
    transition: transform .18s ease, background .15s;
    box-shadow: 0 6px 18px rgba(0,0,0,0.45);
    min-height:84px;
  }
  .card-link:hover{ transform: translateY(-6px); background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015)) }
  .card-icon{ width:56px; height:56px; border-radius:10px; display:flex;align-items:center;justify-content:center; background: rgba(255,255,255,0.03) }
  .card-title{ font-weight:700; font-size:16px }

  /* screenshots & footer */
.screenshots{
    display:flex;
    flex-wrap:wrap;
    gap:50px;
  }
  
  .screenshots img{ width:calc(50%-15); 
border-radius:10px; 
display:flex; 
box-shadow:0 12px 40px rgba(0,0,0,0.6) }
.section{ max-width:1100px; margin:0 auto; padding:20px; }
  footer.site-footer{ padding:28px 18px; text-align:center; color:var(--muted); background:transparent }
  .languages a{ color:#fff; opacity:.95; text-decoration:none; margin:0 8px; font-weight:600 }
  .languages a:hover{ text-decoration:underline }

  /* responsiveness: keep header links visible but allow wrap */
  @media (max-width:760px){
    .top-links{ gap:4px; font-size:12px }
    .hero h1{ font-size:36px }
    .features{ flex-direction:column; gap:14px; padding:0 16px 32px }
    /* ensure top-links don't overlap burger: reduce margin */
    .top-links{ margin-right:86px }
  }
  
  /* Тёмный фон */
.dark-bg {
  background-color: #111;
  color: #fff;
  margin: 0;
  font-family: Arial, sans-serif;
}

/* Хедер */
.site-header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}

.logo {
  height: 40px;
  margin-right: 10px;
}
.logo-title {
  display: flex;
  align-items: center;
}
.site-name {
  font-size: 20px;
  font-weight: bold;
}

/* Меню */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.nav-menu a.active {
  border-bottom: 2px solid #0f9;
}
.burger {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* Блоки скачать */
.download-page {
   display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}
.download-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #121213;
  border: 1px solid rgba(255,255,255,0.03);
  padding: 18px;
  border-radius: 8px;
}
.btn-download {
  display: inline-block;
  padding: 12px 20px;
  background: #00a5e1;
  color: #fefffa;
  font-weight: bold;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
}

/* Футер */
.site-footer {
  text-align: center;
  padding: 20px;
  background: #000;
  margin-top: auto;
}
.langs {
  margin-top: 5px;
  font-size: 14px;
  color: #aaa;
}

/* contacts page */
.contacts-info {
  margin-bottom: 30px;
  font-size: 18px;
  color: #fff;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.flip-card {
  perspective: 1000px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 220px;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.flip-front {
  background: #111;
}

.flip-front img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.flip-back {
  background: var(--card);
  color: #fff;
  transform: rotateY(180deg);
  flex-direction: column;
  gap: 10px;
}

.flip-back a {
  display: inline-block;
  padding: 8px 14px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s;
}

.flip-back a:hover {
  background: #185bb5;
}

/* Заголовок */
.page-title {
  text-align: center;
  margin: 40px 0;
  color: #fff;
}

/* Контейнер */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* Блоки с ценами */
.pricing {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.price-card {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.price-card h2 {
  color: #fff;
  margin-bottom: 15px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #ccc;
}

.price-row:last-child {
  border-bottom: none;
}

/* Текстовые пояснения */
.price-text {
  color: #bbb;
  font-size: 14px;
  line-height: 1.5;
  padding: 10px 5px;
}

.clients-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 40px 0;
}

.client-row {
  display: grid;
  grid-template-columns: 60px 1fr 2fr;
  align-items: center;
  background: #1a1a1a;
  padding: 10px 15px;
  border-radius: 8px;
  color: #ddd;
}

.client-row.header {
  background: #333;
  font-weight: bold;
  color: #fff;
}

.flag svg {
  border-radius: 3px;
  box-shadow: 0 0 3px rgba(0,0,0,0.4);
}

/* Общий контейнер */
.content {
  max-width: 1000px;
  margin: 100px auto 50px;
  padding: 20px;
  color: #ddd;
}

.content h1 {
  text-align: center;
  color: #fff;
  margin-bottom: 30px;
}

/* Одна картинка + текст справа */
.image-text {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.image-text img {
  max-width: 45%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.image-text .text-block {
  flex: 1;
  font-size: 16px;
  line-height: 1.6;
}

/* Две картинки */
.image-block {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.image-block img {
  max-width: 48%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* Ссылки */
.text-block a {
  color: #4da3ff;
  text-decoration: underline;
}

