* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #030712;
    color: #ffffff;
    font-family: 'Inter', Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.site-shell {
    min-height: 100vh;
    background-color: #020816;
}

.container-main {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(14px);
    background: rgba(3, 10, 24, 0.86);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.brand-logo {
    width: 180px;
    height: 72px;
    object-fit: contain;
}

.brand-text {
    display: none;
}

.nav-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    flex: 1 1 auto;
}

.nav-desktop a {
    color: rgba(255,255,255,0.92);
    font-size: 16px;
    font-weight: 500;
    transition: color .18s ease, opacity .18s ease;
}

.nav-desktop a:hover {
    color: #56a3ff;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
}

.lang-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.76);
}

.lang-switch a.is-active {
    background: #2f7df6;
    color: #ffffff;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 14px;
    background: linear-gradient(180deg, #4d97ff 0%, #2f7df6 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 10px 30px rgba(47, 125, 246, 0.28);
    white-space: nowrap;
}

.header-cta:hover {
    filter: brightness(1.05);
}

@media (max-width: 1100px) {
    .nav-desktop {
        gap: 22px;
    }

    .nav-desktop a {
        font-size: 15px;
    }

    .brand-logo {
        width: 160px;
        height: 64px;
    }
}

@media (max-width: 920px) {
    .topbar-inner {
        min-height: auto;
        padding: 14px 0;
        flex-wrap: wrap;
    }

    .brand {
        width: 100%;
        justify-content: center;
    }

    .nav-desktop {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        gap: 14px 20px;
        padding-top: 8px;
    }

    .header-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .container-main {
        width: min(100% - 20px, 1280px);
    }

    .brand-logo {
        width: 140px;
        height: 56px;
    }

    .nav-desktop {
        gap: 10px 16px;
    }

    .nav-desktop a {
        font-size: 14px;
    }

    .header-cta {
        width: 100%;
        min-height: 46px;
    }
}