:root {
    --color-bg: #fff;
    --color-text: #1d1d1f;
    --color-accent: #00b9c8;
    --color-grey-light: #6e6e73;
    --color-grey: #f5f5f7;
    --color-grey-dark: #e5e5e5;
    --nav-height:44px;
    --header-height: 15vh;
    --max-width:100%;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', 'Source Han Sans', '思源黑体', 'Microsoft YaHei', Arial, sans-serif;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    line-height: 1.6;
}

.logo {
    font-size: 21px;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.5s ease;
}

.logo img {
    height: 0px;
    object-fit: contain;
}

.logo svg {
    height: 18vh;
    width: auto;
    margin-left: -5%;
}

.logo .logo-part-1 { fill: #000000; }
.logo .logo-part-2 { fill: #00b9c8; }
.logo .logo-part-1, .logo .logo-part-2 {
    transition: fill 0.4s ease;
}

nav:not(.nav-scrolled) .logo .logo-part-1,
nav:not(.nav-scrolled) .logo .logo-part-2 {
    fill: #fff;
}

nav.nav-hovered .logo .logo-part-1 {
    fill: #000000;
}
nav.nav-hovered .logo .logo-part-2 {
    fill: #00b9c8;
}

/* 导航样式 */
nav {
    position: sticky;
    top: 0;
    z-index: 998;
    height:15vh;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    padding: 0 40px;
    transition: background-color 0.5s ease, border-color 0.5s ease, backdrop-filter 0.5s ease;
}

nav.nav-scrolled {
    background-color:#fff;
    border-bottom-color: rgba(0,0,0,0.08);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

nav.nav-hovered {
    background-color: #fff;
    border-bottom-color: #fff;
}

nav:not(.nav-scrolled) .logo,
nav:not(.nav-scrolled) .nav-item,
nav:not(.nav-scrolled) .language-button,
nav:not(.nav-scrolled) .mobile-nav-toggle {
    color: #fff;
}

nav.nav-hovered .nav-item,
nav.nav-hovered .hero-link,
nav.nav-hovered .logo,
nav.nav-hovered .language-button,
nav.nav-hovered .mobile-nav-toggle {
    color: var(--color-text);
}

nav.nav-hovered .dropdown {
    background-color: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-color: #e5e5e5;
}

nav.nav-hovered .dropdown-title {
    color: var(--color-text);
    border-right-color: #e5e5e5;
}

nav.nav-hovered .dropdown-link {
    color: var(--color-text);
}

.nav-container {
   
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-main {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
}

.nav-links {
    display: flex;
    justify-content: center;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    letter-spacing: 0.2em;
    font-size: 1.9vh;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s, color 0.4s ease;
    cursor: pointer;
}

.nav-item:hover {
    opacity: 1;
}

.nav-item:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: var(--color-accent);
    animation: lineAppear 0.3s ease;
}

@keyframes lineAppear {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

/* 下拉菜单样式（改为向下滑出动画） */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 100vw;
    background-color: #fff;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 0;
    /* 不用内边距撑开初始高度，避免影响动画节奏 */
    padding: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(0);
    max-height: 0;                    /* 初始高度为0，隐藏内容 */
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), /* 渐显/渐隐 */
                transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), /* 下滑/上滑 */
                max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), /* 展开/收起 */
                padding 0.45s cubic-bezier(0.4, 0, 0.2, 1),    /* 补齐边距动画，避免跳变 */
                visibility 0s 0.45s,                           /* 动画结束后再切换可见性 */
                background-color 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border: 1px solid var(--color-grey-dark);
    border-top: none;
    overflow: hidden;
    z-index: 10000;
}

/* 隐藏过渡状态 */
/* 收起动画：上滑 + 渐隐 + 高度合拢（保持流畅） */
.dropdown.dropdown-hiding {
    pointer-events: none; /* 收起过程禁用交互，避免误触 */
    opacity: 0;
    transform: translateX(-50%) translateY(0);
    max-height: 0;
    padding: 0;
    visibility: hidden; /* 与 visibility 过渡搭配，避免在动画未结束前点击 */
     z-index: 10000;
}

.dropdown-grid {
    
    margin: 0 auto;
    display: flex;
    min-height: 13vh;
    align-items: center;
    justify-content: center;
    position: relative;
     z-index: 10000;
    
}

.dropdown-col {
    position: absolute;
    display: flex;
    flex-direction: row;
    gap: 0px;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    justify-content: center;
     z-index: 10000;
}

.dropdown-col.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
     z-index: 10000;
}

.dropdown.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 480px;   /* 估算的下拉最大高度，按需调大 */
    padding: 10px 0;     /* 展开后再加内边距 */
    transition-delay: 0s;
}

.dropdown-title {
    font-size: 1.9vh;
    letter-spacing: 0.1em;
    color: var(--color-grey-light);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0;
    padding-right: 25px;
    margin-right: 10px;
    border-right: 1px solid var(--color-grey-dark);
    white-space: nowrap;
    transition: color 0.4s ease, border-color 0.4s ease;
     z-index: 10000;
}

.dropdown-link {
    text-decoration: none;
    color: var(--color-text);
    font-size: 1.9vh;
    width: 20vh;
    letter-spacing: 0.1em;
    font-weight: 300;
    padding: 65px 20px;
    transition: color 0.4s ease, background-color 0.2s ease;
    display: block;
    border-radius: 6px;
    white-space: nowrap;
     z-index: 10000;
    
}

.dropdown-link:hover {
    color: var(--color-accent);
    background-color: var(--color-grey);
}
.dropdown-link:active {
    color: var(--color-accent);
    background-color: var(--color-grey);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
    margin-top: calc(-1 * var(--header-height));
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.4) 70%),
        url('bkg_1.jpg') no-repeat center center / cover;
    z-index: -1;
}

.hero h1 {
    font-size: 80px;
    font-weight: 700;
    margin-top: -20px;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ffffff, #dbdbe7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    
    transform: translateY(30px);
    animation: textAppear 1.2s 0.4s cubic-bezier(0.075, 0.82, 0.165, 1) forwards;
}

@keyframes textAppear {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 40px;
    color: var(--color-grey-light);
    margin-top: 80px;
    opacity: 0;
    transform: translateY(20px);
    animation: textAppear 1s 0.7s forwards;
}

.hero-links {
    display: flex;
    gap: 20px;
    opacity: 0;
    color: #00B9C8;
    transform: translateY(20px);
    animation: textAppear 1s 1s forwards;
}

.hero-link {
    text-decoration: none;
    color: #fff;
    background-color: #00b9c8;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s, color 0.4s ease;
}

.hero-link:hover {
    text-decoration: none;
    transform: scale(1.05);
    filter: brightness(1.1);
}

.circle-scroll {
    position: absolute;
    bottom: 40px;
    width: 40px;
    height: 40px;
    color: #00b9c8;;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

.circle-scroll::after {
    content: '';
    width: 6px;
    height: 6px;
    background: #00b9c8;
    border-radius: 50%;
    margin-top: 4px;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}



.swiper-pagination {
    position: static;
    margin-top: 50px;
}

.swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background-color: #d1d1d6;
    opacity: 1;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    width: 25px;
    border-radius: 5px;
    background-color: #00b9c8;
}

.swiper-button-next, .swiper-button-prev {
    color: #00b9c8;
    width: 44px;
    height: 44px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    color: #fff;
    background-color: #00b9c8;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .swiper-button-next, .swiper-button-prev {
        display: none;
    }
}

 /* Footer */
 footer {
    border-top: 1px solid var(--color-grey-dark);
    padding: 40px 20px;
    background: #fafafa;
    max-width: 100%;
}

.footer-main {
    max-width: 100%;
    margin: 0;
    padding: 0 40px 0 40px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}
.footer-left {
    flex: 0 0 auto;
    min-width: 220px;
    max-width: 300px;
    margin-top: 5px;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 2%;
    order: -1;
}
.footer-logo img {
    height: 4.5vh;
    margin-bottom: 0;
    display: block;
    margin-left: 0;
}
.footer-friendlinks {
    width: 100%;
    margin-top: 22px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    padding: 0;
    color: var(--color-accent);
    transition: box-shadow 0.3s, background 0.3s, color 0.3s;
    position: relative;
}
.friend-title {
    font-size:20vh;
    color: #222;
    padding: 18px 28px 12px 28px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    display: flex;
    align-items: center;
    border-radius: 14px 14px 0 0;
    font-weight: 500;
    letter-spacing: 1px;
    background: transparent;
    transition: background 0.2s, color 0.2s;
}
.friend-title:hover {
    background: #f5f5f7;
    color: #222;
}
.friend-toggle {
    margin-left: 8px;
    font-size: 2vh;
    transition: transform 0.3s;
}
.friend-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(.4,0,.2,1), padding 0.3s;
    background: #fff;
    border-radius: 0 0 14px 14px;
    padding: 0;
    color: #222;
    border-top: none;
    position: static;
    box-shadow: none;
    z-index: 1;
    width: 100%;
}
.friend-list.open {
    padding: 16px 0 18px 0;
    color: #222;
}
.friend-list a.footer-link {
    margin-top: 0;
    padding: 10px 24px;
    border-radius: 0;
    transition: background 0.2s, color 0.2s;
    color: #222;
    font-weight: 500;
    font-size: 20vh;
    letter-spacing: 0.5px;
    background: transparent;
    display: block;
    text-align: left;
    border: none;
    width: 100%;
}
.friend-list a.footer-link:hover {
    background: #f5f5f7;
    color: var(--color-accent);
}
.footer-right {
    display: flex;
    flex: 1 1 auto;
    flex-direction: row;
    gap: 50px;
    justify-content: flex-end;
    flex-wrap: nowrap;
    align-items: flex-start;
    margin-left: 100px;
    margin-right: 0;
}
.footer-col {
    min-width: 140px;
    flex: 0 0 auto;
    margin-bottom: 20px;
}
.footer-col h4 {
    font-size: 2vh;
    color: var(--color-grey-light);
    margin-bottom: 20px;
        letter-spacing: 0.1em;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-link {
    text-decoration: none;
    color: #878686;
    width: auto;
    min-width: 100px;
    font-size: 1.8vh;
    
    font-weight: 300;
    transition: all 0.2s;
    white-space: nowrap;
}
.footer-link:hover {
    color: var(--color-accent);
}
.footer-bottom {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    color: var(--color-grey-light);
    border-top: 1px solid var(--color-grey-dark);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-left {
    font-size: 1.6vh;
    flex: 1;
    margin-left:0px;
    min-width: 200px;
}

.footer-bottom-center {
    flex: 0 0 auto;
    min-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 1.6vh; /* 与 .footer-bottom-left 一致 */
    color: var(--color-grey-light);
}

.footer-bottom-center a {
    color: var(--color-grey-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: inherit; /* 继承父级字号，保持一致 */
}

.footer-bottom-center a:hover {
    color: var(--color-accent);
}

.footer-gongan-icon {
    width: 16px;
    height: 16px;
}

/* 桌面端让备案号在底栏水平正中 */
@media (min-width: 901px) {
    .footer-bottom {
        position: relative;
    }

    .footer-bottom-center {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}



.footer-bottom-separator {
    width: 1px;
    height: 12px;
    background-color: var(--color-grey-light);
    margin: 0 20px;
}

.footer-bottom-right {
    display: flex;
    gap: 30px;
    flex: 1;
    justify-content: flex-end;
    min-width: 200px;
}


.footer-bottom-link {
    font-size: 1.6vh;
    margin-right: 80px;
    margin-left:-80px;
    color: var(--color-grey-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-link:hover {
    color: var(--color-accent);
}
@media (max-width: 900px) {
    .footer-main, .footer-right {
        flex-direction: column;
        gap: 0;
    }
    .footer-right {
        gap: 0;
    }
    .footer-col {
        margin-bottom: 30px;
    }
    .footer-left {
        margin-right: 0;
        align-items: stretch;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-bottom-separator {
        display: none;
    }
    
    .footer-bottom-right {
        justify-content: center;
        gap: 20px;
    }
}

/* Language Selector */
.language-selector {
    position: absolute;
    right: 70px;
    display: flex;
    align-items: center;
    height: 100%;
}

.language-button {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text);
    cursor: pointer;
    font-size: 1.8vh;
        letter-spacing: 0.2em;
    opacity: 0.9;
    transition: opacity 0.3s, color 0.4s ease;
    
    
}

.language-button:hover {
    opacity: 1;
}

nav.nav-hovered .language-button {
    color: var(--color-text);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    transition: color 0.5s ease;
}

nav.nav-hovered .mobile-nav-toggle {
    color: var(--color-text);
}

.language-dropdown {
    position: absolute;
    top: calc(100% - 10px);
    right: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 8px;
    width: 140px;
    z-index:1;
    left: -20px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
}

.language-selector:hover .language-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

.language-option {
    display: block;
    text-decoration: none;
    color: var(--color-text);
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 1.8vh;
    letter-spacing: 0.1em;
    transition: background-color 0.2s ease;
    
}

.language-option:hover {
    background-color: var(--color-grey);
}

.language-option.active {
    font-weight: 600;
    color: var(--color-accent);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .nav-main, .language-selector {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 50px;
    }

    .hero h2 {
        font-size: 20px;
    }

    .nav-item span {
        display: none;
    }

    .nav-item {
        padding: 0 12px;
        font-size: 11px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .product-cards {
        grid-template-columns: 1fr;
    }

    .product-card {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .dropdown-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-right {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-container {
        gap: 20px;
    }
    
    .footer-col h4 {
        font-size: 16px;
        font-weight: 50;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding: 10px 0;
        margin-bottom: 0;
        border-bottom: 1px solid var(--color-grey-dark);
        transition: color 0.3s;
    }

    .footer-col:first-child h4 {
        border-top: 1px solid var(--color-grey-dark);
    }

    .footer-col.is-open h4 {
        color: var(--color-text);
    }

    .footer-col .footer-toggle {
        display: block;
    }

    .footer-links {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        padding-left: 15px;
        gap: 0;
    }

    .footer-col.is-open .footer-links {
        max-height: 250px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    .footer-link {
        padding: 8px 0;
    }

    .footer-left {
        text-align: center;
    }
    
    .footer-left .logo {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
        font-size: 11px;
    }

    .news-container {
        grid-template-columns: 1fr;
    }
}

/* Mobile Nav Specific Styles */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px; /* Max width for larger tablets */
    height: 100%;
    background: #fff;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    padding: 20px 30px;
}

.mobile-nav.is-open {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-grey-dark);
    margin-bottom: 20px;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 28px;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-grow: 1;
    overflow-y: auto;
}

.mobile-nav-item {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.3s, transform 0.3s;
    border-bottom: 1px solid var(--color-grey);
}

.mobile-nav.is-open .mobile-nav-item {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.mobile-nav-link-text {
    color: var(--color-text);
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s;
}

.mobile-nav-link-text:hover {
    color: var(--color-accent);
}

.submenu-toggle {
    background: none;
    border: none;
    color: var(--color-grey-light);
    cursor: pointer;
    padding: 5px 10px;
    font-size: 20px;
}

.submenu-toggle .fa-minus {
    display: none;
}

.mobile-nav-item.is-open .submenu-toggle .fa-plus {
    display: none;
}

.mobile-nav-item.is-open .submenu-toggle .fa-minus {
    display: block;
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    padding-left: 20px;
}

.mobile-nav-item.is-open .mobile-submenu {
    max-height: 400px; /* Adjust as needed */
    padding-bottom: 15px;
}

.mobile-submenu-link {
    display: block;
    color: var(--color-grey-light);
    text-decoration: none;
    padding: 10px 0;
    font-size: 16px;
    opacity: 0;
    transform: translateX(-15px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.mobile-nav-item.is-open .mobile-submenu-link {
    opacity: 1;
    transform: translateX(0);
}

.mobile-submenu-link:hover {
    color: var(--color-accent);
}

/* Footer mobile accordion */
.footer-toggle {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    color: var(--color-grey-light);
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
}

.footer-toggle .fa-minus {
    display: none;
}

.footer-col.is-open .footer-toggle .fa-plus {
    display: none;
}

.footer-col.is-open .footer-toggle .fa-minus {
    display: block;
}

.mobile-language-selector {
    padding: 20px 0;
    border-top: 1px solid var(--color-grey-dark);
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.3s, transform 0.3s;
}

.mobile-nav.is-open .mobile-language-selector {
    opacity: 1;
    transform: translateY(0);
}

.mobile-language-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-size: 18px;
    color: var(--color-text);
}

.mobile-language-trigger .fa-chevron-down {
    transition: transform 0.3s;
}

.mobile-language-selector.is-open .mobile-language-trigger .fa-chevron-down {
    transform: rotate(180deg);
}

.mobile-language-options {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-language-selector.is-open .mobile-language-options {
    max-height: 120px;
    margin-top: 15px;
}

.mobile-nav .language-option {
    color: var(--color-text);
    text-decoration: none;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.2s, color 0.2s;
}

.mobile-nav .language-option:hover {
    background-color: var(--color-grey);
    color: var(--color-text);
}

.mobile-nav .language-option.active {
    color: var(--color-accent);
    font-weight: bold;
}



.dropdown-link .menu-icon-module,
.mobile-submenu-link .menu-icon-module {
    fill: #8a8a8a;
    transition: fill 0.3s ease;
}
.dropdown-link:hover .menu-icon-module,
.mobile-submenu-link:hover .menu-icon-module {
    fill: var(--color-accent);
}

.footer-linkbox {
    
    background: #fff;
    border: 1.5px solid #e5e5e5;
    border-radius: 8px;
    color: #222;
    width: 33vh;
    letter-spacing: 0.4em;
    font-size: 1.8vh;
    margin-top: 24px;
    margin-left: 0;
    transition: border-color 0.3s;
    position: relative;
    box-sizing: border-box;
}
.footer-linkbox-header {
    font-size: 1.6vh;
    letter-spacing: 0.4em;
    color: #4f4949;
    padding: 5px 0px 5px 14px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    display: flex;
    align-items: center;
    border-radius: 14px 14px 0 0;
    font-weight: 500;
    letter-spacing: 1px;
    background: transparent;
    transition: background 0.2s, color 0.2s;
}

.footer-linkbox-toggle {
    margin-left: auto;
    margin-right: 8px;
    font-size: 1.6vh;
    transition: transform 0.3s;
}
.footer-linkbox.open .footer-linkbox-toggle {
    transform: rotate(180deg);
    color: var(--color-accent);
}
.footer-linkbox-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(.4,0,.2,1), padding 0.3s;
    background: #fff;
    border-radius: 0 0 14px 14px;
    padding: 0;
    color: #222;
    border-top: none;
    box-sizing: border-box;
    width: 100%;
}
.footer-linkbox.open .footer-linkbox-list {
    padding: 8px 0 10px 0;
    max-height: 200px;
    border-top: 1.5px solid #e5e5e5;
    width: 100%;
}
.footer-linkbox-item {
    display: block;
    text-align: left;
    color: #000000;
    font-weight: 500;

    font-size: 1.6vh;
    letter-spacing: 0.5px;
    
    background: transparent;
    border-radius: 0;
    padding: 6px 12px;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    width: 100%;
}
.footer-linkbox-item:hover {
   
   
    color: var(--color-accent);
}

/* 社交媒体按钮样式 */
.footer-social-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 28px;
    margin-top: 24px;
    margin-left: 0;
    flex-wrap: wrap;
}

.social-button {
    position: relative;
    width: 5vh;
    height:5vh;
    border-radius: 8px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    
}

.social-button:hover {
    
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.social-button img {
    width:2.4vh;
    height: 2.4vh;
    object-fit: contain;
    transition: filter 0.3s ease;
}


/* 二维码悬浮效果 */
.qrcode-overlay {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: auto; /* 允许二维码区域接收鼠标事件 */
}

.social-button:hover .qrcode-overlay,
.qrcode-overlay:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-20px);
}

.qrcode-container {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e5e5;
    text-align: center;
    min-width: 140px;
}

.qrcode-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}


.qrcode-container p {
    margin: 0;
    font-size: 12px;
    color: var(--color-grey-light);
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 904px){
  .footer-main {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 36px 0 0 0;
    background: #fff;
  }
  .footer-left {
    margin-right: 0;
    align-items: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .footer-logo {
    display: flex;
    
    justify-content: center;
    width: 100%;
    margin-bottom: 22px;
    margin-top:20px;
  }
  .footer-logo img {
    height: 24px !important;
    margin-bottom: 0;
  }
  .footer-linkbox {
    margin-top: 0;
    width: 100%;
    max-width: 190px;
    margin-left:-43px;
    border-radius: 22px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    font-size: 13px;
    margin-bottom: 28px;
  }
  .footer-linkbox-header {
    font-size: 13px;
    padding: 12px 0 12px 16px;
    border-radius: 22px 22px 0 0;
    min-height: 24px;
  }
  .footer-linkbox-toggle {
    margin-left: auto;
    margin-right: 16px;
  }
  .footer-linkbox.open .footer-linkbox-list {
    padding: 10px 0 12px 0;
    border-radius: 0 0 22px 22px;
  }
  .footer-linkbox-list {
    border-radius: 0 0 22px 22px;
  }
  .footer-linkbox-item {
    font-size: 12px;
    padding: 8px 14px;
    border-radius: 8px;
  }
  .footer-bottom {
    font-size: 10px;
    padding: 10px 0 18px 0;
    color: #b0b0b0;
    background: #fff;
    letter-spacing: 0.5px;
  }
  
  /* 社交媒体按钮移动端样式 */
  .footer-social-buttons {
    justify-content: center;
    margin-left: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 12px;
  }
  
  .social-button {
    width: 36px;
    height: 36px;
  }
  
  .social-button img {
    width: 20px;
    height: 20px;
  }
  
  .qrcode-container {
    min-width: 120px;
    padding: 12px;
  }
  
  .qrcode-image {
    width: 80px;
    height: 80px;
  }
  
  .footer-right, .footer-col {
    display: none !important;
  }
}
/* 滚动条 */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #ffffff;
}

::-webkit-scrollbar-thumb {
    background-color: var(--color-accent);
   
}

::-webkit-scrollbar-thumb:hover {
    background-color: #00a1b0;
}

/* Responsive: adjust nav font for <=1200px screens */
@media (max-width: 1200px) {
    .nav-item {
        font-size: 14px; /* 从18px略微缩小，保证可读性 */
        padding: 0 20px; /* 收紧左右留白以避免拥挤 */
    }
    .language-button {
        font-size: 14px; /* 与导航项保持一致的视觉层级 */
    }
    .logo {
        font-size: 13px; /* 略缩品牌文字，保持层级高于导航项 */
    }
    .logo svg {
        height: 250px;
        width: auto;
        margin-left: -60px;
    }
}


/* Responsive: adjust footer font and alignment for <=1200px screens */
@media (max-width: 1600px) {
    /* 字号微调，保持层级与可读性 */
     h4 { font-size: 10px; }
    .footer-link { font-size: 10px; }
    .friend-title { font-size: 12px; }
    .footer-bottom { font-size: 12px; }
    .footer-bottom-link { font-size: 13px; }
    .footer-bottom-left { font-size: 12px; }
    .footer-linkbox-header { font-size: 12px; }
    .footer-linkbox-item { font-size: 11px; }
    .footer-logo img {
    height: 30px;
    margin-bottom: 0;
    display: block;
    margin-left: 0;
}

    /* 对齐与间距修正，消除缩放后的错位 */
    .footer-main { gap: 24px; padding: 0 20px; }
    .footer-left { margin-left: 0; }
    .footer-logo img { margin-left: 0; }
    .footer-right { margin-left: 0; margin-right: 0; gap: 0px; }

    .footer-linkbox { margin-left: 0; left: 0; width: 225px;min-width: 0; }
    .footer-social-buttons { margin-left: 0; justify-content: flex-start; }

    .footer-bottom-content { justify-content: space-between; align-items: center; }
    .footer-bottom-left { margin-left: 0; text-align: left; }
    .social-button img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    transition: filter 0.3s ease; 
}
.social-button{
    width: 22px;
    height: 22px;
    
}

.footer-social-buttons {

    gap: 44px;

}
.footer-link {
    text-decoration: none;
    color: #878686;
    width:120px;
    font-size: 13px;
    font-weight: 300;
    transition: all 0.2s;
}
.footer-col h4 {
    font-size: 13px;
    color: var(--color-grey-light);
    margin-bottom: 20px;
}
}