
/* 重置hay-前缀的样式，避免冲突 */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

.hay-nav-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.hay-nav-container {
    width: 100%;
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 15px;
}

.hay-nav-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

/* 第一行 - Logo */
.hay-logo-row {
    width: 100%;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: #ffffff;
    display: flex;
    justify-content: flex-start;
}

.hay-logo-wrapper {
    display: flex;
    align-items: flex-end;
    line-height: 1;
}

.hay-logo-box {
    padding-left: 20px;
    display: flex;
    align-items: baseline;
}

.hay-logo-text {
    font-family: 'Noto Sans SC', sans-serif ;
    color: #7130ff;
    font-size: 32px;
    font-weight: 500;
    background: linear-gradient(270deg, #CB38FF 0%, #682FFF 100%);
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hay-logo-subtext {
    color: red;
    font-size: 19px;
    font-weight: normal;
    margin-right: 30px;
    white-space: nowrap;
}

/* 第二行 - 主导航 */
.hay-main-nav-row {
    width: 100%;
    border-bottom: 1px solid #eee;
}

.hay-main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 20px;
}

.hay-primary-nav {
    flex-grow: 1;
}

.hay-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hay-nav-menu li {
    margin-right: 25px;
}

.hay-nav-menu a {
    color: #000000;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
    white-space: nowrap;
}

.hay-nav-menu a:hover {
    color: #7130ff;
    text-decoration: underline;
}

.hay-cta-btn {
    background: #0066cc;
    color: white;
    padding: 10px 25px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hay-cta-btn:hover {
    background: #0055aa;
    color: rgba(255, 255, 255, 0.8);
}

/* 第三行 - 内容导航 */
.hay-content-nav-row {
    width: 100%;
    background: #fff;
    overflow: hidden; /* 防止内容溢出 */
}

.hay-content-nav {
    padding: 10px 20px;
    width: 100%;
}

.hay-subnav-collapse {
    display: flex;
    align-items: center;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

.hay-subnav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-shrink: 0; /* 防止菜单被压缩 */
}

.hay-subnav-menu li {
    margin-right: 20px;
    flex-shrink: 0; /* 防止菜单项被压缩 */
}

.hay-subnav-menu a {
    color: #777777;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
    white-space: nowrap;
}

.hay-subnav-menu a:hover {
    color: #7130ff;
    text-decoration: underline;
}

.hay-phone-text {
    color: red; /* 更专业的蓝色 */
    font-size: 18px;
    font-weight: 500; /* 中等加粗 */
    font-family: 'Segoe UI', Roboto, -apple-system, sans-serif; /* 现代字体栈 */
    white-space: nowrap;
    margin-left: auto;
    flex-shrink: 0;
    letter-spacing: 1.2px; /* 字母间距 */
}
/* 滚动效果 */
.hay-nav-header.scrolled .hay-logo-row {
    height: 0;
    padding: 0;
    overflow: hidden;
}

/* 确保内容不被导航遮挡 */
body {
    padding-top: 180px;
}

body.hay-nav-scrolled {
    padding-top: 120px;
}

/* 隐藏滚动条但保持滚动功能 */
.hay-subnav-collapse::-webkit-scrollbar {
    display: none;
}

.hay-subnav-collapse {
    -ms-overflow-style: none;
    scrollbar-width: none;
}