/**
 * 公共组件样式文件
 * 包含 Header、Footer 和 塔盟分销流程图 的样式
 * 在其他页面中引入此文件即可使用这些组件
 */

/* ========== Header 头部样式 ========== */

*{
    font-family:pingfang SC,helvetica neue,arial,hiragino sans gb,microsoft yahei ui,microsoft yahei,simsun,"sans-serif"
}

.navbar {
    height: 64px;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-inner {
    height: 100%;
    width: calc(100vw - 100px);
    max-width: 1240px;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-left {
    display: flex;
    gap: 56px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: auto;
    max-height: 40px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 60px;
    white-space: nowrap;
}

.nav-item {
    position: relative !important;
    text-decoration: none;
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 16px;
    color: #333333;
    height: 64px;
    line-height: 64px;
    transition: color 0.3s;
    display: block;
    overflow: visible;
}

.nav-item:hover {
    color: #00BF80;
}

.nav-item .content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.nav-item .title {
    position: relative;
    z-index: 1;
    pointer-events: auto;
    color: inherit;
    text-decoration: none;
}

.nav-item-dropdown {
    display: flex;
    align-items: center;
}

.nav-item-dropdown .title {
    display: block;
}

.nav-item-dropdown .nav-dropdown {
    position: absolute;
    left: 50%;
    top: 100%;
    padding-top: 18px;
    transform: translate(-50%, 10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    z-index: 999;
    box-sizing: border-box;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.nav-item-dropdown .nav-dropdown::before,
.nav-item-dropdown .nav-dropdown::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
}

.nav-item-dropdown .nav-dropdown::before {
    top: 4px;
    border-bottom: 14px solid rgba(0, 0, 0, 0.08);
    filter: blur(0.5px);
}

.nav-item-dropdown .nav-dropdown::after {
    top: 5px;
    border-bottom: 13px solid #FFFFFF;
}

.dropdown-panel {
    width: 150px;
    padding: 8px 0;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.dropdown-link {
    display: block;
    font-size: 15px;
    line-height: 22px;
    color: #333333;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.dropdown-link-primary {
    font-weight: 600;
    color: #00BF80;
    padding-top: 2px;
    padding-bottom: 10px;
    margin-bottom: 4px;
    border-bottom: 1px solid #F0F2F5;
}

.dropdown-link:hover {
    color: #00BF80;
    background: #F5F7FA;
}

.dropdown-link.active {
    background: #F5F7FA;
    color: #00BF80;
}

/* 选中状态样式：绿色文字 + 底部绿色线 */
.nav-item.active .title {
    color: #00BF80 !important;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 36px;
    height: 3px;
    background-color: #00BF80;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-btns {
    display: flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
}

.btn {
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    outline: none;
}

.primary-btn {
    background-color: #00BF80;
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
    padding: 7px 20px;
    box-sizing: border-box;
}

.primary-btn:hover {
    background-color: #00a870;
}

/* Header 响应式样式 */
@media (max-width: 1024px) {
    .navbar-inner {
        width: calc(100vw - 40px);
        padding: 0 20px;
    }

    .navbar-left {
        gap: 30px;
    }

    .nav-list {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 56px;
    }

    .navbar-inner {
        width: 100%;
        padding: 0 15px;
    }

    .navbar-left {
        gap: 15px;
    }

    .logo-img {
        max-height: 32px;
    }

    .nav-list {
        gap: 15px;
        font-size: 14px;
    }

    .nav-item {
        height: 56px;
        line-height: 56px;
        font-size: 14px;
    }

    .primary-btn {
        font-size: 14px;
        padding: 6px 16px;
    }
}

@media (max-width: 480px) {
    .nav-list {
        gap: 10px;
    }

    .nav-item .title {
        font-size: 12px;
    }

    .primary-btn {
        font-size: 12px;
        padding: 5px 12px;
    }
}

/* ========== Footer 样式 ========== */
.footer {
    background: #1C2229;
    padding: 58px 0 17px;
    box-sizing: border-box;
    position: relative;
}

.footer-inner {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    max-width: 1400px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
}

.footer-column {
    min-width: 160px;
}

.footer-column p {
    font-weight: 400;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 30px;
    margin-bottom: 10px;
}

.column-title {
    font-weight: 500;
    font-size: 22px;
    color: #00BF80;
    line-height: 30px;
    margin-bottom: 16px;
}

.column-list li {
    font-weight: 400;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 40px;
}

.link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s;
}

.link:hover {
    color: #fff !important;
}

.qrcode {
    margin-top: 38px;
}

.qrcode img {
    width: 135px;
    height: 136px;
    object-fit: cover;
}

.qrcode p {
    font-weight: 400;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 30px;
    margin-bottom: 10px;
}

.consult-btn {
    background: #00BF80;
    border-radius: 4px;
    padding: 7px 24px;
    box-sizing: border-box;
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
    width: fit-content;
    cursor: pointer;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    font-weight: 400;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 28px;
}

.copyright-line {
    width: 100%;
    max-width: 1281px;
    margin: 0 auto 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.27);
}

.copyright .link {
    color: rgba(255, 255, 255, 0.5);
}

.copyright p {
    margin-top: 8px;
}

.attention-column {
    position: relative;
    padding-left: 81px;
    box-sizing: border-box;
}

.attention-column::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.27);
}

.service-card {
    width: 110px;
    height: 444px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
}

.service-card-wrap {
    position: fixed !important;
    right: 4px !important;
    bottom: 150px !important;
    z-index: 999999 !important;
}

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/footer_bg.png");
    background-size: cover;
    background-position: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 25px;
}

.service-bg_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40px;
    margin-top: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-bg_item:hover {
    opacity: 0.8;
}

.service-bg_item.active {
    opacity: 1;
}

.service-bg_item.active img {
    filter: brightness(0) saturate(100%) invert(42%) sepia(100%) saturate(2000%) hue-rotate(130deg) brightness(95%) contrast(90%);
}

.service-bg_item.active span {
    color: #00B386;
}

.service-bg_item span {
    font-weight: 500;
    font-size: 14px;
    color: #333333;
    transition: color 0.3s ease;
}

.service-bg_item img {
    transition: filter 0.3s ease;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.contact_words {
    width: 280px;
    height: 380px;
    background: #FFFFFF;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.05);
    position: fixed;
    /* top: 420px; */
    margin-top: 40px;
    right: 110px;
    border-radius: 10px;
    z-index: 9999999999;
}

.contact_words_top {
    background: #00BF80;
    border-radius: 10px 10px 0 0;
    height: 44px;
    line-height: 44px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact_words_top p {
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
    padding-left: 20px;
    margin: 0;
}

/* 关闭按钮样式 */
.close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    font-size: 24px;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

.email_box .close-btn,
.phone_box .close-btn {
    color: #666666;
    top: 12px;
    right: 15px;
}

.email_box .close-btn:hover,
.phone_box .close-btn:hover {
    color: #333333;
}

.contact_words_content {
    padding: 17px 20px 25px 20px;
}

.contact_words_content_tit {
    font-weight: 400;
    font-size: 14px;
    color: #666666;
}

.contact_words_content textarea {
    width: 240px;
    height: 104px;
    background: #FFFFFF;
    border-radius: 10px;
    border: 1px solid #CCCCCC;
    padding: 11px 14px 20px 16px;
    margin-top: 15px;
}

.contact_words_content textarea::placeholder {
    font-weight: 400;
    font-size: 14px;
    color: #C9C9C9;
}

.contact_words_content_ipt {
    width: 240px;
    height: 40px;
    background: #FFFFFF;
    border-radius: 10px;
    border: 1px solid #CCCCCC;
    display: flex;
    align-items: center;
    padding: 0 16px;
    margin-top: 10px;
}

.contact_words_content_ipt img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.contact_words_content_ipt input::placeholder {
    font-weight: 400;
    font-size: 14px;
    color: #C9C9C9;
}

.contact_words_content_btn {
    width: 104px;
    height: 36px;
    background: #00BF80;
    border-radius: 4px;
    text-align: center;
    line-height: 36px;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    display: block;
    margin: 15px auto 0;
}

.email_box {
    position: fixed;
    right: 110px;
    /* top: 545px; */
    margin-top: 200px;
    /* width: 224px; */
    height: 98px;
    background: #FFFFFF;
    box-shadow: -2px 8px 20px 0px rgba(0, 0, 0, 0.09);
    border-radius: 15px;
    z-index: 99999999;
    padding: 20px 35px 0 35px;
}

.email-label {
    font-weight: 500;
    font-size: 18px;
    color: #333333;
    margin-bottom: 10px;
}
.phone_box{
    position: fixed;
    right: 110px;
    /* top: 645px; */
    margin-top: 300px;
    width: 224px;
    height: 98px;
    background: #FFFFFF;
    box-shadow: -2px 8px 20px 0px rgba(0, 0, 0, 0.09);
    border-radius: 15px;
    z-index: 99999999;
    padding: 20px 0 0 35px;
}

.contact-content {
    position: fixed;
    right: 150px;
    width: 100%;
    height: 100%;
    padding-top: 120px;
    text-align: center;
    box-sizing: border-box;
}

.phone-label {
    font-weight: 500;
    font-size: 18px;
    color: #333333;
    margin-bottom: 10px;
}

.phone-label img {
    margin-left: 6px;
}

.phone-number {
    font-weight: 500;
    font-size: 18px;
    color: #00B77B;
    line-height: 30px;
    margin-bottom: 22px;
}


.email-address {
    font-weight: 500;
    font-size: 18px;
    color: #00B77B;
    line-height: 25px;
}

/* ========== 塔盟分销流程图样式 ========== */
.taMeng-right-boxone {
    position: relative;
    display: flex;
    align-items: center;
}

.taMeng-right-boxone .tameng-line-box {
    position: relative;
    display: flex;
    align-items: flex-start;
}

.taMeng-right-boxone .tameng-line {
    position: relative;
    display: flex;
    align-items: center;
    width: 60px;
    min-width: 60px;
    height: 360px;
}

.taMeng-right-boxone .line {
    position: absolute;
    left: 34px;
    top: 40px;
    width: 3px;
    height: 284px;
    background: #00c39e;
    border-radius: 1px;
}

.taMeng-right-boxone .line::before,
.taMeng-right-boxone .line::after {
    content: "";
    position: absolute;
    width: 34px;
    height: 3px;
    background: #00c39e;
}

.taMeng-right-boxone .line::before {
    top: 0;
    left: 0;
}

.taMeng-right-boxone .line::after {
    bottom: 0;
    left: 0;
}

.taMeng-right-boxone .dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #00c39e;
    border-radius: 50%;
    animation: breathe 2s infinite;
    box-shadow: 0 0 6px rgba(0, 195, 158, .6);
}

.taMeng-right-boxone .dot1 {
    top: 35px;
    left: 60px;
}

.taMeng-right-boxone .dot2 {
    top: -4px;
    left: -5px;
}

.taMeng-right-boxone .dot3 {
    top: -4px;
    left: 50px;
}

.taMeng-right-boxone .dot4 {
    top: 315px;
    left: 60px;
}

.taMeng-right-boxone .line-dot {
    width: 57px;
    height: 3px;
    background: #00c39e;
    position: absolute;
    top: 180px;
    left: 7px;
}

@keyframes breathe {

    0%,
    100% {
        opacity: .4;
        transform: scale(.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

@keyframes flow-left {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -42px 0;
    }
}

@keyframes flow-right {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 42px 0;
    }
}

.taMeng-right-boxone .tameng-logo {
    margin-left: 23px;
    position: relative;
    width: 280px;
    min-width: 280px;
    height: 360px;
}

.taMeng-right-boxone .tameng-logo-item {
    display: flex;
    align-items: center;
    position: absolute;
}

.taMeng-right-boxone .tameng-logo-item img {
    width: 140px;
    height: 50px;
}

.taMeng-right-boxone .tameng-logo-item span {
    font-size: 14px;
    color: #333;
    display: block;
    width: 120px;
    margin-left: 12px;
}

.taMeng-right-boxone .tameng-logo-box-xian {
    position: relative;
    width: 100px;
    height: 360px;
    min-width: 100px;
}

.taMeng-right-boxone .tameng-logo-box-xianitem {
    display: flex;
    align-items: center;
    position: absolute;
    left: 0;
}

.taMeng-right-boxone .tameng-arrow-left {
    margin-right: 7px;
    width: 42px;
    height: 8px;
    background-image: url('../img/tamengarrowl.png');
    background-repeat: repeat-x;
    background-size: 42px 8px;
    animation: flow-left 3.2s linear infinite;
    overflow: hidden;
    flex-shrink: 0;
}

.taMeng-right-boxone .tameng-arrow-right {
    width: 42px;
    height: 8px;
    background-image: url('../img/tamengarrowr.png');
    background-repeat: repeat-x;
    background-size: 42px 8px;
    animation: flow-right 3.2s linear infinite;
    overflow: hidden;
    flex-shrink: 0;
}

.taMeng-right-boxone .tameng-arrow-left img,
.taMeng-right-boxone .tameng-arrow-right img {
    display: none;
}

.taMeng-right-boxone .tameng-tag {
    position: relative;
    width: 203px;
    height: 404px;
    border: 2px solid #00BF80;
    border-radius: 1px;
    margin-left: 65px;
}

.taMeng-right-boxone .tameng-tag::after {
    content: '';
    width: 2px;
    height: 360px;
    display: block;
    background-color: #fff;
    position: absolute;
    left: -2px;
    top: 20px;
}

.taMeng-right-boxone .tameng-tag-sj {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 13px solid #00BF80;
    position: absolute;
    top: 15px;
    left: -8.5px;
    z-index: 1;
}

.taMeng-right-boxone .tameng-dian {
    width: 15px;
    height: 15px;
    background: #00BF80;
    border-radius: 50%;
    position: absolute;
    bottom: 15px;
    left: -8.5px;
    z-index: 1;
}

.taMeng-right-boxone .tameng-tag-content {
    position: relative;
}

.taMeng-right-boxone .tameng-tag-content-item {
    display: flex;
    align-items: center;
    position: absolute;
    top: 46px;
    left: -61px;
    z-index: 1;
}

.taMeng-right-boxone .tameng-tag-content-item-name {
    display: block;
    width: 124px;
    line-height: 50px;
    background: linear-gradient(180deg, #DEFFF7 0%, #FFFFFF 100%);
    border-radius: 16px;
    border: 1px dashed #00BF80;
    font-weight: 500;
    font-size: 20px;
    color: #00BF80;
    text-align: center;
}

.taMeng-right-boxone .tameng-tag-content-item-desc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 18px;
    font-weight: 400;
    font-size: 14px;
    color: #333;
}

.taMeng-right-boxone .tameng-tag-content-item-img {
    position: absolute;
    left: -5px;
    z-index: 1;
}

.tameng-quanxian-img {
    background-image: url('../img/tamengquanxian2.png');
    background-size: 8px 57px;
    background-repeat: repeat-y;
    background-position: 0 0;
    width: 8px;
    height: 57px;
    overflow: hidden;
    animation: flow-down-tameng 4s linear infinite;
    will-change: background-position;
}

.tameng-quanxian-img img {
    display: none;
}

/* 动画定义 */
@keyframes flow-down-tameng {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 0 57px;
    }
}

/* Footer 响应式样式 */
/* @media (max-width: 1200px) {
    .footer-inner {
        gap: 30px;
    }

    .footer-column {
        min-width: 140px;
    }

    .footer-column[style*="margin-left"] {
        margin-left: 0 !important;
    }

    .attention-column {
        padding-left: 40px;
    }

     .service-card-wrap {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        margin: 30px auto 0 !important;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .service-card {
        width: 200px;
        height: 240px;
    
}
} */
/* @media (max-width: 768px) {
    .footer {
        padding: 40px 0 17px;
        overflow-x: hidden;
    }

    .footer-inner {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 30px;
        padding: 0 20px;
    }

    .footer-column {
        width: 100% !important;
        min-width: auto !important;
    }

    .footer-column[style*="margin-left"] {
        margin-left: 0 !important;
    }

    .attention-column {
        padding-left: 0 !important;
    }

    .attention-column::before {
        display: none !important;
    }

    .service-card-wrap {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        margin: 20px auto 0 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center;
    }

    .service-card {
        width: 180px;
        height: 220px;
    }

    .contact-content {
        padding-top: 100px;
    }

    .copyright {
        padding: 0 20px;
    }

    .copyright-line {
        width: 100% !important;
    }
} */
.urllink:hover{
    color: #fff !important;
}