/* 业务页面特有样式 - PC端 */

.page-header {
    background: linear-gradient(135deg, #0052d9 0%, #05a8ff 100%);
    padding: 100px 40px;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 20px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.business-card {
    background: white;
    border-radius: 20px;
    padding: 45px 35px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.4s, box-shadow 0.4s;
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.business-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.business-title {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.business-subtitle {
    font-size: 16px;
    color: #888;
    margin-bottom: 35px;
}

.business-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.category-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.3s, transform 0.3s;
}

.category-card:hover {
    background: #e8f8f2;
    transform: translateX(5px);
}

.category-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0052d9 0%, #05a8ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.category-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.products-section {
    background: #f8f9fa;
    padding: 80px 0;
    margin-bottom: 80px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.4s, box-shadow 0.4s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.product-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0052d9 0%, #05a8ff 100%);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-image-container:hover .product-image {
    transform: scale(1.05);
}

.product-qr-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.product-image-container:hover .product-qr-overlay {
    opacity: 1;
}

.qr-code {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.qr-label {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.product-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.product-slogan {
    font-size: 14px;
    color: #0052d9;
    margin-bottom: 15px;
}

.product-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* 手机端样式 */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 20px;
        margin-top: 60px;
    }

    .page-title {
        font-size: 32px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .business-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .business-card {
        padding: 30px 20px;
    }

    .business-icon {
        width: 70px;
        height: 70px;
    }

    .business-title {
        font-size: 22px;
    }

    .business-categories {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .products-section {
        padding: 40px 0;
        margin-bottom: 40px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        padding: 25px;
    }

    .product-icon {
        background: transparent;
        width: 60px;
        height: 60px;
    }

    .product-image-container {
        height: 120px;
    }

    .qr-code {
        width: 80px;
        height: 80px;
    }

    .product-name {
        font-size: 18px;
    }

    .product-slogan {
        font-size: 13px;
    }

    .product-desc {
        font-size: 13px;
    }
}