.ai-stages-container-8aa52365 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: inherit;
    position: relative;
    padding: 20px 0;
    max-width: 900px;
    margin: 0 auto;
}

.ai-stages-line-8aa52365 {
    display: none; /* Hide the line as per the new design image */
}

.ai-stage-card-8aa52365 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 40px;
    border-radius: 12px;
    background: #0d1117; /* Dark background matching the image */
    border: 1px solid #30363d;
    color: #8b949e;
    transition: all 0.3s ease;
    transform: scale(0.95);
    opacity: 0.7;
}

.ai-stage-card-8aa52365.is-active {
    background: #1c2635; /* Dark bluish background for active */
    border-color: #c2f0a1; /* Glow color */
    box-shadow: 0 0 20px rgba(194, 240, 161, 0.15), 0 0 10px rgba(194, 240, 161, 0.1) inset;
    color: #fff;
    transform: scale(1.05); /* Enlarge the active card significantly */
    opacity: 1;
    z-index: 10;
    position: relative;
}

.ai-stage-left-8aa52365 {
    display: flex;
    align-items: center;
    gap: 30px;
}

.ai-stage-number-8aa52365 {
    font-family: monospace;
    font-size: 20px;
    color: #8b949e;
}

.ai-stage-card-8aa52365.is-active .ai-stage-number-8aa52365 {
    color: #c2f0a1;
    font-weight: bold;
}

.ai-stage-content-8aa52365 h3 {
    margin: 0 0 4px 0;
    font-size: 20px;
    color: #8b949e;
    transition: color 0.3s;
}

.ai-stage-card-8aa52365.is-active .ai-stage-content-8aa52365 h3 {
    font-size: 26px; /* Larger font for active title */
    color: #fff;
}

.ai-stage-content-8aa52365 p {
    margin: 0;
    font-size: 15px;
    color: #8b949e;
}

.ai-stage-card-8aa52365.is-active .ai-stage-content-8aa52365 p {
    font-size: 16px;
    color: #c9d1d9;
}

.ai-stage-right-8aa52365 {
    flex-shrink: 0;
}

.ai-stage-badge-8aa52365 {
    padding: 8px 16px;
    border: 1px solid #30363d;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8b949e;
    background: transparent;
}

.ai-stage-card-8aa52365.is-active .ai-stage-badge-8aa52365 {
    border-color: rgba(255,255,255,0.2);
    color: #fff;
    background: rgba(255,255,255,0.05);
}

@media (max-width: 768px) {
    .ai-stage-card-8aa52365 {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px;
        transform: scale(1);
    }
    
    .ai-stage-card-8aa52365.is-active {
        transform: scale(1.02);
    }
    
    .ai-stage-left-8aa52365 {
        align-items: flex-start;
    }
    
    .ai-stage-badge-8aa52365 {
        width: 100%;
        text-align: center;
    }
}
