.product-center {
    background: linear-gradient(135deg, #f8f9ff 0%, #e9ecef 100%);
    padding: 30px 0;
    margin-top: -20px;
    opacity: 0;
    transform: scale(0.95);
    animation: fadeInScale 1s ease forwards;
    animation-delay: 0.2s;
}

.product-center .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-center .section-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: scale(0.95);
    animation: fadeInScale 0.8s ease forwards;
    animation-delay: 0.4s;
}

.product-center .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    display: inline-block;
}

.product-center .section-subtitle {
    font-size: 18px;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

.product-center .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    opacity: 0;
    transform: scale(0.95);
    animation: fadeInScale 0.8s ease forwards;
    animation-delay: 0.6s;
}

.product-center .product-item {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-center .product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.product-center .product-item .badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.product-center .product-item .badge.hot {
    background: #ff6b6b;
    color: #fff;
}

.product-center .product-item .badge.new {
    background: #4ecdc4;
    color: #fff;
}

.product-center .product-item .badge.cloud {
    background: #45b7d1;
    color: #fff;
}

/* 产品徽章样式 */
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    z-index: 2;
    animation: badgePulse 2s ease-in-out infinite alternate;
}

@keyframes badgePulse {
    from {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    }
    to {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.5);
    }
}

/* 通用产品项样式 */
.product-item {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.product-center .product-item h3,
.product-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.product-center .product-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-center .product-item .product-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #007bff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-center .product-item .product-link:hover {
    color: #0056b3;
    transform: translateX(5px);
}

.product-center .product-item .product-link::after {
    content: '→';
    margin-left: 5px;
    transition: all 0.3s ease;
}

.product-center .product-item .product-link:hover::after {
    margin-left: 10px;
}

.product-center .loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    text-align: center;
}

.product-center .loading-spinner {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.product-center .loading-dot {
    width: 12px;
    height: 12px;
    background: #007bff;
    border-radius: 50%;
    animation: pulse 1.5s infinite ease-in-out;
}

.product-center .loading-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.product-center .loading-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

.product-center .loading-text {
    font-size: 14px;
    color: #666;
}

.product-center .error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    text-align: center;
    color: #ff4757;
}

.region-tabs {
    margin-bottom: 40px;
    text-align: center;
    background: #007bff;
    border-radius: 8px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.region-tab {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
}

.region-tab.active {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: none;
}

.region-tab:not(.active):hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.view-all-btn {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    outline: none;
    text-decoration: none;
}

.view-all-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

/* 背景悬浮窗样式 */
.background-floating-window {
    position: relative;
    margin-bottom: 40px;
    opacity: 0;
    transform: scale(0.95);
    animation: fadeInScale 0.8s ease forwards;
    animation-delay: 0.3s;
}

.background-floating-window .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.floating-content {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.floating-content:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

.announcement-header {
    font-weight: 700;
    margin-right: 20px;
    white-space: nowrap;
    font-size: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 0 20px rgba(255,255,255,0.5);
    padding-right: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(45deg, #fff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from {
        text-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 0 20px rgba(255,255,255,0.5);
    }
    to {
        text-shadow: 0 2px 6px rgba(0,0,0,0.4), 0 0 30px rgba(255,255,255,0.8), 0 0 40px rgba(0,123,255,0.6);
    }
}

.announcement-scroll-container {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding-left: 20px;
}

.announcement-scroll-container #announcementText {
    display: inline-block;
    animation: scrollLeft 20s linear infinite;
    padding-right: 100%;
}

.announcement-scroll-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(to right, rgba(0,123,255,0.8), transparent);
    z-index: 1;
}

.announcement-scroll-container::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(to left, rgba(0,123,255,0.8), transparent);
    z-index: 1;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .floating-content {
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .announcement-header {
        font-size: 14px;
        margin-right: 0;
        margin-bottom: 10px;
        padding-right: 0;
        border-right: none;
        border-bottom: 2px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 8px;
        width: 100%;
        background: linear-gradient(45deg, #fff, #e3f2fd);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: titleGlow 2s ease-in-out infinite alternate;
    }
    
    .announcement-scroll-container {
        padding-left: 0;
        width: 100%;
    }
    
    .announcement-scroll-container #announcementText {
        animation: scrollLeft 15s linear infinite;
    }
}

@media (max-width: 480px) {
    .floating-content {
        padding: 12px 16px;
        border-radius: 8px;
    }
    
    .announcement-header {
        font-size: 13px;
        margin-bottom: 8px;
        background: linear-gradient(45deg, #fff, #e3f2fd);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: titleGlow 2s ease-in-out infinite alternate;
    }
    
    .announcement-scroll-container #announcementText {
        font-size: 13px;
        animation: scrollLeft 12s linear infinite;
    }
}
