/* ===== Page Banner - Product ===== */
.page-banner {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 64px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.page-banner-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(37, 99, 235, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(37, 99, 235, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.page-banner-wrap {
    position: relative;
    z-index: 2;
    width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.page-banner-content {
    animation: fadeInUp 0.8s ease-out;
    text-align: left;
}

.page-banner-title {
    font-size: var(--text-4xl);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.page-banner-desc {
    font-size: var(--text-base);
    color: var(--text-secondary);
    max-width: 560px;
}

.banner-product {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
}

.banner-product .page-banner-title {
    color: #1E40AF;
}

/* ===== Product Cards ===== */
.pain-points {
    padding: 100px 0;
    background: var(--bg);
}

.section-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: 56px;
    color: var(--text-primary);
}

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

.pain-card {
    background: var(--bg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    cursor: default;
    background: linear-gradient(231deg, rgba(224, 234, 250, 1) 0%, rgba(224, 234, 250, 0) 100%);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 16px;
}

.pain-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.pain-title {
    font-size: var(--text-md);
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.pain-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.advantage-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.advantage-link:hover {
    gap: 8px;
    color: var(--primary-dark);
}

/* ===== Ecosystem Section ===== */
.ecosystem-section {
    padding: 48px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-subtitle {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-top: 16px;
}

/* Ecosystem Grid - 重写样式 */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.ecosystem-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
}

.ecosystem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6, #EC4899);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.ecosystem-card:hover::before {
    transform: scaleX(1);
}

.ecosystem-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.ecosystem-card:hover .ecosystem-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

.ecosystem-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.ecosystem-card:hover .ecosystem-icon img {
    transform: scale(1.1);
}

.ecosystem-name {
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.ecosystem-card:hover .ecosystem-name {
    color: #3B82F6;
}

.ecosystem-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
}

.cta-content {
    text-align: center;
    color: #fff;
}

.cta-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: var(--text-base);
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.cta-buttons .btn-outline {
    border-color: #fff;
    color: #fff;
}

.cta-buttons .btn-outline:hover {
    background: #fff;
    color: #1E40AF;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .pain-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ecosystem-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .ecosystem-card {
        padding: 24px 16px;
    }
    
    .ecosystem-icon {
        width: 64px;
        height: 64px;
    }
    
    .ecosystem-icon img {
        width: 36px;
        height: 36px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 640px) {
    .pain-grid {
        grid-template-columns: 1fr;
    }

    .page-banner-title {
        font-size: var(--text-2xl);
    }
    
    .ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .section-title {
        font-size: var(--text-xl);
    }
}

@media (max-width: 480px) {
    .ecosystem-grid {
        grid-template-columns: 1fr;
    }
}
