* {
    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-color: #202020;
}

/* HEADER */
.top-block {
    width: 350px;
    height: 50px;
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    /* liquid glass */
    background: rgba(32, 32, 32, 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;  
    margin-bottom: 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(32, 32, 32, 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 */

/* START AQUA OS BLOCK */

.link-vatistore, .link-feature-possibilities,
.link-feature-dream, .link-feature-important,
.link-feature-best, .link-feature-beam,
.link-feature-ecosystem, .link-feature-business,
.link-feature-studio {
    text-decoration: none;
    cursor: pointer;
}

.aqua-os-block {
    width: 100%;
    height: 1000px;
    position: relative;
    overflow: hidden;
    background: #000000;
    margin: 0 auto 5px auto;
}

/* Область, где виден только один слайд */
.aqua-os-slides {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.aqua-os-slide-1, .aqua-os-slide-2, .aqua-os-slide-3, .aqua-os-slide-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.aqua-os-slide-1 img {
    width: 526px;
    height: 289px;
}

.aqua-os-slide-1 p {
    font-size: 96px;
    background: linear-gradient(to bottom, #FFFFFF, #000000);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.aqua-os-slide-2 .title-image {
    width: 613px;
    height: 100px;
}

.aqua-os-slide-2 .block-image {
    max-width: 1280px;
    max-height: 720px;
    width: 100%;
    height: 100%;
}

.aqua-os-slide-2 p {
    font-size: 40px;
    color: white;
    font-weight: 500;
}

.highlight-slide-2 {
    background: linear-gradient(to right, #CA9731, #E28030);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.aqua-os-slide-3 .title-image {
    width: 613px;
    height: 100px;
}

.aqua-os-slide-3 .block-image {
    max-width: 1280px;
    max-height: 720px;
    width: 100%;
    height: 100%;
}

.aqua-os-slide-3 p {
    font-size: 40px;
    color: white;
    font-weight: 500;
}

.highlight-slide-3 {
    color: #DC4141;
}

.aqua-os-slide-4 .title-image {
    width: 613px;
    height: 100px;
}

.aqua-os-slide-4 .block-image {
    max-width: 1280px;
    max-height: 720px;
    width: 100%;
    height: 100%;
}

.aqua-os-slide-4 p {
    font-size: 40px;
    color: white;
    font-weight: 500;
}

.highlight-slide-4 {
    color: #6A19C5;
}

.aqua-os-slide-5 .block-image {
    max-width: 1435px;
    max-height: 750px;
    width: 100%;
    height: 100%;
}

/* Дорожка из 5 слайдов в ряд; сдвиг влево = translateX(-N * 100%) */
.aqua-os-track {
    display: flex;
    width: 500%; /* 5 × 100% */
    height: 100%;
    transition: transform 0.4s ease;
    will-change: transform;
}

/* Каждый слайд занимает ровно ширину видимой области (100% / 5 = 20% от дорожки) */
.aqua-os-slide {
    flex: 0 0 20%; /* 100% / 5 */
    width: 20%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* сюда — фон, картинки, текст для каждого слайда */
}

/* Кнопки-круги внизу по центру */
.aqua-os-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.aqua-os-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, border-color 0.2s;
}

.aqua-os-dot:hover {
    border-color: rgba(255, 255, 255, 0.8);
}

.aqua-os-dot.active {
    background: white;
    border-color: white;
}

/* END AQUA OS BLOCK */

/* START VATISTORE BLOCK */

.vatistore-block {
    background-color: white;
    width: 100%;
    height: 802px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px auto 5px auto;
}

.vatistore-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;        /* занять всю высоту vatistore-block */
    box-sizing: border-box;
    position: relative;
}

.vatistore-subtitle-1 {
    font-size: 80px;
    background: linear-gradient(
        to right,          
        #6A4F96 0%,
        #3CBA92 33%,
        #B2753B 66%,
        #4E75D7 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: bold;

    margin-top: 100px;
}

.vatistore-subtitle-2 {
    font-size: 96px;
    background: linear-gradient(
        to right,          
        #004E99 0%,
        #2774C2 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: bold;

    margin-top: 60px;
    transform: translateY(-30%);
    position: relative;
    z-index: 0;
}

.vatistore-subtitle-3 {
    font-size: 48px;
    color: #4D4D4D;
    font-weight: normal;
    position: absolute;
    top: calc(50% + 100px + 40px);   /* низ картинки + 20px */
    left: 50%;
    transform: translateX(-50%);
}

.vatistore-preview-image {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-top: 0;
    z-index: 1;
    width: 890px;
    height: 200px;
}

.vatistore-button {
    position: absolute;
    /* 50% + низ картинки (100px) + 20px до subtitle-3 + высота надписи (~56px) + 40px до кнопки */
    top: calc(50% + 120px + 20px + 56px + 40px);
    left: 50%;
    transform: translateX(-50%);

    width: 200px;
    height: 50px;
    padding: 0;
    cursor: pointer;
    font-size: 20px;
    color: white;
    border: none;
    border-radius: 100px;

    /* градиент в два цвета */
    background: linear-gradient(to right, #357CC3 0%, #0F599F 100%);

    /* опционально: лёгкий блик поверх */
    box-shadow: 0 2px 8px rgba(0, 78, 153, 0.3);
}

.vatistore-button:hover {
    filter: brightness(1.08);
    box-shadow: 0 4px 12px rgba(0, 78, 153, 0.4);
}

.vatistore-button-link {
    text-decoration: none;
    display: inline-block;
}

/* END VATISTORE BLOCK */

.blocks-features {
    background: transparent;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
    gap: 5px;                                       
    justify-items: center;
    margin: 0 auto 5px auto;
}

.image-possibilities {
    max-width: 100%;
    height: auto;
    display: block;
}

.image-important {
    max-width: 100%;
    height: auto;
    display: block;
}

.image-dream {
    max-width: 100%;
    height: auto;
    display: block;
}

.image-best {
    max-width: 100%;
    height: auto;
    display: block;
}   

.block-beam {
    justify-items: center;
    margin: 0 auto 5px auto;
}

.image-beam {
    max-width: 100%;
    height: auto;
    display: block;
}

.block-ecosystem-business {
    background: transparent;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
    gap: 5px;                                       
    justify-items: center;
    margin: 0 auto 5px auto;
}

.image-ecosystem {
    max-width: 100%;
    height: auto;
    display: block;
}

.image-business {
    max-width: 100%;
    height: auto;
    display: block;
}

.block-studio {
    justify-items: center;
    margin: 0 auto 40px auto;
}

.image-studio {
    max-width: 100%;
    height: auto;
    display: block;
}

/* BASEMENT */
.basement {
    width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;      /* растягиваем детей по ширине */
  position: relative;
  margin: 0 auto 0px;
  padding: 0 24px 24px;
}

.basement > * {
    width: min(100%, 1000px);  /* максимум 1000px, но не шире экрана */
    margin-inline: auto;       /* центрируем внутри basement */
}

.footer__list {
  font-size: clamp(10px, 1.2vw, 12px);  /* плавный размер шрифта */
  color: #7F7F7F;
  font-weight: normal;
  line-height: 1.4;
  margin-bottom: 16px;
}

.footer__list p {
  margin: 4px 0 8px;         /* вертикальный интервал между абзацами */
}

.footer__list p:last-child {
  margin-bottom: 0;
}

.separator {
  height: 1px;
  background-color: #7F7F7F;
  margin-top: 12px;
}

.basement-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  gap: 8px; /* чтобы на узких экранах элементы не слипались */
}

.title-copyright,
.title-country {
  font-size: clamp(10px, 1.2vw, 14px);
  color: #7F7F7F;
}

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

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

    /* START AQUA OS BLOCK */

    .aqua-os-block {
        width: 100%;
        height: 500px;
        position: relative;
        overflow: hidden;
        background: #000000;
    }

    /* Область, где виден только один слайд */
    .aqua-os-slides {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .aqua-os-slide-1, .aqua-os-slide-2, .aqua-os-slide-3, .aqua-os-slide-4 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .aqua-os-slide-1 img {
        width: 250px;
        height: auto;
    }

    .aqua-os-slide-1 p {
        font-size: 40px;
        background: linear-gradient(to bottom, #FFFFFF, #000000);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .aqua-os-slide-2 .title-image {
        max-width: 300px;
        max-height: 49px;
        height: auto;
    }

    .aqua-os-slide-2 .block-image {
        max-width: 300px;
        max-height: 168px;
        width: 100%;
        height: auto;
    }

    .aqua-os-slide-2 p {
        font-size: 15px;
        color: white;
        font-weight: 500;
    }

    .highlight-slide-2 {
        background: linear-gradient(to right, #CA9731, #E28030);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .aqua-os-slide-3 .title-image {
        max-width: 300px;
        max-height: 49px;
        height: auto;
    }

    .aqua-os-slide-3 .block-image {
        max-width: 300px;
        max-height: 168px;
        width: 100%;
        height: auto;
    }

    .aqua-os-slide-3 p {
        font-size: 15px;
        color: white;
        font-weight: 500;
        max-width: 285px;
        text-align: center;
    }

    .highlight-slide-3 {
        color: #DC4141;
    }

    .aqua-os-slide-4 .title-image {
        max-width: 300px;
        max-height: 49px;
        height: auto;
    }

    .aqua-os-slide-4 .block-image {
        max-width: 300px;
        max-height: 168px;
        width: 100%;
        height: auto;
    }

    .aqua-os-slide-4 p {
        font-size: 15px;
        color: white;
        font-weight: 500;
        max-width: 315px;
        text-align: center;
    }

    .highlight-slide-4 {
        color: #6A19C5;
    }

    .aqua-os-slide-5 .block-image {
        max-width: 320px;
        max-height: 156px;
        width: 100%;
        height: auto;
    }

    /* Дорожка из 5 слайдов в ряд; сдвиг влево = translateX(-N * 100%) */
    .aqua-os-track {
        display: flex;
        width: 500%; /* 5 × 100% */
        height: 100%;
        transition: transform 0.4s ease;
        will-change: transform;
    }

    /* Каждый слайд занимает ровно ширину видимой области (100% / 5 = 20% от дорожки) */
    .aqua-os-slide {
        flex: 0 0 20%; /* 100% / 5 */
        width: 20%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        /* сюда — фон, картинки, текст для каждого слайда */
    }

    /* Кнопки-круги внизу по центру */
    .aqua-os-dots {
        position: absolute;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 12px;
        z-index: 10;
    }

    .aqua-os-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.5);
        background: transparent;
        cursor: pointer;
        padding: 0;
        transition: background 0.2s, border-color 0.2s;
    }

    .aqua-os-dot:hover {
        border-color: rgba(255, 255, 255, 0.8);
    }

    .aqua-os-dot.active {
        background: white;
        border-color: white;
    }

    /* END AQUA OS BLOCK */

    /* VatiStore block */
    .vatistore-block {
        width: 100%;
        height: 533px;
        overflow: hidden;
    }

    .vatistore-preview-image {
        position: absolute;
        top: 194px;              /* точно 194px от верха */
        left: 50%;
        transform: translateX(-50%);  /* только горизонтальное центрирование */
        width: 500px;
        height: 112px;
    }

    .vatistore-subtitle-1 {
        position: absolute;
        top: 0px;          /* отступ от верха */
        left: 50%;
        transform: translateX(-50%);
        font-size: 25px;
        width: 100%;
        text-align: center;
        margin-top: 0 20px;      /* сбрасываем margin */
    }

    .vatistore-subtitle-2 {
        position: absolute;
        top: 16%;         /* под первой надписью */
        left: 50%;
        transform: translateX(-50%);
        font-size: 60px;
        width: 100%;
        text-align: center;
        margin-top: 0 20px;      /* сбрасываем margin */
    }

    .vatistore-subtitle-3 {
        position: absolute;
        top: 327px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 24px;
        width: 100%;
        text-align: center;
        margin-top: 0 20px;
    }

    .vatistore-button {
        position: absolute;
        bottom: 100px;
        left: 50%;
        transform: translateX(-50%);
        width: 150px;
        height: 37.5px;
        font-size: 15px;
        top: auto;          /* отменяем top из основного стиля */
    }

    /* Basement */
    .separator {
        margin-top: 20px;
    }

    .basement-footer {
        margin-top: 8px;
    }

    .title-copyright,
    .title-country {
        font-size: 10px;
    }
}

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

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

    /* START AQUA OS BLOCK */

    .aqua-os-block {
        width: 100%;
        height: 500px;
        position: relative;
        overflow: hidden;
        background: #000000;
    }

    /* Область, где виден только один слайд */
    .aqua-os-slides {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .aqua-os-slide-1, .aqua-os-slide-2, .aqua-os-slide-3, .aqua-os-slide-4 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .aqua-os-slide-1 img {
        width: 250px;
        height: auto;
    }

    .aqua-os-slide-1 p {
        font-size: 40px;
        background: linear-gradient(to bottom, #FFFFFF, #000000);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .aqua-os-slide-2 .title-image {
        max-width: 300px;
        max-height: 49px;
        height: auto;
    }

    .aqua-os-slide-2 .block-image {
        max-width: 300px;
        max-height: 168px;
        width: 100%;
        height: auto;
    }

    .aqua-os-slide-2 p {
        font-size: 15px;
        color: white;
        font-weight: 500;
    }

    .highlight-slide-2 {
        background: linear-gradient(to right, #CA9731, #E28030);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .aqua-os-slide-3 .title-image {
        max-width: 300px;
        max-height: 49px;
        height: auto;
    }

    .aqua-os-slide-3 .block-image {
        max-width: 300px;
        max-height: 168px;
        width: 100%;
        height: auto;
    }

    .aqua-os-slide-3 p {
        font-size: 15px;
        color: white;
        font-weight: 500;
        max-width: 285px;
        text-align: center;
    }

    .highlight-slide-3 {
        color: #DC4141;
    }

    .aqua-os-slide-4 .title-image {
        max-width: 300px;
        max-height: 49px;
        height: auto;
    }

    .aqua-os-slide-4 .block-image {
        max-width: 300px;
        max-height: 168px;
        width: 100%;
        height: auto;
    }

    .aqua-os-slide-4 p {
        font-size: 15px;
        color: white;
        font-weight: 500;
        max-width: 315px;
        text-align: center;
    }

    .highlight-slide-4 {
        color: #6A19C5;
    }

    .aqua-os-slide-5 .block-image {
        max-width: 320px;
        max-height: 156px;
        width: 100%;
        height: auto;
    }

    /* Дорожка из 5 слайдов в ряд; сдвиг влево = translateX(-N * 100%) */
    .aqua-os-track {
        display: flex;
        width: 500%; /* 5 × 100% */
        height: 100%;
        transition: transform 0.4s ease;
        will-change: transform;
    }

    /* Каждый слайд занимает ровно ширину видимой области (100% / 5 = 20% от дорожки) */
    .aqua-os-slide {
        flex: 0 0 20%; /* 100% / 5 */
        width: 20%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        /* сюда — фон, картинки, текст для каждого слайда */
    }

    /* Кнопки-круги внизу по центру */
    .aqua-os-dots {
        position: absolute;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 12px;
        z-index: 10;
    }

    .aqua-os-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.5);
        background: transparent;
        cursor: pointer;
        padding: 0;
        transition: background 0.2s, border-color 0.2s;
    }

    .aqua-os-dot:hover {
        border-color: rgba(255, 255, 255, 0.8);
    }

    .aqua-os-dot.active {
        background: white;
        border-color: white;
    }

    /* END AQUA OS BLOCK */

    /* VatiStore block */
    .vatistore-block {
        width: 100%;
        height: 533px;
        overflow: hidden;
    }

    .vatistore-preview-image {
        position: absolute;
        top: 194px;              /* точно 194px от верха */
        left: 50%;
        transform: translateX(-50%);  /* только горизонтальное центрирование */
        width: 500px;
        height: 112px;
    }

    .vatistore-subtitle-1 {
        position: absolute;
        top: 0px;          /* отступ от верха */
        left: 50%;
        transform: translateX(-50%);
        font-size: 25px;
        width: 100%;
        text-align: center;
        margin-top: 0 20px;      /* сбрасываем margin */
    }

    .vatistore-subtitle-2 {
        position: absolute;
        top: 16%;         /* под первой надписью */
        left: 50%;
        transform: translateX(-50%);
        font-size: 60px;
        width: 100%;
        text-align: center;
        margin-top: 0 20px;      /* сбрасываем margin */
    }

    .vatistore-subtitle-3 {
        position: absolute;
        top: 327px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 24px;
        width: 100%;
        text-align: center;
        margin-top: 0 20px;
    }

    .vatistore-button {
        position: absolute;
        bottom: 100px;
        left: 50%;
        transform: translateX(-50%);
        width: 150px;
        height: 37.5px;
        font-size: 15px;
        top: auto;          /* отменяем top из основного стиля */
    }
}