* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 30, 60, 0.8);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #00a2ff, #a2ff00);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #00b3ff, #b3ff00);
}

body, html {
    height: 100%;
    overflow-x: hidden;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    scrollbar-width: thin;
    scrollbar-color: #00a2ff rgba(0, 30, 60, 0.8);
}

#video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -100;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 15, 36, 0.75) 0%, rgba(0, 26, 47, 0.8) 100%);
    z-index: -99;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

header {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.nav-container {
    display: flex;
    align-items: center;
    flex: 1;
}

nav {
    margin-right: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-right: 35px;
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    color: #b0e6ff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #00a2ff, #a2ff00);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #a2ff00;
}

nav ul li a:hover::after {
    width: 100%;
}

.language-switcher {
    display: flex;
    align-items: center;
}

.language-btn {
    background: transparent;
    border: none;
    color: #00d0ff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.language-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 162, 255, 0.2), transparent);
    transition: 0.5s;
}

.language-btn:hover {
    color: #a2ff00;
    text-shadow: 0 0 8px rgba(162, 255, 0, 0.6);
}

.language-btn:hover::before {
    left: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: #00d0ff;
    border-radius: 3px;
    transition: all 0.3s;
}

.center-logo {
    text-align: center;
    margin: 50px 0 40px;
}

.logo-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.logo-image {
    height: 150px;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 15px rgba(0, 162, 255, 0.5));
}

.logo-text {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.logo-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #00a2ff, #a2ff00);
    border-radius: 2px;
}

.logo-subtitle {
    font-size: 18px;
    color: #b0e6ff;
    margin-top: 20px;
    letter-spacing: 2px;
    font-weight: 400;
}

.hero {
    text-align: center;
    padding: 30px 0 60px;
    position: relative;
    z-index: 5;
}

.hero h1 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: 1px;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
    color: #b0e6ff;
    font-weight: 400;
}

.download-btn {
    display: inline-block;
    background: linear-gradient(to right, #00a2ff, #00d0ff);
    color: #002640;
    padding: 16px 45px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    margin: 10px 0;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 162, 255, 0.4);
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 60px 0;
}

.feature {
    background: rgba(0, 30, 60, 0.6);
    padding: 30px;
    border-radius: 10px;
    width: 350px;
    border: 1px solid rgba(0, 162, 255, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00a2ff, #a2ff00);
}

.feature:hover {
    transform: translateY(-5px);
    border-color: #00a2ff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 36px;
    color: #a2ff00;
    margin-bottom: 20px;
}

.feature h3 {
    color: #00d0ff;
    margin-bottom: 15px;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature p {
    color: #b0e6ff;
    line-height: 1.6;
    font-size: 15px;
}

.social-section {
    text-align: center;
    margin: 40px 0;
    padding: 40px 0;
    border-top: 1px solid rgba(0, 162, 255, 0.2);
    border-bottom: 1px solid rgba(0, 162, 255, 0.2);
}

.social-section h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #00d0ff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 55px;
    height: 55px;
    background: rgba(0, 162, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d0ff;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.3s ease;
    border: 1px solid #00a2ff;
}

.social-icon:hover {
    background: #00a2ff;
    color: #002640;
    transform: scale(1.1);
}

.page {
    display: none;
    padding: 40px 0;
    min-height: 50vh;
}

.page.active {
    display: block;
}

.page-title {
    font-size: 32px;
    color: #00d0ff;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-content {
    background: rgba(0, 30, 60, 0.6);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(0, 162, 255, 0.2);
    line-height: 1.6;
    text-align: center;
    font-size: 18px;
}

.development-text {
    font-size: 22px;
    color: #a2ff00;
    text-align: center;
    margin-top: 20px;
}

footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    font-size: 14px;
    color: #80c4ff;
    border-top: 1px solid rgba(0, 162, 255, 0.2);
}

.os-warning {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, #ff4d4d, #ff3333);
    color: white;
    padding: 15px;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.os-warning p {
    margin: 0;
    font-weight: 500;
}

.close-warning {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

.page-content h3 {
    color: #00d0ff;
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
}

.page-content h4 {
    color: #a2ff00;
    font-size: 20px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 400;
}

.page-content p {
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: left;
}

.language-content {
    display: none;
}

.language-content.lang-ru {
    display: block;
}