/* 主页内容响应式优化 */

/* 英雄横幅区域 */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
    margin: 32px 0;
    box-sizing: border-box;
}

.banner-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.55);
    pointer-events: none;
}

.hero-banner::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.32);
    z-index: 1.5;
}

.hero-content-row {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 48px 40px 48px;
    gap: 48px;
    box-sizing: border-box;
}
.hero-content {
    flex: 1 1 0;
    min-width: 320px;
    color: #fff;
    max-width: 600px;
    text-align: left;
    padding: 0;
}
.why-choose-right {
    flex: 1 1 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 0;
}
.why-console-img {
    max-width: 420px;
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(45,140,240,0.13);
    background: #fff;
    object-fit: cover;
    display: block;
}

.hero-content h1 {
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 18px;
    line-height: 1.2;
}

.hero-content .description {
    font-size: 1.1rem;
    margin-bottom: 32px;
    color: #e0e3ea;
}

.hero-content .cta-button {
    display: inline-flex;
    align-items: center;
    background: #1ecb7a;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 32px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(30,203,122,0.10);
    transition: all 0.2s ease;
    min-height: 48px;
}

.hero-content .cta-button:hover {
    background: #18b06a;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(30,203,122,0.20);
}

.hero-content .cta-button svg {
    width: 1.5em;
    height: 1.5em;
    margin-right: 8px;
}

/* 云产品区域 */
.cloud-products {
    margin: 40px 0 0 0;
    text-align: center;
}

.cloud-products h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #222;
}

.cloud-products .subtitle {
    color: #888;
    margin-bottom: 28px;
    font-size: 1.1rem;
}

.cloud-product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    padding: 0 20px;
}

.cloud-product-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 32px 28px 24px 28px;
    min-width: 240px;
    max-width: 300px;
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.cloud-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: #e0e3ea;
}

.cloud-product-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    transition: transform 0.2s ease;
}

.cloud-product-card:hover img {
    transform: scale(1.1);
}

.cloud-product-card .title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 6px;
    color: #222;
}

.cloud-product-card .description {
    color: #888;
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.cloud-product-card .price {
    font-size: 1.5rem;
    color: #ff5722;
    font-weight: bold;
    margin-bottom: 18px;
}

.cloud-product-card .price .unit {
    font-size: 1rem;
    color: #888;
}

.cloud-product-card .buy-button {
    display: block;
    width: 100%;
    background: #1ecb7a;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(30,203,122,0.08);
    transition: all 0.2s ease;
    text-decoration: none;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cloud-product-card .buy-button:hover {
    background: #18b06a;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(30,203,122,0.15);
}

/* 移动端适配 */
@media (max-width: 600px) {
    .hero-banner {
        min-height: 280px;
        margin: 16px 0;
        border-radius: 12px;
    }
    
    .hero-content {
        padding: 0 20px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .hero-content .description {
        font-size: 1rem;
        margin-bottom: 24px;
        line-height: 1.5;
    }
    
    .hero-content .cta-button {
        font-size: 1rem;
        padding: 10px 24px;
        min-height: 44px;
    }
    
    .cloud-products {
        margin: 24px 0 0 0;
    }
    
    .cloud-products h2 {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
    
    .cloud-products .subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .cloud-product-list {
        gap: 16px;
        padding: 0 12px;
    }
    
    .cloud-product-card {
        min-width: 200px;
        max-width: none;
        flex: 1 1 100%;
        padding: 24px 20px 20px 20px;
        border-radius: 12px;
    }
    
    .cloud-product-card .title {
        font-size: 1.1rem;
    }
    
    .cloud-product-card .description {
        font-size: 14px;
    }
    
    .cloud-product-card .price {
        font-size: 1.3rem;
    }
    
    .cloud-product-card .buy-button {
        font-size: 1rem;
        padding: 10px 0;
        min-height: 44px;
    }
}

/* 平板端适配 */
@media (min-width: 601px) and (max-width: 900px) {
    .hero-banner {
        min-height: 300px;
        margin: 24px 0;
    }
    
    .hero-content {
        padding: 0 30px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .cloud-product-list {
        gap: 24px;
        padding: 0 16px;
    }
    
    .cloud-product-card {
        min-width: 220px;
        flex: 1 1 45%;
    }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    .hero-banner {
        min-height: 240px;
        margin: 12px 0;
        border-radius: 8px;
    }
    
    .hero-content {
        padding: 0 16px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .hero-content .description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .hero-content .cta-button {
        font-size: 0.9rem;
        padding: 2px 1px;
        min-height: 40px;
    }
    
    .cloud-product-list {
        gap: 12px;
        padding: 0 8px;
    }
    
    .cloud-product-card {
        padding: 20px 16px 16px 16px;
        border-radius: 8px;
    }
    
    .cloud-product-card .title {
        font-size: 1rem;
    }
    
    .cloud-product-card .description {
        font-size: 10px;
    }
    
    .cloud-product-card .price {
        font-size: 1.2rem;
    }
    
    .cloud-product-card .buy-button {
        font-size: 0.9rem;
        padding: 8px 0;
        min-height: 40px;
    }
} 

@media (max-width: 900px) {
    .hero-content-row {
        flex-direction: column;
        gap: 24px;
        padding: 32px 12px 18px 12px;
    }
    .why-choose-right {
        width: 100%;
        justify-content: center;
    }
    .why-console-img {
        max-width: 100%;
        min-width: 0;
    }
} 