/* ===== SHARED NAV ===== */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 32px;
    background: rgba(9, 9, 15, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}
nav.nav-fixed {
    position: fixed;
    left: 0; right: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    transition: all 0.3s ease;
}
nav.nav-fixed.scrolled {
    background: rgba(9, 9, 15, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 18px;
}
.nav-logo img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}
.brand-full { display: none; }
@media (min-width: 1100px) {
    .nav-logo .brand-short { display: none; }
    .nav-logo .brand-full { display: inline; }
}
@media (min-width: 768px) {
    .footer-brand .brand-short { display: none; }
    .footer-brand .brand-full { display: inline; }
}
.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--accent); }
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--accent);
    color: #09090f !important;
    border-radius: 100px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s;
}
.nav-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
.lang-dropdown {
    position: relative;
    display: inline-block;
}
.lang-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}
.lang-dropdown-btn:hover,
.lang-dropdown.open .lang-dropdown-btn {
    border-color: var(--accent);
    color: var(--accent);
}
.lang-dropdown-arrow {
    transition: transform 0.2s;
}
.lang-dropdown.open .lang-dropdown-arrow {
    transform: rotate(180deg);
}
.lang-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 140px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 4px 0;
    list-style: none;
    margin: 0;
    z-index: 200;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.lang-dropdown.open .lang-dropdown-menu {
    display: block;
}
.lang-dropdown-menu li {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s;
}
.lang-dropdown-menu li:hover {
    background: var(--accent-dim);
    color: var(--text);
}
.lang-dropdown-menu li.active {
    color: var(--accent);
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s;
}

/* ===== SHARED FOOTER ===== */
footer {
    border-top: 1px solid var(--border);
    padding: 48px 32px 32px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}
.footer-brand {
    max-width: 280px;
}
.footer-brand h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-brand h3 img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}
.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}
.footer-links-group {
    display: flex;
    gap: 56px;
}
.footer-col h4 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    max-width: 1200px;
    margin: 32px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== RESPONSIVE (NAV + FOOTER) ===== */
@media (max-width: 768px) {
    nav { padding: 12px 20px; }
    .nav-links {
        display: none;
        position: fixed;
        top: 56px;
        left: 0; right: 0;
        background: rgba(9, 9, 15, 0.96);
        backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .mobile-menu-btn { display: flex; }
    .footer-inner { flex-direction: column; gap: 32px; }
    .footer-links-group { gap: 40px; }
}
