/* ============================================
   Home Page Showcase Sections
   CloudCenmax & MaxPlane product spotlights
   ============================================ */

.section-showcase {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.section-showcase .container {
    position: relative;
    z-index: 1;
}

/* Atmospheric background glows */
.showcase-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.showcase-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.4;
}

.showcase-glow-1 {
    width: 520px;
    height: 520px;
    top: -160px;
    left: -120px;
}

.showcase-glow-2 {
    width: 460px;
    height: 460px;
    bottom: -180px;
    right: -120px;
}

/* Per-product gradient accents */
.section-cloudcenmax .showcase-glow-1 {
    background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
}
.section-cloudcenmax .showcase-glow-2 {
    background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
}
.section-cloudcenmax .showcase-gradient-text {
    background-image: linear-gradient(135deg, #6366f1, #06b6d4, #10b981);
}

.section-maxplane .showcase-glow-1 {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}
.section-maxplane .showcase-glow-2 {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
}
.section-maxplane .showcase-gradient-text {
    background-image: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
}

.section-maxplane {
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.03), rgba(236, 72, 153, 0.03));
}

/* Gradient headline text */
.showcase-gradient-text {
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 0.15em;
}

/* Badge with pulse dot */
.showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.showcase-badge .badge-pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* Feature grid */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.showcase-grid-compact {
    gap: 1.25rem;
}

.showcase-feature {
    padding: 2rem 1.75rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)),
                border-color 0.3s ease, box-shadow 0.3s ease;
}

.showcase-feature:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.12);
}

.showcase-feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1.25rem;
}

.section-cloudcenmax .showcase-feature-icon {
    background: linear-gradient(135deg, #6366f1, #06b6d4);
}
.section-maxplane .showcase-feature-icon {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.showcase-feature h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.showcase-feature p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.6);
    margin: 0;
}

/* Supported-stack pills (MaxPlane) */
.showcase-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.showcase-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a2e;
}

.showcase-pill i {
    color: #8b5cf6;
    font-size: 1rem;
}

/* Highlight stats row (CloudCenmax) */
.showcase-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1.75rem 3rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto 3rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.showcase-stat {
    text-align: center;
}

.showcase-stat-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.showcase-stat-label {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
}

.showcase-stat-divider {
    width: 1px;
    height: 38px;
    background: rgba(0, 0, 0, 0.12);
}

/* CTAs */
.showcase-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 992px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-showcase {
        padding: 70px 0;
    }

    .showcase-stats {
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .showcase-stat-divider {
        display: none;
    }

    .showcase-stat {
        flex: 1 1 40%;
    }

    .showcase-ctas {
        flex-direction: column;
        align-items: center;
    }
}

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