/* 托管页面专用样式 */

/* Banner区域样式 */
.hosting-banner {
    position: relative;
    height: 500px;
    background-image: url('../images/tuoguan.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}



.hosting-banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
}

.hosting-banner-title {
    font-size: 48px;
    font-weight: bold;
    color: #191919;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hosting-banner-subtitle {
    font-size: 18px;
    color: #595959;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hosting-banner-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #fb7099, #fedc45);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hosting-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(251, 112, 153, 0.4);
}

/* 服务器托管/机柜租赁产品卡片区域样式 */
.hosting-products {
    padding: 60px 0;
    margin-bottom: 60px;
}

.hosting-section-title {
    font-size: 36px;
    font-weight: bold;
    color: #333333;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.hosting-section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #fb7099, #fedc45);
    border-radius: 2px;
}

.hosting-product-cards {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.hosting-product-card {
    width: calc(33.333% - 20px);
    min-width: 300px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hosting-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hosting-product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 25px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.hosting-product-info {
    flex: 1;
}

.hosting-product-title {
    font-size: 24px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 8px;
}

.hosting-product-subtitle {
    font-size: 14px;
    color: #666666;
}

.hosting-product-icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
}

.hosting-icon-blue {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.hosting-icon-yellow {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.hosting-icon-green {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.hosting-product-specs {
    padding: 20px 25px;
}

.hosting-spec-item {
   display: flex;
    align-items: center;
}

.hosting-spec-item:last-child {
    border-bottom: none;
}

.hosting-spec-label {
    font-size: 14px;
    color: #666666;
    width: 80px;
    margin-right: 25px;
}

.hosting-spec-value {
    width: 72%;
    font-size: 14px;
    color: #333333;
    font-weight: 500;
    text-align: left;
    line-height: 3.6;
    border-bottom: 1px solid #efeff1;
}

.hosting-product-footer {
   display: flex;
    justify-content: space-between;
    align-items: center;
    
    padding: 0px 20px;
}

.hosting-product-price {
    font-size: 28px;
    font-weight: bold;
    color: #ff4500;
    margin-bottom: 8px;
}

.hosting-price-unit {
    font-size: 14px;
    font-weight: normal;
}

.hosting-product-feature {
    font-size: 13px;
    color: #666666;
}

.hosting-product-action {
    padding: 20px 25px;
    text-align: right;
    
}

.hosting-consult-btn {
    display: inline-block;
    padding: 10px 30px;
    background: #fff;
    color: #191919;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #191919;
}

.hosting-consult-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(251, 112, 153, 0.4);
}

/* 响应式设计 */

/* 中等屏幕 (平板) */
@media (max-width: 1199px) {
    .hosting-banner {
        height: 450px;
    }
    
    .hosting-banner-title {
        font-size: 42px;
    }
    
    .hosting-product-cards {
        gap: 25px;
    }
    
    .hosting-product-card {
        width: calc(50% - 12.5px);
    }
}

/* 小屏幕 (平板竖屏) */
@media (max-width: 991px) {
    .hosting-banner {
        height: 400px;
    }
    
    .hosting-banner-title {
        font-size: 36px;
    }
    
    .hosting-banner-subtitle {
        font-size: 16px;
    }
    
    .hosting-section-title {
        font-size: 30px;
    }
}

/* 超小屏幕 (手机) */
@media (max-width: 767px) {
    .hosting-banner {
        height: 350px;
        padding: 20px;
    }
    
    .hosting-banner-title {
        font-size: 32px;
    }
    
    .hosting-banner-subtitle {
        font-size: 14px;
    }
    
    .hosting-banner-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .hosting-section-title {
        font-size: 26px;
        margin-bottom: 40px;
    }
    
    .hosting-product-cards {
        gap: 20px;
    }
    
    .hosting-product-card {
        width: 100%;
        min-width: auto;
    }
    
    .hosting-product-header {
        padding: 25px 20px 15px;
    }
    
    .hosting-product-title {
        font-size: 20px;
    }
    
    .hosting-product-icon {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
    
    .hosting-product-specs {
        padding: 15px 20px;
    }
    
    .hosting-spec-item {
        padding: 10px 0;
    }
    
    .hosting-product-footer {
        padding: 15px 20px;
    }
    
    .hosting-product-price {
        font-size: 24px;
    }
    
    .hosting-product-action {
        padding: 15px 20px;
    }
    
    .hosting-consult-btn {
        padding: 10px 30px;
        font-size: 14px;
        width: 100%;
    }
}

/* 极小屏幕 (小手机) */
@media (max-width: 479px) {
    .hosting-banner {
        height: 300px;
    }
    
    .hosting-banner-title {
        font-size: 28px;
    }
    
    .hosting-product-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .hosting-product-icon {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }
}

/* 机房介绍区域样式 */
.data-center-intro {
    background: linear-gradient(to right, #ffffff, #dfe9f3);
    padding: 80px 0;
    margin-bottom: 60px;
}

.data-center-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.data-center-left {
    width: 45%;
}

.data-center-title {
    font-size: 36px;
    font-weight: bold;
    color: #191919;
    margin-bottom: 30px;
    position: relative;
}

.data-center-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #fb7099, #fedc45);
    border-radius: 2px;
}

.data-center-text {
    margin-bottom: 40px;
}

.data-center-text p {
    font-size: 16px;
    color: #595959;
    line-height: 1.8;
    margin-bottom: 15px;
}

.data-center-text p:last-child {
    margin-bottom: 0;
}

.data-center-thumbs {
    display: flex;
    gap: 15px;
}

.data-center-thumb {
    flex: 1;
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.data-center-thumb:hover,
.data-center-thumb.active {
    border-color: #fb7099;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(251, 112, 153, 0.3);
}

.data-center-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.data-center-right {
    width: 55%;
}

.data-center-large {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.data-center-large img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

/* 机房介绍区域响应式设计 */

/* 中等屏幕 (平板) */
@media (max-width: 1199px) {
    .data-center-content {
        gap: 30px;
    }
    
    .data-center-title {
        font-size: 32px;
    }
    
    .data-center-text p {
        font-size: 15px;
    }
}

/* 小屏幕 (平板竖屏) */
@media (max-width: 991px) {
    .data-center-intro {
        padding: 60px 0;
    }
    
    .data-center-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .data-center-left,
    .data-center-right {
        width: 100%;
    }
    
    .data-center-title {
        font-size: 28px;
    }
    
    .data-center-thumbs {
        gap: 12px;
    }
    
    .data-center-large {
        padding: 15px;
    }
}

/* 超小屏幕 (手机) */
@media (max-width: 767px) {
    .data-center-intro {
        padding: 40px 0;
    }
    
    .data-center-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .data-center-text {
        margin-bottom: 30px;
    }
    
    .data-center-text p {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 12px;
    }
    
    .data-center-thumbs {
        flex-direction: column;
        gap: 10px;
    }
    
    .data-center-thumb {
        border-width: 2px;
    }
    
    .data-center-large {
        padding: 12px;
    }
}

/* 极小屏幕 (小手机) */
@media (max-width: 479px) {
    .data-center-title {
        font-size: 22px;
    }
    
    .data-center-text p {
        font-size: 13px;
    }
}

/* 服务器标准区域样式 */
.server-standard {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.server-standard .section-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
}

.standard-table-container {
    margin: 0 auto;
    overflow-x: auto;
}

.standard-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.standard-table th {
    background-color: #1E6FFF;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
}

.standard-table td {
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
}

.standard-table tbody tr td:first-child {
    background-color: #f5f5f5;
    font-weight: 500;
}

.standard-table tbody tr:hover {
    background-color: #f9f9f9;
}

/* 表格响应式设计 */
@media (max-width: 768px) {
    .standard-table th,
    .standard-table td {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .server-standard .section-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .standard-table th,
    .standard-table td {
        padding: 10px;
        font-size: 13px;
    }
    
    .server-standard .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .server-standard {
        padding: 40px 0;
    }
}

.featured-services {
    padding: 80px 0;
   
}

.services-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 40px;
    overflow: hidden;
    position: relative;
}

.service-card {
    flex: 0 0 15%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1;
    margin: 0 8px;
}

.service-card.expanded {
    flex: 0 0 25%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(30, 111, 255, 0.1);
    z-index: 3;
}

.service-content {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    overflow: hidden;
}
.service-content-ys {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    text-align: left;
    overflow: hidden;
}

.service-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.service-card:not(.expanded) .service-image {
    filter: brightness(0.7) blur(2px);
}

.service-card.expanded .service-image {
    filter: brightness(1) blur(0);
}

.service-info {
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}
.service-title-ys {
    color: #191919;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.service-subtitle {
    color: #ffffff;
    font-size: 14px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-card:not(.expanded) .service-subtitle {
    display: none;
}

.service-card.expanded .service-subtitle {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

/* 鼠标悬停效果 */
.service-card:hover:not(.expanded) {
    flex: 0 0 17%;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 25px rgba(30, 111, 255, 0.15);
    z-index: 2;
}

.service-card:hover .service-image {
    filter: brightness(0.8) blur(1px);
}

/* 蓝色渐变覆盖层 */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(30, 111, 255, 0.3), rgba(30, 111, 255, 0.2));
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card.expanded::before {
    background: linear-gradient(to right, rgba(30, 111, 255, 0.5), rgba(30, 111, 255, 0.3));
}

.service-card:hover::before {
    background: linear-gradient(to right, rgba(30, 111, 255, 0.6), rgba(30, 111, 255, 0.4));
}

/* 交互JavaScript支持 */
.service-card:not(.expanded) {
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .service-card {
        flex: 0 0 16%;
    }
    
    .service-card.expanded {
        flex: 0 0 36%;
    }
    
    .service-card:hover:not(.expanded) {
        flex: 0 0 18%;
    }
}

@media (max-width: 992px) {
    .services-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .service-card,
    .service-card.expanded,
    .service-card:hover:not(.expanded) {
        flex: 1;
        min-height: 250px;
    }
    
    .service-content {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-services {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-content {
        height: 200px;
    }
    
    .service-title {
        font-size: 16px;
    }
    
    .service-subtitle {
        font-size: 13px;
    }
}

/* 极小屏幕适配 */
@media (max-width: 360px) {
    .featured-services {
        padding: 40px 0;
    }
    
    .service-content {
        height: 180px;
    }
}

/*  服务器租用样式*/
.szuyong-container{
    padding: 0;
}
.szuyong-container .section-title{
    color: #fff;
}
.szuyong-container .container{
    background: url(../images/zuyong_zysx.png) no-repeat;
    max-width: 1220px;
    margin: 0 auto;
    padding: 80px 50px;
    color: #fff;
    
}
.szuyong-content p{
    line-height: 40px;
}