html{

    scroll-behavior:smooth;

}


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

body{
    background:#F8F9FA;
    color:#111111;
    font-family:"Space Grotesk", sans-serif;
}

header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    padding:20px 60px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    background:rgba(255,255,255,.85);

    backdrop-filter:blur(12px);

    z-index:1000;

    box-sizing:border-box;
}

.logo{

    color:#111111;
}

.logo:hover{

    color:#00ff88;
}

.logo span{
    color:#00ff88;
}

nav{

    display:flex;
    gap:35px;
}

nav a{

    position:relative;

    color:#111111;

    text-decoration:none;

    font-size:17px;

    font-weight:500;

    transition:.3s;
}

nav a:hover{

    color:#00C853;
}


nav a::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-6px;

    width:0;
    height:2px;

    background:#00ff88;

    transition:.3s;
}

nav a:hover::after{

    width:100%;
}

nav a:hover{

    color:#00ff88;
}

.hero{

    position:relative;

    height:100vh;

    overflow:hidden;

    display:flex;

    align-items:center;

}


.hero-content {
    position: relative;
    z-index: 5;
    max-width: 700px;

    margin-left: 80px;   
}

.hero h1{

    color:#111111;
}

.hero p{

    color:#666666;
}

button{

    padding:18px 45px;

    border:none;

    font-size:18px;

    font-weight:bold;

    background:#00ff88;

    color:black;

    border-radius:40px;

    cursor:pointer;

    transition:.35s;
}

button:hover{

    transform:translateY(-5px);

    box-shadow:0 0 25px #00ff88;
}


header.scrolled{

    background:rgba(10,10,10,0.75);

    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);

    box-shadow:0 2px 25px rgba(0,0,0,.45);
}


/* Логотип */
header.scrolled .logo{
    color: white;
}

header.scrolled .logo span{
    color: #00ff88;
}

/* Меню */
header.scrolled nav a{
    color: white;
}

/* При наведении */
header.scrolled nav a:hover{
    color: #00ff88;
}

/* Переключатель языка */
header.scrolled .language-switch a{
    color: white;
}

header.scrolled .language-switch a.active{
    color: #00ff88;
    border-bottom: 2px solid #00ff88;
}

.hero-content{

    animation:fadeUp 1.2s ease;
}

@keyframes fadeUp{

    from{

        opacity:0;
        transform:translateY(40px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

} 

.features{

    position:relative;

    background:#ffffff;

    margin-top:0;

    border-radius:45px 45px 0 0;

    padding:140px 80px 100px;

    z-index:10;

    box-shadow:0 -20px 60px rgba(0,0,0,.08);

    opacity:1;

    transform:none;
}




.features h2{

    text-align:center;

    font-size:48px;

    margin-bottom:70px;

    letter-spacing:3px;
}

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:100px;
}

.card{

    background:#f8f8f8;

    padding:35px;

    border-radius:18px;

    transition:.3s;

    box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.card p{

    color:#666666;
}


.flagship{

    background:#F8F9FA;
}


.flagship-image{

    flex:1;

    text-align:center;
}

.flagship-image img{

    width:100%;
    max-width:600px;

    transition:.5s;
}

.flagship-image img:hover{

    transform:scale(1.05);
}

.flagship-info{

    flex:1;
}

.subtitle{

    color:#00ff88;

    letter-spacing:3px;

    font-size:14px;
}

.flagship-info h2{

    font-size:56px;

    margin:20px 0;
}

.flagship-info p{

    color:#bdbdbd;

    font-size:18px;

    line-height:1.8;

    margin-bottom:40px;
}

.stats{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:25px;

    margin-bottom:40px;
}

.stat{

    background:white;

    border:1px solid #E5E7EB;

    box-shadow:0 8px 25px rgba(0,0,0,.06);
}

.stat:hover{

    border:1px solid #00ff88;

    transform:translateY(-8px);
}

.stat h3{

    color:#00ff88;

    font-size:42px;
}

.stat span{

    color:#aaa;
}


.hero-tag{

    display:inline-block;

    color:#00ff88;

    letter-spacing:4px;

    font-size:15px;

    margin-bottom:25px;

    text-transform:uppercase;
}

.hero h1{

    font-size:82px;

    line-height:0.95;

    margin-bottom:30px;
}

.hero p{

    width:560px;

    font-size:22px;

    color:#bdbdbd;

    line-height:1.8;

    margin-bottom:45px;
}

.hero-buttons{

    display:flex;

    gap:20px;
}

.btn-primary{

    background:#00ff88;

    color:black;

    padding:18px 42px;

    border:none;

    border-radius:50px;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

    transition:.35s;
}

.btn-primary:hover{

    transform:translateY(-5px);

    box-shadow:0 0 30px rgba(0,255,136,.45);
}

.btn-secondary{

    background:transparent;

    color:white;

    border:2px solid white;

    padding:18px 42px;

    border-radius:50px;

    font-size:18px;

    cursor:pointer;

    transition:.35s;
}

.btn-secondary:hover{

    background:white;

    color:black;
}


.hero-video{

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:100%;

    object-fit:cover;

    z-index:-2;

    pointer-events:none;
}


.overlay{

    position:absolute;

    inset:0;

    background:rgba(255,255,255,0.2);

    z-index:-1;
}


/* ---------- Hero Animation ---------- */

.hero-content{

    opacity:0;

    transform:translateY(50px);

    animation:heroFade 1.4s ease forwards;

    animation-delay:.3s;
}

.hero-tag{

    opacity:0;

    animation:fadeUp .8s ease forwards;

    animation-delay:.4s;
}

.hero h1{

    font-size:82px;

    line-height:.95;

    margin-bottom:30px;

    color:#111;
}

.hero p{

    width:560px;

    font-size:22px;

    color:#444;

    line-height:1.8;

    margin-bottom:45px;
}

.hero-buttons{

    opacity:0;

    animation:fadeUp .8s ease forwards;

    animation-delay:1.3s;
}

@keyframes heroFade{

    from{

        opacity:0;

        transform:translateY(50px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.btn-primary,
.btn-secondary{

    transition:.35s ease;
}

.btn-primary:hover{

    transform:translateY(-4px) scale(1.03);
}

.btn-secondary:hover{

    transform:translateY(-4px);
}


header{

    opacity:0;

    animation:headerFade .8s ease forwards;
}

@keyframes headerFade{

    from{

        opacity:0;

        transform:translateY(-30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}




.wave-divider{

    position:relative;

    margin-top:-120px;

    z-index:5;

}

.wave-divider svg{

    display:block;

    width:100%;

    height:120px;

}



.language-switch{

    display:flex;

    gap:12px;

    align-items:center;
}

.language-switch a{

    text-decoration:none;

    color:#555;

    font-weight:600;

    transition:.3s;
}

.language-switch a:hover{

    color:#00C853;
}

.language-switch a.active{

    color:#00C853;

    border-bottom:2px solid #00C853;

    padding-bottom:4px;
}



.gallery{
    display:flex;
    gap:20px;
    margin-top:30px;
    flex-wrap:wrap;
}

.gallery-img{

    width:180px;

    height:180px;

    object-fit:cover;

    border-radius:18px;

    cursor:pointer;

    transition:.3s;

}

.gallery-img:hover{

    transform:scale(1.05);

}





.product-image{
    display:flex;
    justify-content:center;
    margin:60px 0;
}

.main-photo{
    width:100%;
    max-width:700px;
    height:450px;

    object-fit:cover;

    border-radius:20px;

    box-shadow:0 20px 60px rgba(0,0,0,.15);
}



.lightbox{

    display:none;

    position:fixed;

    z-index:9999;

    left:0;

    top:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.92);

    justify-content:center;

    align-items:center;

}

.lightbox img{

    max-width:90%;

    max-height:90%;

    border-radius:15px;

    box-shadow:0 20px 50px rgba(0,0,0,.5);

}

.close{

    position:absolute;

    top:25px;

    right:40px;

    color:white;

    font-size:45px;

    cursor:pointer;

}




.product-info{

    padding-left:60px;

}

.product-info h3{

    font-size:42px;

    margin-bottom:20px;

    color:#111;

}

.product-info p{

    color:#666;

    font-size:18px;

    line-height:1.8;

    margin-bottom:40px;

}

.specs{

    display:flex;

    flex-direction:column;

    gap:16px;

    margin-bottom:40px;

}

.spec{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:16px 22px;

    background:#fff;

    border-radius:14px;

    border:1px solid #ececec;

    transition:.3s;

}

.spec:hover{

    transform:translateX(6px);

    border-color:#00C853;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.spec span{

    color:#777;

    font-size:15px;

}

.spec strong{

    color:#111;

    font-size:16px;

}




.advantages{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:15px;

    margin:35px 0;

}

.advantages div{

    background:#f8f8f8;

    padding:15px;

    border-radius:12px;

    font-weight:500;

}


.product-video{
    display:flex;
    justify-content:center;
    margin:60px 0;
}

.products h2{
    margin-top: 300px;
    margin-bottom: 50px;
    text-align: center;
}

.hero2-video{

    width:100%;
    max-width:900px;

    height:500px;

    object-fit:cover;

    border-radius:20px;

    box-shadow:0 20px 60px rgba(0,0,0,.15);

}



.modal{

    display:none;

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.65);

    backdrop-filter:blur(6px);

    justify-content:center;

    align-items:center;

    z-index:10000;

}

.modal-content{

    width:650px;

    max-width:90%;

    background:white;

    padding:45px;

    border-radius:25px;

    box-shadow:0 25px 60px rgba(0,0,0,.3);

    position:relative;

    animation:popup .35s ease;

}

.modal-content h2{

    margin-bottom:15px;

}

.modal-content p{

    color:#666;

    margin-bottom:30px;

}

.modal-content form{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.modal-content input,
.modal-content textarea{

    padding:16px;

    border:1px solid #ddd;

    border-radius:12px;

    font-size:16px;

    font-family:inherit;

}

.modal-content textarea{

    resize:vertical;

}

.modal-close{

    position:absolute;

    top:18px;

    right:24px;

    font-size:34px;

    cursor:pointer;

}

@keyframes popup{

    from{

        opacity:0;

        transform:scale(.9);

    }

    to{

        opacity:1;

        transform:scale(1);

    }

}


.footer{

    background:#111;

    color:white;

    padding:80px 80px 30px;

}

.footer-container{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:50px;

}

.footer h2 span{

    color:#00ff88;

}

.footer h3{

    margin-bottom:20px;

}

.footer p{
    margin-top: 16px; 

    color:#bdbdbd;

    line-height:1.8;

}

.footer a{

    display:block;

    color:#bdbdbd;

    text-decoration:none;

    margin-bottom:12px;

    transition:.3s;

}

.footer a:hover{

    color:#00ff88;

}

.footer-bottom{

    margin-top:50px;

    border-top:1px solid #333;

    padding-top:20px;

    text-align:center;

    color:#777;

}


.prev,
.next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    color:white;
    font-size:60px;
    cursor:pointer;
    user-select:none;
    padding:20px;
    transition:.3s;
}

.prev:hover,
.next:hover{
    color:#00ff88;
}

.prev{
    left:30px;
}

.next{
    right:30px;
}




.success-message{

    position: fixed;

    top: 30px;
    right: 30px;

    background: #00C853;
    color: white;

    padding: 18px 30px;

    border-radius: 14px;

    font-size: 16px;
    font-weight: 600;

    box-shadow: 0 15px 40px rgba(0,0,0,.2);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-20px);

    transition: .35s;

    z-index: 99999;

}

.success-message.show{

    opacity: 1;
    visibility: visible;

    transform: translateY(0);

}


/* ========================= */
/* MOBILE VERSION - STEP 1 */
/* ========================= */

@media (max-width: 768px) {

    header{

        padding:16px 20px;

        justify-content:space-between;

    }

    .logo{

        font-size:22px;

    }

    nav{

        gap:18px;

    }

    nav a{

        font-size:14px;

    }

    .language-switch{

        gap:8px;

    }

    .language-switch a{

        font-size:14px;

    }

}


    .hero{

        height:auto;

        min-height:100vh;

        padding:120px 20px 80px;

        justify-content:center;

    }

    .hero-content{

        margin-left:0;

        max-width:100%;

        text-align:center;

    }

    .hero-tag{

        font-size:13px;

        letter-spacing:2px;

    }

    .hero h1{

        font-size:42px;

        line-height:1.1;

        margin-bottom:20px;

    }

    .hero p{

        width:100%;

        font-size:17px;

        line-height:1.7;

        margin-bottom:35px;

    }

    .btn-primary{

        width:100%;

        max-width:340px;

        font-size:17px;

        padding:18px;

    }

        .features{

        padding:80px 20px;

        border-radius:30px 30px 0 0;

    }

    .features h2{

        font-size:32px;

        margin-bottom:40px;

        line-height:1.2;

    }

    .cards{

        grid-template-columns:1fr;

        gap:22px;

    }

    .card{

        padding:28px 24px;

    }

    .card h3{

        font-size:22px;

        margin-bottom:15px;

    }

    .card p{

        font-size:16px;

        line-height:1.7;

    }

        /* ---------- GALLERY ---------- */

    .products{

        padding:60px 20px;

    }

    .products h2{

        margin-top:80px;

        margin-bottom:35px;

        font-size:32px;

        text-align:center;

    }

    .product-video{

        margin:35px 0;

    }

    .hero2-video{

        width:100%;

        height:220px;

        border-radius:18px;

    }

    .gallery{

        display:grid;

        grid-template-columns:repeat(2,1fr);

        gap:12px;

        margin-top:30px;

    }

    .gallery-img{

        width:100%;

        aspect-ratio:1/1;

        height:auto;

        border-radius:14px;

    }

        /* ---------- CONTACT FORM ---------- */

    .modal-content{

        width:95%;

        padding:28px 22px;

        border-radius:20px;

    }

    .modal-content h2{

        font-size:28px;

        text-align:center;

    }

    .modal-content p{

        font-size:15px;

        text-align:center;

        margin-bottom:25px;

    }

    .modal-content input,
    .modal-content textarea{

        width:100%;

        font-size:16px;

        padding:16px;

    }

    .modal-content textarea{

        min-height:140px;

    }

    .file-upload{

        width:100%;

        text-align:center;

        padding:16px;

    }

    .modal-content button{

        width:100%;

        padding:18px;

        font-size:17px;

    }

        /* ---------- FOOTER ---------- */

    .footer{

        padding:60px 20px 30px;

    }

    .footer-container{

        grid-template-columns:1fr;

        gap:35px;

        text-align:center;

    }

    .footer h2{

        font-size:28px;

    }

    .footer h3{

        margin-bottom:15px;

    }

    .footer a{

        margin-bottom:10px;

    }

    /* ========================= */
/* BURGER MENU */
/* ========================= */

.menu-toggle{
    display:none;
    font-size:30px;
    font-weight:bold;
    cursor:pointer;
    color:#111;
    z-index:2001;
    user-select:none;
}

/* MOBILE */

@media (max-width:768px){

    header{

        padding:16px 20px;

    }

    .menu-toggle{

        display:block;

    }

    nav{

        position:fixed;

        top:0;

        right:-100%;

        width:280px;

        height:100vh;

        background:white;

        display:flex;

        flex-direction:column;

        justify-content:center;

        align-items:center;

        gap:35px;

        transition:.35s ease;

        box-shadow:-10px 0 30px rgba(0,0,0,.15);

        z-index:2000;

    }

    nav.active{

        right:0;

    }

    nav a{

        font-size:22px;

    }

}


