/* 友情链接样式 */
.friendly-links-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.friendly-links-container a {
    margin-right: 15px;
    margin-bottom: 10px;
    display: inline-block;
    transition: all 0.3s ease;
}

.friendly-links-container a:hover {
    text-decoration: none;
}

/* 页脚链接样式 */
.footer-links-section {
    margin-top: 15px;
}

.footer-links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links-container a {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 10px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.footer-links-container a:hover {
    text-decoration: none;
}

/* 维护模式样式 */
#maintenance-overlay {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 产品下拉菜单 */
.header-nav.header-dark:not(.header-transparent) .fixed-header-bar {
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.header-nav.header-dark:not(.header-transparent) .navbar-main .navbar-nav > .nav-item > .nav-link {
    color: #152c5b !important;
}

.header-nav.header-dark:not(.header-transparent) .navbar-main .navbar-brand .logo-dark {
    display: block !important;
}

.header-nav.header-dark:not(.header-transparent) .navbar-main .navbar-brand .logo-light {
    display: none !important;
}

.header-nav.header-dark:not(.header-transparent) .navbar-toggler-icon {
    background-image: none !important;
}

@media (max-width: 767px) {
    .footer .footer-top .footer-collapse-item,
    .footer .footer-top .footer-collapse-item + .footer-collapse-item,
    .footer .footer-top .footer-collapse-item:not(:last-child),
    .footer .footer-top .footer-collapse-item .footer-title {
        border: 0 !important;
        border-top: 0 !important;
        border-bottom: 0 !important;
    }

    .footer .footer-top .footer-collapse-item::before,
    .footer .footer-top .footer-collapse-item::after {
        content: none !important;
        display: none !important;
    }
}

.product-dropdown > .nav-link:after {
    content: "\f107";
    display: inline-block;
    position: static;
    width: auto;
    height: auto;
    margin-left: .5rem;
    background: transparent;
    font-family: "Font Awesome 5 Free";
    font-size: 65%;
    font-weight: 900;
    transform: none;
    vertical-align: middle;
}

.product-dropdown > .nav-link:hover:after {
    width: auto;
}

.product-dropdown .px-dropdown-menu {
    width: 230px;
}

.product-dropdown .px-dropdown-menu > li > a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-dropdown .px-dropdown-menu > li > a i {
    color: #0050d8;
}

@media (max-width: 991px) {
    .navbar-main .navbar-nav > li.product-dropdown {
        padding-bottom: 10px;
    }

    .product-dropdown .px-dropdown-menu {
        display: block;
        position: static;
        width: auto;
        margin: 0 15px 0 15px;
        padding: 6px 0;
        list-style: none;
        border-top: 0;
        border-radius: 5px;
        background: #f5f8ff;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
    }

    .product-dropdown .px-dropdown-menu > li > a {
        padding: 8px 12px;
        color: #152c5b;
        font-size: 13px;
        font-weight: 700;
    }
}

/* 产品介绍页 */
.product-hero-visual {
    position: relative;
    padding: 35px;
}

.product-hero-visual:before {
    content: "";
    position: absolute;
    inset: 20px 0 0 35px;
    border-radius: 8px;
    background: #eef5ff;
    z-index: -1;
}

.product-metric {
    min-height: 116px;
}

.product-feature-card {
    min-height: 100%;
}

.product-feature-card h5,
.product-scenario-card h6 {
    min-height: 1.4em;
}

.product-highlight-band {
    overflow: hidden;
}

.product-highlight-band .media {
    min-height: 116px;
}

@media (max-width: 767px) {
    .product-hero-visual {
        padding: 15px;
    }

    .product-hero-visual:before {
        inset: 10px 0 0 15px;
    }
}

/* 数据中心介绍 */
.datacenter-section {
    background: #ffffff;
}

.datacenter-tabs {
    margin: 0 0 28px;
}

.datacenter-tabs .nav-item {
    margin: 0 6px 12px;
}

.datacenter-tabs .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    border: 1px solid #d9e6f8;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(21, 44, 91, 0.06);
    color: #152c5b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    transition: all 0.25s ease;
}

.datacenter-tabs .nav-link:after {
    content: none !important;
    display: none !important;
}

.datacenter-tabs .nav-link:hover,
.datacenter-tabs .nav-link.active {
    border-color: #0050d8;
    background: #0050d8;
    box-shadow: 0 10px 28px rgba(0, 80, 216, 0.22);
    color: #ffffff;
    text-decoration: none;
}

.datacenter-panel {
    overflow: hidden;
    border: 1px solid #e4edf8;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(21, 44, 91, 0.08);
}

.datacenter-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.datacenter-copy {
    display: flex;
    min-height: 100%;
    padding: 38px 42px;
    flex-direction: column;
    justify-content: center;
}

.datacenter-location {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    margin: 0 0 16px;
    padding: 7px 12px;
    border-radius: 5px;
    background: #eef5ff;
    color: #0050d8;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.datacenter-location i {
    margin-right: 8px;
    color: #13b497;
}

.datacenter-copy h4 {
    margin: 0 0 14px;
    color: #152c5b;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
}

.datacenter-copy p {
    margin: 0 0 24px;
    color: #56657f;
    font-size: 15px;
    line-height: 1.85;
}

.datacenter-facts {
    display: grid;
    overflow: hidden;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #e3edf9;
    border-left: 1px solid #e3edf9;
    border-radius: 6px;
}

.datacenter-facts div {
    min-height: 78px;
    padding: 14px 12px;
    border-right: 1px solid #e3edf9;
    border-bottom: 1px solid #e3edf9;
    background: #f8fbff;
}

.datacenter-facts strong {
    display: block;
    margin: 0 0 5px;
    color: #152c5b;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.datacenter-facts span {
    display: block;
    color: #6b7890;
    font-size: 12px;
    line-height: 1.35;
}

.datacenter-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #e4edf8;
}

.datacenter-detail-item {
    min-height: 170px;
    padding: 26px 30px;
    border-right: 1px solid #e4edf8;
    border-bottom: 1px solid #e4edf8;
    background: #ffffff;
}

.datacenter-detail-item:nth-child(2n) {
    border-right: 0;
}

.datacenter-detail-item h5 {
    display: flex;
    align-items: center;
    margin: 0 0 12px;
    color: #152c5b;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.datacenter-detail-item h5 i {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    margin-right: 10px;
    border-radius: 5px;
    background: #e9fbf6;
    color: #13b497;
    font-size: 15px;
}

.datacenter-detail-item p {
    margin: 0;
    color: #56657f;
    font-size: 14px;
    line-height: 1.8;
}

@media (max-width: 991px) {
    .datacenter-image {
        height: 320px;
        min-height: 0;
    }

    .datacenter-copy {
        padding: 30px;
    }

    .datacenter-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .datacenter-detail-grid {
        grid-template-columns: 1fr;
    }

    .datacenter-detail-item,
    .datacenter-detail-item:nth-child(2n) {
        border-right: 0;
    }
}

@media (max-width: 575px) {
    .datacenter-tabs {
        justify-content: flex-start !important;
    }

    .datacenter-tabs .nav-item {
        width: calc(50% - 12px);
    }

    .datacenter-tabs .nav-link {
        min-height: 44px;
        padding: 9px 8px;
        font-size: 13px;
        text-align: center;
    }

    .datacenter-image {
        height: 220px;
    }

    .datacenter-copy {
        padding: 24px 18px;
    }

    .datacenter-location {
        align-items: flex-start;
        font-size: 12px;
    }

    .datacenter-copy h4 {
        font-size: 22px;
    }

    .datacenter-copy p {
        font-size: 14px;
    }

    .datacenter-facts strong {
        font-size: 16px;
    }

    .datacenter-detail-item {
        min-height: auto;
        padding: 22px 18px;
    }
}
