/* Animações adicionais para a seção do vídeo */
@keyframes phoneGlow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    }
    50% { 
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.5), 0 0 40px rgba(236, 72, 153, 0.2);
    }
}

.video-container {
    animation: phoneGlow 3s ease-in-out infinite;
}

/* Efeito de hover no container do vídeo */
.video-section:hover .video-container {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Animação das estatísticas */
@keyframes statFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-item {
    animation: statFadeIn 0.6s ease-out forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }

/* Responsividade ultra detalhada */

/* Mobile extra pequeno (320px - 374px) */
@media (max-width: 374px) {
    .video-container {
        max-width: 200px !important;
    }
    
    .stat-item {
        padding: 0.5rem !important;
    }
    
    .stat-number {
        font-size: 1rem !important;
    }
    
    .stat-label {
        font-size: 0.625rem !important;
    }
}

/* Mobile pequeno (375px - 479px) */
@media (min-width: 375px) and (max-width: 479px) {
    .video-container {
        max-width: 240px;
    }
    
    .phone-mockup {
        padding: 1rem;
    }
}

/* Mobile médio (480px - 639px) */
@media (min-width: 480px) and (max-width: 639px) {
    .video-container {
        max-width: 280px;
    }
    
    .decorative-elements {
        display: block;
        opacity: 0.3;
    }
}

/* Tablet pequeno (640px - 767px) */
@media (min-width: 640px) and (max-width: 767px) {
    .video-container {
        max-width: 320px;
    }
    
    .title-section h3 {
        font-size: 1.5rem;
    }
    
    .subtitle-section p {
        font-size: 1rem;
    }
}

/* Tablet médio (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .video-container {
        max-width: 360px;
    }
    
    .main-container {
        padding: 2rem;
    }
    
    .stats-grid {
        gap: 1rem;
    }
}

/* Desktop pequeno (1024px - 1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
    .video-container {
        max-width: 400px;
    }
    
    .arrow-decorations {
        display: block;
    }
}

/* Desktop médio (1280px - 1535px) */
@media (min-width: 1280px) and (max-width: 1535px) {
    .video-container {
        max-width: 440px;
    }
    
    .main-container {
        padding: 3rem;
    }
}

/* Desktop grande (1536px+) */
@media (min-width: 1536px) {
    .video-container {
        max-width: 480px;
    }
    
    .arrow-decorations {
        transform: scale(1.2);
    }
}

/* Ajustes para orientação landscape em móveis */
@media (max-height: 500px) and (orientation: landscape) {
    .main-container {
        padding: 1rem !important;
    }
    
    .title-section {
        margin-bottom: 1rem !important;
    }
    
    .decorative-elements {
        display: none !important;
    }
}

/* Ajustes para dispositivos com notch */
@supports (padding-top: env(safe-area-inset-top)) {
    .main-container {
        padding-top: calc(1rem + env(safe-area-inset-top));
    }
}

/* Performance otimizada para animações */
@media (prefers-reduced-motion: reduce) {
    .video-container,
    .stat-item,
    .decorative-elements {
        animation: none !important;
    }
    
    .hover-effects:hover {
        transform: none !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .badges {
        background: rgba(0, 0, 0, 0.8);
        color: white;
    }
    
    .stats-background {
        background: rgba(0, 0, 0, 0.1);
    }
}

/* Acessibilidade - High contrast mode */
@media (prefers-contrast: high) {
    .video-container {
        border: 3px solid #000;
    }
    
    .badges {
        border: 2px solid #000;
        background: #fff;
        color: #000;
    }
}

/* Ajustes para impressão */
@media print {
    .video-container,
    .decorative-elements,
    .arrow-decorations {
        display: none !important;
    }
    
    .main-container {
        background: white !important;
        box-shadow: none !important;
    }
}