.workflow-container {
    display: flex;
    align-items: center;
    gap: 60px;
    /* max-width: 800px; */
    width: 100%;
    justify-content: center;
    position: relative;
}

.workflow-step {
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.workflow-step:hover {
    transform: translateY(-5px);
}

.workflow-icon-container {
    width: 150px;
    height: 150px;
    border: 2px solid #333;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    /* background: linear-gradient(135deg, #1a1a1a, #2a2a2a); */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.workflow-step:hover .workflow-icon-container {
    border-color: #6366f1;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.workflow-icon-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.3s ease;
}

.workflow-step:hover .workflow-icon-container::before {
    left: 100%;
}

.workflow-icon {
    width: 65px;
    height: 65px;
    position: relative;
}

.workflow-icon-container.active {
    border: 2px solid var(--font-color);
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
}

.step-label {
    color: #e5e5e5;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-description {
    color: #888;
    font-size: 14px;
    width: 100%;
}

.arrow {
    color: var(--font-color);
    font-size: 24px;
    animation: pulse 2s infinite;
}

@media (max-width: 768px) {
    .workflow-container .arrow {
        transform: rotate(90deg) !important;
    }
}

@media (min-width: 768px) {
    .workflow-container .arrow {
        position: relative !important;
        top: -1.5em !important;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}


/* Idea Icon Styles */
.idea-icon {
    position: relative;
}

.lightbulb-base {
    width: 32px;
    height: 40px;
    background: linear-gradient(135deg, #fff3a0 0%, #ffeb3b 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border: 2px solid #f57f17;
}

.lightbulb-filament {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
}

.filament-line {
    width: 10px;
    height: 1.5px;
    background: #d84315;
    margin: 2px auto;
    border-radius: 1px;
    opacity: 0.8;
}

.filament-line:nth-child(2) {
    width: 12px;
}

.filament-line:nth-child(3) {
    width: 8px;
}

.lightbulb-screw {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 12px;
    background: #9e9e9e;
    border-radius: 0 0 6px 6px;
}

.screw-thread {
    width: 100%;
    height: 1.5px;
    background: #757575;
    margin: 2px 0;
    border-radius: 1px;
}



/* Script Icon Styles */



.script-icon {
    position: relative;
    left: 10px;
}

.script-paper {
    width: 36px;
    height: 44px;
    background: #f8f9fa;
    border-radius: 4px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.script-paper::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 6px;
    right: 6px;
    height: 2px;
    background: #6366f1;
    border-radius: 1px;
}

.script-lines {
    position: absolute;
    top: 16px;
    left: 6px;
    right: 6px;
}

.script-line {
    height: 2px;
    background: #333;
    margin-bottom: 4px;
    border-radius: 1px;
    opacity: 0;
    animation: typewriter 3s infinite;
}

.script-line:nth-child(1) {
    animation-delay: 0.2s;
    width: 80%;
}

.script-line:nth-child(2) {
    animation-delay: 0.6s;
    width: 90%;
}

.script-line:nth-child(3) {
    animation-delay: 1s;
    width: 70%;
}

.script-line:nth-child(4) {
    animation-delay: 1.4s;
    width: 85%;
}

.pen {
    position: absolute;
    right: 10px;
    bottom: 24px;
    width: 20px;
    height: 3px;
    background: #6366f1;
    border-radius: 2px;
    transform: rotate(45deg);
    animation: writing 3s infinite;
}

.pen::before {
    content: '';
    position: absolute;
    right: -2px;
    top: -1px;
    width: 4px;
    height: 5px;
    background: #333;
    border-radius: 1px;
}

@keyframes typewriter {

    0%,
    20% {
        opacity: 0;
        width: 0;
    }

    50%,
    100% {
        opacity: 1;
    }
}

@keyframes writing {

    0%,
    100% {
        transform: rotate(45deg) translateY(0);
    }

    25% {
        transform: rotate(45deg) translateY(-2px);
    }

    75% {
        transform: rotate(45deg) translateY(1px);
    }
}

/* Voiceover Icon Styles */
.voiceover-icon {
    position: relative;
}

.microphone {
    width: 16px;
    height: 28px;
    background: #6366f1;
    border-radius: 8px 8px 8px 8px;
    position: relative;
    margin: 0 auto 8px;
    margin-top: 6px;
}

.mic-stand {
    width: 2px;
    height: 12px;
    background: #888;
    margin: 0 auto;
}

.mic-base {
    width: 20px;
    height: 3px;
    background: #888;
    border-radius: 2px;
    margin: 2px auto 0;
}

.sound-waves {
    position: absolute;
    right: -12px;
    top: 8px;
}

.wave {
    width: 3px;
    height: 8px;
    background: #6366f1;
    border-radius: 2px;
    display: inline-block;
    margin: 0 2px;
    animation: soundWave 1.5s infinite ease-in-out;
    opacity: 0.7;
}

.wave:nth-child(1) {
    animation-delay: 0s;
    height: 6px;
}

.wave:nth-child(2) {
    animation-delay: 0.2s;
    height: 12px;
}

.wave:nth-child(3) {
    animation-delay: 0.4s;
    height: 8px;
}

@keyframes soundWave {

    0%,
    100% {
        transform: scaleY(0.3);
        opacity: 0.3;
    }

    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* Visual Icon Styles */
.visual-icon {
    position: relative;
}

.video-frame {
    width: 65px;
    height: 45px;
    background: #333;
    border: 2px solid #6366f1;
    border-radius: 6px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    overflow: hidden;
}

.play-button-workflow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 13px solid #6366f1;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    animation: playPulse 2s infinite;
}

.video-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #6366f1);
    position: absolute;
    animation: scanline 2s infinite linear;
    opacity: 0.6;
}

.video-line:nth-child(1) {
    top: 20%;
    animation-delay: 0s;
}

.video-line:nth-child(2) {
    top: 50%;
    animation-delay: 0.5s;
}

.video-line:nth-child(3) {
    top: 80%;
    animation-delay: 1s;
}




/* Publish Icon style */
.publish-icon {
    position: relative;
}


.publish-cloud {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 28px;
}

.cloud-main {
    width: 32px;
    height: 20px;
    background: #42a5f5;
    border-radius: 20px;
    position: absolute;
    top: 4px;
    left: 4px;
}

.cloud-left {
    width: 16px;
    height: 16px;
    background: #42a5f5;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
}

.cloud-right {
    width: 20px;
    height: 20px;
    background: #42a5f5;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    right: 0;
}

.upload-arrow {
    position: absolute;
    top: 42px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 20px;
}

.arrow-shaft {
    width: 3px;
    height: 14px;
    background: #1976d2;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

.arrow-head {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid #1976d2;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.publish-dots {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3px;
}

.dot {
    width: 4px;
    height: 4px;
    background: #90caf9;
    border-radius: 50%;
    animation: publishPulse 1.5s infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.3s;
}

.dot:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes publishPulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

.lightbulb-base {
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.filament-line {
    transition: opacity 0.2s ease;
}

.publish-cloud {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.upload-arrow {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.publish-dots .dot {
    transition: animation-duration 0.3s ease;
}



@keyframes playPulse {

    0%,
    100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes scanline {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@media (max-width: 768px) {
    .workflow-container {
        flex-direction: column;
        gap: 20px;
    }

    .arrow {
        transform: rotate(90deg);
    }
}












/* Aesthetic background */
.floating-orbs {
    position: absolute;
    width: 100%;
    overflow-x: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.6), rgba(120, 119, 198, 0.2), transparent);
    filter: blur(1px);
    animation: orbFloat 15s ease-in-out infinite;
}

.orb:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -10%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.orb:nth-child(2) {
    width: 220px;
    height: 220px;
    top: 30%;
    left: 33%;
    animation-delay: -10s;
    animation-duration: 20s;
}

.orb:nth-child(3) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -5%;
    animation-delay: -10s;
    animation-duration: 20s;
}

.orb:nth-child(4) {
    width: 150px;
    height: 150px;
    top: 30%;
    left: 70%;
    animation-delay: -15s;
    animation-duration: 18s;
}

@media (max-width: 786px) {
    .orb:nth-child(1) {
        width: 150px;
        height: 150px;
        top: 8%;
        left: -25%;
    }

    .orb:nth-child(2) {
        width: 120px;
        height: 120px;
        top: 50%;
        left: 70%;
    }

    .orb:nth-child(3) {
        width: 110px;
        height: 110px;
        top: 90%;
        right: -20%;
    }

    .orb:nth-child(4) {
        width: 80px;
        height: 80px;
        top: 75%;
        left: 4%;
    }
}

@media (min-width: 786px) {
    .floating-orbs {
        height: 100%;
    }
}