/* 云资源服务页 - 卡片布局 */

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a5276 100%);
    color: var(--white);
    padding: 150px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

.products-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* 产品卡片 */
.product-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    padding: 30px 30px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-blue);
}

/* 卡片头部 */
.product-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.product-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

.product-title {
    flex: 1;
}

.product-title h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.product-tag {
    display: inline-block;
    background: rgba(46, 140, 175, 0.1);
    color: var(--primary-blue);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.product-price {
    text-align: right;
}

.price-label {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 3px;
}

.price-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-orange);
}

/* 规格信息 */
.product-specs {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.spec-item {
    font-size: 0.95rem;
}

.spec-label {
    color: var(--text-light);
}

.spec-value {
    color: var(--text-dark);
    font-weight: 500;
}

/* 产品能力 */
.product-capabilities {
    margin-bottom: 20px;
    flex: 1;
}

/* GPU云服务器卡片 - 压缩高度，减少中间空白 */
.product-card--gpu {
    padding-top: 24px;
    padding-bottom: 24px;
}

.product-card--gpu .product-header {
    margin-bottom: 12px;
    padding-bottom: 12px;
}

.product-card--gpu .product-specs {
    gap: 6px 30px;
    margin-bottom: 14px;
}

.product-card--gpu .spec-item {
    display: flex;
    align-items: baseline;
}

.product-card--gpu .product-capabilities {
    margin-bottom: 14px;
}

.product-capabilities h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.product-capabilities ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 25px;
}

.product-capabilities li {
    color: var(--text-light);
    position: relative;
    padding-left: 18px;
    font-size: 0.9rem;
}

.product-capabilities li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

/* 咨询按钮 */
.consult-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 140, 175, 0.3);
}

.consult-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 140, 175, 0.4);
}

/* 联系咨询 */
.consult-section {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}

.consult-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.consult-section > p {
    color: var(--text-light);
    margin-bottom: 40px;
}

.consult-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.consult-item {
    font-size: 1.1rem;
}

.consult-label {
    color: var(--text-light);
}

.consult-value {
    color: var(--text-dark);
    font-weight: 600;
}

/* 响应式 */
@media (max-width: 992px) {
    .product-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 55px;
    }

    .page-header h1 {
        font-size: 1.7rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .products-section {
        padding: 55px 0;
    }

    .product-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .product-card,
    .product-card--gpu {
        padding: 20px;
    }

    .product-header {
        flex-wrap: wrap;
        gap: 14px;
        margin-bottom: 16px;
        padding-bottom: 16px;
    }

    .product-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        border-radius: 12px;
    }

    .product-icon svg {
        width: 26px;
        height: 26px;
    }

    .product-title h3 {
        font-size: 1.2rem;
    }

    .price-value {
        font-size: 1.5rem;
    }

    .product-price {
        width: 100%;
        text-align: left;
        margin-top: 10px;
    }

    .product-specs {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 16px;
    }

    .product-card--gpu .product-specs {
        gap: 8px;
    }

    .product-capabilities {
        margin-bottom: 16px;
    }

    .product-capabilities ul {
        flex-direction: column;
        gap: 8px;
    }

    .consult-section {
        padding: 55px 0;
    }

    .consult-section h2 {
        font-size: 1.6rem;
    }

    .consult-info {
        flex-direction: column;
        gap: 20px;
    }

    .consult-item {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .price-value {
        font-size: 1.35rem;
    }

    .consult-btn {
        padding: 11px 24px;
        font-size: 0.9rem;
    }
}
