.container {
    text-align: center;
    padding: clamp(48px, 12vh, 120px) 24px 32px;
    position: relative;
}

.lang-switcher {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 22px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lang-btn.active,
.lang-btn:hover,
.lang-btn:focus-visible {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
}

.lang-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.3);
    outline-offset: 2px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    margin-bottom: 28px;
    animation: heroIn 1.2s var(--ease-out-expo) 0.1s both;
}

.hero-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text);
    animation: pulseDot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulseDot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

.logo-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    animation: heroIn 1.3s var(--ease-out-expo) 0.15s both;
}

.logo {
    display: block;
    max-width: min(400px, 88vw);
    width: auto;
    height: auto;
    margin: 0 auto;
    filter: none;
    transition: transform 0.6s var(--ease-out-expo);
}

.logo-wrap:hover .logo {
    transform: scale(1.02);
}

.tagline {
    margin-top: 28px;
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    animation: heroIn 1.3s var(--ease-out-expo) 0.35s both;
}

.tagline span {
    display: block;
    font-weight: 600;
    color: var(--text);
    font-size: inherit;
    opacity: 0.98;
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(36px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* splash removed */

/* Simple site loading overlay */
.site-loader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-deep);
    z-index: 99999;
    transition: opacity 360ms ease, visibility 360ms ease;
}

.site-loader.site-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-loader-inner {
    text-align: center;
}

.loader-logo {
    display: block;
    max-width: 200px;
    width: min(32vw, 180px);
    height: auto;
    filter: drop-shadow(0 14px 40px rgba(2,6,23,0.55));
    animation: logoPulse 1400ms ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); opacity: 0.92; }
    50% { transform: scale(1.08); opacity: 1; }
}

/* Hide main page while loading-active is present to avoid flashes */
.loading-active header,
.loading-active .container,
.loading-active .particles,
.loading-active .bg-stack,
.loading-active footer {
    visibility: hidden !important;
    opacity: 0 !important;
}
