/* ==========================================
   IMAGE PLACEHOLDERS
   VoiceAgent Pro - Fallback Images
   ========================================== */

/* Placeholder para imágenes faltantes */
.image-placeholder {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    border-radius: var(--border-radius);
}

/* Phone mockup placeholder */
.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--gradient-primary);
    border-radius: 30px;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.1);
}

.phone-screen {
    position: absolute;
    top: 50px;
    left: 20px;
    right: 20px;
    bottom: 50px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

.phone-content {
    text-align: center;
    color: #333;
}

.phone-icon {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 10px;
}

/* Video thumbnail placeholder */
.video-thumbnail {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover {
    transform: scale(1.05);
}

.play-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
}

.play-icon i {
    font-size: 30px;
    color: white;
    margin-left: 5px;
}

/* Logo placeholders */
.logo-placeholder {
    width: 80px;
    height: 40px;
    background: rgba(14, 165, 233, 0.1);
    border: 2px solid rgba(14, 165, 233, 0.3);
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: bold;
    font-size: 12px;
    margin: 0 10px;
    transition: var(--transition);
}

.logo-placeholder:hover {
    background: rgba(14, 165, 233, 0.2);
    transform: translateY(-2px);
}

/* Testimonial avatar placeholder */
.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

/* Favicon placeholder */
.favicon-placeholder {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

/* Fallback para imágenes rotas */
img[src*="logo1.png"],
img[src*="logo2.png"],
img[src*="logo3.png"],
img[src*="logo4.png"],
img[src*="logo5.png"],
img[src*="logo6.png"],
img[src*="logo7.png"] {
    display: none;
}

img[src*="logo1.png"] + .logo-placeholder::after,
img[src*="logo2.png"] + .logo-placeholder::after,
img[src*="logo3.png"] + .logo-placeholder::after {
    content: "LOGO " attr(data-logo);
}

img[src*="testimonial1.jpg"] {
    display: none;
}

img[src*="phone-mockup.png"] {
    display: none;
}

img[src*="video-thumbnail.jpg"] {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .phone-mockup {
        width: 220px;
        height: 440px;
    }
    
    .logo-placeholder {
        width: 60px;
        height: 30px;
        font-size: 10px;
        margin: 0 5px;
    }
    
    .video-thumbnail {
        height: 200px;
    }
    
    .play-icon {
        width: 60px;
        height: 60px;
    }
    
    .play-icon i {
        font-size: 24px;
    }
}