* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Оптимизация загрузки изображений */
img {
    image-rendering: auto;  /* по умолчанию хорошее качество */
}

/* Только для растровых изображений (PNG, JPG) */
img[src$=".png"],
img[src$=".jpg"],
img[src$=".jpeg"],
img[src$=".webp"] {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

body {
    font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(251.83deg, #1562D6 0%, #4885E0 100%);
}

/* HEADER */
.top-block {
    width: 350px;
    height: 50px;
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    /* liquid glass */
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    gap: 50px;

    border-radius: 100px;

    margin: 0;  
}

.top-block button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-block button img {
    display: block;
}

.top-block button,
.top-block a.btn-home {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-home img,
.btn-menu img {
    width: 20px;
    height: 20px;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    transition: opacity 0.2s ease;
}

.nav-news,
.nav-products {
    font-size: 16px;
    color: #3E3E3E;
    margin: 0;
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: inline-block;      
    text-decoration: none;
}

.nav-news:hover,
.nav-products:hover {
    color: white;
}

.btn-menu img {
    width: 31px;
    height: 31px;
}

.btn-home .icon-hover,
.btn-menu .icon-hover {
    display: none;
}

.btn-home .icon-normal,
.btn-menu .icon-normal {
    display: block;
}

.btn-home:hover .icon-normal,
.btn-menu:hover .icon-normal {
    display: none;
}

.btn-home:hover .icon-hover,
.btn-menu:hover .icon-hover {
    display: block;
}

.menu-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-dropdown {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    width: 350px;
    height: 194px;
    z-index: 1001;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;

    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    border-radius: 20px;

    isolation: isolate;
}

.menu-dropdown.menu-dropdown-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menu-dropdown-link {
    display: block;
    padding: 12px 16px;
    font-size: 32px;
    font-weight: 500;
    color: #373737;
    text-decoration: none;
    border-radius: 12px;
    transition: background 0.2s ease, color 0.2s ease;
}

.menu-dropdown-link:hover {
    color: black;
}

.menu-dropdown::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 15px;
}

/* END HEADER */

/* MAIN BLOCK */

.aok-block {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 0;
    box-sizing: border-box;

}

.aok-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-top: 100px;
    box-sizing: border-box;
}

.aok-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 0 60px;
    text-align: center;
}

.aok-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 24px;
    user-select: none;
    -webkit-user-drag: none;
    
}

.aok-title {
    font-size: 48px;
    font-weight: bold;
    color: white;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.aok-image-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    height: auto;
}

.aok-window-image {
    width: 80%;
    max-width: 80%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: none;
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    will-change: transform;
}

.liquid-glass-buttons {
    display: flex;
    gap: 20px; 
    justify-content: center;
    margin-top: 20px; 
    flex-wrap: wrap; 
}

.liquid-btn {
    padding: 14px 28px;
    font-size: 28px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: default;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.liquid-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(64, 106, 223, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    
}

.liquid-btn:hover {
    background: rgba(21, 75, 155, 0.5);
    border-color: rgba(64, 106, 223, 0.3);
    box-shadow:
        inset 0 2px 12px rgba(0, 0, 0, 0.3),
        0 12px 40px rgba(106, 25, 197, 0.2); 
}

.liquid-btn:hover::before {
    opacity: 1;
}

.aok-description {
    margin-top: 20px;
    text-align: center;
}

.aok-description .aok-line {
    margin: 0 0 0.25em 0;
    font-size: 28px;
    color: white;
    line-height: 1.4;
    font-weight: 300;
}

.aok-description .aok-line:last-child {
    margin-bottom: 0;
}

.aok-description-mobile {
    display: none;
}

.aok-description-desktop {
    display: block;
}

.highlight {
    font-weight: bold;
}


.unique-storage-header {
    margin-top: 20px; 
}

.unique-storage-header p {
    font-size: 64px; 
    color: #154B9B; 
    margin: 0; 
    text-align: center; 
    font-weight: 600; 
    letter-spacing: -0.2px; 
    line-height: 1.2; 
    margin-bottom: 100px;
}

/* END MAIN BLOCK */

/* BASEMENT */
.basement {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 10px;
}

.separator {
    width: 1000px;
    height: 1px;
    background-color: white;
    margin-top: 30px;
}

.basement-footer {
    width: 1000px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.title-copyright {
    font-size: 16px;
    color: white;
    margin: 0;
}

.title-country {
    font-size: 16px;
    color: white;
    margin: 0;
}

/* Mobile adaptation */
@media (max-width: 768px) {
    /* Шапка */
    .top-block {
        gap: 50px;
        padding: 0 15px;
    }

    .nav-news,
    .nav-products {
        font-size: 14px;
    }

    /* SpaceCloud block */
    .aok-block {
        height: auto;
        min-height: auto;
        padding: 20px 15px;
    }

    .aok-block h1 {
        font-size: 32px;
    }

    .aok-subtitle {
        font-size: 20px;
    }

    .aok-icon {
        width: 32px;
        height: 32px;
    }

    .aok-button {
        width: 160px;
        height: 45px;
        font-size: 16px;
        margin-top: 15px;
    }

    .aok-window-image {
        width: 100%;
        height: auto;
        max-width: 100%;
        margin-top: 10px;
    }

    /* AOK блок */
    .aok-block {
        margin: 10px auto 0;
        padding: 20px 15px;
    }

    .aok-inner {
        padding-top: 10px;
        gap: 15px;
    }

    .aok-icon {
        width: 60px;
        height: 60px;
    }

    .aok-title {
        font-size: 28px;
        margin: 0 0 8px 0;
    }

    .aok-block h1 {
        font-size: 28px;
    }

    .aok-subtitle {
        font-size: 20px;
        margin: 0 0 15px 0;
    }

    .aok-button {
        width: 160px;
        height: 45px;
        font-size: 16px;
    }

    .aok-window-app-image {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        height: auto;
    }

    /* Basement */
    .separator {
        width: 90%;
        max-width: 100%;
    }

    .basement-footer {
        width: 90%;
        max-width: 100%;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Header */
    .top-block {
        width: 350px;  
        height: 50px;       
        gap: 50px;           
        padding: 0 10px;
    }

    .nav-news,
    .nav-products {
        font-size: 14px;
    }

    /* MAIN BLOCK */

    .aok-block {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        box-sizing: border-box;

    }

    .aok-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
    }

    .aok-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .aok-icon {
        width: 90px;
        height: 90px;
        margin-bottom: 15px;
        user-select: none;
        -webkit-user-drag: none;
    }

    .aok-title {
        font-weight: bold;
        color: white;
        letter-spacing: -0.5px;
        margin-top: 15px;
        text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .aok-block .aok-title,
    .aok-block h1.aok-title {
        font-size: 36.5px;
    }

    .aok-window-image {
        width: 100%;
        height: 320px;
        max-width: 100%;
        object-fit: contain;
        margin-top: -40px;
        display: block;
        user-select: none;
        -webkit-user-drag: none;
        -khtml-user-drag: none;
        -moz-user-drag: none;
        -o-user-drag: none;
        pointer-events: none;
        image-rendering: auto;
        image-rendering: -webkit-optimize-contrast;
        will-change: transform;
    }

    .liquid-glass-buttons {
        display: flex;
        gap: 10px; 
        justify-content: center;
        margin-top: 20px; 
        flex-wrap: wrap; 
    }

    .liquid-btn {
        padding: 8px 14px;
        font-size: 16.04px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.92);
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 32px;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        cursor: default;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        white-space: nowrap;
    }

    .liquid-btn::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(64, 106, 223, 0.3) 0%, transparent 70%);
        opacity: 0;
        transition: opacity 0.3s ease;
        
    }

    .liquid-btn:hover {
        background: rgba(21, 75, 155, 0.5);
        border-color: rgba(64, 106, 223, 0.3);
        box-shadow:
            inset 0 2px 12px rgba(0, 0, 0, 0.3),
            0 12px 40px rgba(106, 25, 197, 0.2); 
    }

    .liquid-btn:hover::before {
        opacity: 1;
    }

    .aok-description {
        margin-top: 20px;
        text-align: center;
    }

    .aok-description p {
        font-size: 20px; 
        color: white; 

        line-height: 1.4; 
        font-weight: 300; 
    }

    .aok-description-desktop {
        display: none;
    }

    .aok-description-mobile {
        display: block;
    }

    .aok-description-mobile .aok-line {
        margin: 0 0 0.25em 0;
        font-size: 14px;
    }

    .highlight {
        font-weight: bold;
    }


    .unique-storage-header {
        margin-top: 20px; 
    }

    .unique-storage-header p {
        font-size: 48px; 
        color: #154B9B; 
        margin: 0; 
        text-align: center; 
        font-weight: 600; 
        letter-spacing: -0.2px; 
        line-height: 1.2; 
        margin-bottom: 100px;
    }

    /* END MAIN BLOCK */

    /* BASEMENT */
    .basement {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        padding: 0;
        margin: 0;
    }

    .separator {
        width: 400px;
        height: 1px;
        background-color: white;
    }

    .basement-footer {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
    }

    .title-copyright {
        font-size: 16px;
        color: white;
        margin: 0;
    }

    .title-country {
        font-size: 16px;
        color: white;
        margin: 0;
    }
}

@media (max-width: 360px) {
    /* Header */
    .top-block {
        width: 350px;  
        height: 50px;       
        gap: 50px;           
        padding: 0 10px;
    }

    .nav-news,
    .nav-products {
        font-size: 14px;
    }

    /* MAIN BLOCK */

    .aok-block {
        width: 100%;
        height: 100%;
        max-height: 100%;
        margin: 0;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        box-sizing: border-box;
    }

    .aok-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
    }

    .aok-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .aok-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
        user-select: none;
        -webkit-user-drag: none;
    }

    .aok-title {
        font-weight: bold;
        color: white;
        letter-spacing: -0.5px;
        margin-top: 15px;
        text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .aok-block .aok-title,
    .aok-block h1.aok-title {
        font-size: 27.38px;
    }

    .aok-window-image {
        width: 100%;
        height: 240px;
        max-width: 100%;
        object-fit: contain;
        margin-top: -40px;
        display: block;
        user-select: none;
        -webkit-user-drag: none;
        -khtml-user-drag: none;
        -moz-user-drag: none;
        -o-user-drag: none;
        pointer-events: none;
        image-rendering: auto;
        image-rendering: -webkit-optimize-contrast;
        will-change: transform;
    }

    .liquid-glass-buttons {
        display: flex;
        gap: 10px; 
        justify-content: center;
        margin-top: 20px; 
        flex-wrap: wrap; 
    }

    .liquid-btn {
        padding: 8px 14px;
        font-size: 16.04px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.92);
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 32px;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        cursor: default;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        white-space: nowrap;
    }

    .liquid-btn::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(64, 106, 223, 0.3) 0%, transparent 70%);
        opacity: 0;
        transition: opacity 0.3s ease;
        
    }

    .liquid-btn:hover {
        background: rgba(21, 75, 155, 0.5);
        border-color: rgba(64, 106, 223, 0.3);
        box-shadow:
            inset 0 2px 12px rgba(0, 0, 0, 0.3),
            0 12px 40px rgba(106, 25, 197, 0.2); 
    }

    .liquid-btn:hover::before {
        opacity: 1;
    }

    .aok-description {
        margin-top: 20px;
        text-align: center;
    }

    .aok-description p {
        font-size: 14px; 
        color: white; 
        line-height: 1.4; 
        font-weight: 300; 
    }

    .aok-line {
        font-size: 14px;
    }

    .aok-description-desktop {
        display: none;
    }

    .aok-description-mobile {
        display: block;
    }

    .aok-description-mobile .aok-line {
        margin: 0 0 0.25em 0;
        font-size: 14px;
    }

    .highlight {
        font-weight: bold;
    }


    .unique-storage-header {
        margin-top: 20px; 
        margin-bottom: 100px;
    }

    .unique-storage-header p {
        font-size: 36px; 
        color: #154B9B; 
        margin: 0; 
        text-align: center; 
        font-weight: 600; 
        letter-spacing: -0.2px; 
        line-height: 1.2; 
    }

    /* END MAIN BLOCK */

    /* BASEMENT */
    .basement {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    .separator {
        width: 300px;
        height: 1px;
        background-color: white;
        margin-top: 0px;
    }

    .basement-footer {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        
    }

    .title-copyright {
        font-size: 12px;
        color: white;
        margin: 0;
    }

    .title-country {
        font-size: 12px;
        color: white;
        margin: 0;
    }
}