* {
    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;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html {
    padding-top: 0;
    margin-top: 0;
}

body {
    font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: white;
}

/* 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;  
}

.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 */

/* MAIN BLOCK */

.hero-illustration {
    width: 100%;
    max-width: 900px;
    height: auto;
    margin-bottom: 40px;
}

.hero-image-wrapper {
    width: 100%;
    height: 400px;           
    margin: 0;
    padding: 0;
    overflow: hidden;        
    position: relative;
}

/* Hero Image */
.hero-image-fullwidth {
    width: 100%;
    height: 100%;
    object-fit: cover;      
    object-position: center; 
    display: block;
}

.products-hero {
    position: relative;
    margin-top: -234px;       
    padding: 0px 20px 80px;
    text-align: center;
    z-index: 10;
}

.hero-title {
    font-size: 57px;
    font-weight: 400;
    color: #282828;
    margin: 0 0 10px 0;
}

.gradient-green {
    background: linear-gradient(to right, #34C759, #005BD8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.gradient-blue {
    background: linear-gradient(to right, #005BD8, #8A28F6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 34px;
    color: #363636;
    margin: 0;
    font-weight: normal;
}

.available-section {
    padding: 80px 0 40px 0;
    text-align: center;
}

.available-title {
    font-size: 56px;
    font-weight: 400;
    color: #282828;
    margin: 0 0 40px 0;
}

.vatistore-link {
    background: linear-gradient(to right, #5189C0, #2774C2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.apps-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 40px;
    background-color: #F1F1F1;
    border-radius: 20px;
    max-width: 100%;
    margin: 0 auto;
}

.app-icon {
    width: 200px;
    height: 200px;
    border-radius: 60px;
    overflow: hidden;
    position: relative;
    transition: transform 0.25s ease;
}

.app-icon::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 20%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 80%,
        transparent 100%
    );
    transform: translateX(-100%);
    transition: none;
    pointer-events: none;
}

.app-icon:hover::after {
    transform: translateX(250%);
    transition: transform 1s ease;
}

.app-icon:hover {
    transform: scale(1.05);
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coming-soon-section {
    padding: 0px 20px;
    text-align: center;
}

.coming-soon-title {
    font-size: 42px;
    font-weight: 200;
    color: #B1B1B1;
    margin: 0;
}

.volp-section {
    padding: 20px 20px 100px;
    text-align: center;
}

.volp-title {
    font-size: 70px;
    font-weight: 300;
    background: linear-gradient(to right, #5D2727 20%, #FF3C3C 50%, #5D2727 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 60px 0;
}

.volp-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.volp-logo {
    width: 150px;
    height: 150px;
    display: block;
    border-radius: 16px;  /* если нужны закруглённые углы */
}

.volp-name {
    font-size: 96px;
    font-weight: 600;
    color: #282828;
    margin-left: 50px;
}

/* END MAIN BLOCK */

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

.separator {
    width: 1000px;
    height: 1px;
    background-color: #282828;
    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: #282828;
    margin: 0;
}

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

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

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

    /* MAIN CONTENT */

    .hero-image-wrapper {
        height: 380px;
        max-width: 480px;
        margin: 0 auto;
        padding: 0;
    }

    .products-hero {
        margin-top: -240px;
        
        font-size: 46px;
    }

    .hero-title .hero-line {
        display: block;
        font-size: 46px;
    }

    .hero-subtitle {
        display: none;
    }

    .available-section {
        padding-top: 48px;
        padding-bottom: 24px;
    }

    .apps-showcase {
        width: 100%;
        max-width: none;
        padding: 20px 16px;
        gap: 17px;
        justify-content: center;
        align-items: center;
        border-radius: 0;
        margin-top: -20px;
    }

    .app-icon {
        width: 66px;
        height: 66px;
        border-radius: 0;
    }

    .coming-soon-section {
        padding: 20px 16px;
        margin-top: -20px;
    }

    .coming-soon-title {
        font-size: 30px;
        font-weight: 200;
        color: #B1B1B1;
    }

    .volp-section {
        padding: 32px 16px 60px;
        margin-top: -30px;
    }

    .volp-title {
        font-size: 50px;
        margin: 0 0 32px 0;
        line-height: 1.3;
        font-weight: 300;
    }

    .volp-accent {
        font-weight: 300;
    }

    .volp-brand {
        flex-direction: row;
        gap: 39px;
        justify-content: center;
        align-items: center;
    }

    .volp-logo {
        width: 118px;
        height: 118px;
    }

    .volp-name {
        font-size: 75px;
        margin-left: 0;
    }

    .volp-title .volp-line {
        display: block;
    }

    /* END MAIN CONTENT */

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

    .separator {
        width: 400px;
        height: 1px;
        background-color: #282828;
        margin-top: 0px;
    }

    .basement-footer {
        width: 400px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
    }

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

    .title-country {
        font-size: 16px;
        color: #282828;
        margin: 0;
        margin-top: 10px;
    }
}

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

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

    /* MAIN CONTENT */

    .hero-image-wrapper {
        width: 100%;
        height: auto;
        max-height: 285px;
        margin: 0;
        padding: 0;
        overflow: hidden;
        position: relative;
    }

    .products-hero {
        margin-top: -150px;
        padding: 0;
        font-size: 35px;
    }

    .hero-title .hero-line {
        display: block;
        font-size: 35px;
    }

    .hero-title {
        font-size: 35px;
    }

    .hero-subtitle {
        display: none;
    }

    .available-section {
        margin: 0;
        margin-top: 40px;
        padding: 0;
    }

    .available-title {
        font-size: 40px;
    }

    .apps-showcase {
        width: 100%;
        max-width: none;
        padding: 20px 16px;
        gap: 13px;
        justify-content: center;
        align-items: center;
        border-radius: 0;
        margin-top: -20px;
    }

    .app-icon {
        width: 50px;
        height: 50px;
        border-radius: 0;
    }

    .coming-soon-section {
        padding: 0;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .coming-soon-title {
        font-size: 25px;
        font-weight: 200;
        color: #B1B1B1;
    }

    .volp-section {
        padding: 32px 16px 60px;
        margin-top: -30px;
    }

    .volp-title {
        font-size: 40px;
        margin: 0 0 32px 0;
        line-height: 1.3;
        font-weight: 300;
    }

    .volp-accent {
        font-weight: 300;
    }

    .volp-brand {
        flex-direction: row;
        gap: 39px;
        justify-content: center;
        align-items: center;
    }

    .volp-logo {
        width: 101px;
        height: 101px;
    }

    .volp-name {
        font-size: 64px;
        margin-left: 0;
    }

    .volp-title .volp-line {
        display: block;
    }

    /* END MAIN CONTENT */

    /* BASEMENT */
    .basement {
        width: 300px;
        margin: 0 auto;         
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    .separator {
        width: 300px;
        height: 1px;
        background-color: #282828;
    }

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

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

    .title-country {
        font-size: 12px;
        color: #282828;
        margin: 0;
        margin-top: 12px;
    }
}