* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    background: #f7fafc;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.navbtn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 15px;
    border: none;
    cursor: pointer;
}

.navbtn-primary {
    background: linear-gradient(135deg, #165DFF, #0E42D2);
    color: #fff;
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.3);
}

.navbtn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(22, 93, 255, 0.4);
}

.navbtn-secondary {
    background: #fff;
    color: #165DFF;
    border: 1px solid #165DFF;
}

.navbtn-secondary:hover {
    background: #f0f7ff;
    transform: translateY(-2px);
}




.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 15px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #165DFF, #0E42D2);
    color: #fff;
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(22, 93, 255, 0.4);
}

.btn-secondary {
    background: #fff;
    color: #165DFF;
    border: 1px solid #165DFF;
}

.btn-secondary:hover {
    background: #f0f7ff;
    transform: translateY(-2px);
}
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 34px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: #1d2129;
    background: linear-gradient(135deg, #165DFF, #4080FF);
    -webkit-background-clip: text;
    color: transparent;
}

.section-subtitle {
    font-size: 16px;
    color: #86909c;
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, .05);
    z-index: 9999;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: #165DFF;
}

.logo img {
    margin-right: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    position: relative;
    transition: 0.3s;
    padding: 10px 0;
}

.nav-links a:hover {
    color: #165DFF;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 1100px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 9999;
    overflow: hidden;
    pointer-events: none;
}

.dropdown-inner {
    display: flex;
}

.product-sidebar {
    width: 240px;
    background: #f8fafc;
    border-right: 1px solid #eee;
    padding: 10px 0;
}

.sidebar-title {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

.sidebar-menu,
.mobile-sidebar-menu {
    list-style: none;
}

.sidebar-menu li,
.mobile-sidebar-menu li {
    border-bottom: 1px solid #eee;
}

.sidebar-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    font-size: 14px;
    color: #333;
}

.sidebar-menu li a:hover {
    background: #e6f3ff;
    color: #165DFF;
}

.sidebar-menu li a.active {
    background: #165DFF;
    color: #fff;
}

.product-content {
    flex: 1;
    padding: 24px;
}

.search-box {
    width: 100%;
    max-width: 500px;
    padding: 10px 15px;
    border: 1px solid #eee;
    border-radius: 6px;
    margin-bottom: 15px;
}

.tag-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tag {
    padding: 6px 12px;
    background: #f0f7ff;
    color: #165DFF;
    border-radius: 4px;
    font-size: 13px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #165DFF;
}

.product-card h4 {
    font-size: 15px;
    margin-bottom: 8px;
}

.product-card p {
    font-size: 13px;
    color: #666;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.mobile-menu {
    display: none;
    font-size: 24px;
    color: #165DFF;
    cursor: pointer;
    padding: 8px;
}

.mobile-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 9999;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

.mobile-nav-list a {
    padding: 15px 25px;
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid #f2f3f5;
}

.mobile-nav-list a:hover {
    color: #165DFF;
}

.mobile-btns {
    padding: 15px 25px;
    display: flex;
    gap: 10px;
}

.mobile-btns .btn {
    padding: 14px 25px !important;
}

.mobile-product-parent {
    border-bottom: 1px solid #f2f3f5;
}

.mobile-product-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    font-size: 15px;
    color: #333;
    cursor: pointer;
}

.mobile-product-arrow {
    transition: transform 0.3s ease;
}

.mobile-product-arrow.active {
    transform: rotate(180deg);
}

.mobile-product-menu {
    background: #f8fafc;
    display: none;
    border-top: 1px solid #eee;
}

.mobile-product-menu.active {
    display: flex !important;
    width: 100%;
}

.mobile-sidebar {
    width: 180px;
    background: #fff;
    border-right: 1px solid #eee;
    flex-shrink: 0;
}

.mobile-sidebar-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    font-size: 14px;
    color: #333;
}

.mobile-sidebar-menu li a:hover {
    background: #e6f3ff;
    color: #165DFF;
}

.mobile-sidebar-menu li a.active {
    background: #165DFF;
    color: #fff;
}

.mobile-product-content {
    flex: 1;
    padding: 15px;
    background: #fff;
    overflow-y: auto;
    max-height: 400px;
}

.mobile-product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.mobile-product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px;
}

.mobile-product-card h4 {
    font-size: 14px;
    margin-bottom: 6px;
}

.mobile-product-card p {
    font-size: 12px;
    color: #666;
}

.hero {
    margin-top: 70px;
    padding: 130px 0;
    background-image: url(https://www.baimaiyun.com/static/images/bg-2.jpg);
    color: #1d2129;
}

.hero-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.hero-left {
    flex: 1;
    min-width: 300px;
}

.hero-right {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-tag {
    display: inline-block;
    padding: 8px 20px;
    background: #0e42d2;
    border-radius: 999px;
    font-size: 14px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    color: #ffffff;
}

.hero-title {
    font-size: 44px;
    line-height: 1.3;
    margin-bottom: 25px;
}

.hero-desc {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: .95;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-img {
    max-width: 100%;
    height: auto;
}

.advantages {
    background: #fff;
}

.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.adv-card {
    padding: 35px 30px;
    background: #f8fafc;
    border-radius: 16px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #eef2f5;
}

.adv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.adv-card img {
    margin-bottom: 16px;
    width: 80px;
}

.adv-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.adv-card p {
    color: #86909c;
    line-height: 1.6;
}

.products {
    background: #f7fafc;
}

.prod-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.prod-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
    transition: 0.3s;
    border: 1px solid #f0f2f5;
}

.prod-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(22, 93, 255, 0.1);
}

.prod-body {
    padding: 35px 30px;
}

.prod-tag {
    display: inline-block;
    padding: 5px 12px;
    background: #e6f3ff;
    color: #165DFF;
    font-size: 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.prod-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.prod-desc {
    color: #86909c;
    line-height: 1.6;
    margin-bottom: 20px;
}

.prod-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.prod-features span {
    padding: 5px 10px;
    background: #f7fafc;
    border-radius: 6px;
    font-size: 12px;
}

.prod-center {
    text-align: center;
}

.scenes {
    background: linear-gradient(135deg, #f8fafc, #f0f4f8);
}

.scene-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.scene-item {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.scene-item:hover {
    transform: translateY(-4px);
}

.scene-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scene-icon img {
    width: 100%;
    height: 100%;
}

.scene-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.scene-item p {
    color: #86909c;
    font-size: 13px;
}

.cases {
    background: #fff;
}

.case-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.case-tab {
    padding: 12px 22px;
    border: none;
    background: #fff;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.case-tab:hover {
    background: #e6f3ff;
    color: #165DFF;
}

.case-tab.active {
    background: linear-gradient(135deg, #165DFF, #0E42D2);
    color: #fff;
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.3);
}

.case-tab-content {
    position: relative;
    min-height: 380px;
}

.case-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    transform: translateY(10px);
}

.case-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
}

.case-box {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 24px;
    padding: 50px 55px;
    box-shadow: 0 15px 40px rgba(22, 93, 255, 0.09);
    border: 1px solid #eaf2ff;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

.case-icon {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, #e6f3ff, #d1e7ff);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
}

.case-icon img {
    width: 40px;
    height: 40px;
}

.case-box h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1d2129;
    text-align: center;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.case-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px 24px;
    border: 1px solid #f0f7ff;
    transition: all 0.25s ease;
}

.case-item:hover {
    border-color: #c9e2ff;
    box-shadow: 0 6px 16px rgba(22, 93, 255, 0.06);
    transform: translateY(-2px);
}

.case-item h5 {
    font-size: 16px;
    color: #165DFF;
    font-weight: 600;
    margin-bottom: 8px;
}

.case-item p {
    font-size: 15px;
    color: #555;
    line-height: 1.75;
    margin: 0;
}

.security {
    background: #f7fafc;
    padding: 60px 0;
    text-align: center;
}

.security-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.security-item {
    padding: 15px 25px 15px 45px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-weight: 500;
    color: #333;
    position: relative;
}

.security-item::before {
    content: "✔";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #165DFF;
    font-size: 16px;
    font-weight: bold;
}

.global-infra {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #165DFF, #0E42D2);
    color: #fff;
    padding: 90px 0;
}

.global-infra-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.12;
    background-image: url('https://www.baimaiyun.com/static/images/bg-2.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.global-infra .section-title {
    color: #fff;
    background: none;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.global-infra .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    max-width: 750px;
}

.global-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.global-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 32px;
    transition: all 0.3s ease;
}

.global-card:hover {
    transform: translateY(-6px);
    border-color: rgba(22, 93, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.global-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(22, 93, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.global-card-icon img {
    width: 30px;
    height: 30px;
}

.global-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.global-card p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    font-size: 14px;
}

.promise {
    background: #f7fafc;
    padding: 50px 0;
    text-align: center;
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.promise-item {
    font-size: 14px;
    color: #666;
    position: relative;
    padding-left: 28px;
    line-height: 1.6;
}

/* CSS 内置对勾 */
.promise-item::before {
    content: "✔";

    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #165DFF;
    font-size: 14px;
    font-weight: bold;
}

.news {
    background: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    padding: 25px;
    border: 1px solid #f0f2f5;
    border-radius: 12px;
    transition: 0.3s;
    background: #fafbfc;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.news-date {
    color: #999;
    font-size: 13px;
    margin-bottom: 8px;
}

.news-title {
    font-size: 16px;
    margin-bottom: 8px;
}

.news-desc {
    font-size: 14px;
    color: #666;
}

/* 全局基础预留间距 */
body {
    padding-bottom: 70px;
    box-sizing: border-box;
}

.fixed-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: stretch;
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom);
    box-sizing: border-box;
    /* 顶部立体阴影 */
    box-shadow: 0 -2px 15px rgba(0,0,0,0.08);
}

/* 左右按钮通用样式 */
.contact-left,
.contact-right {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: #fff;
    padding: 15px 0;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    gap: 6px;
}

/* 精致中间分割线 */
.split-line {
    width: 1px;
    background: rgba(255,255,255,0.35);
}

/* 左侧QQ渐变+统一圆角 */
.contact-left {
    background: linear-gradient(135deg, #165DFF, #3377ff);
    border-radius: 0;
}
/* 右侧微信渐变 */
.contact-right {
    background: linear-gradient(135deg, #00b42a, #22d147);
    border-radius: 0;
}



/* hover悬浮高级效果 */
.contact-left:hover {
    background: linear-gradient(135deg, #0e4be0, #2066ee);
    transform: translateY(-3px);
    box-shadow: 0 -5px 16px rgba(22,93,255,0.3);
}
.contact-right:hover {
    background: linear-gradient(135deg, #009f24, #16b83a);
    transform: translateY(-3px);
    box-shadow: 0 -5px 16px rgba(0,180,42,0.3);
}

/* 点击按压反馈 */
.contact-left:active,
.contact-right:active {
    transform: scale(0.96) translateY(0);
    box-shadow: none;
}

/* 移动端小屏适配 */
@media (max-width: 576px) {
    .contact-left,.contact-right {
        font-size: 13.5px;
        padding: 13px 0;
    }
    .icon-qq,.icon-wechat {
        width: 22px;
        height: 22px;
        line-height: 22px;
    }
}



/* 深色模式自动变色 */
@media (prefers-color-scheme: dark) {
    .fixed-bottom {
        box-shadow: 0 -2px 15px rgba(0,0,0,0.25);
    }
    .split-line {
        background: rgba(255,255,255,0.2);
    }
}

.footer {
    background: #1d2129;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 16px;
    font-size: 16px;
}

.footer-col a {
    display: block;
    margin-bottom: 10px;
    color: #999;
    transition: 0.3s;
}
.footer-wx img {
    padding: 20px;
    width: 130px;
    height: 130px;
}

.footer-col a:hover {
    color: #fff;
}

.footer-wx img {
    padding: 20px;
    width: 130px;
    height: 130px;
}

.copyright {
    text-align: center;
    color: #666;
    padding-top: 20px;
    border-top: 1px solid #333;
}

@media (max-width:768px) {
    .nav-links,
    .nav-cta,
    .dropdown-menu {
        display: none !important;
    }

    .mobile-menu {
        display: block;
    }

    .hero-title {
        font-size: 30px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .case-tab {
        padding: 9px 14px;
        font-size: 13px;
    }

    .case-box {
        padding: 32px 24px;
        max-width: 100%;
    }

    .case-box h3 {
        font-size: 22px;
    }

    .case-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .case-item {
        padding: 18px 20px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    body {
        padding-bottom: 50px;
    }
     .footer-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));

}
}