/* ========================================
   CLOUD PHONE SHOWCASE BANNER
   Homepage promotional section
   ======================================== */

.cp-showcase {
    margin: 24px auto;
    max-width: 1400px;
    padding: 0 1rem;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.cp-showcase-inner {
    position: relative;
    background: linear-gradient(135deg, #0f0a2e 0%, #1a1145 40%, #0c1445 100%);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 20px;
    padding: 48px 32px;
    overflow: hidden;
    text-align: center;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}

.cp-showcase-inner:hover {
    border-color: rgba(124, 58, 237, 0.6);
    box-shadow: 
        0 0 30px rgba(124, 58, 237, 0.15),
        0 0 60px rgba(124, 58, 237, 0.08),
        0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* ---------- Particles ---------- */
.cp-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cp-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(167, 139, 250, 0.4);
    border-radius: 50%;
    animation: cpParticleFloat 8s infinite ease-in-out;
}

.cp-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 7s; }
.cp-particles span:nth-child(2) { left: 25%; top: 80%; animation-delay: 1s; animation-duration: 9s; }
.cp-particles span:nth-child(3) { left: 45%; top: 10%; animation-delay: 2s; animation-duration: 6s; width: 6px; height: 6px; }
.cp-particles span:nth-child(4) { left: 65%; top: 70%; animation-delay: 3s; animation-duration: 10s; }
.cp-particles span:nth-child(5) { left: 80%; top: 30%; animation-delay: 0.5s; animation-duration: 8s; width: 5px; height: 5px; }
.cp-particles span:nth-child(6) { left: 15%; top: 50%; animation-delay: 4s; animation-duration: 7.5s; }
.cp-particles span:nth-child(7) { left: 55%; top: 90%; animation-delay: 1.5s; animation-duration: 6.5s; width: 3px; height: 3px; }
.cp-particles span:nth-child(8) { left: 90%; top: 15%; animation-delay: 2.5s; animation-duration: 9.5s; }
.cp-particles span:nth-child(9) { left: 35%; top: 40%; animation-delay: 3.5s; animation-duration: 8.5s; width: 5px; height: 5px; }
.cp-particles span:nth-child(10) { left: 75%; top: 60%; animation-delay: 0.8s; animation-duration: 7.2s; }

@keyframes cpParticleFloat {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    25% { transform: translateY(-20px) translateX(10px); opacity: 0.7; }
    50% { transform: translateY(-10px) translateX(-8px); opacity: 0.5; }
    75% { transform: translateY(-25px) translateX(5px); opacity: 0.8; }
}

/* ---------- Shimmer ---------- */
.cp-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(167, 139, 250, 0.06) 40%,
        rgba(124, 58, 237, 0.1) 50%,
        rgba(167, 139, 250, 0.06) 60%,
        transparent 100%
    );
    animation: cpShimmer 5s infinite ease-in-out;
    pointer-events: none;
}

@keyframes cpShimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* ---------- Badge ---------- */
.cp-showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    animation: cpBadgePulse 2.5s infinite ease-in-out;
    position: relative;
    z-index: 2;
}

.cp-badge-dot {
    width: 8px;
    height: 8px;
    background: #fbbf24;
    border-radius: 50%;
    animation: cpDotPulse 1.5s infinite;
}

@keyframes cpBadgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(124, 58, 237, 0); }
}

@keyframes cpDotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ---------- Icon ---------- */
.cp-showcase-icon {
    position: relative;
    z-index: 2;
    margin-bottom: 16px;
}

.cp-phone-float {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    animation: cpPhoneFloat 3s infinite ease-in-out;
}

.cp-phone-float .bx-cloud {
    font-size: 52px;
    color: rgba(167, 139, 250, 0.6);
    filter: drop-shadow(0 0 12px rgba(167, 139, 250, 0.3));
}

.cp-phone-float .cp-phone-icon {
    font-size: 40px;
    color: #a78bfa;
    margin-left: -12px;
    margin-top: 8px;
    filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.4));
}

@keyframes cpPhoneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ---------- Title ---------- */
.cp-showcase-title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 20px rgba(124, 58, 237, 0.3);
}

/* ---------- Subtitle ---------- */
.cp-showcase-subtitle {
    font-size: 16px;
    color: #a5b4c8;
    margin: 0 0 24px;
    position: relative;
    z-index: 2;
}

.cp-showcase-subtitle strong {
    color: #fbbf24;
    font-weight: 700;
}

/* ---------- CTA ---------- */
.cp-showcase-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.cp-showcase-inner:hover .cp-showcase-cta {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 6px 30px rgba(124, 58, 237, 0.5);
    transform: translateY(-1px);
}

.cp-showcase-cta .bx {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.cp-showcase-inner:hover .cp-showcase-cta .bx {
    transform: translateX(4px);
}

/* ---------- Glow orbs (decorative) ---------- */
.cp-showcase-inner::before,
.cp-showcase-inner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.cp-showcase-inner::before {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
    top: -100px;
    right: -60px;
}

.cp-showcase-inner::after {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    bottom: -80px;
    left: -40px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .cp-showcase {
        padding: 0 12px;
        margin: 16px auto;
    }
    
    .cp-showcase-inner {
        padding: 36px 20px;
        border-radius: 16px;
    }
    
    .cp-showcase-title {
        font-size: 28px;
    }
    
    .cp-showcase-subtitle {
        font-size: 14px;
    }
    
    .cp-showcase-cta {
        padding: 12px 28px;
        font-size: 14px;
    }
    
    .cp-phone-float .bx-cloud {
        font-size: 40px;
    }
    
    .cp-phone-float .cp-phone-icon {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .cp-showcase-inner {
        padding: 28px 16px;
    }
    
    .cp-showcase-title {
        font-size: 24px;
    }
    
    .cp-showcase-badge {
        font-size: 10px;
        padding: 5px 14px;
    }
}
