.section-hidden { display: none !important; }

html {
    scroll-behavior: smooth;
}

.feature-img-wrap {
  margin-bottom: 0.5em;
  text-align: center;
}
.feature-img {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: auto;
}

.feature-list {
  list-style: none;
  padding-left: 0;
}
.feature-list > li {
  text-align: center;
}
@media (max-width: 600px) {
  .feature-img {
    max-width: 100vw;
  }
}
ul > li {
  margin-bottom: 2em;
}


body {
    background: #181a20;
    color: #f0f0f0;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    font-size: 1.13em;
}

p, li, ul, ol {
    line-height: 1.7;
}

header {
    background: #22232b;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    position: fixed;
    top: 0;
    left: 0;
    width: 210px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 20;
    border-right: 1px solid #23242e;
    padding: 0;
}

.compact-list {
    margin: 8px 0 8px 18px !important;
    padding: 0 !important;
    line-height: 1.25;
    font-size: 1em;
    list-style: none !important;
}
.compact-list li {
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
    line-height: 1.25;
    position: relative;
    min-height: 1.3em;
}
.compact-list li::before {
    content: "•";
    position: absolute;
    left: -1em;
    color: #fff;
    font-size: 1em;
    top: 0;
    line-height: 1.25;
}

.container {
    width: 100%;
    padding: 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

header h1 {
    margin: 0;
    padding: 20px 0 10px 0;
    font-size: 2.2em;
    letter-spacing: 2px;
    color: #5eb2ff;
}

nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 16px;
    padding-bottom: 0;
}
@media (max-width: 600px) {
    nav {
        flex-direction: row;
        gap: 0;
        margin-top: 0;
        width: 100vw;
        min-width: 0;
    }
}

nav a {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 0;
    transition: background 0.25s, color 0.2s, box-shadow 0.2s;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    text-align: left;
}
.tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    margin-right: 12px;
}
.tab-text {
    display: inline;
    vertical-align: middle;
}

nav a:hover {
    color: #5eb2ff;
}

.hidden {
    display: none !important;
}
nav a.active {
    color: #5eb2ff;
    font-size: 1.17em;
    font-weight: 700;
    background: none;
    box-shadow: none;
    transition: font-size 0.18s, color 0.18s;
}
@media (max-width: 600px) and (orientation: portrait) {
    .tab-text {
        display: none !important;
    }
    .tab-icon {
        margin-right: 0;
        min-width: 0;
        justify-content: center;
        flex: 1 1 0;
    }
    nav a {
        justify-content: center;
        padding: 6px 0;
    }
}
@media (max-width: 600px) {
    nav a.active {
        background: #5eb2ff;
        color: #fff;
        font-size: 1.05em;
        font-weight: 600;
        border-radius: 0;
    }
}

@media (max-width: 600px) {
    .container {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 8px !important;
    }

/* Стили для политики конфиденциальности */
.privacy-policy {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    line-height: 1.6;
}

.privacy-policy h1 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #5eb2ff;
}

@media (max-width: 600px) {
    .privacy-policy {
        margin: 10px auto;
        padding: 15px;
    }
    .privacy-policy h1 {
        font-size: 1.5em;
        margin-bottom: 20px;
        word-wrap: break-word;
        hyphens: auto;
    }
}

.privacy-policy h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #5eb2ff;
}

.privacy-policy ul {
    margin-left: 20px;
    margin-bottom: 15px;
    list-style: disc;
}

.privacy-policy p {
    margin-bottom: 15px;
    color: #f0f0f0;
}

.privacy-policy ul li {
    margin-bottom: 0.5em;
    color: #f0f0f0;
}

    header {
        width: 100vw;
        height: 44px;
        min-height: 44px;
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        border-right: none;
        border-top: 1px solid #222;
        box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
        padding: 0;
        z-index: 100;
        padding-bottom: env(safe-area-inset-bottom, 16px);
    }
    header h1 {
        display: none;
    }
    nav {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0;
        padding: 0;
        width: 100%;
        justify-content: flex-start;
        align-items: center;
        height: 44px;
        min-height: 44px;
        overflow-x: hidden;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        background: #22232b;
    }
    nav a {
        padding: 4px 0 4px 0;
        font-size: 0.92em;
        text-align: center;
        border-radius: 0;
        flex: 1 1 0;
        min-width: 0;
        white-space: nowrap;
    }
    main {
        margin-left: 0 !important;
        padding-bottom: 54px;
        padding-left: 8px;
        padding-right: 8px;
    }
    footer {
        margin-bottom: 60px !important;
    }
    .section {
        margin-left: 0 !important;
        padding: 14px 8px;
        border-radius: 7px;
    }
}

main {
    padding: 30px 0 40px 0;
    margin-left: 210px;
}

.section {
    margin-bottom: 40px;
    background: #22232b;
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.section h2 {
    color: #5eb2ff;
    margin-top: 0;
}

.download-btn {
    display: inline-block;
    background: #5eb2ff;
    color: #181a20;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: background 0.2s, color 0.2s;
}
.download-btn:hover {
    background: #3e85c7;
    color: #fff;
}

.contacts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Яркий стиль для ссылки Telegram на странице контактов */
.contacts-list a, .link-contacts {
    color: #5eb2ff;
    font-weight: 500;
}
.link-contacts:hover {
    color: #83c9ff;
    text-decoration: underline;
}
.contacts-list a:hover {
    color: #82cfff;
    text-decoration: underline;
}

.contacts-list li {
    margin-bottom: 10px;
}

footer {
    background: #181a20;
    color: #888;
    text-align: center;
    padding: 18px 0 10px 0;
    font-size: 0.98em;
}

.footer-contacts {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-contacts a {
    display: flex;
    align-items: center;
    color: #5eb2ff;
    text-decoration: none;
    gap: 8px;
}

.footer-contacts a:hover {
    color: #83c9ff;
}

.footer-contacts svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@media (max-width: 600px) {
    body, html {
      height: 100%;
      min-height: 100%;
    }
    main {
      min-height: calc(100vh - 120px);
      box-sizing: border-box;
      padding-bottom: 100px !important; /* ← вот это добавьте */
    }
    footer {
      margin-bottom: 0 !important;
    }
  }
