/* nav.css — FormLM 主站 header（fh-* 体系）专用样式.
   从 home.css 提取 header 所需部分，供未引入 home.css 的独立页面
   （template / pricing / contact 及其多语言版本）复用，
   避免引入 home.css 的全局 body / a 样式造成污染.
   与 web.html 的 header 视觉保持完全一致. */
.w-full {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
}
.fh-block-main{
    width: 100%;
    max-width: 1320px;
    padding: 10px 40px;
    box-sizing: border-box;
    position: relative;
}
.fh-block-center{
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    row-gap: 10px;
}
.fh-block-between{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    overflow-x: auto;
    max-width: 100%;
}
.fh-device-pc{
    display: flex;
}
.fh-device-mobile{
    display: none;
}
.fh-logo{
    width: 36px;
    height: 36px;
    background-color: #9454ab;
    border-radius: 10px;
    margin: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(148, 84, 171, 0.25);
}
.fh-logo img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
.fh-logo .el-icon{
    color: white;
}
.fh-menu-item{
    color: #141414;
    text-decoration: none;
    margin: 0 10px;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
}
.fh-menu-item:hover {
    color: #ff6101;
}

.fh-header {
    color: #141414;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 65px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.38);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    transition: box-shadow 0.2s ease;
}
.fh-header .login {
    background-color: #555;
    padding: 5px 10px;
    border-radius: 5px;
}
.fh-header .fh-button{
    padding: 5px 20px;
    min-width: 45px;
}
.fh-header .fh-button-login{
    color: #ff6101;
    text-decoration: none;
    margin: 0 6px;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s;
}
.fh-header .fh-button-login:hover {
    opacity: 0.72;
}

/* home.css 全局 a{display:inline-flex} 的等价补偿，仅作用于 header 内 */
.fh-header a{
    display: inline-flex;
    align-items: center;
}

.fh-button{
    color: white !important;
    background: linear-gradient(135deg, #ff6101 0%, #ff8c38 100%);
    cursor: pointer;
    display: inline-block;
    text-align: center;
    padding: 10px 22px;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(255, 97, 1, 0.28);
    transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.fh-button[plain]{
    color: #ff6101 !important;
    background: white;
    border: 1px solid rgba(255, 97, 1, 0.45);
    box-shadow: none;
}
.fh-button[small]{
    padding: 5px 12px;
    font-size: 13px;
}
.fh-button[plain]:hover{
    background: #fff7ef;
    border-color: #ff6101;
}
.fh-button:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 97, 1, 0.38);
}

@media screen and (max-width: 765px){
    .fh-logo{
        margin-left: -30px;
    }
    .fh-device-pc{
        display: none !important;
    }
    .fh-device-mobile{
        display: flex !important;
    }
    .fh-device-mobile[center]{
        display: flex !important;
        justify-content: center !important;
    }
}
@media screen and (max-width: 375px){
    .fh-logo{
        margin-left: -30px;
    }
    .fh-device-pc{
        display: none !important;
    }
    .fh-device-mobile{
        display: flex !important;
    }
    .fh-device-mobile[center]{
        display: flex !important;
        justify-content: center !important;
    }
}
