/* ============================================
   AI Workflow Diagram - GIF with Full Watermark Cover
   Background: #111111
   ============================================ */

.ai-workflow-section {
    background: #111111;
    padding: 3rem 0;
    position: relative;
}

.ai-workflow-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.ai-workflow-section .section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.5rem;
}

.ai-workflow-section .section-subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: #94a3b8;
}

/* GIF Container */
.gif-diagram-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.gif-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    background: #111111;
}

/* The GIF Image */
.pipeline-gif {
    width: 100%;
    height: auto;
    display: block;
    background: #111111;
}

/* Top strip of watermark area */
.watermark-cover-top {
    position: absolute;
    bottom: 50px;
    right: 0;
    width: 280px;
    height: 15px;
    background: #111111;
    z-index: 10;
}

/* FULL Watermark Cover - Covers entire LinkedIn logo + username area */
.watermark-cover {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 280px;
    height: 50px;
    background: #111111;
    z-index: 10;
}

/* Simple Stats */
.workflow-stats-simple {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    padding: 1.5rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.25rem;
}

.stat-name {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive - only for stats, watermark covers stay fixed */
@media (max-width: 768px) {
    .gif-diagram-container {
        padding: 0 0.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .gif-wrapper {
        min-width: 600px;
        margin: 0 auto;
    }
    
    /* Hide top cover on mobile to fully reveal Data Pipeline */
    .watermark-cover-top {
        height: 0px; /* Hidden */
        bottom: 50px;
    }
    
    .workflow-stats-simple {
        gap: 1.5rem;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .gif-wrapper {
        min-width: 500px;
    }
    
    /* Hidden on smaller screens */
    .watermark-cover-top {
        height: 0px;
    }
}

/* Light Mode - keep dark background for GIF visibility */
.light-mode .ai-workflow-section {
    background: #111111;
}

.light-mode .ai-workflow-section .section-title {
    color: #f8fafc;
}

.light-mode .ai-workflow-section .section-subtitle {
    color: #94a3b8;
}

.light-mode .gif-wrapper {
    background: #111111;
}

.light-mode .watermark-cover-top,
.light-mode .watermark-cover {
    background: #111111;
}

.light-mode .stat-value {
    color: #f8fafc;
}

.light-mode .stat-name {
    color: #94a3b8;
}
