
#nav-bg{
    background: #000;
}
/* --- 导航栏核心样式 --- */
	
/* 1. 修改外层容器，让图片和文字横排 */
#logo-id {
    display: flex;            /* 开启 Flex 布局 */
    align-items: center;      /* 垂直居中对齐 */
    height: 60px;             /* 确保容器高度撑满导航栏 */
}

/* 2. 保持图片原有尺寸 */
#logo-img-id {
    width: 150px;
    height: 40px;
    object-fit: contain;
    display: block;
}

/* 3. 新增：副标题容器样式 */
#logo-subtitle-id {
    display: flex;
    align-items: center;      /* 文字和竖线垂直居中 */
    margin-left: 12px;        /* 控制 Logo 图片和竖线之间的间距 */
    white-space: nowrap;      /* 防止文字换行 */
}

/* 4. 新增：竖线分隔符样式 */
#logo-divider-id {
    color: #4a5568;           /* 竖线颜色（深灰色，可根据需要改为白色或浅色） */
    font-size: 20px;          /* 竖线高度控制 */
    font-weight: 300;         /* 线条细一点更好看 */
    margin-right: 10px;       /* 竖线和文字的间距 */
    line-height: 1;           /* 去除行高带来的额外高度 */
}

/* 5. 新增：右侧文字样式 */
#logo-subtitle-text-id {
    color: #cbd5e1;           /* 文字颜色（白色） */
    font-size: 16px;          /* 文字大小 */
    font-weight: bold;        /* 加粗 */
}	
#logo-subtitle-text-id:hover {
    color: #fbb516;           /* 文字颜色（白色） */

}	
#logo-subtitle-text-id-a {
    color: #cbd5e1;           /* 文字颜色（白色） */
    font-size: 16px;          /* 文字大小 */
    font-weight: bold;        /* 加粗 */
}	
#logo-subtitle-text-id-a:hover {
    color: #fbb516;           /* 文字颜色（白色） */

}
/* 1. 调整外层容器的对齐方式（可选） */
#logo-id {
    display: flex;
    align-items: center; /* 确保图片在导航栏中垂直居中 */
    cursor: pointer;
}

/* 2. 核心：图片尺寸控制 */
#logo-img-id {
    width: 150px;   /* 宽度 */
    height: 40px;   /* 高度 */
    object-fit: contain; /* 关键：保持图片比例不变形，完整显示在框内 */
    display: block;      /* 消除图片底部可能出现的默认间隙 */
}
/* 导航栏容器 */
#navbar-id {
    width: 1440px;
    height: 60px;
    background-color: #000; /* 深色背景 */
    display: flex;
    justify-content: center; /* 让内容居中 */
    align-items: center;
    position: relative;
    z-index: 9999; /* 保证层级最高 */
    margin: 0 auto;
}

/* 内容限制容器 */
#container-id {
    width: 1440px;
    max-width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

/* --- Logo 区域 --- */
#logo-id {
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
}

#logo-text-blue-id {
    color: #3b82f6; /* 蓝色 */
}

#logo-text-orange-id {
    color: #f59e0b; /* 橙黄色 */
}

/* --- 中间菜单区域 --- */
#nav-menu-id {
    list-style: none;
    display: flex;
    height: 100%;
    margin: 0;
    padding: 0;
}

#nav-menu-id > li {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative; /* 关键：为伪元素定位提供参照 */
}

#nav-menu-id > li > a {
    color: #cbd5e1; /* 浅灰文字 */
    text-decoration: none;
    font-size: 14px;
    padding: 0 12px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: color 0.3s;
    white-space: nowrap;
}

/* 悬停文字变白 */
#nav-menu-id > li > a:hover {
    color: #ffffff;
}

/* --- 核心动画：底部渐变线条 --- */
#nav-menu-id > li::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 10%;
    width: 80%;
    height: 3px; /* 线条高度 */
    border-radius: 10px;
    
    /* 蓝到黄的渐变 */
    background: linear-gradient(90deg, #ff3e07, #fbb516); 
    
    /* 动画初始状态：宽度为0，从左边开始 */
    transform: scaleX(0);
    /*transform-origin: left center;
    
    /* 过渡效果 */
    transition: transform 0.3s ease-in-out;
}

/* 鼠标悬停时线条展开 */
#nav-menu-id > li:hover::after {
    transform: scaleX(1);
}

/* 激活状态：当前菜单项常显渐变线条（不用 class，用 data-active 属性控制，不受其他 CSS 干扰） */
#nav-menu-id > li[data-active="true"]::after {
    transform: scaleX(1);
}

/* 激活状态：文字变白 */
#nav-menu-id > li[data-active="true"] > a {
    color: #ffffff;
}


/* --- 右侧功能区 --- */
#right-section-id {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

#auth-group-id {
    display: flex;
    align-items: center;
    color: #94a3b8;
    font-size: 14px;
    margin-right: 10px;
}

#auth-group-id a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

#auth-group-id a:hover {
    color: #fff;
}

#divider-id {
    margin: 0 10px;
    color: #334155;
}

/* 控制台按钮 */
#btn-console-id {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border: 1px solid #334155;
    border-radius: 4px;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

#btn-console-id:hover {
    border-color: #64748b;
    background-color: rgba(255,255,255,0.05);
}

/* 获取方案按钮 */
#btn-plan-id {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    background-color: #f59e0b; /* 橙黄色背景 */
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s;
    white-space: nowrap;
}

#btn-plan-id:hover {
    opacity: 0.9;
}	