 /* Showcase Section */
.showcase {
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.showcase-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.showcase-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(192, 192, 192, 0.03) 100%);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.05),
                inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(168, 85, 247, 0.2),
                inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Browser Frame */
.browser-frame {
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(20px);
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.browser-dots {
    display: flex;
    gap: 0.5rem;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease;
}

.browser-dot:nth-child(1) {
    background: #ff5f57;
}

.browser-dot:nth-child(2) {
    background: #ffbd2e;
}

.browser-dot:nth-child(3) {
    background: #28ca42;
}

.browser-frame:hover .browser-dot {
    background: rgba(255, 255, 255, 0.4);
}

.browser-frame:hover .browser-dot:nth-child(1) {
    background: #ff5f57;
}

.browser-frame:hover .browser-dot:nth-child(2) {
    background: #ffbd2e;
}

.browser-frame:hover .browser-dot:nth-child(3) {
    background: #28ca42;
}

/* Showcase Image */
.showcase-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0a0a0a;
}

.showcase-image img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    animation: fadeInImage 1.5s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes fadeInImage {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Particles Animation */
.showcase-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    bottom: -20px;
    width: 4px;
    height: 4px;
    background: rgba(168, 85, 247, 0.6);
    border-radius: 50%;
    filter: blur(0px);
    animation: floatParticle 20s linear infinite;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.particle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: particleGlow 2s ease-in-out infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-800px) translateX(100px);
        opacity: 0;
    }
}

@keyframes particleGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

/* Alternate particle colors */
.particle:nth-child(odd) {
    background: rgba(192, 192, 192, 0.5);
    animation-duration: 25s;
    width: 3px;
    height: 3px;
}

.particle:nth-child(3n) {
    background: rgba(255, 255, 255, 0.3);
    animation-duration: 30s;
    width: 5px;
    height: 5px;
}

/* Shimmer effect on hover */
.showcase-wrapper::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s;
    pointer-events: none;
}

.showcase-wrapper:hover::before {
    top: 100%;
    left: 100%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .showcase {
        padding: 5rem 0;
    }
    
    .browser-frame {
        padding: 0.75rem;
    }
    
    .browser-dot {
        width: 10px;
        height: 10px;
    }
    
    .particle {
        display: none; /* Disable particles on mobile for performance */
    }
    
    .showcase-wrapper {
        border-radius: 12px;
    }
}

/* AI Features Section */
.ai-features {
    padding: 10rem 0;
    background: rgba(168, 85, 247, 0.02);
    position: relative;
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.ai-feature {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.ai-feature:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.3);
    background: rgba(168, 85, 247, 0.05);
}

.ai-feature h3 {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #fafafa;
}

.ai-feature p {
    color: #999;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Use Cases Section */
.use-cases {
    padding: 10rem 0;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.use-case {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(192, 192, 192, 0.02) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.use-case:hover {
    transform: scale(1.02);
    border-color: rgba(168, 85, 247, 0.3);
}

.use-case h4 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #a855f7;
}

.use-case p {
    color: #ccc;
    line-height: 1.6;
    font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ai-features, .use-cases {
        padding: 5rem 0;
    }
    
    .ai-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .use-case-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-feature, .use-case {
        padding: 1.5rem;
    }
}

/* Video Sections - Full Width Layout */
.video-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.video-section-1 {
    background: linear-gradient(180deg, transparent 0%, rgba(168, 85, 247, 0.03) 50%, transparent 100%);
}

.video-section-2 {
    background: linear-gradient(180deg, transparent 0%, rgba(192, 192, 192, 0.03) 50%, transparent 100%);
}

.video-wrapper {
    max-width: 100%; /* Full width */
    margin: 0 auto;
    padding: 0 60px; /* Padding to prevent edge touching */
}

.video-container {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
}

.video-container.horizontal {
    aspect-ratio: 3/1; /* Very wide ratio to show more horizontal content */
    max-height: 700px; /* Increased height limit */
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from 'cover' to 'contain' to show full video */
    display: block;
    background: #000; /* Black background for letterboxing if needed */
}

/* Alternative: If you want to fill width and accept some vertical cropping */
.video-container.horizontal.fill-width video {
    object-fit: cover;
    object-position: center center; /* Ensures centering */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.2) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    pointer-events: none;
}

/* Cinematic border glow */
.video-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        rgba(168, 85, 247, 0.3),
        rgba(192, 192, 192, 0.2),
        rgba(168, 85, 247, 0.3)
    );
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.video-container:hover::before {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 1600px) {
    .video-wrapper {
        padding: 0 40px;
    }
    
    .video-container.horizontal {
        aspect-ratio: 2.5/1;
    }
}

@media (max-width: 1200px) {
    .video-wrapper {
        padding: 0 30px;
    }
    
    .video-container.horizontal {
        aspect-ratio: 2/1;
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .video-section {
        padding: 4rem 0;
    }
    
    .video-wrapper {
        padding: 0 20px;
    }
    
    .video-container {
        border-radius: 12px;
    }
    
    .video-container.horizontal {
        aspect-ratio: 16/9;
        max-height: 350px;
    }
}

@media (max-width: 480px) {
    .video-wrapper {
        padding: 0 10px;
    }
    
    .video-container.horizontal {
        aspect-ratio: 16/9;
        max-height: 250px;
    }
}