/* 虚拟主机页面专用样式 */

/* Banner区域样式 */
.vhost-banner {
    background-image: url('../images/xuni-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    position: relative;
}

.vhost-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
}

.vhost-banner .container {
    position: relative;
    z-index: 1;
}

.vhost-banner-content {
    max-width: 600px;
    text-align: left;
}

.vhost-banner-title {
    font-size: 36px;
    color: #191919;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.vhost-banner-desc {
    font-size: 16px;
    color: #595959;
    line-height: 1.8;
    margin-bottom: 30px;
}

.vhost-banner-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0018c7;
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.vhost-banner-btn:hover {
    background-color: #0014a8;
    transform: translateY(-2px);
}

/* 响应式Banner样式 */
@media (max-width: 768px) {
    .vhost-banner {
        padding: 60px 0;
    }
    
    .vhost-banner-title {
        font-size: 28px;
    }
    
    .vhost-banner-desc {
        font-size: 14px;
    }
    
    .vhost-banner-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* 虚拟主机产品参数表格样式 */
.vhost-params {
    background-color: #f9fbfd;
    padding: 80px 0;
}

.vhost-params-title {
    text-align: center;
    font-size: 28px;
    color: #191919;
    font-weight: 600;
    margin-bottom: 50px;
}

.vhost-params-table {
    overflow-x: auto;
    margin-top: 30px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.vhost-diagonal-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    position: relative;
}

/* 对角线表头样式 */
.diagonal-header {
    position: relative;
    background-color: #0018c7;
    color: white;
    height: 100px;
    width: 150px;
}

.diagonal-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.diagonal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top right, transparent 49.5%, #ffffff 49.5%, #ffffff 50.5%, transparent 50.5%);
    z-index: 1;
}

.diagonal-top,
.diagonal-bottom {
    position: absolute;
    z-index: 2;
    font-weight: bold;
    font-size: 14px;
    transform: none;
}

.diagonal-top {
    top: 62px;
    left: 10px;
}

.diagonal-bottom {
    bottom: 62px;
    right: 10px;
}

/* 产品列标题样式 */
.product-column {
    background-color: #0018c7;
    color: white;
    font-weight: bold;
    padding: 15px;
    border: 1px solid #e0e0e0;
    position: relative;
}

/* 技术参数列样式 */
.parameter-cell {
    background-color: #f0f0f0;
    font-weight: 500;
    padding: 15px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

/* 产品数据单元格样式 */
.product-cell {
    padding: 15px;
    text-align: center;
    border: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

/* 偶数行背景色 */
.vhost-diagonal-table tbody tr:nth-child(even) .product-cell {
    background-color: #f8f9fa;
}

/* 列悬停效果 */
.vhost-diagonal-table tr:hover .product-cell {
    background-color: #e8f0fe;
}

/* 实现整列突出显示效果 */
.vhost-diagonal-table td:hover {
    position: relative;
    z-index: 1;
}

/* 列高亮效果 */
.column-highlight {
    /* background-color: #ffffff !important;
    font-weight: 500;
    box-shadow: 0 0 5px rgba(0, 24, 199, 0.3);
    position: relative;
    z-index: 10;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); */
}
.column-highlight-title {
    /* color: #fff;
    background-color: #001289; */
}

/* 价格和购买按钮样式 */
.vhost-price {
    font-size: 24px;
    font-weight: bold;
    color: #ff0000;
}

.vhost-buy-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background-color: #0018c7;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.vhost-buy-btn:hover {
    background-color: #001289;
}

/* 面板功能和安全功能展示区域样式 */
.vhost-features {
    padding: 60px 0;
    background-color: #f8f9fa;
}

/* 每个功能卡片样式 */
.vhost-feature-card {
    display: flex;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

/* 面板功能标题样式 - 蓝色背景 */
.vhost-feature-title-blue {
    width: 180px;
    background-color: #008bdb;
    color: white;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* 安全功能标题样式 - 绿色背景 */
.vhost-feature-title-green {
    width: 180px;
    background-color: #00a65a;
    color: white;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* 功能项容器 - 一行布局 */
.vhost-feature-items {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
}

/* 单个功能项样式 */
.vhost-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    min-width: 120px;
    text-align: center;
}

.vhost-feature-icon {
    margin-bottom: 10px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #008bdb;
}

/* 安全功能的图标背景色需要单独设置 */
.vhost-feature-title-green + .vhost-feature-items .vhost-feature-icon {
    background-color: #00a65a;
}

.vhost-feature-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* 我们的服务展示区域样式 */
.our-services {
    padding: 60px 0;
    background-color: #ffffff;
}

.vhost-params-title {
    text-align: center;
    font-size: 28px;
    color: #191919;
    font-weight: 600;
    margin-bottom: 40px;
}




.service-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-right: 15px;
    margin-bottom: 0;
}

.service-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.service-content {
    flex: 1;
    width: 100%;
}





.service-desc {
    font-size: 12px;
    color: #595959;
    line-height: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .service-item {
        flex: 0 0 calc(50% - 15px);
    }
    
    /* 功能卡片响应式调整 */
    .vhost-feature-item {
        min-width: 100px;
        padding: 10px 15px;
    }
    
    .vhost-feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .vhost-feature-title-blue,
    .vhost-feature-title-green {
        width: 150px;
        font-size: 18px;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .vhost-banner-content {
        padding: 60px 20px;
    }
    
    .vhost-features-container {
        flex-direction: column;
    }
    
    .vhost-feature-section {
        min-width: 100%;
    }
    
    .vhost-feature-list {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        flex: 0 0 100%;
    }
    
    .vhost-params-table {
        overflow-x: auto;
    }
    
    .vhost-params-table table {
        min-width: 600px;
    }
    
    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    /* 价格样式响应式调整 */
    .vhost-price {
        font-size: 18px;
    }
    
    /* 购买按钮响应式调整 */
    .vhost-buy-btn {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    /* 移动端功能卡片垂直排列 */
    .vhost-feature-card {
        flex-direction: column;
    }
    
    .vhost-feature-title-blue,
    .vhost-feature-title-green {
        width: 100%;
        padding: 15px 20px;
        text-align: center;
    }
    
    .vhost-feature-items {
        justify-content: center;
    }
    
    .vhost-feature-item {
        min-width: 100px;
    }
    
    /* 响应式服务项目样式调整 */
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    @media (max-width: 600px) {
        .services-container {
            grid-template-columns: 1fr;
        }
    }
}

/* 设置图标颜色为白色 */
.vhost-feature-icon i {
    color: white;
    font-size: 24px;
}