  /* PC/笔记本默认样式 (≥1200px) */
:root {
    --font-primary:
      'Inter var',         /* 首选现代英文字体 */
      system-ui,           /* 系统默认UI字体 */
      '-apple-system',       /* 苹果系统字体 */
      'Segoe UI',          /* Windows系统字体 */
      'Helvetica Neue',    /* 备选英文字体 */
      'PingFang SC',       /* 苹果中文字体 */
      'Microsoft YaHei',   /* Windows中文字体 */
      'Noto Sans SC',      /* 谷歌思源黑体 */
      'sans-serif';          /* 通用无衬线回退 */

      /* 主题配色 */
    --brand-color:rgba(203, 39, 45, 0.85);
    --nav-color: rgba(0, 0, 0, 0.95);
    --footer-color: rgba(0, 0, 0, 0.95);
    --color-white : #FFFFFF;
    --color-black : #000000;
    --color-primary-1: #F6F6F6;
    --color-primary-2: #F0F0F0;
    --color-primary-3: #E6E6E6;
    --color-primary-4: #DDDDDD;
    --color-primary-5: #C0C0C0;
    --color-primary-6: #A7A7A7;
    --color-primary-7: #878787;
    --color-primary-8: #656565;
    --color-primary-9: #545454;
    --color-primary-10: #404040;
    --color-primary-11: #303030;

    /* 文字动画弹跳控制 */
    --bounce-height: 0.8em;    /* 弹跳高度 */
    --animation-duration: 1s;  /* 动画时长 */
    --char-delay: 0.1s;        /* 字符间隔 */
}

body {
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.5;
    font-family: var(--font-primary);
    font-optical-sizing: auto;
    text-rendering: optimizeLegibility;

    /* 禁用文字选中 */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

a, button {
    -webkit-tap-highlight-color: rgba(0,0,0,0)
}

/* 文字可选中 */
.selectable {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

#header-container {
    display: none;
}

/* --- 固定导航（PC） --- */
.nav {
    height: 5rem;
    width: 100vw;
    background: url("/images/nav-bg1.jpg") no-repeat center / cover;
    position: fixed;
    top: 0;
    z-index: 1000;
}

/* 导航-布局容器 */
.nav .navbar {
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    box-sizing: border-box;
}

/* 导航-logo */
.nav .navbar .logo {
    width: auto;
    height: 2.5rem;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.nav .logo img {
    height: 100%;
}

/* 导航-菜单 */
.nav .menu {
    display: flex;
}

.nav .menu .menu-item {
    display: inline-block;;
    height: 5rem;
    line-height: 5rem;
    padding: 0 1rem;
    color: var( --color-primary-4);
    font-weight: 600;
    position: relative;
    transition: color 0.3s;
}

.nav .menu .menu-item.active {
    color: var(--brand-color);
}

/* 鼠标悬停时的下划线动画 */
.nav .menu .menu-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 3px;
    width: 100%;
    height: 2px;
    background: var(--brand-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-in-out;
}

.nav .menu .menu-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav .menu .menu-item.active::after {
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.nav .menu .split-line {
    color: var(--color-primary-9);
    line-height: 5rem;
    padding: 0 1rem;
}

.nav .menu-item:hover {
    color: var(--color-white);
    transition: all 0.5s ease;
}

/* 导航 - 子菜单 */
.nav .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    box-shadow: 0px 0.5rem 0.5rem var(--nav-color);
    z-index: 1000;
    color: var( --color-primary-5);
    background: url("/images/nav-bg2.jpg") no-repeat center / 100% 100%;
}

.nav .submenu a:hover {
    color: var(--brand-color);
    transition: all 0.5s ease;
}

.nav .submenu .title {
    color: var(--color-primary-5);
    display: block;
    font-weight: 600;
}

.nav .submenu-box {
    width: 100%;
    height: 100%;
    display: flex;
    padding: 2rem;
}

.nav .submenu .submenu-left {
    flex: 1;
    text-align: right;
    font-size: 1.3rem;
    font-weight: 600;;
    color: var(--color-primary-8);
}

.nav .submenu .submenu-left a:hover{
    color: var(--color-primary-8);
    cursor: default;
}

.nav .submenu .submenu-right {
    flex: 6;
    display: flex;
    justify-content: space-evenly;
}

.nav .submenu .submenu-right .item {
   width: 300px;
   letter-spacing: 0.03rem;
}

.nav .submenu .submenu-right .item>.title {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 1px solid var( --color-primary-9);
}

.nav .submenu .submenu-right .item .item-section .title{
    font-size: 1rem;
    text-align: left;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    line-height: 2;
}

.nav .submenu .submenu-right .item .item-section .content {
    display: flex;
    flex-direction: column;
    text-align: left;
    color: var(--color-primary-7);
    text-indent: 2rem;
}

.nav .submenu .submenu-right .item .item-section .content  a {
    line-height: 2;
}

.nav .submenu .submenu-right .item .item-section .content a:hover {
    transform: translateX(0.5rem);
    background: var(--brand-color);
    color: var(--color-white);
    transition: all 0.5s ease;
    border-radius: 0.5rem;
}

/* 中英文切换 */
.nav .lang-switcher {
    position: relative;
    width: 4.625rem;
    height: 2rem;
    border-radius: 1rem;
    color: var(--color-primary-4);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--color-primary-4);
    cursor: pointer;
    font: 500 1rem / 1.5em "sourcehansans";
}
.nav .lang-switcher .icon{ 
    margin-right: 0.4rem;
}

.nav .lang-switcher:hover {
    border-color: var(--color-white);
    color: var(--color-primary-1);
    transition: all 0.5s ease;
}

/* --- 中间核心区域 ---*/
.main-container {
    height: auto;
    width: 100vw;
}

/* --- 固定底部 --- */
.footer {
    width: 100vw;
    height: 28.125rem;
    background: var(--footer-color);
    overflow: hidden;
}

.footer-top {
    width: 94vw;
    height: 25rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.footer-left {
    width: 32%;
    height: 100%;
    color: var(--color-primary-6) ;
    font-weight: 600;
    line-height: 2;
    padding: 2rem 0 0 0;
}

.footer-left .logo {
    height: 2.5rem;
    margin: 1.5rem 0 1rem 0;
}

.footer-left .logo img{
    height: 100%;
    width: auto;
}

.footer-left .detail div{
    line-height:2;
}

.footer-left .contact {
    margin-top: 0.625rem;
 }

.footer-right {
    width: 68%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-around;
    padding: 3rem 2rem 0 2rem;
}

.footer-right .item .title {
    font-size: 1.225rem;
    color: var(--color-primary-3);
    font-weight: 600;
}

.footer-right .item-section .title {
    font-size: 1.1rem;
    color: var(--color-primary-3);
    font-weight: 600;
    line-height: 2;
}

.footer-right .item-section .content {
    font-size: 1rem;
    font-weight: 500;
    line-height: 2;
}

.footer-right .item-section .content a{
    display: block;
    color: var(--color-primary-7);
    line-height: 2;
}

.footer-right .item-section .content a:hover {
    color: var(--color-white);
}

.footer-bottom {
    width: 100vw;
    height: 3.125rem;
    box-sizing: border-box;
    border-top: 1px solid var(--color-primary-11);
    color: var(--color-primary-6);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    line-height: 3.125rem;
}

.footer-bottom a {
    color: var(--color-primary-6);
}

.footer-bottom a:hover {
    color:var(--color-white);
}

 /* 图标样式 */
 .icon-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin-right: 0.625rem;
    -webkit-tap-highlight-color: rgba(0,0,0,0)
}
.ck-icon {
    font-size: 18px;
    color: #b0b0b0;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    background: #515151;
}

/* 悬停效果 */
.icon-container:hover .ck-icon {
    background: #2DC100;
    color: var(--color-white);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}
.icon-container.douyin:hover .ck-icon {
    background: #111111;
}
.icon-container.xiaohongshu:hover .ck-icon {
    background: #fa2c19;
}
.icon-container.baijiahao:hover .ck-icon {
    background: #175dff;
}
.icon-container.youtube:hover .ck-icon {
    background: #d54029;
}
.icon-container.twitter:hover .ck-icon {
    background: #55acee;
}
.icon-container.facebook:hover .ck-icon {
    background: #3c5a99;
}

.tooltip {
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    width: 12.5rem;
    background:var(--color-white);
    border-radius: 0.5rem;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3),
                0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.625rem);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.icon-container:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 提示框三角形 */
.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 1.25rem;
    border-width: 0.625rem;
    border-style: solid;
    border-color: var(--color-white) transparent transparent transparent;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

/* 提示框标题 */
.tooltip-header {
    padding: 0.5rem;
    background: var(--color-primary-2);
    border-radius:  0.5rem  0.5rem 0 0;
    font-size: 0.75rem;
    color: var(--color-primary-9);
    text-align: center;
}

/* 二维码区域 */
.qrcode {
    padding-top: 0.625rem;
    text-align: center;
}

.qrcode img {
    width: 6.875rem;
    height: 6.875rem;
    object-fit: cover;
}

.tooltip-footer {
    padding: 0 1rem 1rem 1rem;
    font-size: 0.75rem;
    color: var(--color-primary-8);
    text-align: center;
    line-height: 1.5;
}

/* 边框动画特效 */
.animate-border {
    position: relative;
    text-align: center;
    overflow: hidden;
}

.animate-border::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary-6);
    animation: border-animation 2s infinite ease-in-out;
}

@keyframes border-animation {
    0% {
        width: 0;
        left: 0;
    }
    50% {
        width: 100%;
        left: 0;
    }
    100% {
        width: 0;
        left: 100%;
    }
}


/* --- 工具条 --- */
.toolbar {
    position: fixed;
    right: 0.625rem;
    bottom: 1.25rem;
    overflow: hidden;
    display: none;
}

.tool-item {
    cursor: pointer;
    position: relative;
}

.tool-item span {
    color: var(--color-primary-6);
    font-size: 1.5rem;
}

.tool-item span:hover {
    color: var(--color-primary-7);
}


/* 移动端适配方案 */
.nav-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4.375rem;
    padding: 12px 20px;
    background: linear-gradient(to bottom, #000000, #222222);
    opacity: 0.95;
    backdrop-filter: blur(8px);
    z-index: 1000;
    box-sizing: border-box;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    display: none;
}

.nav-mobile .container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo区域 */
.nav-mobile .nav-logo {
    width: 7.5rem;
    height: 2.25rem;
}

.nav-mobile .nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 右侧操作区 */
.nav-mobile .nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* 移动端国际化 */
.nav-mobile .lang-selector {
    cursor: pointer;
    padding: 0 1rem;
    color: var(--color-primary-4);
}

/* 汉堡按钮 */
.hamburger {
    width: 26px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    position: absolute;
    height: 2px;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

/* 汉堡按钮激活状态 */
.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* 菜单面板 */
.menu-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #0a0a0a;
    padding: 80px 20px 20px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 999;
}

.menu-panel.active {
    right: 0;
}

/* 菜单层级样式 */
.menu-panel .menu-list {
    list-style: none;
}

.menu-panel .menu-item {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-panel .menu-item > a {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    padding: 18px 20px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* 菜单悬停效果 */
.menu-panel .menu-item > a:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(8px);
}

/* 子菜单指示器 */
.menu-panel .has-submenu > a::after {
    content: '›';
    position: absolute;
    right: 20px;
    font-size: 20px;
    transform: rotate(90deg);
    transition: all 0.3s ease;
}

.menu-panel .has-submenu.active > a::after {
    transform: rotate(-90deg);
}

/* 子菜单动画 */
.menu-panel .submenu-m {
    max-height: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.15);
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-panel .submenu-m.active {
    max-height: 5000px; /* 足够大的值确保展开 */
}

/* 二级菜单样式 */
.menu-panel .submenu-m .menu-item a {
    padding-left: 40px;
    font-size: 15px;
    position: relative;
}

.menu-panel .submenu-m .menu-item a::before {
    content: '';
    position: absolute;
    left: 20px;
    width: 8px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

/* 三级菜单样式 */
.menu-panel .submenu-m .submenu-m .menu-item a {
    padding-left: 60px;
    font-size: 14px;
}

.menu-panel .submenu-m .submenu-m .menu-item a::before {
    left: 40px;
    width: 6px;
}

/* 新增：确保子菜单容器高度自适应 */
.menu-panel .submenu-m {
    display: flex;
    flex-direction: column;
}

/* 魔术按钮 */
.magic-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    border: 1px solid var(--color-primary-7);
    border-radius: 0.625rem;
    background: transparent;
    color: var(--color-primary-5);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    overflow: hidden;
    transition: color 0.3s ease 0.1s; /* 延迟文字颜色变化 */
}

/* 文字与图标容器 */
.magic-btn-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

/* 文字间距 */
.magic-btn-text {
    margin-right: 0.5rem;
}

/* 悬浮动画层 */
.magic-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: var(--brand-color);
    border-radius: 50%;
    transition:
        width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

/* 悬浮状态 */
.magic-btn:hover {
    border-color: transparent;
}

.magic-btn:hover::before {
    width: 150%;
    height: 150%;
}

.magic-btn:hover .magic-btn-content {
    color: var(--color-white);
}

/* 图标样式 */
.magic-btn-icon {
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z'/%3E%3C/svg%3E") no-repeat center;
    transition: transform 0.3s ease;
}

/* 悬浮时图标动画 */
.magic-btn:hover .magic-btn-icon {
    transform: rotate(90deg);
}

/* 弹跳文字 */
.bounce-text {
    opacity: 0;
    transition: opacity 1s;
    letter-spacing: 0.05rem;
    word-spacing: -0.31em;
}

.bounce-text.loaded {
    opacity: 1;
}

.bounce-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(var(--bounce-height));
    animation: bounce-in var(--animation-duration) ease forwards;
}

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: translateY(var(--bounce-height));
    }
    40% {
        opacity: 1;
        transform: translateY(-0.2em);
    }
    60% {
        transform: translateY(0.1em);
    }
    80% {
        transform: translateY(-0.05em);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

.fade-in-text {
    animation: fadeIn 500ms ease-in-out both;
}

.ml-1 {
    margin-left: 1rem;
}

.ml-5px{
    margin-left: 5px;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

i {
    /* 禁止点击时的高亮背景 */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* 对于WebKit浏览器，如Chrome和Safari */
    -webkit-tap-highlight-color: transparent;      /* 另一种写法，同样表示透明 */

    /* 可选：为了进一步确保没有其他样式影响，可以设置背景为透明 */
    background-color: transparent;

    /* 可选：取消轮廓线（通常出现在聚焦时），但请注意这可能影响可访问性 */
    outline: none;
}

/* 如果需要确保所有状态下的<i>标签都没有背景变化，可以添加以下伪类 */
i:active,
i:focus {
    background-color: transparent;
    outline: none;
}