#nav {
    position: fixed;
    top: 46px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1999;
    height: 4.875rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    background: rgba(2, 9, 36, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#nav.scrolled {
    top: 46px;
    height: 4.125rem;
    background: rgba(2, 9, 36, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

.nav-logo-img {
    height: 2.6rem;
    width: auto;
    display: block;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#nav.scrolled .nav-logo-img {
    height: 2.2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.25s;
    position: relative;
    padding: 0.0625rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, #0047F5 0%, #00D4FF 100%);
    border-radius: 99px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.38s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.5);
}

.nav-links a:hover {
    color: white;
}

.nav-links a:hover::after {
    transform: scaleX(0.7);
    transform-origin: center;
}

.nav-links a.active {
    color: #FFFFFF;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: center;
    background: linear-gradient(90deg, #00D4FF 0%, #00FFCC 100%);
    box-shadow: 0 2px 12px rgba(0, 255, 204, 0.6);
}

.nav-links .btn-primary {
    padding: 0.575rem 1.3rem;
    font-size: 0.9375rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    cursor: pointer;
    padding: 0;
    z-index: 2100;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-toggle-bar {
    width: 1.25rem;
    height: 2px;
    background-color: #FFFFFF;
    border-radius: 9px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-mobile-brand {
    display: none;
}

@media (max-width: 360px) {
    .nav-logo-img {
        height: 1.625rem;
    }
}

footer {
    background: #020924;
    border-top: 0.5px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.footer-bg-claim {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-weight: 900;
    font-size: clamp(1.4rem, 8.5vw, 6rem);
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.015) 30%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.015) 70%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
    animation: text-shimmer-loop 8s linear infinite;
    width: 100%;
    text-align: center;
    padding: 0 1.25rem;
    box-sizing: border-box;
}

.footer-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 2.25rem 2.5rem 1.5rem;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 2.75rem;
    width: auto;
    display: block;
    opacity: 0.85;
    transition: opacity 0.3s;
}

.footer-logo-img:hover {
    opacity: 1;
}

.footer-claim {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.04em;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
}

.footer-socials {
    display: flex;
    gap: 0.625rem;
    align-items: center;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.footer-social-link:hover {
    color: #00D4FF;
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
}

.footer-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
}

@media (max-width: 640px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.75rem 1.5rem 1.25rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0.875rem 1.5rem 1.25rem;
    }

    .footer-links {
        justify-content: center;
    }
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-links a {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    background: rgba(6, 15, 50, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(0, 212, 255, 0.25);
    color: #FFFFFF;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 20px rgba(0, 212, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-family: 'Outfit', sans-serif;
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
}

.toast.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.toast-icon {
    color: #00FFCC;
    font-size: 1.15rem;
    display: inline-flex;
}

@media (max-width: 480px) {
    .toast-container {
        bottom: 1.5rem;
        right: 1.5rem;
        left: 1.5rem;
    }

    .toast {
        padding: 0.875rem 1.25rem;
        font-size: 0.8125rem;
    }
}

@keyframes text-shimmer-loop {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

#cookie-banner {
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    background: #0b0f19; 
    border-top: 1px solid rgba(0, 212, 255, 0.15); 
    color: #f8fafc; 
    padding: 1.25rem 1.5rem; 
    box-shadow: 0 -4px 30px rgba(0,0,0,0.5); 
    z-index: 99999; 
    font-family: 'Outfit', sans-serif; 
    font-size: 0.85rem;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
    .cookie-banner-inner {
        flex-direction: row;
        text-align: left;
    }
}
