.hero {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 10px 20px;
    scroll-margin-top: 100px;
    box-sizing: border-box;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

@keyframes fadeInPC {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInPhonePC {
    0% { opacity: 0; transform: translate(-50%, calc(-50% + 10px)); }
    100% { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes popOutPatentePC {
    0% { left: 40%; top: 40%; transform: rotate(0deg) scale(0.6); opacity: 0; }
    100% { left: -40px; top: 20%; transform: rotate(8deg) scale(1); opacity: 1; }
}

@keyframes popOutMapPC {
    0% { right: 40%; top: 45%; transform: rotate(0deg) scale(0.6); opacity: 0; }
    100% { right: -20px; top: 45%; transform: rotate(12deg) scale(1); opacity: 1; }
}

.hero-title {
    font-size: 80px;
    font-weight: 800;
    color: #FFFFFF;
    margin-top: 0px;
    margin-bottom: 0px;
    opacity: 0;
    animation: fadeInPC 0.6s ease-out forwards;
    animation-delay: 0.1s;
}

.hero-subtitle {
    font-size: 28px;
    color: #FFFFFF;
    font-weight: 600;
    margin-bottom: 4px;
    opacity: 0;
    animation: fadeInPC 0.6s ease-out forwards;
    animation-delay: 0.2s;
}

.hero-desc {
    font-size: 24px;
    color: #7D9CBA;
    line-height: 1.4;
    margin-bottom: 35px;
    max-width: 500px;
    opacity: 0;
    animation: fadeInPC 0.6s ease-out forwards;
    animation-delay: 0.3s;
}

.hero-desc p {
    margin-bottom: 8px;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeInPC 0.6s ease-out forwards;
    animation-delay: 0.4s;
}

.btn-start {
    background-color: #2C6FC7;
    color: #FFFFFF;
    text-decoration: none;
    padding: 0 35px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 18px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    white-space: nowrap;
}

.store-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.store-img {
    height: 54px;
    object-fit: contain;
    cursor: pointer;
}

.hero-features {
    display: flex;
    gap: 50px;
    opacity: 0;
    animation: fadeInPC 0.6s ease-out forwards;
    animation-delay: 0.5s;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.feature-icon {
    width: 54px;
    height: 54px;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.f-title {
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
}

.f-desc {
    font-size: 20px;
    color: #7D9CBA;
    white-space: nowrap;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 550px;
}

.v-img {
    position: absolute;
}

.v-phone {
    margin-top: 20px;
    z-index: 10;
    width: 300px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: fadeInPhonePC 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.v-patente {
    z-index: 5;
    width: 340px;
    left: -40px;
    top: 20%;
    transform: rotate(8deg);
    opacity: 0;
    animation: popOutPatentePC 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.8s;
}

.v-map {
    z-index: 2;
    width: 290px;
    right: -20px;
    top: 45%;
    transform: rotate(12deg);
    opacity: 0;
    animation: popOutMapPC 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.9s;
}

.hero-languages {
    margin-top: 50px;
    background: rgba(21, 21, 21, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #333333;
    border-radius: 20px;
    padding: 20px 50px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden; 
    opacity: 0;
    animation: fadeInPC 0.6s ease-out forwards;
    animation-delay: 0.6s;
    box-sizing: border-box;
}

@keyframes scrollFlagsBase {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 10px)); } 
}

.lang-track {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: nowrap;
    width: max-content;
    animation: scrollFlagsBase 35s linear infinite;
    cursor: grab;
}

.lang-track:active {
    cursor: grabbing;
}

.lang-track:hover {
    animation-play-state: paused; 
}

.lang-track img {
    width: 48px;
    height: auto;
    border-radius: 6px;
    flex-shrink: 0;
}

.desktop-only {
    display: block;
}

.store-links.desktop-only {
    display: flex;
}

.mobile-only {
    display: none !important;
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
    }
    
    .hero-visual {
        width: 100%;
        height: 400px;
        order: 2;
    }
}

@media (max-width: 768px) {
    @keyframes dropDownMob {
        0% { transform: translateY(-50px); opacity: 0; }
        100% { transform: translateY(0); opacity: 1; }
    }

    @keyframes slideRightMob {
        0% { transform: translateX(-50px); opacity: 0; }
        100% { transform: translateX(0); opacity: 1; }
    }

    @keyframes slideLeftMob {
        0% { transform: translateX(50px); opacity: 0; }
        100% { transform: translateX(0); opacity: 1; }
    }

    @keyframes popOutPatenteMob {
        0% { 
            transform: translate(40px, -20px) rotate(0deg) scale(0.6); 
            opacity: 0; 
        }
        100% { 
            transform: translate(-75px, 0px) rotate(-8deg) scale(1);
            opacity: 1; 
        }
    }

    @keyframes popOutMapMob {
        0% { transform: translate(-30px, -40px) rotate(0deg) scale(0.6); opacity: 0; }
        100% { transform: translate(0, 0) rotate(12deg) scale(1); opacity: 1; }
    }

    @keyframes slideUpMob {
        0% { transform: translateY(50px); opacity: 0; }
        100% { transform: translateY(0); opacity: 1; }
    }

    .desktop-only { display: none !important; }
    .mobile-only { display: block !important; }
    .hero-desc.mobile-only, .f-desc.mobile-only, button.mobile-only { display: block !important; }

    .hero-container {
        display: grid;
        grid-template-columns: minmax(0, 1.3fr) 1fr;
        grid-template-rows: auto auto auto auto 1fr auto;
        column-gap: 0;
        width: 100%;
    }

    .hero-content { display: contents; }

    .hero-title { 
        grid-column: 1 / 3;
        grid-row: 1;
        font-size: clamp(40px, 12vw, 52px);
        white-space: nowrap !important;
        margin-bottom: -23px; 
        animation: dropDownMob 0.6s ease-out forwards;
        position: relative;
        z-index: 30;
    }

    .hero-subtitle { 
        grid-column: 1 / 3;
        grid-row: 2;
        font-size: clamp(24px, 6.5vw, 32px);
        white-space: normal !important;
        line-height: 1.2;
        width: 100%;
        margin-bottom: -10px; 
        animation: dropDownMob 0.6s ease-out forwards;
        position: relative;
        z-index: 30;
    }

    .hero-desc { 
        grid-column: 1;
        grid-row: 3;
        font-size: clamp(15px, 4.5vw, 20px);
        margin-bottom: -24px; 
        padding-right: 10px;
        align-self: start;
        opacity: 0;
        animation: slideRightMob 0.6s ease-out forwards;
        animation-delay: 0.4s;
        position: relative;
        z-index: 30;
    }

    .hero-desc p {
        margin-bottom: 4px; 
        line-height: 1.3;
        white-space: nowrap !important;
        text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    }

    .hero-cta { 
        grid-column: 1;
        grid-row: 4;
        margin-bottom: 0px;
        margin-top: 10px; 
        margin-right: 20px;
        display: flex;
        align-items: flex-start;
        align-self: start;
        opacity: 0;
        animation: slideRightMob 0.6s ease-out forwards;
        animation-delay: 0.5s;
        position: relative;
        z-index: 40;
    }

    .btn-start {
        width: auto;
        padding: 0 16px;
        font-size: 18px;
        height: 46px;
        white-space: nowrap;
    }

    .hero-visual {
        grid-column: 2;
        grid-row: 3 / 6; 
        position: relative;
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .v-img {
        max-width: none !important; 
    }

    .v-phone { 
        width: clamp(168px, 50vw, 210px) !important; 
        min-width: 168px !important;
        height: auto !important;
        position: relative;
        z-index: 20;
        top: 0; left: 0; right: 0;
        transform: none;
        margin: 0;
        opacity: 0;
        animation: slideLeftMob 0.6s ease-out forwards;
        animation-delay: 0.8s;
    }

    .v-patente { 
        width: 192px !important; /* Увеличено на 0.2 раза */
        min-width: 150px !important;
        height: auto !important;
        right: calc(180% + 20px);
        top: 50%;
        transform: rotate(-12deg);
        z-index: 5;
        opacity: 0;
        animation: popOutPatenteMob 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
        animation-delay: 1.3s;
        position: absolute;
    }

    .v-map { 
        width: 110px !important; 
        min-width: 110px !important;
        height: auto !important;
        left: calc(50% + 20px); 
        top: 60%;
        transform: rotate(12deg);
        z-index: 3;
        opacity: 0;
        animation: popOutMapMob 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
        animation-delay: 1.4s;
        position: absolute;
    }

    .blob-phone {
        position: absolute;
        width: 120%;
        height: 90%;
        background: rgba(44, 111, 199, 0.3);
        filter: blur(40px);
        border-radius: 50%;
        left: -10%;
        top: 5%;
        z-index: 1;
        opacity: 0;
        animation: slideLeftMob 0.6s ease-out forwards;
        animation-delay: 0.8s;
    }

    .blob-map {
        position: absolute;
        width: 90px;
        height: 90px;
        background: rgba(44, 111, 199, 0.4);
        filter: blur(30px);
        border-radius: 50%;
        left: calc(50% + 20px);
        top: 60%;
        z-index: 1;
        opacity: 0;
        animation: popOutMapMob 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
        animation-delay: 1.4s;
    }

    .blob-patente {
        position: absolute;
        width: 120px;
        height: 120px;
        background: rgba(44, 111, 199, 0.5);
        filter: blur(35px);
        border-radius: 50%;
        right: calc(220% + 20px);
        top: 50%;
        z-index: 1;
        opacity: 0;
        animation: popOutPatenteMob 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
        animation-delay: 1.3s;
    }

    .hero-features { 
        grid-column: 1 / 3;
        grid-row: 6;
        display: flex;
        flex-direction: row; 
        justify-content: space-between;
        gap: 8px; 
        margin-top: 15px; 
        opacity: 0;
        animation: slideUpMob 0.6s ease-out forwards;
        animation-delay: 1.8s;
        position: relative;
        z-index: 10;
    }

    .feature-item {
        flex-direction: row;
        align-items: center;
        gap: 6px;
    }

    .feature-icon {
        width: 28px;
        height: 28px;
    }

    .f-title, .f-desc { 
        white-space: normal !important;
    }

    .f-title { font-size: 16px; }
    .f-desc { font-size: 12px; }

    .hero-languages {
        margin-top: 25px;
        padding: 12px 0; 
        border-radius: 20px; 
        background: rgba(255, 255, 255, 0.05);
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        opacity: 0;
        animation: slideUpMob 0.6s ease-out forwards;
        animation-delay: 2s;
    }

    @keyframes scrollFlagsMob {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-50% - 7.5px)); } 
    }

    .lang-track {
        gap: 15px;
        animation: scrollFlagsMob 30s linear infinite;
        padding-left: 20px; 
    }

    .lang-track img {
        width: 32px;
    }
}