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

body {
    font-family: 'Inter', sans-serif;
    background: #050f0c;
    color: white;
    overflow-x: hidden;
}

/* BG */
.bg {
    position: fixed;
    width: 100%;
    height: 100%;
    background:
    radial-gradient(circle at 30% 30%, rgba(0,255,150,0.15), transparent),
    radial-gradient(circle at 70% 70%, rgba(0,255,150,0.1), transparent);
    filter: blur(100px);
    z-index: -1;
}

/* HEADER */
.header {
     
   
    position: fixed;
    width: 100%;
    z-index: 999;
     backdrop-filter: blur(10px);
}

.nav-wrapper {
    margin: 20px auto;
    width: 90%;
    max-width: 1200px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 30px;

    border-radius: 20px;

    background: rgba(10, 25, 20, 0.6);
    backdrop-filter: blur(20px);

    border: 1px solid rgba(0,255,150,0.15);

    box-shadow:
        0 10px 40px rgba(0,0,0,0.4),
        inset 0 0 20px rgba(0,255,150,0.05);

    transition: 0.3s;
}

/* SCROLL EFFECT */
.header.scrolled .nav-wrapper {
    background: rgba(5, 15, 12, 0.9);
}

/* LOGO */
.logo {
    font-size: 22px;
    font-weight: 800;

    background: linear-gradient(90deg, #00ff9c, #00ffaa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* NAV */
.nav {
    display: flex;
    gap: 25px;
}

.nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    position: relative;
}

/* HOVER */
.nav a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #00ff9c;
    transition: 0.3s;
}

.nav a:hover::after {
    width: 100%;
}

.nav a:hover {
    color: white;
}

/* CTA */
.nav-cta {
    text-decoration: none !important;

    padding: 10px 20px;
    border-radius: 12px;

    background: linear-gradient(135deg,#00ff9c,#00cc88);
    color: #000;

    font-weight: 600;

    transition: all 0.3s ease;

    box-shadow: 0 5px 20px rgba(0,255,150,0.25);
}

.nav-cta:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0,255,150,0.45);
}

/* BURGER */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 2px;
    background: white;
}
/* MOBILE */
@media (max-width: 768px) {

    .nav {
        display: none;
    }

    .burger {
        display: flex;
    }

    
}
/* LOGO IMG */
.logo img {
    height: 32px;
}

/* NAV ALIGN FIX */
.nav {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 3px; /* 🔥 ОПУСТИЛИ ЧУТЬ */
}

/* CTA BUTTON */
.nav-cta {
    margin-left: 20px;
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 100px;
    right: -100%;

    width: 90%;
    max-width: 320px;

    display: flex;
    flex-direction: column;
    gap: 18px;

    padding: 30px;

    background: rgba(10,25,20,0.95);
    backdrop-filter: blur(20px);

    border-radius: 20px;

    border: 1px solid rgba(0,255,150,0.2);

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

    transition: 0.4s;
}

.mobile-menu a {
    text-decoration: none;
    color: rgba(255,255,255,0.8);

    font-size: 18px;
    padding-bottom: 5px;

    position: relative;
}

/* underline animation */
.mobile-menu a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: #00ff9c;
    transition: 0.3s;
}

.mobile-menu a:hover::after {
    width: 100%;
}

.mobile-menu a:hover {
    color: white;
}

/* CTA inside mobile */
.mobile-menu .nav-cta {
    margin-top: 10px;
    text-align: center;
}
.nav a {
    text-decoration: none;
}


/* MOBILE FIX */
@media (max-width:768px) {

    .nav {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .burger {
        display: flex;
    }
}