/* nav-sa.css: unified nav for standalone pages (articles, legal) */
.navbar,.navbar *{box-sizing:border-box;margin:0;padding:0}
.navbar{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;line-height:1.4;font-size:16px;text-align:left}
.navbar ul{list-style:none}.navbar a{text-decoration:none;border:0}
body.p1-sa{padding-top:calc(var(--nav-h,53px) + 28px)!important}
:root{
    --primary: #0A6FB8;
    --primary-light: #3D94D4;
    --primary-dark: #085C99;
    --secondary: #1d1d1f;
    --text: #1d1d1f;
    --text-secondary: #86868b;
    --bg: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #fbfbfd;
    --border: #d2d2d7;
    --card-shadow: 0 2px 12px rgba(0,0,0,0.06);
    --card-shadow-hover: 0 8px 32px rgba(0,0,0,0.1);
    --gradient: linear-gradient(135deg, #0A6FB8 0%, #085C99 100%);
    --gradient-hero: linear-gradient(135deg, #0A6FB8 0%, #0A6FB8 50%, #085C99 100%);
    --gradient-light: linear-gradient(135deg, rgba(10,111,184,0.05) 0%, rgba(10,111,184,0.08) 100%);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 60px rgba(10,111,184,0.15);
    --transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    --radius-card: 24px;
    --radius-btn: 980px;
}
.navbar{
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.72);
    backdrop-filter: saturate(180%) blur(28px);
    -webkit-backdrop-filter: saturate(180%) blur(28px);
    border-bottom: 0.5px solid rgba(0,0,0,0.06);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled{
    background: rgba(255,255,255,0.95);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
    border-bottom: 0.5px solid rgba(0,0,0,0.04);
}
.nav-container{
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    height: 52px; display: flex; align-items: center; justify-content: space-between;
}
.logo{
    display: flex; align-items: center; gap: 10px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.logo:hover{ transform: scale(1.03); }
.logo-icon{ font-size: 26px; transition: transform 0.3s ease; }
.logo:hover .logo-icon{ transform: rotate(-5deg); }
.logo-text-group{ display: flex; flex-direction: column; line-height: 1.2; }
.logo-text-en{ font-size: 16px; font-weight: 600; color: var(--secondary); letter-spacing: -0.3px; }
.logo-text-zh{ font-size: 10px; color: var(--text-secondary); letter-spacing: 0.5px; }
.nav-links{ display: flex; gap: 32px; align-items: center; }
.nav-link{
    font-size: 13px; color: var(--text); opacity: 0.75;
    transition: opacity 0.2s ease, color 0.2s ease; position: relative; font-weight: 500;
}
.has-dropdown{
    position: relative;
}
.nav-dropdown-trigger{
    cursor: pointer;
}
.dropdown-arrow{
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    font-size: 10px;
    color: var(--text-secondary);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
    vertical-align: middle;
}
.has-dropdown:hover .dropdown-arrow{
    transform: rotate(180deg);
    color: var(--primary);
}
.dropdown-menu{
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) scaleY(0.95) translateY(-10px);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1001;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.15s ease,
                visibility 0.2s ease;
}
.has-dropdown:hover .dropdown-menu{
    transform: translateX(-50%) scaleY(1) translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.dropdown-inner{
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.18),
                0 0 0 1px rgba(0, 0, 0, 0.04);
    transform: translateY(-6px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.has-dropdown:hover .dropdown-inner{
    transform: translateY(0);
}
.dropdown-item{
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.dropdown-item::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    border-radius: 0 2px 2px 0;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.dropdown-item:hover{
    background: linear-gradient(90deg, rgba(10, 111, 184, 0.06) 0%, rgba(10,111,184, 0.03) 100%);
}
.dropdown-item:hover::before{
    opacity: 1;
}
.dropdown-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(10, 111, 184, 0.08) 0%, rgba(10,111,184, 0.06) 100%);
    border-radius: 10px;
    font-size: 15px;
    color: var(--primary);
    transition: all 0.25s ease;
    flex-shrink: 0;
}
.dropdown-item:hover .dropdown-icon{
    background: linear-gradient(135deg, var(--primary) 0%, #0A6FB8 100%);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(10, 111, 184, 0.3);
}
.dropdown-text{
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dropdown-title{
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    transition: color 0.2s ease;
}
.dropdown-item:hover .dropdown-title{
    color: #ffffff;
}
.dropdown-item:hover .dropdown-desc{
    color: rgba(255,255,255,0.8);
}
.dropdown-desc{
    font-size: 11px;
    color: var(--text-secondary);
    opacity: 0.8;
}
.has-dropdown .dropdown-menu{
    transition:
        opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        visibility 0.35s ease;
}
.has-dropdown .dropdown-inner{
    transform: translateY(-8px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.has-dropdown:hover .dropdown-inner{
    transform: translateY(0);
}
.dropdown-item{
    opacity: 0;
    transform: translateX(-10px);
    transition:
        opacity 0.3s ease,
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 0.25s ease;
}
.has-dropdown:hover .dropdown-item{
    opacity: 1;
    transform: translateX(0);
}
.has-dropdown:hover .dropdown-item:nth-child(1){ transition-delay: 0.05s; }
.has-dropdown:hover .dropdown-item:nth-child(2){ transition-delay: 0.08s; }
.has-dropdown:hover .dropdown-item:nth-child(3){ transition-delay: 0.11s; }
.has-dropdown:hover .dropdown-item:nth-child(4){ transition-delay: 0.14s; }
.has-dropdown:hover .dropdown-item:nth-child(5){ transition-delay: 0.17s; }
.has-dropdown:hover .dropdown-item:nth-child(6){ transition-delay: 0.20s; }
.nav-link::after{
    content: ""; position: absolute; bottom: -3px; left: 0;
    width: 0; height: 2px; background: var(--primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}
.nav-link:hover{ opacity: 1; }
.nav-link:hover::after, .nav-link.active::after{ width: 100%; }
.nav-link.active{ opacity: 1; color: var(--primary); }
.nav-actions{ display: flex; align-items: center; gap: 18px; }
.mobile-menu{ display: none; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text); }
@media (max-width: 968px) {.nav-links{
        display: none; position: absolute; top: 52px; left: 0; right: 0;
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(20px); flex-direction: column;
        padding: 16px 22px; border-bottom: 1px solid var(--border); gap: 0;
    }
.nav-links.mobile-open{ display: flex; }
.nav-link{ padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,0.04); font-size: 16px; }
.mobile-menu{ display: block; }
.has-dropdown{
        flex-direction: column;
    }
.has-dropdown .nav-dropdown-trigger{
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
.has-dropdown .dropdown-arrow{
        transition: transform 0.3s ease;
    }
.has-dropdown.open .dropdown-arrow{
        transform: rotate(180deg);
    }
.has-dropdown .dropdown-menu{
        position: static;
        transform: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        min-width: 100%;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.02);
        border-radius: 12px;
        margin-top: 0;
    }
.has-dropdown.open .dropdown-menu{
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        margin-top: 8px;
        padding-bottom: 8px;
    }
.has-dropdown .dropdown-inner{
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        border: none;
        padding: 0;
        transform: none;
    }
.has-dropdown .dropdown-item{
        opacity: 1;
        transform: none;
        padding: 12px 16px;
    }
.has-dropdown.open .dropdown-item{
        transform: none;
    }}
