:root {
    --primary: #007AFF;
    --dark-bg: #0f172a;
    --light-bg: #ffffff;
    --text-dim: #64748b;
    --accent-blue: rgba(0, 122, 255, 0.4);
    --nav-height: 100px;
}

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

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body { 
    font-family: 'Inter', sans-serif; 
    background: var(--light-bg); 
    color: #1e293b; 
    overflow-x: hidden;
}

/* NAVIGATION */
nav {
    position: fixed;
    top: 0; 
    width: 100%;
    height: var(--nav-height);
    padding: 0 5%;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    gap: 24px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

nav.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo-container { 
    height: 60%;
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    transition: 0.4s; 
}

.logo-container a {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-container img {
    height: 200%;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: 0.4s;
}

nav.scrolled .logo-container { 
    height: 70%; 
}

nav.scrolled .logo-container img { 
    filter: none; 
}

.nav-right { 
    display: flex; 
    align-items: center; 
    gap: 30px; 
    flex: 0 0 auto;
}

.nav-links { 
    display: flex; 
    gap: 25px; 
    list-style: none; 
    align-items: center; 
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-links a {
    text-decoration: none; 
    color: white;
    font-weight: 600; 
    font-size: 0.85rem;
    text-transform: uppercase; 
    transition: 0.3s;
}

nav.scrolled .nav-links a { 
    color: #1e293b; 
}

.lang-switch {
    display: flex; 
    background: rgba(255,255,255,0.1);
    padding: 4px; 
    border-radius: 20px; 
    align-items: center;
}

nav.scrolled .lang-switch { 
    background: rgba(0,0,0,0.05); 
}

.lang-btn {
    padding: 5px 12px; 
    border-radius: 15px; 
    cursor: pointer;
    font-size: 0.7rem; 
    font-weight: 700; 
    border: none;
    background: transparent; 
    color: white;
    transition: 0.3s;
}

nav.scrolled .lang-btn { 
    color: #1e293b; 
}

.lang-btn.active { 
    background: var(--primary) !important; 
    color: white !important; 
}

/* BLOB ANIMATION */
.blob {
    position: absolute; 
    width: 600px; 
    height: 600px;
    border-radius: 50%; 
    filter: blur(100px); 
    z-index: 1;
    animation: move 25s infinite alternate;
}

.blob-1 { 
    background: var(--accent-blue); 
    top: -10%; 
    left: -5%; 
}

.blob-2 { 
    background: var(--accent-blue); 
    bottom: -10%; 
    right: 5%; 
    animation-delay: -5s; 
}

@keyframes move {
    from { 
        transform: translate(0, 0) scale(1); 
    }
    to { 
        transform: translate(100px, 80px) scale(1.2); 
    }
}

@media (max-width: 992px) {
    nav {
        height: 72px;
        padding: 0 18px;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }

    .logo-container,
    nav.scrolled .logo-container {
        height: 54px;
    }

    .logo-container img,
    nav.scrolled .logo-container img {
        height: 100%;
        max-width: min(48vw, 210px);
        filter: none;
    }

    .nav-right {
        gap: 14px;
    }

    .nav-links { 
        display: none; 
    }

    .lang-switch,
    nav.scrolled .lang-switch {
        background: rgba(15, 23, 42, 0.08);
    }

    .lang-btn,
    nav.scrolled .lang-btn {
        color: #1e293b;
    }
}

