*{margin:0;padding:0;box-sizing:border-box;font-family:system-ui,"Microsoft Yahei",sans-serif;}
a {
    text-decoration: none !important;
}
body{background:#f8fafc;color:#1e293b;}
/* 顶部横幅 */
.top-banner{background:linear-gradient(120deg,#2563eb,#3b82f6);color:#fff;text-align:center;padding:70px 20px;}
.top-banner h1{font-size:40px;margin-bottom:14px;font-weight:600;}
.top-banner p{font-size:18px;opacity:0.9;margin-bottom:32px;max-width:800px;margin-left:auto;margin-right:auto;line-height:1.7;}
.btn-big{padding:15px 40px;background:#fff;color:#2563eb;border:none;border-radius:12px;font-size:17px;font-weight:600;cursor:pointer;transition:0.3s;}
.btn-big:hover{background:#eff6ff;transform:translateY(-3px);box-shadow:0 10px 25px rgba(37, 99, 235, 0.25);}
.container{max-width:1440px;margin:0 auto;padding:0 24px;}
.section-title{font-size:26px;margin:60px 0 28px;color:#1e293b;display:flex;align-items:center;gap:12px;}
.section-title::before{content:"";width:5px;height:26px;background:#2563eb;border-radius:3px;}
/* 套餐网格布局 */
.server-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:24px;}
/* 全新套餐卡片 清爽商务白卡 */
.server-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:24px;transition:all 0.3s ease;box-shadow:0 1px 3px rgba(0,0,0,0.05);}
.server-card:hover{transform:translateY(-6px);box-shadow:0 12px 30px rgba(37, 99, 235, 0.12);border-color:#bfdbfe;}
/* 机房名称+标签行 */
.card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px;gap:10px;}
.card-name{font-size:17px;font-weight:600;color:#0f172a;}
.tag-box{display:flex;gap:6px;flex-wrap:wrap;}
.tag{font-size:12px;padding:4px 10px;border-radius:20px;}
.tag-tel{background:#eff6ff;color:#2563eb;}
.tag-bgp{background:#f0fdf4;color:#059669;}
.tag-cn2{background:#fff7ed;color:#ea580c;}
/* 参数区域 2列排版 */
.param-list{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:24px;}
.param-item{display:flex;align-items:center;gap:8px;font-size:14px;color:#475569;}
.param-item strong{color:#0f172a;font-weight:500;}
/* 底部价格+购买 */
.card-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #f1f5f9;padding-top:20px;}
.price-text{display:flex;align-items:baseline;gap:4px;}
.price-num{font-size:26px;font-weight:700;color:#ef4444;}
.price-unit{font-size:14px;color:#64748b;}
.buy-btn{padding:10px 22px;background:#2563eb;color:#fff;border:none;border-radius:10px;font-size:15px;font-weight:500;cursor:pointer;transition:0.2s;}
.buy-btn:hover{background:#1d4ed8;}
/* 四大优势 */
.advantage-wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:50px 0;}
.adv-item{background:#fff;padding:26px;border-radius:14px;border:1px solid #e2e8f0;}
.adv-item h3{color:#2563eb;font-size:18px;margin-bottom:10px;}
.adv-item p{color:#64748b;font-size:14px;line-height:1.6;}
/* FAQ */
.faq-box{background:#fff;padding:30px;border-radius:16px;border:1px solid #e2e8f0;margin-top:60px;}
.faq-item{margin-bottom:18px;}
.faq-item h4{color:#1e293b;margin-bottom:6px;font-size:16px;}
.faq-item p{color:#64748b;font-size:14px;line-height:1.6;}
/* 底部转化栏 */
.bottom-cta{background:#1e293b;color:#fff;text-align:center;padding:60px 20px;margin-top:40px;}
.bottom-cta h2{font-size:28px;margin-bottom:14px;}
.bottom-cta p{opacity:0.8;margin-bottom:30px;}
/* 面包屑导航SEO */
.breadcrumb{padding:20px 24px;background:#fff;border-bottom:1px solid #e2e8f0;}
.breadcrumb a{color:#2563eb;text-decoration:none;}
.breadcrumb span{margin:0 8px;color:#94a3b8;}

@media (max-width: 768px) {
    .advantage-wrap{display:grid;grid-template-columns: repeat(1,1fr);gap:20px;margin:50px 0;}
}



/* ========== 顶部导航栏 全局 ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, .05);
    z-index: 9999;
}

.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);
}

.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;
    width: 130px;
    height: 38px;
}

.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;
}

.tab-content {
    display: none;
}

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

.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;
}

/* ========== 移动端汉堡菜单 ========== */
.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;
}

/* ========== 导航栏响应式媒体查询 ========== */
@media (max-width: 768px) {
    .nav-links,
    .nav-cta,
    .dropdown-menu {
        display: none !important;
    }
    .mobile-menu {
        display: block;
    }
}

/* ========== 网站页脚 Footer 全部样式 ========== */
.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-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) {
    .footer-wrap {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

