/* Hero Video Styling - 4K Video */

.hero-video-container {
    width: 100%;
    max-width: 800px;
    margin: 24px auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
    position: relative;
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    background: #000;
}

/* Add a subtle glow effect around the video */
.hero-video-container::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.5), rgba(168, 85, 247, 0.5));
    border-radius: 18px;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.6;
}

/* Mobile: make video smaller */
@media (max-width: 767px) {
    .hero-video-container {
        max-width: 100%;
        margin: 20px 0;
        border-radius: 12px;
    }
    
    .hero-video {
        border-radius: 12px;
    }
    
    .hero-video-container::after {
        display: none; /* Remove glow on mobile for performance */
    }
}

/* Desktop: larger and centered in hero */
@media (min-width: 768px) {
    .hero-video-container {
        max-width: 900px;
        margin: 32px 0;
    }
}

/* Large desktop: even bigger for 4K display */
@media (min-width: 1440px) {
    .hero-video-container {
        max-width: 1100px;
    }
}

/* Ensure video loads smoothly */
.hero-video {
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
}

/* Loading state - show a dark placeholder while video loads */
.hero-video-container {
    background: linear-gradient(135deg, #1a1a24, #0a0a0f);
}
